/* ============================================================
   aiinmedicina.ro v3
   Accent: #2c8194  | Gold: #f5a623 | Dark: #212b3b | Light: #f5f8f9
   Font: Inter
   ============================================================ */

:root {
    --accent: #2c8194;
    --accent-light: #5ec8d6;
    --accent-glow: rgba(51, 172, 189, 0.4);
    --gold: #f5a623;
    --gold-glow: rgba(245, 166, 35, 0.4);
    --dark: #212b3b;
    --dark-alt: #1a2332;
    --dark-mid: #2a3a4e;
    --white: #f0f6fa;
    --gray: #94a3b8;
    --danger: #ef4444;
    --light-bg: #f5f8f9;
    --light-text: #2d3748;
    --light-text-muted: #5a6577;
    --light-text-heading: #1a202c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--dark); }

body {
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: var(--white);
    overflow-x: clip;
    line-height: 1.7;
}

/* ==================== ANIMATED BACKGROUND ==================== */
.bg-gradient {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(51, 172, 189, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(33, 43, 59, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(33, 43, 59, 0.3) 0%, transparent 70%),
        var(--dark);
    z-index: -2;
}
.floating-orbs {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1; overflow: hidden; pointer-events: none;
}
.orb {
    position: absolute; border-radius: 50%;
    filter: blur(60px);
    animation: float 20s infinite ease-in-out;
}
.orb-1 { width: 500px; height: 500px; background: var(--accent-light); top: 10%; left: -5%; }
.orb-2 { width: 400px; height: 400px; background: var(--accent-glow); bottom: 100px; right: 20px; animation-delay: -7s; }
.orb-3 { width: 350px; height: 350px; background: var(--accent-light); bottom: 10%; left: 30%; animation-delay: -14s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 50px) scale(0.95); }
    75% { transform: translate(30px, 20px) scale(1.05); }
}
.grid-pattern {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(51, 172, 189, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(51, 172, 189, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0; pointer-events: none;
}

/* ==================== SECTION LAYERING ==================== */
/* All content sits above the orbs (z-index: 1) */
nav, .hero, .deadline-banner, .scenario-section, .costs-section,
.aiact-section, .balance-section, .team-section, .services-section,
.test-section, .contact-section, footer {
    position: relative;
    z-index: 2;
}

/* Alternating section backgrounds */
.section-dark {
    background: #212b3b;
}
.section-light {
    background: var(--light-bg);
    color: var(--light-text);
}

/* Light section text overrides */
.section-light h2,
.section-light h3,
.section-light h4 {
    color: var(--light-text-heading);
}
.section-light p,
.section-light li {
    color: var(--light-text-muted);
}
.section-light strong {
    color: var(--light-text-heading);
}
.section-light .highlight {
    background: var(--accent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== NAV ==================== */
nav {
    position: fixed; top: 0; width: 100%;
    padding: 0 5%; min-height: 70px;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(33, 43, 59, 0.8);
    border-bottom: 1px solid rgba(51, 172, 189, 0.1);
}

.nav-brand {
    display: flex; flex-direction: column; gap: 0;
}
.nav-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem; font-weight: 700;
    color: var(--white); letter-spacing: -0.5px;
}
.nav-title-accent {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem; font-weight: 700;
    color: var(--accent); letter-spacing: -0.5px;
}

.nav-title-project{
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: var(--white); letter-spacing: -0.5px;
}
.nav-subtitle {
    font-size: 0.7rem; color: var(--gray);
    display: flex; align-items: center; gap: 6px;
    line-height: 1;
}
.nav-brand-link { text-decoration: none; }
.nav-logo { height: 18px; width: auto; display: inline-block; vertical-align: middle; }
.nav-logo.logo-mh { height: 40px; margin: 10px; }
.nav-logo.logo-aivise { height: 35px; margin: 10px; }

.nav-links { display: flex; gap: 1.8rem; }
.nav-links a {
    color: var(--gray); text-decoration: none;
    font-weight: 500; font-size: 0.9rem;
    transition: color 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent-light); }
.nav-links a:hover::after { width: 100%; }

.nav-burger {
    display: none; background: none; border: none; cursor: pointer;
    width: 28px; height: 20px; position: relative;
}
.nav-burger span {
    display: block; width: 100%; height: 2px;
    background: var(--white); position: absolute; left: 0;
    transition: all 0.3s;
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 9px; }
.nav-burger span:nth-child(3) { top: 18px; }
.nav-burger.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    padding: 120px 5% 80px;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute; right: 5%; top: 50%;
    transform: translateY(-50%);
    width: 450px; height: 650px;
    background: url('img.png') center/contain no-repeat;
    opacity: 0.03; pointer-events: none; z-index: 0;
}
.hero-content { max-width: 900px; position: relative; z-index: 1; }

.hero-eyebrow {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    color: var(--gray); margin-bottom: 2rem; line-height: 1.6;
}
.hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700; line-height: 1.1; margin-bottom: 1rem;
}

.oath {
    position: absolute;
    right: 0px;
    width: 500px;
    opacity: 0.5;
    bottom: 50px;
    height: 500px;
    z-index: 0;
}

.highlight {
    background: var(--accent);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.tagline-accent {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 600; color: var(--gold);
    margin-bottom: 2.5rem;
    position: relative; display: inline-block;
}
.tagline-accent::before {
    content: ''; position: absolute;
    left: -20px; top: 50%; transform: translateY(-50%);
    width: 10px; height: 10px;
    background: var(--gold); border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--gold-glow); }
    50% { box-shadow: 0 0 0 15px transparent; }
}

.hero-cta {
    display: flex; gap: 1.5rem;
    justify-content: center; flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute; bottom: 40px; left: 50%;
    transform: translateX(-50%); opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards, bounce 2s infinite 2s;
}
@keyframes fadeIn { to { opacity: 0.6; } }
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}
.scroll-indicator svg { width: 30px; height: 30px; stroke: var(--accent); }

/* ==================== BUTTONS ==================== */
.btn {
    padding: 1rem 2.5rem; border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem; font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer; border: none;
    display: inline-block;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--dark);
    box-shadow: 0 10px 40px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px var(--accent-glow);
}
.btn-secondary {
    background: transparent; color: var(--white);
    border: 2px solid rgba(51, 172, 189, 0.4);
}
.btn-secondary:hover {
    background: rgba(51, 172, 189, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* ==================== SECTION HEADER ==================== */
.section-header {
    text-align: center; margin-bottom: 3rem;
}
.section-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1rem; line-height: 1.2;
}
.section-header p {
    color: var(--gray); font-size: 1.1rem;
    max-width: 600px; margin: 0 auto;
}
.section-light .section-header p {
    color: var(--light-text-muted);
}

/* ==================== DEADLINE BANNER ==================== */
.deadline-banner {
    padding: 30px 5%;
    border-top: 1px solid rgba(239, 68, 68, 0.15);
    border-bottom: 1px solid rgba(239, 68, 68, 0.15);
}
.deadline-inner {
    max-width: 800px; margin: 0 auto;
    display: flex; align-items: center; gap: 24px;
    justify-content: center; flex-wrap: wrap;
    padding: 20px;
    text-align: center;
}
.deadline-badge {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem; font-weight: 700;
    color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    padding: 8px 24px; border-radius: 30px;
    white-space: nowrap;
}
.deadline-inner p { color: var(--light-text-muted); font-size:0.9rem; }
.deadline-inner strong { color: var(--light-text-heading); }

/* ==================== SCENARIOS ==================== */
.scenario-section { padding: 100px 5%; }
.scenario-container, .costs-container, .aiact-container,
.balance-container, .team-container, .services-container, .test-container {
    max-width: 1200px; margin: 0 auto;
}

.scenarios-list {
    display: flex; flex-direction: column;
    gap: 2rem;
    max-width: 900px; margin: 0 auto;
}

.scenario-card {
    background: linear-gradient(135deg, rgba(42, 58, 78, 0.6), rgba(42, 58, 78, 0.35));
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative; overflow: hidden;
    transition: all 0.4s ease;
}
.scenario-card::before {
    content: '\201C';
    position: absolute; top: -10px; right: 25px;
    font-size: 100px; font-family: Georgia, serif;
    color: rgba(245, 166, 35, 0.06); line-height: 1;
}
.scenario-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(245, 166, 35, 0.12), inset 0 0 30px rgba(245, 166, 35, 0.03);
}

.scenario-label {
    display: inline-block;
    background: rgba(245, 166, 35, 0.12);
    color: var(--gold);
    padding: 0.4rem 1rem; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600;
    margin-bottom: 1.5rem;
}
.scenario-text p {
    font-size: 1.05rem; line-height: 1.8;
    color: var(--gray); margin-bottom: 1rem;
}
.highlight-warning { color: var(--gold); font-weight: 600; }
.highlight-danger { color: var(--white); font-weight: 600; }

.scenario-question {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem; font-weight: 600;
    color: var(--accent-light);
    margin-top: 1.5rem; padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-style: italic;
}

/* ==================== COSTS ==================== */
.costs-section {
    padding: 100px 5%;
}
.costs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem; margin-bottom: 2rem;
}
.cost-card {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.12);
    border-radius: 20px; padding: 2rem 1.5rem;
    text-align: center; transition: all 0.3s ease;
}
.cost-card:hover {
    border-color: var(--danger);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.1), inset 0 0 30px rgba(239, 68, 68, 0.03);
}
.cost-icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--danger); }
.cost-icon svg { width: 100%; height: 100%; }
.cost-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem; color: #b87a00;
    margin-bottom: 0.5rem; line-height: 1.4;
}
.cost-card p { font-size: 0.82rem; color: var(--light-text-muted); }
.costs-footer {
    text-align: center; color: var(--light-text-muted);
    font-size: 1rem; font-style: italic;
}

.center{
 text-align: center;}

/* ==================== AI ACT ==================== */
.aiact-section {
    padding: 100px 5%;
}
.aiact-content { max-width: 900px; margin: 0 auto; }
.aiact-main {
    display: grid; grid-template-columns: 1fr;
    gap: 1.5rem; margin-bottom: 2rem;
}
.aiact-block {
    background: rgba(42, 58, 78, 0.5);
    border-radius: 20px; padding: 2rem;
    border: 1px solid rgba(51, 172, 189, 0.08);
    transition: all 0.3s ease;
}
.aiact-block:hover {
    border-color: rgba(51, 172, 189, 0.25);
    transform: translateX(5px);
}
.aiact-block h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem; margin-bottom: 0.75rem;
    color: var(--accent-light);
}
.aiact-block p {
    color: var(--gray); line-height: 1.7;
    margin-bottom: 0.5rem;
}
.aiact-block p:last-child { margin-bottom: 0; }
.aiact-block strong { color: var(--white); }


.aiact-definition {
    max-width:75%; float:left
}

.aiact-image {
    max-width:20%;
}
/* Highlight block — special treatment */
.aiact-highlight {
    background: linear-gradient(135deg, rgba(51, 172, 189, 0.15), rgba(42, 58, 78, 0.5));
    border: 2px solid var(--accent);
    border-radius: 24px;
    padding: 3rem;
    position: relative; overflow: hidden;
    box-shadow: 0 15px 50px var(--accent-glow);
}
.aiact-highlight-glow {
    position: absolute; top: -50%; right: -30%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(51, 172, 189, 0.15) 0%, transparent 70%);
    pointer-events: none;
    animation: glowPulse 4s infinite alternate;
}
@keyframes glowPulse {
    from { opacity: 0.5; transform: scale(1); }
    to { opacity: 1; transform: scale(1.2); }
}
.aiact-highlight h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem; margin-bottom: 1rem;
    color: var(--white);
    position: relative; z-index: 1;
}
.aiact-highlight p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7; margin-bottom: 0.75rem;
    position: relative; z-index: 1;
}
.aiact-highlight ul {
    list-style: none; margin: 1.25rem 0;
    position: relative; z-index: 1;
}
.aiact-highlight ul li {
    color: rgba(255, 255, 255, 0.85);
    padding: 0.5rem 0 0.5rem 1.75rem;
    position: relative; font-size: 1.05rem;
}
.aiact-highlight ul li::before {
    content: '\2192'; position: absolute; left: 0;
    color: var(--accent-light); font-weight: 600;
}
.aiact-bottom-line {
    color: var(--gold) !important;
    font-weight: 700; font-size: 1.15rem;
    margin-top: 1rem !important;
    position: relative; z-index: 1;
}

/* ==================== BALANCE ==================== */
.balance-section { padding: 100px 5%; }

.balance-columns {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}

.balance-col {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid;
    transition: all 0.3s ease;
}
.advantages-col { border-color: rgba(51, 172, 189, 0.2); }
.advantages-col:hover { border-color: var(--accent); box-shadow: 0 10px 40px rgba(51, 172, 189, 0.08); }
.risks-col { border-color: rgba(245, 166, 35, 0.2); }
.risks-col:hover { border-color: var(--gold); box-shadow: 0 10px 40px rgba(245, 166, 35, 0.08); }

.balance-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem; margin-bottom: 1.5rem;
    display: flex; align-items: center; gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid;
}
.benefits-title { color: var(--accent); border-color: rgba(51, 172, 189, 0.3); }
.risks-title { color: #b87a00; border-color: rgba(245, 166, 35, 0.3); }

.balance-col ul { list-style: none; }
.balance-col li {
    padding: 0.65rem 0 0.65rem 1.5rem;
    color: var(--light-text-muted); font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}
.balance-col li:last-child { border-bottom: none; }
.advantages-col li::before {
    content: '\2713'; position: absolute; left: 0;
    color: var(--accent); font-weight: bold; font-size: 0.85rem;
}
.risks-col li::before {
    content: '!'; position: absolute; left: 0;
    color: #b87a00; font-weight: bold; font-size: 0.9rem;
}

.balance-divider {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 0 24px;
}
.balance-divider-line {
    width: 3px; flex: 1;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}
.balance-divider-badge {
    background: linear-gradient(135deg, var(--accent), var(--dark-mid));
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 40px var(--accent-glow);
    animation: glow 3s infinite alternate;
    margin: 16px 0;
    white-space: nowrap;
}

.balance-image{
    opacity:0.6;
    height: 400px;
    margin-left:7px;
}

@keyframes glow {
    from { box-shadow: 0 10px 40px var(--accent-glow); }
    to { box-shadow: 0 15px 60px rgba(51, 172, 189, 0.5); }
}
.balance-divider-badge span {
    display: block; font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.2rem; text-transform: uppercase;
    letter-spacing: 1px;
}
.balance-divider-badge strong {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    color: rgba(255, 255, 255, 0.7);

}

/* ==================== TEAM ==================== */
.team-section {
    padding: 100px 5%;
}



.team-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 2rem; margin-bottom: 3rem;
}
.team-card {
    background: rgba(42, 58, 78, 0.55);
    border: 1px solid rgba(51, 172, 189, 0.12);
    border-radius: 24px; padding: 2.5rem;
    transition: all 0.4s ease;
}
.team-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(51, 172, 189, 0.12), inset 0 0 30px rgba(51, 172, 189, 0.03);
}
.team-icon .logo-mh { height: 41px; }

.team-icon .logo-aivise { height: 38px; }
.team-icon .logo-aivise { height: 38px; }


.team-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem; margin-bottom: 1.5rem;
    color: var(--accent-light);
}
.team-details p {
    color: var(--gray); margin-bottom: 0.75rem;
    line-height: 1.7; font-size: 0.95rem;
}
.team-details strong { color: var(--white); }
.team-link {
    display: inline-block; margin-top: 1rem;
    color: var(--accent); font-weight: 600;
    text-decoration: none; transition: color 0.2s;
}
.team-link:hover { color: var(--accent-light); }

.about-statement { margin: 3rem 0; }
.statement-card {
    background: linear-gradient(135deg, rgba(51, 172, 189, 0.08), rgba(42, 58, 78, 0.3));
    border-left: 4px solid var(--accent);
    border-radius: 0 20px 20px 0;
    padding: 2.5rem 3rem; text-align: center;
}
.statement-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem; font-weight: 600;
    color: var(--white); margin-bottom: 0.75rem;
}
.statement-subtext {
    color: var(--gray); font-size: 1.05rem;
    max-width: 700px; margin: 0 auto;
}

/* ==================== SERVICES ==================== */
.services-section { padding: 100px 5%; }
.services-grid {
    display: grid; grid-template-columns: repeat(2, 2fr);
    gap: 1.5rem;
}
.service-item {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(51, 172, 189, 0.12);
    border-radius: 16px; padding: 2rem;
    transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.service-item:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(51, 172, 189, 0.1);
}
.service-number {
    font-family: 'Inter', sans-serif;
    font-size: 3rem; font-weight: 700;
    color: rgba(51, 172, 189, 0.12);
    position: absolute; top: 10px; right: 15px;
}
.service-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; margin-bottom: 0.75rem;
    color: var(--accent);
}
.service-item p {
    color: var(--light-text-muted); font-size: 0.9rem; line-height: 1.6;
}

/* ==================== TEST ==================== */
.test-section { padding: 100px 5%; }
.test-cards {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 2rem; max-width: 1000px; margin: 0 auto;
}
.test-card {
    background: rgba(42, 58, 78, 0.55);
    border: 1px solid rgba(51, 172, 189, 0.15);
    border-radius: 24px; padding: 3rem;
    text-align: center; transition: all 0.4s ease;
    position: relative; overflow: hidden;
}
.test-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--accent-glow), transparent);
    opacity: 0; transition: opacity 0.4s;
}
.test-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(51, 172, 189, 0.15), inset 0 0 30px rgba(51, 172, 189, 0.03);
}
.test-card:hover::before { opacity: 0.06; }

.test-card-icon {
    width: 76px; height: 76px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative; z-index: 1;
}
.test-card-icon svg { width: 38px; height: 38px; stroke: var(--dark); }
.test-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem; margin-bottom: 0.75rem;
    position: relative; z-index: 1;
}
.test-desc {
    color: var(--gray); margin-bottom: 1rem;
    position: relative; z-index: 1;
}
.reward {
    background: rgba(51, 172, 189, 0.08);
    padding: 1rem; border-radius: 10px;
    margin-bottom: 1.5rem;
    position: relative; z-index: 1; color: var(--gray);
}
.reward span { color: var(--accent-light); font-weight: 600; }
.test-card .btn { position: relative; z-index: 1; width: 100%; }

/* ==================== CONTACT ==================== */
.contact-section {
    padding: 100px 5%;
}
.contact-container {
    max-width: 700px; margin: 0 auto; text-align: center;
}
.contact-container h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}
.contact-container .lead {
    font-size: 1.1rem; color: var(--light-text-muted);
    margin-bottom: 2rem; line-height: 1.7;
}

/* ==================== FOOTER ==================== */
footer {
    padding: 3rem 5%;
    border-top: 1px solid rgba(51, 172, 189, 0.1);
    text-align: center; color: var(--gray);
}
.footer-brand {
    display: flex; flex-direction: column;
    align-items: center; gap: 4px;
    margin-bottom: 1rem;
}
.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem; font-weight: 700; color: var(--white);
}
.footer-title-accent { color: var(--accent); }
.footer-subtitle {
    font-size: 0.8rem; color: var(--gray);
    display: flex; align-items: center; gap: 6px;
}
.footer-logo {width: auto; display: inline-block; vertical-align: middle; }
.footer-logo.logo-mh { height: 45px; margin: 10px; }
.footer-logo.logo-aivise { height: 38px;margin:10px; }
.footer-brand-link { text-decoration: none; }
.footer-tagline { font-size: 0.88rem; font-style: italic; }
.footer-legal {
    margin-top: 1.5rem; display: flex;
    justify-content: center; align-items: center; gap: 0.75rem;
    font-size: 0.82rem;
}
.footer-legal a {
    color: var(--gray); text-decoration: none;
    transition: color 0.3s;
}
.footer-legal a:hover { color: var(--accent-light); }
.footer-legal span { color: rgba(148, 163, 184, 0.4); }

/* ==================== REVEAL ==================== */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active { opacity: 1; transform: translateY(0); }

.scenarios-list .reveal:nth-child(2) { transition-delay: 0.15s; }
.scenarios-list .reveal:nth-child(3) { transition-delay: 0.3s; }
.costs-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.costs-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.costs-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.costs-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
    .costs-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-burger { display: block; }
    .costs-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    .test-cards { grid-template-columns: 1fr; }
    .balance-columns { grid-template-columns: 1fr; gap: 2rem; }
    .balance-col { padding: 1.5rem; }
    .balance-divider {
        flex-direction: row; padding: 0;
    }
    .balance-divider-line {
        height: 3px; width: 100%;
        background: linear-gradient(to right, transparent, var(--accent), transparent);
    }
    .balance-divider-badge { white-space: normal; }
    .balance-image {
       display :none;
    }

}

@media (max-width: 768px) {
    .nav-links {
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(33, 43, 59, 0.95);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px 5%; gap: 12px;
        border-top: 1px solid rgba(51, 172, 189, 0.1);
    }
    .nav-links.open { display: flex; }
    .costs-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }

    /* Nav: keep brand + burger on one line */
    nav { padding: 0 3%; }
    .nav-brand { min-width: 0; overflow: hidden; }
    .nav-brand > span { display: flex; flex-wrap: wrap; align-items: center; }
    .nav-title-project { display: none; }
    .nav-logo.logo-mh { height: 28px; margin: 4px; }
    .nav-logo.logo-aivise { height: 24px; margin: 4px; }
    .nav-burger { display: block; flex-shrink: 0; margin-left: 8px; }

    .balance-col { padding: 1.25rem; }
    .scenario-card { padding: 1.5rem; }
    .aiact-highlight { padding: 2rem; }
    .statement-card { padding: 1.5rem 1.5rem; }

    .oath{opacity:0.3}

}

@media print {
    nav, footer, .btn, .bg-gradient, .floating-orbs, .grid-pattern, .scroll-indicator { display: none; }
    body { background: white; color: #333; }
    .hero { min-height: auto; padding: 40px 0; }
}
