/* Kore Landing Page - Cinematic Dark Redesign */
:root {
    --bg-dark: #080B14;
    --text-primary: #FFFFFF;
    --text-muted: #94A3B8;
    --accent: #3B82F6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(15, 23, 42, 0.4);
    /* Slightly more transparent for glass effect */
    --good-text: #10b981;
    --bad-text: #ef4444;
}

/* Background Animated Glows for Glassmorphism Context */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-glow-orb {
    position: absolute;
    width: 60vh;
    height: 60vh;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
    animation: floating-orb 20s infinite alternate ease-in-out;
}

.orb-primary {
    background: var(--accent);
    top: -10%;
    right: -5%;
}

.orb-secondary {
    background: #10B981;
    bottom: -10%;
    left: -5%;
    animation-delay: -5s;
}

.orb-tertiary {
    background: #6366F1;
    top: 40%;
    left: 10%;
    opacity: 0.05;
    animation-duration: 25s;
}

@keyframes floating-orb {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.1);
    }
}


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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.02em;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 80px 0;
}

/* Navbar */
.navbar-wrapper {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 1000px;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 10px 20px;
    border-radius: 50px;
    /* Pill shape */
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
}

.logo span {
    color: var(--accent);
    font-size: 2rem;
    line-height: 0;
    margin-left: 2px;
}

.nav-cta {
    background: var(--text-primary);
    color: var(--bg-dark);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover {
    transform: scale(1.05);
    background: #ffffff;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 200px;
    background: radial-gradient(circle at top center, rgba(37, 99, 235, 0.15) 0%, transparent 60%), var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 32px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-os-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted, #71717a);
    margin-bottom: 14px;
}

.hero h1 {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.05em;
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span,
.title-highlight,
.kore-accent {
    -webkit-text-fill-color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    display: inline;
}

.hero p.subheadline {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 45px;
    line-height: 1.5;
}

.privacy-shimmer {
    display: inline-block;
    font-weight: 700;
    background: linear-gradient(90deg, #10b981 0%, #34d399 25%, #10b981 50%, #34d399 75%, #10b981 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-emerald 3s linear infinite;
    position: relative;
    padding-left: 2px;
}

@keyframes shimmer-emerald {
    to {
        background-position: 200% center;
    }
}


.hero-actions {
    display: flex;
    gap: 30px;
    align-items: center;
}

.btn-primary {
    background: #FFFFFF;
    color: #080B14;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #f8fafc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.btn-link:hover {
    color: var(--accent);
}

.btn-link svg {
    transition: transform 0.2s;
}

.btn-link:hover svg {
    transform: translateX(4px);
}

/* Vault Console (Zero-Trust Terminal) Background */
.vault-console {
    position: absolute;
    top: 60%;
    left: 40%;
    transform: none;
    width: 600px;
    background: rgba(10, 15, 25, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem;
    font-family: 'SFMono-Regular', Consolas, monospace;
    text-align: left;
    min-height: 220px;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.1);
}

.hero>div.container {
    position: relative;
    z-index: 10;
}

.console-line {
    font-size: 0.85rem;
    margin-bottom: 5px;
    line-height: 1.5;
}

.console-line .prompt {
    color: var(--text-muted);
    margin-right: 8px;
}

.console-line .value {
    color: #10B981;
    /* Emerald for success */
    font-weight: 600;
}

.console-line .status-off {
    color: #ef4444;
    /* Red for alert */
}

/* Connected Intelligence / Grid */
.grid-section {
    padding: 60px 0;
    position: relative;
}

.grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.grid-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Compact Feature Grid for Main Landing */
.feature-grid.compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-grid.compact .feature-card {
    padding: 24px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-grid.compact .feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-grid.compact h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-grid.compact p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.feature-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.1);
}


.feature-group h3.group-title {
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    border-bottom: 2px solid var(--glass-border);
    padding-bottom: 8px;
    text-align: center;
}

.icon-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Feature Colors & Glow per column */
.feature-group:nth-child(1) .group-title {
    color: #3B82F6;
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-group:nth-child(1) .icon {
    color: #3B82F6;
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.5));
}

.feature-group:nth-child(1) .icon-card:hover {
    border-color: #3B82F6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.feature-group:nth-child(2) .group-title {
    color: #A855F7;
    border-color: rgba(168, 85, 247, 0.3);
}

.feature-group:nth-child(2) .icon {
    color: #A855F7;
    filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.5));
}

.feature-group:nth-child(2) .icon-card:hover {
    border-color: #A855F7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.feature-group:nth-child(3) .group-title {
    color: #10B981;
    border-color: rgba(16, 185, 129, 0.3);
}

.feature-group:nth-child(3) .icon {
    color: #10B981;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.5));
}

.feature-group:nth-child(3) .icon-card:hover {
    border-color: #10B981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.icon-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.icon-card:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateY(-2px);
}

.icon-card .icon {
    flex-shrink: 0;
}

.icon-card-content {
    display: flex;
    flex-direction: column;
}

.icon-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.icon-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Blueprints Redesign V2 */
.blueprints-section {
    padding: 60px 0 80px;
    background: var(--bg-dark);
}

.blueprints-header {
    margin-bottom: 40px;
}

.blueprints-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.blueprints-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1AA 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blueprints-title span {
    -webkit-text-fill-color: var(--accent);
}

.blueprints-subheadline {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.5;
}

.blueprints-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.blueprint-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blueprint-item:hover {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.blueprint-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #cbd5e1;
    transition: color 0.3s ease;
}

.blueprint-item:hover .blueprint-name {
    color: #ffffff;
}

.blueprint-arrow {
    width: 20px;
    height: 20px;
    color: #475569;
    transition: all 0.3s ease;
}

.blueprint-item:hover .blueprint-arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

/* Base styles cleanup for blueprints */
.blueprint-link {
    font-size: 110px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-primary);
    opacity: 0.2;
    transition: all 0.4s ease;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
}

.blueprint-link span.arrow {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.4s ease;
    color: var(--accent);
}

.blueprint-link:hover {
    opacity: 1;
    transform: translateX(20px);
}

.blueprint-link:hover span.arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Audience Section unified styling */
.audience-section {
    padding: 100px 0;
}

.audience-unified-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(59, 130, 246, 0.05);
}

.audience-unified-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.audience-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    background: linear-gradient(90deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.audience-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
}

.audience-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.audience-item.divider {
    flex: 0 0 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, var(--glass-border), transparent);
    align-self: stretch;
    margin: 0 -20px;
}

.audience-item:hover:not(.divider) {
    transform: translateY(-5px);
}

.audience-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audience-item:hover .audience-icon-wrapper {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 30px var(--accent-glow);
    transform: scale(1.1);
}

.audience-item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.audience-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.final-cta {
    padding: 120px 0;
    position: relative;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.cta-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-content-modern {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-heading {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtext {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.6;
}

.cta-actions-modern {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 54px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 1) 0%, rgba(37, 99, 235, 1) 100%);
    color: #ffffff;
    padding: 0 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary-glow svg {
    transition: transform 0.3s ease;
}

.btn-primary-glow:hover svg {
    transform: translateX(4px);
}

.cta-trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-trust-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.cta-trust-badges .badge svg {
    color: #10B981;
}

footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: underline;
    transition: color 0.2s;
}

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

/* Responsiveness */
@media (max-width: 1024px) {
    .blueprint-link {
        font-size: 70px;
    }

    .hero h1 {
        font-size: 60px;
    }

    .audience-content {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }

    .audience-item {
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 24px;
    }

    .audience-item.divider {
        height: 1px;
        width: 100%;
        background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
        margin: 0;
    }

    .audience-icon-wrapper {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    .vault-console {
        width: 88%;
        left: 6%;
        top: auto;
        opacity: 0.35;
    }

    .blueprint-link {
        font-size: 40px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p.subheadline {
        font-size: 1.2rem;
    }

    .cta-heading {
        font-size: 2.5rem;
    }

    .cta-subtext {
        font-size: 1.05rem;
        margin-bottom: 32px;
    }

    .cta-trust-badges {
        flex-direction: column;
        gap: 16px;
    }

    .blueprint-link {
        gap: 15px;
    }

    .audience-unified-card {
        padding: 40px 20px;
    }

    .audience-title {
        font-size: 2rem;
    }

    .audience-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

.plan-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    margin-bottom: 20px;
}

.demo-link:hover {
    color: var(--text-primary) !important;
}

/* ─── SECONDARY BUTTON (hero ghost CTA) ─────────────────────────────────── */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 54px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0 28px;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(59, 130, 246, 0.06);
}

.btn-secondary svg {
    transition: transform 0.2s;
}

.btn-secondary:hover svg {
    transform: translateX(4px);
}

/* ─── FEATURES SECTION (4-card 2×2 grid) ────────────────────────────────── */
.features-section {
    padding: 80px 0;
    background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.03) 0%, transparent 70%);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fg-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.fg-card:hover {
    transform: translateY(-4px);
}

.fg-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.fg-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.fg-card p b {
    color: var(--text-primary);
    font-weight: 600;
}

.fg-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid;
}

/* Blue card */
.fg-card--blue .fg-card-icon {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    color: #3B82F6;
}

.fg-card--blue:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.12);
}

/* Purple card */
.fg-card--purple .fg-card-icon {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.25);
    color: #A855F7;
}

.fg-card--purple:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 8px 32px rgba(168, 85, 247, 0.12);
}

/* Amber card */
.fg-card--amber .fg-card-icon {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.25);
    color: #FBBF24;
}

.fg-card--amber:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.10);
}

/* Emerald card */
.fg-card--emerald .fg-card-icon {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.25);
    color: #10B981;
}

.fg-card--emerald:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.12);
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── PRICING SECTION ────────────────────────────────────────────────────── */
.pricing {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 36px 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

/* Pro card — accent glow + scale up */
.pricing-card--pro {
    border-color: var(--accent);
    box-shadow: 0 0 50px var(--accent-glow), inset 0 0 20px rgba(59, 130, 246, 0.05);
    transform: scale(1.04);
    z-index: 1;
}

.pricing-card--pro:hover {
    transform: scale(1.04) translateY(-4px);
}

.pro-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #3B82F6, #6366F1);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-card-header {
    margin-bottom: 28px;
}

.plan-name {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 14px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

.plan-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    margin-bottom: 32px;
}

/* Enterprise Card Styles */
.pricing-card--enterprise {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: inset 0 0 30px rgba(16, 185, 129, 0.05);
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.pricing-card--enterprise:hover {
    border-color: rgba(16, 185, 129, 0.8);
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.15), inset 0 0 30px rgba(16, 185, 129, 0.1);
}

.btn-plan--enterprise {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.btn-plan--enterprise:hover {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.6);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

/* Sandbox Bottom Banner */
.sandbox-banner {
    max-width: 1100px;
    margin: 0 auto 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 24px 32px;
    transition: all 0.3s ease;
}

.sandbox-banner:hover {
    background: rgba(255, 255, 255, 0.04);
}

.sandbox-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sandbox-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.sandbox-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.sandbox-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.sandbox-features {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sandbox-features li {
    font-size: 0.85rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sandbox-features svg {
    color: var(--text-muted);
}

.btn-sandbox {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-sandbox:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .sandbox-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .sandbox-features {
        flex-direction: column;
        gap: 12px;
    }
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.plan-features li svg {
    flex-shrink: 0;
    color: #10B981;
}

.btn-plan {
    display: block;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-plan--free {
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.btn-plan--free:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.08);
}

.btn-plan--pro {
    background: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.btn-plan--pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
}

.btn-plan--business {
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #A855F7;
    background: rgba(168, 85, 247, 0.06);
}

.btn-plan--business:hover {
    border-color: #A855F7;
    background: rgba(168, 85, 247, 0.12);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .pricing-card--pro {
        transform: none;
    }

    .pricing-card--pro:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 768px) {
    .pricing-card {
        width: 100%;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
}

#dev-easter-egg:hover {
    opacity: 1 !important;
}

/* ─── PRICING TOGGLE ────────────────────────────────── */
/* ─── PRICING REDESIGN V2 ───────────────────────── */
.pricing-header-v2 {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.pricing-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-transform: uppercase;
}

.pricing .section-heading {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#pricing .subheadline {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.old-price {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 8px;
    opacity: 0.6;
    font-weight: 400;
}

.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
}

.toggle-label.active {
    color: var(--text-primary);
}

.discount-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.discount-badge.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-5px);
}

.demo-link {
    transition: all 0.2s ease;
}

.demo-link:hover {
    color: var(--accent) !important;
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border: 1px solid var(--glass-border);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: var(--accent);
}

input:checked+.slider:before {
    transform: translateX(23px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.plan-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
    margin-bottom: 20px;
}

.demo-link:hover {
    color: var(--text-primary) !important;
}