
:root {
    --color-bg-dark: #050506;
    --color-bg-light: #f8fafc;
    --color-surface-dark: rgba(14, 14, 18, 0.72);
    --color-surface-light: #ffffff;
    --color-text-dark: #f2f2f5;
    --color-text-light: #090d16;
    --color-text-secondary-dark: #a9a9b4;
    --color-text-secondary-light: #64748b;
    --color-text-muted: #9a9aa5;
    --color-primary: #a855f7;
    --color-secondary: #ec4899;
    --color-accent: #6366f1;
    --color-gradient: linear-gradient(135deg, #a855f7 0%, #c084fc 45%, #ec4899 100%);
    --color-gradient-heading: linear-gradient(135deg, #ffffff 20%, #c084fc 65%, #f472b6 100%);
    --color-card-dark: rgba(255, 255, 255, 0.025);
    --color-card-light: rgba(0, 0, 0, 0.03);
    --color-border-dark: rgba(255, 255, 255, 0.07);
    --color-border-accent: rgba(168, 85, 247, 0.22);
    --color-border-light: rgba(0, 0, 0, 0.08);
}

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

body,
.page-content,
.home-page {
    font-family: var(--font-poppins), 'Poppins', sans-serif;
    background: #050506;
    color: #f2f2f5;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body.light-mode,
.light-mode .page-content,
.light-mode .home-page {
    background: var(--color-bg-light);
    color: var(--color-text-light);
}

/* ===================================================
   BACKGROUND EFFECTS (Beams, Rings, Mesh, Particles)
   =================================================== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #050506;
    /* Already clipped by overflow: hidden, so paint containment is visually a no-op —
       it just stops the blurred beams from invalidating the rest of the page. */
    contain: layout paint;
}

/* Subtle background grid mesh */
.bg-animation::before {
    content: "";
    position: absolute;
    inset: -1px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.85), transparent 82%);
    pointer-events: none;
}

/* Left Purple/Pink Light Beam */
.glow-orb.orb-1 {
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.16) 0%, rgba(236, 72, 153, 0.08) 45%, transparent 70%);
    top: -5%;
    left: -12%;
    border-radius: 50%;
    filter: blur(110px);
    animation: beamLeft 10s infinite ease-in-out alternate;
    /* Keeps the 110px blur rasterised once and only re-composites the transform,
       instead of re-blurring a 650px orb on every animation frame. */
    will-change: transform, opacity;
}

/* Right Blue/Indigo Light Beam */
.glow-orb.orb-2 {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.09) 45%, transparent 70%);
    top: 10%;
    right: -12%;
    border-radius: 50%;
    filter: blur(110px);
    animation: beamRight 12s infinite ease-in-out alternate;
    will-change: transform, opacity;
}

/* Bottom mesh glow */
.glow-orb.orb-3 {
    position: absolute;
    width: 900px;
    height: 450px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 75%);
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    filter: blur(130px);
}

/* Large Animated Circular Rings */
.bg-rings-container {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    pointer-events: none;
}

.bg-ring {
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.ring-outer {
    width: 880px;
    height: 880px;
    border: 1px solid rgba(99, 102, 241, 0.07);
    animation: ringSpin 65s linear infinite;
}

.ring-mid {
    width: 640px;
    height: 640px;
    border: 1px dashed rgba(168, 85, 247, 0.09);
    animation: ringSpinRev 45s linear infinite;
}

.ring-inner {
    width: 420px;
    height: 420px;
    border: 1px solid rgba(236, 72, 153, 0.1);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.06);
    animation: ringSpin 30s linear infinite;
}

@keyframes ringSpin {
    from { transform: translate3d(-50%, -50%, 0) rotate(0deg); }
    to { transform: translate3d(-50%, -50%, 0) rotate(360deg); }
}

@keyframes ringSpinRev {
    from { transform: translate3d(-50%, -50%, 0) rotate(360deg); }
    to { transform: translate3d(-50%, -50%, 0) rotate(0deg); }
}

@keyframes beamLeft {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
    100% { transform: translate3d(20px, 40px, 0) scale(1.15); opacity: 1; }
}

@keyframes beamRight {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
    100% { transform: translate3d(-20px, -30px, 0) scale(1.2); opacity: 1; }
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(192, 132, 252, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(192, 132, 252, 0.4);
    animation: float 18s infinite ease-in-out;
    will-change: transform;
}

@keyframes float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    25% { transform: translate3d(40px, -90px, 0); }
    50% { transform: translate3d(-25px, -180px, 0); }
    75% { transform: translate3d(-50px, -90px, 0); }
}

@media (max-width: 768px) {
    .glow-orb.orb-1,
    .glow-orb.orb-2,
    .glow-orb.orb-3 {
        animation: none !important;
        filter: blur(50px);
        will-change: auto;
    }
    .bg-rings-container {
        display: none !important;
    }
    .particle {
        display: none !important;
    }
}

/* ===================================================
   NAVIGATION
   =================================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(5, 5, 6, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

body.light-mode nav {
    background: rgba(255, 255, 255, 0.88);
    border-bottom-color: var(--color-border-light);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-orbitron), 'Orbitron', sans-serif;
    font-size: 1.65rem;
    font-weight: 900;
    background: var(--color-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.brand-logo {
    height: 2.1rem;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
}

.nav-right {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    color: #a9a9b4;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #f2f2f5;
}

.theme-toggle, .music-toggle {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: inherit;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

body.light-mode .theme-toggle, body.light-mode .music-toggle {
    background: var(--color-card-light);
    border-color: var(--color-border-light);
}

.theme-toggle:hover, .music-toggle:hover {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.35);
    color: white;
    transform: scale(1.04);
}

/* ===================================================
   MAIN CONTENT & HERO
   =================================================== */
.page-content {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
}

.home-page, .try-page {
    min-height: 100vh;
}

.try-page, .terms-page, .privacy-page {
    display: none;
}

.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 6%;
}

/* Headings Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    letter-spacing: -0.025em;
    background: var(--color-gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 {
    font-family: var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2.4rem, 5.8vw, 4.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.18;
    color: #f2f2f5;
    background: var(--color-gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    color: #a9a9b4;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.15s backwards;
}

body.light-mode .hero p {
    color: var(--color-text-secondary-light);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    font-family: var(--font-poppins), 'Poppins', sans-serif;
    background: linear-gradient(135deg, #9333ea 0%, #c026d3 50%, #db2777 100%);
    color: white;
    padding: 0.95rem 2.8rem;
    font-size: 1.05rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 25px rgba(192, 38, 211, 0.35);
    animation: fadeInUp 0.8s ease 0.3s backwards;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(192, 38, 211, 0.5);
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 50%, #ec4899 100%);
}

.video-container {
    width: min(92vw, 1120px);
    margin: clamp(2.5rem, 4vw, 3.5rem) auto 0;
    aspect-ratio: 16 / 9;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(99, 102, 241, 0.1)), rgba(10, 10, 14, 0.8);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 45px rgba(168, 85, 247, 0.12);
    animation: fadeInUp 0.8s ease 0.45s backwards;
}

.video-container .demo-preview {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    margin: 0;
    border: 0;
    border-radius: 16px;
    background: #050506;
}

/* ===================================================
   SECTIONS & CARDS
   ================================================== */
.section {
    padding: 5rem 6%;
    max-width: 1300px;
    margin: 0 auto;
}

.section h2 {
    font-family: var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 1.25rem;
    background: var(--color-gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section > p {
    color: #a9a9b4;
    text-align: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 2.2rem;
    border-radius: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.light-mode .card {
    background: var(--color-card-light);
    border-color: var(--color-border-light);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 20px 45px -12px rgba(168, 85, 247, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-family: var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.75rem;
    background: var(--color-gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card p {
    color: #a9a9b4;
    font-size: 0.95rem;
    line-height: 1.7;
}

body.light-mode .card p {
    color: var(--color-text-secondary-light);
}

/* ===================================================
   WHY SECTION
   =================================================== */
.why-section {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3.5rem);
    margin: 3rem 0;
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.why-section.single-panel,
.panel-card {
    display: block;
    grid-template-columns: 1fr;
}

body.light-mode .why-section,
body.light-mode .panel-card {
    background: var(--color-card-light);
    border-color: var(--color-border-light);
}

.why-visual {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.why-image-card {
    height: min(55vw, 650px);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background:
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.15), transparent 40%),
        radial-gradient(circle at 75% 80%, rgba(168, 85, 247, 0.18), transparent 40%),
        rgba(9, 9, 13, 0.8);
    box-shadow: inset 0 0 35px rgba(168, 85, 247, 0.1), 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* <picture> wrappers are layout-transparent: the rendered box must stay identical to
   the bare <img> it replaced (AVIF/WebP delivery with a PNG fallback). */
.logo-container picture {
    display: flex;
}

.why-image-card picture {
    display: flex;
    justify-content: center;
    height: 100%;
    max-width: 100%;
}

.why-image-card img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    border-radius: 20px;
    filter: drop-shadow(0 0 24px rgba(168, 85, 247, 0.25));
}

.why-content {
    min-width: 0;
}

.why-section h2 {
    margin-bottom: 1.25rem;
    text-align: left;
    background: var(--color-gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-content p {
    max-width: 720px;
    margin: 0 0 2rem !important;
    text-align: left !important;
    font-size: 1.08rem !important;
    line-height: 1.75;
    color: #a9a9b4;
}

body.light-mode .why-content p {
    color: var(--color-text-secondary-light);
}

.why-list {
    list-style: none;
    max-width: none;
    margin: 0;
}

.why-list li {
    padding: 0.95rem 1.2rem;
    margin-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--color-primary);
    border-radius: 12px;
    font-size: 0.96rem;
    color: #f2f2f5;
    transition: all 0.25s ease;
}

.why-list li strong {
    color: #ffffff;
}

.why-list li:hover {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.25);
    transform: translateX(6px);
}

/* ===================================================
   PRICING SECTION
   =================================================== */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.light-mode .pricing-card {
    background: var(--color-card-light);
    border-color: var(--color-border-light);
}

.pricing-card.featured {
    border-color: rgba(168, 85, 247, 0.4);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.07) 0%, rgba(255, 255, 255, 0.025) 100%);
    box-shadow: 0 20px 50px -15px rgba(168, 85, 247, 0.22);
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.35);
    box-shadow: 0 20px 48px -12px rgba(168, 85, 247, 0.2);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #d8b4fe;
    padding: 0.35rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    backdrop-filter: blur(10px);
}

.plan-badge.popular {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(236, 72, 153, 0.35));
    border-color: rgba(236, 72, 153, 0.5);
    color: #fce7f3;
}

.pricing-card h3 {
    font-family: var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 1rem 0 0.75rem;
    text-align: center;
    background: var(--color-gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price {
    text-align: center;
    margin: 1.25rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.original-price {
    font-family: var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 1.15rem;
    color: #9a9aa5;
    position: relative;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 0.2rem;
    transition: all 0.3s ease;
}

body.light-mode .original-price {
    color: rgba(0, 0, 0, 0.45);
}

.strike-line {
    position: absolute;
    left: -10%;
    top: 50%;
    width: 120%;
    height: 2px;
    background: linear-gradient(90deg, #ec4899, #f43f5e);
    transform: translateY(-50%) rotate(-7deg);
    transform-origin: left center;
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.7);
    border-radius: 2px;
}

.price .amount {
    font-family: var(--font-poppins), 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #f2f2f5;
    background: var(--color-gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price .period {
    font-size: 0.95rem;
    color: #9a9aa5;
}

.features-list {
    list-style: none;
    margin: 1.75rem 0;
    padding: 0;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.93rem;
    color: #a9a9b4;
}

.features-list li strong {
    color: #f2f2f5;
}

body.light-mode .features-list li {
    border-bottom-color: var(--color-border-light);
}

.features-list li:last-child {
    border-bottom: none;
}

.pricing-button {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 1rem;
}

.pricing-button.primary {
    background: linear-gradient(135deg, #9333ea 0%, #c026d3 50%, #db2777 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(192, 38, 211, 0.35);
}

.pricing-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(192, 38, 211, 0.5);
    background: linear-gradient(135deg, #a855f7 0%, #d946ef 50%, #ec4899 100%);
}

.pricing-button.secondary {
    background: rgba(255, 255, 255, 0.04);
    color: #f2f2f5;
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.pricing-button.secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(168, 85, 247, 0.3);
    color: #ffffff;
}
/* ===================================================
   Lexino ERA Section
   =================================================== */

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body { background: #050506; }

  .lexino-section {
    position: relative;
    width: 100%;
    background: #050506;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    padding: 90px 24px 70px;
  }

  /* edge light beams */
  .beam { position: absolute; top: 0; bottom: 0; width: 2px; opacity: 0.5; z-index: 1; }
  .beam-l { left: 4%; background: linear-gradient(to bottom, transparent, rgba(168,85,247,0.5) 40%, rgba(244,114,182,0.35) 60%, transparent); }
  .beam-r { right: 4%; background: linear-gradient(to bottom, transparent, rgba(56,189,248,0.45) 40%, rgba(99,102,241,0.35) 60%, transparent); }

  /* ring arcs */
  .rings { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .rings svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
  .ring-l { animation: driftL 13s ease-in-out infinite; transform-origin: center; will-change: transform; }
  .ring-r { animation: driftR 15s ease-in-out infinite; transform-origin: center; will-change: transform; }
  @keyframes driftL { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(6px,10px,0)} }
  @keyframes driftR { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(-6px,-8px,0)} }

  /* corner wave mesh */
  #wave-left, #wave-right {
    position: absolute; bottom: 0; width: 48%; height: 260px; z-index: 1; pointer-events: none;
  }
  #wave-left { left: 0; }
  #wave-right { right: 0; }

  .content {
    position: relative; z-index: 2;
    max-width: 900px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }

  .pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 999px;
    border: 1px solid rgba(168,85,247,0.4);
    background: rgba(255,255,255,0.02);
    color: #dcdce4; font-size: 14px; font-weight: 500;
    opacity: 0; animation: fadeUp 0.7s ease forwards;
  }
  .pill svg { width: 15px; height: 15px; flex-shrink: 0; }

  h1.headline,
  h2.headline {
    margin-top: 22px;
    font-size: clamp(34px, 6vw, 68px);
    font-weight: 800; line-height: 1.08; letter-spacing: -0.02em;
    color: #f2f2f5;
    opacity: 0; animation: fadeUp 0.7s ease 0.1s forwards;
  }
  h1.headline .grad,
  h2.headline .grad {
    background: linear-gradient(90deg, #6d5efc 0%, #a855f7 55%, #d946ef 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  p.sub {
    margin-top: 20px; max-width: 620px;
    color: #a9a9b4; font-size: clamp(14px, 1.6vw, 17px); line-height: 1.7;
    opacity: 0; animation: fadeUp 0.7s ease 0.2s forwards;
  }
  p.sub .accent {
    display: block; margin-top: 6px; font-weight: 600;
    background: linear-gradient(90deg, #6d5efc, #3b82f6);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }

  .features {
    margin-top: 42px;
    display: flex; align-items: flex-start; justify-content: center;
    flex-wrap: wrap;
    opacity: 0; animation: fadeUp 0.7s ease 0.3s forwards;
  }
  .feature {
    display: flex; align-items: flex-start; gap: 12px;
    text-align: left; padding: 0 22px;
    border-left: 1px solid rgba(255,255,255,0.08);
    min-width: 200px; max-width: 230px;
  }
  .feature:first-child { border-left: none; }

  .feature .icon-box {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(168,85,247,0.35);
    background: rgba(139,92,246,0.06);
  }
  .feature .icon-box svg { width: 20px; height: 20px; stroke: #b794f6; }

  .feature .text h3 { font-size: 15px; font-weight: 600; color: #f0f0f3; white-space: nowrap; }
  .feature .text p { margin-top: 3px; font-size: 12.5px; color: #9a9aa5; line-height: 1.5; }

  .bottom-pill {
    margin-top: 36px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: 999px;
    border: 1px solid rgba(99,102,241,0.35);
    background: rgba(255,255,255,0.015);
    color: #c7c7d1; font-size: 14px;
    opacity: 0; animation: fadeUp 0.7s ease 0.4s forwards;
  }
  .bottom-pill svg { width: 16px; height: 16px; stroke: #f472b6; flex-shrink: 0; }

  @keyframes fadeUp { from{opacity:0; transform:translate3d(0,14px,0)} to{opacity:1; transform:translate3d(0,0,0)} }

  /* ================= TABLET ================= */
  @media (max-width: 860px) {
    .features { gap: 22px 0; }
    .feature { border-left: none; padding: 0 10px; min-width: 45%; }
  }

  /* ================= MOBILE ================= */
  @media (max-width: 600px) {
    .lexino-section { padding: 56px 18px 46px; }

    .pill { font-size: 12px; padding: 8px 16px; }
    .pill svg { width: 12px; height: 12px; }

    h1.headline { margin-top: 16px; font-size: clamp(30px, 9vw, 40px); line-height: 1.12; }

    p.sub { margin-top: 14px; font-size: 13.5px; line-height: 1.6; }

    .features {
      margin-top: 28px;
      flex-direction: column;
      align-items: stretch;
      gap: 16px;
      width: 100%;
    }
    .feature {
      max-width: 100%;
      min-width: 0;
      width: 100%;
      padding: 12px 14px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,0.07);
      background: rgba(255,255,255,0.015);
    }
    .feature .icon-box { width: 40px; height: 40px; }
    .feature .text h3 { font-size: 14px; }
    .feature .text p { font-size: 12.5px; }

    .bottom-pill {
      margin-top: 26px;
      font-size: 12px;
      padding: 10px 16px;
      white-space: normal;
      text-align: center;
      line-height: 1.4;
    }

    #wave-left, #wave-right { height: 160px; width: 55%; opacity: 0.75; }
    .beam { display: none; }
  }

  @media (max-width: 380px) {
    h1.headline { font-size: 28px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .ring-l, .ring-r, .pill, h1.headline, p.sub, .features, .bottom-pill {
      animation: none !important; opacity: 1 !important; transform: none !important;
    }
  }


/* ===================================================
   NEWSLETTER
   =================================================== */
   
.newsletter-form {
    margin-top: 1.75rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.75rem;
    max-width: 540px;
    margin: 0 auto;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
    color: #f2f2f5;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

.newsletter-input-group input:focus {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.newsletter-button {
    padding: 0.85rem 1.8rem;
    background: linear-gradient(135deg, #9333ea 0%, #c026d3 50%, #db2777 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.newsletter-button:hover {
    box-shadow: 0 8px 24px rgba(192, 38, 211, 0.4);
}

.newsletter-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

.newsletter-message.show {
    display: block;
}

.newsletter-message.success {
    color: #34d399;
}

.newsletter-message.error {
    color: #f87171;
}

/* ===================================================
   FOOTER
   =================================================== */
.futuristic-footer {
    background: linear-gradient(180deg, transparent 0%, rgba(5, 5, 6, 0.95) 100%);
    padding: 4rem 6% 3rem;
    position: relative;
    margin-top: 5rem;
    overflow: hidden;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2) 30%, rgba(99, 102, 241, 0.2) 70%, transparent);
    position: absolute;
    top: 0;
    left: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-credit {
    font-family: var(--font-orbitron), 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f2f2f5;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a9a9b4;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.25s ease;
}

.social-icon:hover {
    color: white;
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

.footer-links {
    display: flex;
    gap: 1.75rem;
    justify-content: center;
    margin-top: 0.75rem;
}

.footer-links a {
    color: #9a9aa5;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #f2f2f5;
}

/* ===================================================
   MODALS (Student Verification, Success, Failure)
   =================================================== */
.lexino-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: modalFadeIn 0.25s ease;
}

.lexino-modal-card {
    background: rgba(14, 14, 18, 0.92);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 20px;
    padding: 2.25rem;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(168, 85, 247, 0.15);
    animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-family: var(--font-orbitron), 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: var(--color-gradient-heading);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-close {
    background: transparent;
    border: none;
    color: #9a9aa5;
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #ffffff;
}

.lexino-input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: #f2f2f5;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.lexino-input:focus {
    border-color: rgba(168, 85, 247, 0.45);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 768px) {
    nav {
        padding: 1rem 5%;
    }
    .nav-links {
        display: none;
    }
    .why-section {
        grid-template-columns: 1fr;
    }
    .why-visual {
        min-height: auto;
    }
    .why-image-card {
        min-height: 320px;
    }
    .hero {
        padding: 2rem 4%;
    }
    .cards-container,
    .pricing-container {
        grid-template-columns: 1fr;
    }
}
