:root {
    --bg-primary: #020817;
    --bg-secondary: #0a1628;
    --bg-card: rgba(8, 18, 40, 0.45);
    --bg-card-hover: rgba(12, 24, 48, 0.55);
    --accent: #3B82F6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --accent-dim: rgba(59, 130, 246, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(59, 130, 246, 0.2);
    --border-hover: rgba(59, 130, 246, 0.5);
    --glass-shine: rgba(255, 255, 255, 0.05);
    --font-sans: 'Inter', system-ui, sans-serif;
    --radius: 20px;
    --radius-sm: 12px;
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --card-border: 1px solid rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(26, 107, 255, 0.15), transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(26, 107, 255, 0.15), transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(26, 107, 255, 0.1), transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =================== NAVBAR =================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 100;
    background: rgba(7, 13, 26, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--accent);
    box-shadow: 0 4px 30px rgba(59, 130, 246, 0.15);
    transition: background 0.3s, padding 0.3s;
}
.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent);
}
.navbar.scrolled { padding: 0.8rem 0; background: rgba(7, 13, 26, 0.98); }

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: #3B82F6;
    border-radius: 50%;
    z-index: -1;
    filter: blur(25px);
    opacity: 0.6;
    animation: logo-pulsate 3s infinite alternate;
}

@keyframes logo-pulsate {
    from { transform: scale(0.9); opacity: 0.4; }
    to { transform: scale(1.4); opacity: 0.8; }
}

.logo-img { 
    height: 90px; 
    transition: height 0.3s; 
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.8)); 
    position: relative; 
    z-index: 1; 
}
.navbar.scrolled .logo-img { height: 42px; }
.navbar.scrolled .logo::before { width: 60px; height: 60px; filter: blur(20px); }

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.btn-cta-nav {
    padding: 0.65rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 18px rgba(59,130,246,0.45);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-cta-nav:hover {
    background: #2563EB;
    box-shadow: 0 0 28px rgba(59,130,246,0.7);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* =================== HERO =================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 70% 50%, rgba(26, 107, 255, 0.08) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, #93C5FD, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
}

.btn {
    padding: 0.9rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    font-family: var(--font-sans);
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-dim);
}
.btn-primary:hover {
    box-shadow: 0 6px 30px var(--accent-glow);
    transform: translateY(-2px);
}
.btn-arrow { font-size: 1.1rem; transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

/* Globe Video */
.hero-globe {
    position: relative;
    width: 100%;
    height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-globe-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.4));
    pointer-events: none;
}
.hero-globe::after {
    content: '';
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.85) 0%, rgba(59, 130, 246, 0) 70%);
    filter: blur(22px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    animation: globe-glow-pulse 3s ease-in-out infinite;
}
@keyframes globe-glow-pulse {
    0%,100% { opacity: 1; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scaleX(1.1); }
}

/* =================== PARTNERS BAR =================== */
.partners-section {
    position: relative;
    z-index: 3;
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(10, 18, 36, 0.95) 100%);
    border-top: 1px solid rgba(59, 130, 246, 0.08);
    border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

.partners-bar {
    padding: 0;
    position: relative;
}

.partners-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.partners-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0.5rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 5rem;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

.partner-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) brightness(0.7) opacity(0.5);
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.partner-img:hover {
    filter: grayscale(0) brightness(1) opacity(1);
    transform: scale(1.15);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =================== SECTIONS =================== */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}
.section-alt {
    background: var(--bg-secondary);
}

.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* =================== PROBLEMS GRID =================== */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.problem-card {
    background: linear-gradient(135deg, rgba(12, 24, 48, 0.6) 0%, rgba(8, 16, 32, 0.4) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 2.5rem 1.8rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 24px -1px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.problem-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.1), transparent 60%);
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s;
}

.problem-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, rgba(15, 32, 64, 0.7) 0%, rgba(10, 20, 40, 0.5) 100%);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(59, 130, 246, 0.2),
        0 0 0 1px rgba(59, 130, 246, 0.2) inset;
}

.problem-card:hover::after {
    opacity: 1;
}

.problem-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.problem-icon svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.problem-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}
.problem-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =================== STEPS =================== */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.step-card {
    background: linear-gradient(135deg, rgba(12, 24, 48, 0.5) 0%, rgba(8, 16, 32, 0.3) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    flex: 1;
    max-width: 300px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(59, 130, 246, 0.15);
}

.step-card::before {
    content: '';
    position: absolute;
    top: -1px; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.8), transparent);
    filter: blur(1px);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.step-number span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
}
.step-number svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.step-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.step-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-connector {
    flex-shrink: 0;
    width: 60px;
}
.step-connector svg {
    width: 60px;
    height: 24px;
    color: var(--text-muted);
}

/* =================== DIFFERENTIALS =================== */
.diff-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

.diff-visual {
    background: rgba(8, 18, 40, 0.45);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
    box-shadow: 0 0 30px rgba(59,130,246,0.18), 0 0 60px rgba(59,130,246,0.08);
    overflow: hidden;
}
.diff-visual::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.5) 0%, transparent 70%);
    filter: blur(18px);
    pointer-events: none;
}
.diff-shield {
    width: 200px;
    opacity: 1;
    filter: drop-shadow(0 0 40px rgba(59,130,246,0.6)) drop-shadow(0 0 15px rgba(59,130,246,0.4));
    animation: shield-float 4s ease-in-out infinite;
}
@keyframes shield-float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.diff-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.diff-card {
    background: linear-gradient(90deg, rgba(12, 24, 48, 0.5) 0%, rgba(8, 16, 32, 0.3) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 1.8rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.diff-card:hover {
    transform: scale(1.03) translateX(10px);
    border-color: rgba(59, 130, 246, 0.4);
    background: linear-gradient(90deg, rgba(15, 32, 64, 0.6) 0%, rgba(10, 20, 40, 0.4) 100%);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(59, 130, 246, 0.1);
}

.diff-card::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 2px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0 2px 2px 0;
}

.diff-card:hover::before {
    opacity: 1;
}

.diff-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.diff-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.diff-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.diff-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =================== FORM =================== */
.section-form {
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.5) 0%, transparent 100%);
    position: relative;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: rgba(6, 14, 32, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: var(--radius);
    padding: 3rem;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(59,130,246,0.15),
        0 0 40px rgba(59, 130, 246, 0.2),
        0 0 80px rgba(59, 130, 246, 0.1),
        -4px 0 30px rgba(59, 130, 246, 0.15),
        4px 0 30px rgba(59, 130, 246, 0.15);
}
.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.8), transparent);
    box-shadow: 0 0 20px rgba(59,130,246,0.6);
    border-radius: var(--radius) var(--radius) 0 0;
    pointer-events: none;
    z-index: 3;
}
.form-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.8), transparent);
    box-shadow: 0 0 20px rgba(59,130,246,0.6);
    border-radius: 0 0 var(--radius) var(--radius);
    pointer-events: none;
    z-index: 3;
}

.form-sidebar {
    position: relative;
    z-index: 1;
    min-width: 0;
}
.form-sidebar h2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.form-sidebar p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-main { position: relative; z-index: 1; min-width: 0; }

.form-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: rgba(10, 22, 45, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-sm);
    padding: 4px;
}

.tab-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.tab-btn.active {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.form-row {
    display: grid;
    gap: 1rem;
    margin-bottom: 0;
}
.form-row-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-row-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.form-row-toggles {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.input-group {
    margin-bottom: 1rem;
}
.input-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 400;
}
.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    background: rgba(15, 30, 55, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--accent);
    background: rgba(15, 30, 55, 0.6);
    box-shadow: 0 0 0 3px var(--accent-dim), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.input-group input::placeholder,
.input-group textarea::placeholder {
    color: var(--text-muted);
}
.input-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6d8a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* Toggle buttons */
.toggle-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.toggle-group select {
    width: 100%;
    background: rgba(15, 30, 55, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.7rem;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6d8a' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}
.toggle-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.toggle-btn {
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.toggle-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 0.5rem;
    position: relative;
    justify-content: center;
}

.form-disclaimer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.loader {
    border: 2px solid rgba(255,255,255,0.2);
    border-left-color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

.loader[hidden] {
    display: none;
}

.hidden-field {
    display: none;
    visibility: hidden;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-response {
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    display: none;
}
.form-response.success {
    display: block;
    background: rgba(26, 107, 255, 0.1);
    color: var(--accent);
    border: 1px solid var(--accent-dim);
}
.form-response.error {
    display: block;
    background: rgba(255, 50, 50, 0.1);
    color: #ff5555;
    border: 1px solid rgba(255, 50, 50, 0.2);
}

/* =================== FOOTER =================== */
.footer {
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid var(--accent);
    padding-top: 4rem;
    box-shadow: 0 -15px 40px rgba(59, 130, 246, 0.2);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-logo { width: 220px; max-width: 100%; height: auto; margin-bottom: 1.5rem; filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.6)); }
.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.footer-col a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-col p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    transition: all 0.3s;
}
.btn-whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--text-primary); }
.footer-links span { color: var(--text-muted); }

/* =================== HERO LABEL =================== */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.hero-label .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* =================== PARTNERS =================== */
.partners-bar {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.partners-bar .partners-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}
.partners-bar .partner-logo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.partners-bar .partner-logo:hover { opacity: 1; }

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.partner-img {
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.8) opacity(0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-img:hover {
    filter: grayscale(0) brightness(1) opacity(1);
    transform: translateY(-2px) scale(1.05);
}

/* =================== SOCIAL ICONS =================== */
.footer-social {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
}
.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.footer-social svg {
    width: 18px;
    height: 18px;
}

/* =================== ANIMATIONS =================== */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =================== EAGLE VIDEO OVERLAY =================== */
.eagle-video-wrapper {
    position: fixed;
    z-index: 1;
    pointer-events: none;
    will-change: transform, opacity;
}
.eagle-video-wrapper video {
    display: block;
}
.eagle-video {
    pointer-events: none;
}

#eagleVoa {
    top: 12%;
    left: -350px;
    width: 320px;
    height: auto;
}
#eagleVoa .eagle-video {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

@media (prefers-reduced-motion: reduce) {
    .eagle-video-wrapper { display: none !important; }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
    .problems-grid { grid-template-columns: repeat(2, 1fr); }
    .form-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .form-sidebar { text-align: center; }
    .diff-grid { grid-template-columns: 1fr; }
    .diff-visual { min-height: 200px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-globe {
        display: flex;
        height: min(68vw, 320px);
        margin-top: -0.5rem;
    }
    .hero-globe::after {
        width: 70%;
        height: 36px;
        bottom: 2%;
    }
    .hero-content {
        position: relative;
        z-index: 2;
        padding: 2rem 0;
    }
    .hero-badges { justify-content: center; }
    .hero-content .btn { margin: 0 auto; }

    .nav-links { display: none; }
    .btn-cta-nav { display: none; }
    .mobile-toggle { display: flex; }
    .eagle-video-wrapper {
        width: 170px;
        z-index: 1;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 13, 26, 0.98);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
    }

    .steps-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .step-connector {
        width: 40px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: -1rem 0;
    }
    .step-connector.reveal-up {
        transform: rotate(90deg) translateY(24px);
    }
    .step-connector.reveal-up.visible {
        transform: rotate(90deg) translateY(0);
    }
    .step-connector svg {
        width: 32px;
        height: 32px;
    }
    .step-card { max-width: 100%; }

    .problems-grid { grid-template-columns: 1fr; }
    .form-wrapper {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    .form-row-3, .form-row-4, .form-row-toggles { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .section { padding: 4rem 0; }
}

/* =================== LGPD + FRAUDES DIGITAIS =================== */
.section-lgpd {
    background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
}

.lgpd-header {
    max-width: 900px;
    margin-bottom: 4rem;
}

.lgpd-header .section-title {
    margin-bottom: 1.5rem;
    text-align: left !important;
    max-width: 100%;
}

.lgpd-header .section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 800px;
}

.lgpd-content-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

/* Stats Panel */
.stats-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    height: fit-content;
    position: sticky;
    top: 120px;
    backdrop-filter: blur(12px);
    z-index: 5;
}

.stats-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stats-item.highlight .stats-number {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent-glow);
}

.stats-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stats-source {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

/* Risks Grid */
.risks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.risk-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.risk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-dim), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.risk-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow), 0 0 20px rgba(59, 130, 246, 0.1);
}

.risk-card:hover::before {
    opacity: 1;
}

.risk-icon {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.risk-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.risk-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Authority Block */
.authority-block {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.8), rgba(2, 8, 23, 0.95));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4rem;
    margin-bottom: 5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.authority-block-compact {
    margin-bottom: 4rem;
}

.authority-block::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: var(--accent-glow);
    filter: blur(100px);
    opacity: 0.1;
    border-radius: 50%;
}

.authority-main {
    max-width: 850px;
    margin-bottom: 3rem;
}

.authority-main h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.authority-main p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.authority-main strong {
    color: var(--accent);
}



.impact-phrase {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    border-left: 3px solid var(--accent);
    padding-left: 1.5rem;
}

/* LGPD CTA */
.lgpd-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lgpd-cta p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

.lgpd-cta .btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.lgpd-cta .microcopy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive LGPD */
@media (max-width: 1024px) {
    .lgpd-content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .stats-panel {
        position: static;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .risks-grid {
        grid-template-columns: 1fr;
    }
    .stats-panel {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .authority-block {
        padding: 2.5rem 1.5rem;
    }
    .logos-wrapper {
        justify-content: center;
        gap: 1.5rem;
    }
    .logo-item {
        font-size: 1.1rem;
    }
    .logo-item.featured {
        font-size: 1.2rem;
    }
}

/* =================== EAGLE ANIMATION =================== */
.eagle-video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 380px;
    height: auto;
    pointer-events: none;
    z-index: 1; /* Stay behind text (z-index: 2) and navbar (z-index: 100) */
    will-change: transform;
    display: none; /* Shown by JS on desktop */
}

@media (min-width: 768px) {
    .eagle-video-wrapper {
        display: none;
    }
}

.eagle-video {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.3));
}

/* =================== DEPLOY STABILITY OVERRIDES =================== */
.partners-section .partners-bar {
    display: block !important;
    margin-top: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
}

.partners-section .partners-label {
    display: block !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    white-space: normal !important;
}

.partners-marquee {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.partners-track {
    display: flex !important;
    align-items: center !important;
    gap: 5rem !important;
    width: max-content !important;
    animation: marquee 35s linear infinite !important;
}

.partners-track .partner-img {
    display: block !important;
    height: 32px !important;
    width: auto !important;
    max-width: 150px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
}

.hidden-field,
.hidden-field[hidden] {
    display: none !important;
    visibility: hidden !important;
}

.section-lgpd .lgpd-content-grid {
    display: grid !important;
    grid-template-columns: minmax(280px, 350px) minmax(0, 1fr) !important;
    gap: 4rem !important;
    align-items: start !important;
}

.section-lgpd .stats-panel {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    padding: 2.5rem !important;
}

.section-lgpd .risks-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 2rem !important;
}

.section-lgpd .risk-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    padding: 2rem !important;
}

.eagle-video-wrapper {
    display: none;
}

.eagle-fallback-flight {
    animation: eagleFallbackFlight 18s linear infinite;
}

@keyframes eagleFallbackFlight {
    0% {
        transform: translate3d(-520px, 20vh, 0) scaleX(-1);
        opacity: 1;
    }
    48% {
        transform: translate3d(calc(100vw + 520px), 45vh, 0) scaleX(-1);
        opacity: 1;
    }
    49% {
        transform: translate3d(calc(100vw + 520px), 45vh, 0) scaleX(1);
        opacity: 0;
    }
    50% {
        transform: translate3d(calc(100vw + 520px), 30vh, 0) scaleX(1);
        opacity: 1;
    }
    98% {
        transform: translate3d(-520px, 55vh, 0) scaleX(1);
        opacity: 1;
    }
    100% {
        transform: translate3d(-520px, 55vh, 0) scaleX(-1);
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .section-lgpd .lgpd-content-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .section-lgpd .stats-panel {
        position: static !important;
    }
}

@media (max-width: 768px) {
    .section-lgpd .risks-grid {
        grid-template-columns: 1fr !important;
    }

    .navbar {
        padding: 0.9rem 0 !important;
    }

    .logo-img {
        height: 68px !important;
    }

    .logo::before {
        width: 62px !important;
        height: 62px !important;
        filter: blur(20px) !important;
    }

    .hero {
        min-height: auto !important;
        padding-top: 145px !important;
        padding-bottom: 4rem !important;
        align-items: flex-start !important;
    }

    .hero-grid {
        display: block !important;
        position: relative !important;
        min-height: 620px !important;
    }

    .hero-content {
        position: relative !important;
        z-index: 2 !important;
        padding: 0 !important;
    }

    .hero-label {
        margin: 0 auto 2rem !important;
        max-width: 92% !important;
        font-size: 0.72rem !important;
        line-height: 1.45 !important;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        line-height: 1.14 !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        line-height: 1.65 !important;
        margin-bottom: 1.8rem !important;
    }

    .hero-badges {
        display: grid !important;
        justify-content: center !important;
        gap: 1rem !important;
        margin-top: 2rem !important;
    }

    .hero-globe {
        display: flex !important;
        position: absolute !important;
        left: 50% !important;
        bottom: -2.5rem !important;
        width: min(118vw, 480px) !important;
        height: min(118vw, 480px) !important;
        transform: translateX(-50%) !important;
        opacity: 0.28 !important;
        z-index: 0 !important;
        pointer-events: none !important;
    }

    .hero-globe-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .hero-globe::after {
        display: none !important;
    }

    .eagle-video-wrapper {
        width: 150px !important;
        z-index: 3 !important;
    }
}

.eagle-mobile-flight {
    animation: eagleMobileFlight 28s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

@keyframes eagleMobileFlight {
    0% {
        transform: translate3d(-220px, 50vh, 0) rotate(-3deg) scaleX(-1);
        opacity: 0;
    }
    4% {
        transform: translate3d(-150px, 48vh, 0) rotate(-2deg) scaleX(-1);
        opacity: 1;
    }
    18% {
        transform: translate3d(24vw, 43vh, 0) rotate(4deg) scaleX(-1);
        opacity: 1;
    }
    34% {
        transform: translate3d(68vw, 51vh, 0) rotate(-2deg) scaleX(-1);
        opacity: 1;
    }
    44% {
        transform: translate3d(calc(100vw + 220px), 45vh, 0) rotate(3deg) scaleX(-1);
        opacity: 1;
    }
    48% {
        transform: translate3d(calc(100vw + 260px), 45vh, 0) rotate(3deg) scaleX(-1);
        opacity: 0;
    }
    52% {
        transform: translate3d(calc(100vw + 260px), 38vh, 0) rotate(-3deg) scaleX(1);
        opacity: 0;
    }
    56% {
        transform: translate3d(calc(100vw + 180px), 38vh, 0) rotate(-2deg) scaleX(1);
        opacity: 1;
    }
    70% {
        transform: translate3d(72vw, 48vh, 0) rotate(4deg) scaleX(1);
        opacity: 1;
    }
    86% {
        transform: translate3d(20vw, 41vh, 0) rotate(-3deg) scaleX(1);
        opacity: 1;
    }
    96% {
        transform: translate3d(-220px, 53vh, 0) rotate(2deg) scaleX(1);
        opacity: 1;
    }
    100% {
        transform: translate3d(-260px, 53vh, 0) rotate(2deg) scaleX(1);
        opacity: 0;
    }
}
