:root {
    --primary: #facc15;
    /* Electric Yellow */
    --primary-dark: #eab308;
    --bg-main: #ffffff;
    --bg-dark: #0f172a;
    /* Deep Slate */
    --text-main: #1e293b;
    --text-light: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.08);
    --header-height: 85px;
    --font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Glassmorphism Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--bg-dark);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.nav-brand img {
    height: 44px;
    width: 44px;
    border-radius: 12px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-cta {
    background: var(--primary);
    color: #000;
    padding: 0.8rem 1.8rem;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.2);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(250, 204, 21, 0.3);
}

/* --- Hero Section (Ultra-Premium) --- */
.hero-section {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, #fffbeb 0%, #ffffff 100%);
    position: relative;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    padding: 0 2rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--bg-dark);
}

.hero-text .highlight {
    background: linear-gradient(120deg, var(--primary) 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

/* --- View Transitions --- */
#app {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Feature Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.premium-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.premium-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary);
}

.premium-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* --- Language Switches --- */
.lang-switch-pills {
    display: flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 12px;
}

.lang-pill {
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.lang-pill.active {
    background: white;
    color: var(--bg-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 8rem 2rem 4rem;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
}

.footer h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer p {
    color: #94a3b8;
}

.footer h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 1rem;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--bg-dark);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.desktop-only {
    display: inline-block;
}

/* --- Mobile Media Queries --- */
@media (max-width: 1024px) {
    :root {
        --header-height: 75px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 4rem 2rem;
        transition: 0.5s cubic-bezier(0.65, 0, 0.35, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    .desktop-only {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text p {
        margin: 0 auto 3rem;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .policy-container {
        padding: 2rem !important;
    }

    .policy-body section {
        padding: 1.5rem !important;
    }

    .policy-container h1 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 480px) {
    .nav-brand span {
        display: none;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .btn-cta {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/* Helper for container padding */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section {
    padding: 8rem 0;
}

@keyframes scanMove {
    0%, 100% { top: 0; }
    50% { top: 100%; }
}

.highlight-box {
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}