/* ============================================================
   NEXTGEN ACADEMY - PREMIUM E-LEARNING LANDING PAGE
   Dark + Light theme mix with vibrant gradient accents
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
    /* Color Palette */
    --primary-dark: #0f0f1e;
    --secondary-dark: #1a1a2e;
    --accent-light: #ffffff;
    --accent-gray: #f5f5f5;

    /* Vibrant Accent Colors */
    --accent-pink: #ff006e;
    --accent-purple: #8338ec;
    --accent-cyan: #00d9ff;
    --accent-orange: #ff8c42;
    --accent-yellow: #ffd60a;

    /* Text */
    --text-dark: #0f0f1e;
    --text-light: #ffffff;
    --text-gray: #666666;
    --text-light-gray: #888888;

    /* Spacing */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Manrope, "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(
        --primary-dark
    ); /* prevents white flash between dark sections */
}

/* ================== HEADER ================== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary-dark);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--accent-pink),
        var(--accent-purple)
    );
    border-radius: 8px;
    color: white;
    font-weight: 800;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--text-light);
}

/* ================== MEGA-MENU HEADER ================== */
.landing-menu { display: flex; align-items: center; gap: 2rem; flex: 1; justify-content: center; }
.landing-menu > nav { display: flex; gap: 2rem; align-items: center; }

.nav-trigger {
    color: rgba(255,255,255,.7); background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: .95rem; font-weight: 500;
    display: inline-flex; align-items: center; gap: .35rem; transition: color .25s;
}
.nav-item:hover > .nav-trigger { color: var(--text-light); }
.nav-trigger .chev { transition: transform .3s; display: inline-block; }
.nav-item:hover .chev { transform: rotate(180deg); }

.nav-item { position: static; }

.mega-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--secondary-dark);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 30px 60px rgba(0,0,0,.5);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    z-index: 999;
}
.nav-item:hover .mega-menu,
.mega-menu:hover { opacity: 1; visibility: visible; transform: translateY(0); }

.mega-inner { max-width: 1400px; margin: 0 auto; padding: 2.5rem 2rem; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 2.5rem; }
.mega-col-title { color: var(--accent-orange); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.4rem; }

.mega-link { display: flex; gap: 1rem; text-decoration: none; margin-bottom: 1.4rem; align-items: flex-start; }
.mega-link:last-child { margin-bottom: 0; }
.mega-ico { width: 34px; height: 34px; min-width: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: rgba(255,140,66,.12); color: var(--accent-orange); font-size: 1rem; transition: background .25s, transform .25s; }
.mega-link:hover .mega-ico { background: var(--accent-orange); color: #1a1a2e; transform: translateY(-2px); }
.mega-link h4 { color: var(--text-light); font-size: .95rem; font-weight: 600; margin-bottom: .2rem; display: flex; align-items: center; gap: .5rem; }
.mega-link p { color: rgba(255,255,255,.55); font-size: .83rem; line-height: 1.45; }
.mega-link:hover h4 { color: var(--accent-orange); }
.tag-hiring { font-size: .62rem; font-weight: 700; background: rgba(255,255,255,.12); color: #fff; padding: .15rem .5rem; border-radius: 999px; text-transform: none; letter-spacing: .02em; }

.mega-video { display: flex; gap: 1rem; margin-bottom: 1.6rem; text-decoration: none; }
.mega-video .thumb { width: 120px; min-width: 120px; height: 74px; border-radius: 10px; background: linear-gradient(135deg,#8338ec,#ff006e); display: flex; align-items: flex-end; padding: .5rem; color: #fff; font-size: .7rem; font-weight: 600; }
.mega-video h4 { color: var(--text-light); font-size: .92rem; font-weight: 600; margin-bottom: .25rem; }
.mega-video p { color: rgba(255,255,255,.55); font-size: .8rem; line-height: 1.4; margin-bottom: .4rem; }
.watch { color: var(--accent-orange); font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.mega-allvideos { color: var(--accent-orange); font-size: .85rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }


.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile menu: wrapper uses display:contents on desktop so logo | nav | actions stay one row */
.landing-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.landing-nav-toggle:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

.landing-nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    transform-origin: center;
}

.landing-header--nav-open .landing-nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.landing-header--nav-open .landing-nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.landing-header--nav-open .landing-nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.landing-menu {
    display: contents;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
    background: linear-gradient(
        135deg,
        var(--accent-pink),
        var(--accent-purple)
    );
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
}
/* Language */
.language {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background-color: #1A1A2E;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
}
/* ================== HERO SECTION ================== */
.hero {
    background: var(--primary-dark);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.blob {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: float 6s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ff006e, #ff8c42);
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #8338ec, #00d9ff);
    bottom: 0;
    right: 20px;
    animation-delay: 2s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #ffd60a, #ff006e);
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}
.hero-image {
    max-width: 400px;
    width: 100%;
    height: 100%;
    z-index: 20;
    scale: 1.1;
    right: 20px;
    position: relative;
    border-radius: 70px;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }
    50% {
        transform: translate(0, -60px) rotate(180deg);
    }
    75% {
        transform: translate(-30px, -30px) rotate(270deg);
    }
}

.hero-visual-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

/* ================== APP HIGHLIGHT ================== */
.app-highlight {
    background: var(--primary-dark);
    padding: 4rem 2rem;
    text-align: center;
    height: 1000px;
}

.app-highlight-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.app-highlight-content h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: left;
}

.app-highlight-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    text-align: left;
}
.app-mockup {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================== FEATURES SECTION ================== */
.features {
    background: var(--accent-gray);
    padding: 5rem 2rem;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--text-light);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.feature-icon-1 {
    background: rgba(255, 0, 110, 0.1);
}
.feature-icon-2 {
    background: rgba(131, 56, 236, 0.1);
}
.feature-icon-3 {
    background: rgba(0, 217, 255, 0.1);
}
.feature-icon-4 {
    background: rgba(255, 140, 66, 0.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ================== TESTIMONIALS SECTION ================== */
.testimonials {
    background: var(--accent-light);
    padding: 5rem 2rem;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    color: var(--text-light);
}

.testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--accent-pink),
        var(--accent-purple)
    );
}

.author-info h4 {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.rating {
    color: var(--accent-yellow);
    font-size: 0.9rem;
}

/* ================== PRICING SECTION ================== */
.pricing {
    background: var(--primary-dark);
    padding: 5rem 2rem;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--secondary-dark);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--accent-pink),
        var(--accent-purple)
    );
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pricing-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-cyan);
    font-weight: bold;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

/* ================== WHY CHOOSE SECTION ================== */
.why-choose {
    background: var(--primary-dark);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.why-choose-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-choose h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
}

.why-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        var(--accent-pink),
        var(--accent-purple)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.why-text h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.why-visual {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blob-large {
    width: 350px;
    height: 350px;
    background: linear-gradient(
        135deg,
        var(--accent-purple),
        var(--accent-cyan)
    );
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: float 8s ease-in-out infinite;
    margin-right: 0;
}
.app-feature-mockup {
    position: absolute;
    width: 600px;
    height: 800px;
}

/* ================== CTA SECTION ================== */
.cta {
    background: var(--secondary-dark);
    padding: 4rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

/* ================== FOOTER ================== */
.site-footer {
    background: #0c0c16;
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 2.6fr;
    gap: 3rem;
    padding-bottom: 2rem;
}

/* --- Brand column --- */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.footer-logo span {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    border-radius: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
}

.footer-brand-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* --- Email signup --- */
.footer-signup {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 280px;
}

.footer-signup-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #14141f;
    color: var(--text-light);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.footer-signup-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-signup-input:focus {
    border-color: var(--accent-pink);
}

.footer-signup-btn {
    width: 100%;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff1a3c, var(--accent-pink));
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.footer-signup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.35);
}

/* --- Link columns --- */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.85rem;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-pink);
}

/* --- Bottom bar --- */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-socials a {
    color: var(--accent-pink);
    display: inline-flex;
    transition: transform 0.3s, color 0.3s;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    color: #ff4d6d;
}

.footer-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.footer-credit a {
    color: var(--accent-pink);
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}



/* ================== RESPONSIVE (tablets & phones only; default = laptop+) ================== */

/* ================== BLOG SECTION ================== */
.blog {
    background: var(--primary-dark);
    padding: 5rem 2rem;
    padding-top: 15rem;
}

.blog-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.blog-header h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.blog-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 600px;
}

.blog-header .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    align-self: flex-end;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

a.blog-card {
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

a.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 0, 110, 0.3);
    background: rgba(255, 0, 110, 0.05);
}

.blog-card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(
        135deg,
        rgba(255, 0, 110, 0.2),
        rgba(131, 56, 236, 0.2)
    );
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

a.blog-card:hover .blog-card__img img {
    transform: scale(1.08);
}

.blog-card__body {
    flex: 1;
    display: grid;
    gap: 0.8rem;
    padding: 1.3rem 1.4rem 1.5rem;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.blog-card__tag {
    display: inline-flex;
    align-items: center;
    height: 1.8rem;
    padding: 0 0.7rem;
    border-radius: 999px;
    background: rgba(255, 0, 110, 0.15);
    color: var(--accent-pink);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 0, 110, 0.3);
}

.blog-card__date {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.blog-card__title {
    margin: 0;
    font-family: "Space Mono", monospace;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__excerpt {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--accent-pink);
    margin-top: auto;
    transition: gap 0.3s ease;
}

a.blog-card:hover .blog-card__read-more {
    gap: 0.8rem;
}

.blog-card__read-more svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.blog-card--skeleton {
    pointer-events: none;
}

.blog-card__img--skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 0, 110, 0.1) 25%,
        rgba(255, 0, 110, 0.15) 50%,
        rgba(255, 0, 110, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: blog-shimmer 1.6s ease infinite;
}

@keyframes blog-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.blog-skeleton-line {
    height: 0.95rem;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(255, 0, 110, 0.1) 25%,
        rgba(255, 0, 110, 0.15) 50%,
        rgba(255, 0, 110, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: blog-shimmer 1.6s ease infinite;
}

.blog-skeleton-line--short {
    width: 40%;
}
.blog-skeleton-line--med {
    width: 65%;
}

/* ================== SCROLL REVEAL ================== */
.reveal-on-scroll {
    transition:
        opacity 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        filter 650ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
    will-change: opacity, transform, filter;
}

/* Section reveal: keep background visible (no white flash between sections) */
.reveal-section {
    opacity: 1;
    transform: translateY(24px) scale(0.992);
    filter: blur(3px);
}

.reveal-section.is-revealed {
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Item reveal: staggered card animation */
.reveal-item {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    filter: blur(6px);
    transition:
        opacity 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        filter 700ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.reveal-item.is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Keep existing hover effects smooth on revealed cards */
.feature-card.reveal-on-scroll.is-revealed:hover,
.blog-card.reveal-on-scroll.is-revealed:hover,
.pricing-card.reveal-on-scroll.is-revealed:hover {
    transition-duration: 300ms;
}

/* ================== UTILITIES ================== */
.text-center {
    text-align: center;
}

.text-light {
    color: var(--text-light);
}

.text-gray {
    color: var(--text-gray);
}

.mt-3 {
    margin-top: 3rem;
}
.mb-3 {
    margin-bottom: 3rem;
}
.py-5 {
    padding: 5rem 0;
}
