/* ============================================================
   ROOT & TOKENS
============================================================ */
:root {
    --dark-bg:     #050b14;
    --dark-card:   rgba(10, 18, 32, 0.65);
    --light-bg:    #f4f7fb;
    --light-card:  #ffffff;
    --primary:     #00e1ff;
    --primary-glow:rgba(0, 225, 255, 0.45);
    --secondary:   #7c3aed;
    --text-light:  #ffffff;
    --text-dark:   #0f172a;
    --muted-light: #94a3b8;
    --muted-dark:  #475569;
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-light:rgba(0, 0, 0, 0.08);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --glass-blur:  blur(20px);
}

h1, h2, h3 { font-family: 'Outfit', 'Inter', sans-serif; }

/* ============================================================
   BASE
============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ============================================================
   BACKGROUND — deep navy + tech grid + shooting stars
============================================================ */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-color: var(--dark-bg);
    background-image:
        linear-gradient(rgba(0, 225, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 225, 255, 0.035) 1px, transparent 1px);
    background-size: 60px 60px;
}

.mesh-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 30%, rgba(0, 225, 255, 0.15), transparent 70%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(124, 58, 237, 0.15), transparent 70%);
}

#stars-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
}
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #00d2ff, transparent 70%); top: -150px; left: -150px; animation: orb-drift 20s ease-in-out infinite alternate; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #6c63ff, transparent 70%); bottom: -80px; right: -100px; animation: orb-drift 25s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #e52e71, transparent 70%); top: 55%; left: 55%; animation: orb-drift 30s ease-in-out infinite alternate; }

@keyframes orb-drift {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(60px, -40px) scale(1.1); }
    66%  { transform: translate(-30px, 60px) scale(0.95); }
    100% { transform: translate(40px, 20px) scale(1.05); }
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.2rem 0;
    z-index: 1000;
    background: rgba(5, 11, 20, 0.65);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-dark);
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.navbar.scrolled {
    background: rgba(3, 8, 15, 0.85);
    box-shadow: 0 10px 40px rgba(0, 225, 255, 0.08);
}

.navbar .container { display: flex; justify-content: space-between; align-items: center; position: relative; }

.logo { display: flex; align-items: center; gap: 0.75rem; font-size: 1.4rem; font-weight: 800; color: var(--text-light); letter-spacing: -0.5px; text-decoration: none; }
.logo-icon { color: var(--primary); filter: drop-shadow(0 0 10px var(--primary-glow)); }

.nav-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2.5rem; }
.nav-links a { color: var(--muted-light); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.25s; }
.nav-links a:hover { color: var(--text-light); }

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-light); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: 2rem;
    font-weight: 600; font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer; border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--dark-bg);
    box-shadow: 0 0 22px rgba(0, 210, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 35px rgba(0, 210, 255, 0.6); background: #33dbff; }

.btn-demo {
    background: rgba(255,255,255,0.07);
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
}
.btn-demo:hover { background: rgba(255,255,255,0.14); border-color: rgba(0,210,255,0.4); color: var(--primary); transform: translateY(-2px); }

.btn-outline-primary { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--dark-bg); box-shadow: 0 0 20px var(--primary-glow); }

.w-100 { width: 100%; }

/* ============================================================
   HERO  — DARK
============================================================ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 9rem 0 5rem;
    position: relative;
}

.hero .container { display: flex; flex-direction: column; align-items: center; }

.badge {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 2rem; font-size: 0.85rem; font-weight: 600;
    color: var(--primary); margin-bottom: 2rem;
    letter-spacing: 0.3px;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.08;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.gradient-text {
    background: linear-gradient(to right, #ff8a00, #e52e71, #7c3aed, #00e1ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.animated-gradient {
    background: linear-gradient(90deg, #ff8a00, #e52e71, #7c3aed, #00e1ff, #ff8a00);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s linear infinite;
}
@keyframes gradient-shift { 0% { background-position: 0%; } 100% { background-position: 300%; } }

.hero p { font-size: 1.1rem; color: var(--muted-light); max-width: 560px; margin: 0 auto 3rem; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* glow pulse ring */
.btn-glow { position: relative; }
.btn-glow::after {
    content: ""; position: absolute; inset: -4px; border-radius: 2.2rem;
    box-shadow: 0 0 0 0 rgba(0, 225, 255, 0.6);
    animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    z-index: -1;
}
@keyframes pulse-ring {
    0%  { box-shadow: 0 0 0 0 rgba(0, 225, 255, 0.6); }
    70% { box-shadow: 0 0 0 22px rgba(0, 225, 255, 0); }
    100%{ box-shadow: 0 0 0 0 rgba(0, 225, 255, 0); }
}

/* reveal animation */
.reveal-fade {
    opacity: 0; transform: translateY(30px);
    animation: reveal-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--delay, 0s);
}
@keyframes reveal-up { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   PRICING SECTION  — LIGHT BACKGROUND
============================================================ */
.pricing-section {
    position: relative;
    z-index: 2;
    padding: 7rem 0 8rem;
    background: var(--light-bg);
    margin-top: -1px;
}

/* Slanted top edge over the dark hero */
.pricing-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100px;
    background: var(--dark-bg);
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
    z-index: 0;
}
.pricing-section > .container { position: relative; z-index: 1; }

.pricing-section .section-header h2 { color: var(--text-dark); }
.pricing-section .section-header p  { color: var(--muted-dark); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: var(--text-light);
}
.section-header p  { color: var(--muted-light); font-size: 1rem; margin-top: 0.75rem; max-width: 520px; margin-left: auto; margin-right: auto; }

.section-sub { color: var(--muted-light); font-size: 1.05rem; margin-top: 0.75rem; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }

/* Pricing grid — 4 paid columns + hero full-width on top */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

/* Hero FREE card spans all 3 columns */
.pricing-card.pc-hero {
    grid-column: 1 / -1;
}

.pricing-card {
    background: var(--light-card);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 1.75rem;
    display: flex; flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 0;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px -8px rgba(0,0,0,0.14);
}

/* ── Colored gradient header ── */
.pc-header {
    background: linear-gradient(135deg, var(--gc1), var(--gc2));
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    position: relative;
    overflow: hidden;
}
.pc-header::after {
    content: "";
    position: absolute;
    bottom: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}
.pc-header::before {
    content: "";
    position: absolute;
    top: -20px; left: 40%;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
}

.pc-icon {
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.22);
    border-radius: 1rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative; z-index: 1;
}

.pc-meta { position: relative; z-index: 1; flex: 1; }

/* Plan name inside the header */
.pc-plan-name {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.2rem;
    letter-spacing: -0.2px;
}

.pc-badge-inline {
    display: inline-block;
    font-size: 0.6rem; font-weight: 800;
    letter-spacing: 1.2px; text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.22);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.22rem 0.65rem;
    border-radius: 2rem;
    white-space: nowrap;
    position: relative; z-index: 1;
    align-self: flex-start;
    flex-shrink: 0;
}

/* Updated header layout to push badge to the right */
.pc-header {
    background: linear-gradient(135deg, var(--gc1), var(--gc2));
    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
}

.pc-users {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.pc-users i { font-size: 0.7rem; }

/* Decorative circles in header */
.pc-header::after {
    content: "";
    position: absolute;
    bottom: -30px; right: -30px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    pointer-events: none;
}
.pc-header::before {
    content: "";
    position: absolute;
    top: -20px; left: 45%;
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}

.pc-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 0.875rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative; z-index: 1;
}


.p-features li {
    margin-bottom: 0.75rem;
    color: var(--muted-dark);
    display: flex; align-items: center; gap: 0.65rem;
    font-size: 0.88rem;
}
.p-features li i { font-size: 0.75rem; }

/* ── Card body ── */
.pc-body {
    padding: 1.5rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ══ HERO CARD HORIZONTAL LAYOUT ══ */
.pc-hero-body {
    flex-direction: row !important;
    align-items: center;
    gap: 0;
    padding: 2rem 2.5rem;
}

.pc-hero-price-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 160px;
    text-align: center;
}
.pc-hero-price-area .pc-price-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: #10b981;
    letter-spacing: -3px;
    line-height: 1;
}
.pc-hero-price-area .pc-price-period {
    font-size: 0.78rem;
    color: var(--muted-dark);
    margin-top: 0.3rem;
    white-space: nowrap;
}

.pc-hero-divider {
    width: 1px;
    height: 80px;
    background: rgba(0,0,0,0.08);
    margin: 0 2.5rem;
    flex-shrink: 0;
}

.pc-hero-features {
    flex: 1;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
    margin-bottom: 0 !important;
    align-content: center;
}
.pc-hero-features li {
    background: rgba(16,185,129,0.08) !important;
    border: 1px solid rgba(16,185,129,0.25) !important;
    border-radius: 2rem !important;
    padding: 0.45rem 1rem !important;
    font-size: 0.85rem !important;
    color: #065f46 !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
}
.pc-hero-features li i {
    color: #10b981 !important;
    font-size: 0.7rem !important;
}

.pc-hero-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}
.pc-hero-cta-text {
    font-size: 0.8rem;
    color: var(--muted-dark);
    white-space: nowrap;
}
.pc-hero-action .pc-btn {
    white-space: nowrap;
    padding: 0.9rem 1.75rem;
}

/* ── Employee count price display ── */
.pc-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 1rem 1.1rem;
    background: rgba(0,0,0,0.025);
    border-radius: 1rem;
    border-left: 4px solid var(--ac, #10b981);
}
.pricing-card.featured .pc-price {
    background: rgba(255,255,255,0.06);
    border-left-color: var(--ac, #00d2ff);
}

/* Theme-colored employee count using --ac var */
.pc-emp-count {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--ac, #10b981);
}
.pricing-card.featured .pc-emp-count { color: var(--ac, #00d2ff); }

.pc-emp-label {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.pc-emp-unit {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}
.pricing-card.featured .pc-emp-unit { color: rgba(255,255,255,0.85); }

.pc-price-value {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -1px;
}
.pricing-card.featured .pc-price-value { color: #fff; }

.pc-price-period {
    font-size: 0.72rem;
    color: var(--muted-dark);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-card.featured .pc-price-period { color: rgba(255,255,255,0.45); }

/* ── Theme-colored checkmarks ── */
.pricing-card .p-features li i { color: var(--ac, #10b981); }

/* ── Refined featured card interior ── */
.pricing-card.featured {
    background: linear-gradient(170deg, #080e20 0%, #0d1535 55%, #0f1a3f 100%);
    border: 1.5px solid rgba(0,210,255,0.3);
    box-shadow:
        0 0 0 1px rgba(0,210,255,0.08),
        0 8px 32px rgba(0,0,0,0.3),
        0 0 60px rgba(0,210,255,0.08);
}
.pricing-card.featured:hover {
    border-color: rgba(0,210,255,0.5);
    box-shadow:
        0 0 0 1px rgba(0,210,255,0.15),
        0 20px 56px rgba(0,0,0,0.35),
        0 0 80px rgba(0,210,255,0.14);
    transform: translateY(-8px);
}

/* ── FREE hero card body background ── */
.pricing-card.pc-hero .pc-body {
    background: #fff;
}

/* ── 500+ Contact Banner — Refined ── */
.contact-banner {
    margin-top: 2rem;
    background: linear-gradient(120deg, #0c1428 0%, #0f1e35 50%, #0c1a2e 100%);
    border: 1px solid rgba(56,189,248,0.18);
    border-radius: 1.5rem;
    padding: 1.75rem 2.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}
.contact-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 40% 80% at 10% 50%, rgba(56,189,248,0.06), transparent),
        radial-gradient(ellipse 30% 60% at 90% 50%, rgba(124,58,237,0.05), transparent);
    pointer-events: none;
}
.cb-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative; z-index: 1;
}
.cb-icon {
    width: 52px; height: 52px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(124,58,237,0.12));
    border: 1px solid rgba(56,189,248,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: #38bdf8;
    flex-shrink: 0;
}
.cb-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.4px;
}
.cb-sub {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.25rem;
    max-width: 480px;
    line-height: 1.5;
}
.cb-btn {
    flex-shrink: 0;
    white-space: nowrap;
    position: relative; z-index: 1;
    background: rgba(56,189,248,0.1) !important;
    border-color: rgba(56,189,248,0.4) !important;
    color: #38bdf8 !important;
}
.cb-btn:hover {
    background: #38bdf8 !important;
    color: #0c1428 !important;
    border-color: #38bdf8 !important;
}


/* ── Feature list ── */
.p-features { list-style: none; margin-bottom: 1.4rem; flex-grow: 1; }
.p-features li {
    margin-bottom: 0.7rem;
    color: var(--muted-dark);
    display: flex; align-items: center; gap: 0.65rem;
    font-size: 0.875rem;
}
.p-features li i { font-size: 0.75rem; }

/* ── Coloured CTA button ── */
.pc-btn {
    border-radius: 1rem;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--bc, #00d2ff);
    color: var(--bc, #00d2ff);
    background: transparent;
    transition: background 0.28s ease, color 0.28s ease, box-shadow 0.28s ease, transform 0.25s ease;
    margin-top: auto;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    white-space: nowrap;   /* keep button text on ONE line */
    cursor: pointer;
}
.pc-btn:hover {
    background: var(--bc, #00d2ff);
    color: #fff;
    transform: translateY(-2px);
}


/* ── Featured card overrides ── */
.pricing-card.featured {
    background: linear-gradient(160deg, #071428 0%, #0c1e3e 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 0 2px rgba(0,210,255,0.35), 0 12px 48px rgba(0,210,255,0.18);
}
.pricing-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 0 2px rgba(0,210,255,0.5), 0 28px 64px rgba(0,210,255,0.25);
}
.pricing-card.featured .pc-body h3 { color: #fff; }
.pricing-card.featured .pc-desc { color: rgba(255,255,255,0.6); }
.pricing-card.featured .p-features li { color: rgba(255,255,255,0.75); }
.pricing-card.featured .p-features li i { color: var(--primary); }

.pc-btn--featured {
    background: linear-gradient(135deg, #00d2ff, #7c3aed);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(0,210,255,0.35);
}
.pc-btn--featured:hover {
    box-shadow: 0 8px 30px rgba(0,210,255,0.5);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #33dbff, #8b5cf6);
}


/* ============================================================
   FEATURES SECTION  — DARK
============================================================ */
.features {
    position: relative;
    z-index: 2;
    padding: 8rem 0 8rem;
    background: transparent;
}

/* Smooth angle from light → dark */
.features::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 110px;
    background: var(--light-bg);
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
    z-index: 0;
}
.features .container { position: relative; z-index: 2; }

.features .section-header h2 { color: var(--text-light); }
.features .section-header p  { color: var(--muted-light); }

/* Grid: 2 cards per row */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.feat-card--wide { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }

.feat-card {
    position: relative;
    display: flex; align-items: flex-start; gap: 1.25rem;
    background: var(--dark-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 1.5rem;
    padding: 1.75rem 2rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.feat-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--ic1, #00e1ff), var(--ic2, #7c3aed), transparent);
    opacity: 0; transition: opacity 0.4s ease;
}
.feat-card:hover { 
    transform: translateY(-8px); 
    border-color: rgba(255,255,255,0.15); 
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5), 0 0 30px rgba(0, 225, 255, 0.1); 
}
.feat-card:hover::before { opacity: 1; }

.feat-icon {
    flex-shrink: 0; width: 54px; height: 54px;
    border-radius: 0.875rem; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff;
    background: linear-gradient(145deg, var(--ic1), var(--ic2));
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.feat-card:hover .feat-icon { transform: scale(1.1) rotate(-5deg); box-shadow: 0 10px 28px rgba(0,0,0,0.4), 0 0 14px var(--ic1); }

.feat-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-light); margin-bottom: 0.35rem; }
.feat-body p  { font-size: 0.87rem; color: var(--muted-light); line-height: 1.6; margin: 0; }

/* ============================================================
   FOOTER
============================================================ */
footer {
    position: relative; z-index: 2;
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-dark);
    text-align: center;
    color: var(--muted-light);
    font-size: 0.9rem;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1100px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.pc-hero { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.6rem; letter-spacing: -1px; }
    .hero-stats { flex-wrap: wrap; gap: 1rem; padding: 1rem 1.5rem; }
    .h-stat { padding: 0 1rem; }
    .h-stat-divider { display: none; }
    .pricing-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .feat-grid { grid-template-columns: 1fr; }
    .feat-card--wide { max-width: 100%; }
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: block; }
    .pricing-section::before, .features::before { display: none; }
    .pricing-section { padding: 4rem 0 5rem; }
    .features { padding: 4rem 0 5rem; }
}

/* ============================================================
   REGISTRATION MODAL
============================================================ */
.reg-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
    background: rgba(5, 10, 20, 0.82);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.reg-overlay.active { opacity: 1; visibility: visible; pointer-events: all; }

.reg-card {
    position: relative; width: 100%; max-width: 460px;
    max-height: 90vh; overflow-y: auto;
    background: rgba(9, 17, 32, 0.97);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem; padding: 2.25rem 2rem;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7), 0 0 60px -20px rgba(0,210,255,0.1);
    transform: translateY(28px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
    scrollbar-width: thin; scrollbar-color: rgba(0,210,255,0.2) transparent;
}
.reg-card::before {
    content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.reg-overlay.active .reg-card { transform: translateY(0) scale(1); }

.reg-close {
    position: absolute; top: 1.1rem; right: 1.1rem;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%; color: var(--muted-light); font-size: 0.95rem;
    cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s;
}
.reg-close:hover { background: rgba(244,63,94,0.2); border-color: rgba(244,63,94,0.4); color: #f43f5e; transform: rotate(90deg); }

.reg-header { text-align: center; margin-bottom: 1.75rem; }
.reg-logo { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.reg-logo .logo-icon {
    width: 36px; height: 36px; border-radius: 0.6rem; font-size: 1rem;
    background: linear-gradient(135deg, var(--primary), #6c63ff);
    display: flex; align-items: center; justify-content: center;
    color: var(--dark-bg); box-shadow: 0 0 16px rgba(0,210,255,0.35);
}
.reg-logo span { font-weight: 700; font-size: 0.95rem; color: var(--text-light); }
.reg-badge {
    display: inline-block; padding: 0.28rem 0.85rem; border-radius: 2rem;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
    margin-bottom: 0.9rem;
    background: rgba(0,210,255,0.1); border: 1px solid rgba(0,210,255,0.25); color: var(--primary);
    transition: all 0.3s;
}
.reg-badge.trial   { background:rgba(16,185,129,0.1); border-color:rgba(16,185,129,0.3); color:#10b981; }
.reg-badge.growth  { background:rgba(0,210,255,0.1);  border-color:rgba(0,210,255,0.3);  color:var(--primary); }
.reg-badge.premium { background:rgba(108,99,255,0.12); border-color:rgba(108,99,255,0.35); color:#6c63ff; }

.reg-header h2 { font-size: 1.55rem; font-weight: 800; color: #fff; letter-spacing: -0.4px; margin-bottom: 0.35rem; }
.reg-header p  { font-size: 0.86rem; color: var(--muted-light); line-height: 1.55; }

.reg-group { margin-bottom: 1rem; }
.reg-group label {
    display: block; font-size: 0.72rem; font-weight: 600;
    color: rgba(255,255,255,0.4); letter-spacing: 0.4px; text-transform: uppercase; margin-bottom: 0.4rem;
}

.reg-input-wrap { position: relative; }
.reg-input-wrap i { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted-light); font-size: 0.85rem; pointer-events: none; transition: color 0.2s; }
.reg-input-wrap:focus-within i { color: var(--primary); }
.reg-input-wrap input { padding-left: 2.5rem !important; }

.reg-group input, .reg-input-wrap input {
    width: 100%; padding: 0.75rem 1rem;
    font-size: 0.9rem; font-family: 'Inter', sans-serif;
    color: var(--text-light);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem; outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.reg-group input::placeholder, .reg-input-wrap input::placeholder { color: rgba(255,255,255,0.18); }
.reg-group input:focus, .reg-input-wrap input:focus {
    border-color: var(--primary); background: rgba(0,210,255,0.04);
    box-shadow: 0 0 0 3px rgba(0,210,255,0.12);
}

.reg-subdomain {
    display: flex; align-items: center;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s;
}
.reg-subdomain:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,210,255,0.12); }
.reg-subdomain > i { padding: 0 0.5rem 0 0.9rem; color: var(--muted-light); font-size: 0.85rem; flex-shrink: 0; transition: color 0.2s; }
.reg-subdomain:focus-within > i { color: var(--primary); }
.reg-subdomain input { border: none !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding-left: 0.25rem !important; flex: 1; min-width: 0; }
.reg-suffix { padding: 0 0.85rem; font-size: 0.78rem; color: var(--muted-light); white-space: nowrap; border-left: 1px solid rgba(255,255,255,0.07); align-self: stretch; display: flex; align-items: center; background: rgba(255,255,255,0.02); flex-shrink: 0; }

.reg-submit {
    width: 100%; padding: 0.85rem; margin-top: 0.6rem;
    font-size: 0.92rem; font-family: 'Inter', sans-serif; font-weight: 700;
    border: none; border-radius: 0.875rem;
    background: linear-gradient(135deg, var(--primary), #6c63ff);
    color: var(--dark-bg); cursor: pointer;
    position: relative; overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 0 22px rgba(0,210,255,0.35);
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.reg-submit:hover { transform: translateY(-2px); box-shadow: 0 0 36px rgba(0,210,255,0.55); }
.reg-submit:active { transform: translateY(0); }

.reg-footer { text-align: center; margin-top: 1.25rem; font-size: 0.73rem; color: var(--muted-light); border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1rem; line-height: 1.7; }
.reg-footer a { color: var(--primary); text-decoration: none; }
.reg-footer a:hover { text-decoration: underline; }

/* SweetAlert dark theme */
.swal2-popup { background: rgba(9,17,32,0.98) !important; border: 1px solid rgba(0,210,255,0.15) !important; border-radius: 1.25rem !important; color: #e2e8f0 !important; }
.swal2-title { color: #fff !important; }
.swal2-html-container { color: #94a3b8 !important; }
.swal2-confirm { background: var(--primary) !important; color: var(--dark-bg) !important; font-weight: 700 !important; border-radius: 0.75rem !important; }
.swal2-loader { border-color: var(--primary) transparent var(--primary) transparent !important; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.75s var(--ease-out-expo),
                transform 0.75s var(--ease-out-expo);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   HERO ENHANCEMENTS
============================================================ */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,200,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,200,255,0.06) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
}

.badge-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    animation: dot-pulse 1.8s ease-in-out infinite;
    margin-right: 6px;
    vertical-align: middle;
}
@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

/* Hero Stats Row */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 1.25rem 2.5rem;
    backdrop-filter: blur(12px);
}
.h-stat {
    text-align: center;
    padding: 0 2rem;
    flex: 1;
}
.h-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    flex-shrink: 0;
}
.h-num {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    display: block;
}
.h-plus {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-left: 1px;
}
.h-label {
    font-size: 0.75rem;
    color: var(--muted-light);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ============================================================
   SECTION EYEBROW LABEL
============================================================ */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.6rem;
}
.pricing-section .section-eyebrow { color: #0284c7; }



/* ============================================================
   FEAT CARD 3D PERSPECTIVE
============================================================ */
.feat-grid { perspective: 1200px; }
.feat-card { transform-style: preserve-3d; will-change: transform; }

/* ============================================================
   ENHANCED PRICING CARD GLOW ON HOVER
============================================================ */
.pricing-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(0,210,255,0.06), rgba(108,99,255,0.04));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}
.pricing-card > * { position: relative; z-index: 1; }
.pricing-card:hover::after { opacity: 1; }

/* ============================================================
   BUTTON SHIMMER EFFECT
============================================================ */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    transition: none;
}
.btn-primary:hover::before {
    animation: shimmer 0.65s ease forwards;
}
@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 160%; }
}

/* ============================================================
   NAVBAR REFINED SCROLLED STATE
============================================================ */
.navbar.scrolled {
    padding: 0.85rem 0;
    background: rgba(5, 12, 24, 0.98);
    box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.navbar {
    transition: padding 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

/* ============================================================
   BTN-LG
============================================================ */
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* ============================================================
   FOOTER GLOW LINE
============================================================ */
footer {
    position: relative;
}
footer::before {
    content: "";
    position: absolute;
    top: 0; left: 20%; right: 20%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,210,255,0.3), transparent);
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
    padding: 6rem 0;
    text-align: center;
}
.cta-box {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.cta-box p {
    color: var(--muted-light);
    margin-bottom: 2rem;
}
