/* === SPOTLIGHT HEADER === */
.nav-island {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 90%;
    max-width: 900px;
    border-radius: 100px;
    padding: 2px;
    /* For border gradient space */
    background: transparent;
    overflow: hidden;
}

.nav-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
}

.nav-island:hover .nav-glow {
    opacity: 1;
}

.nav-content {
    position: relative;
    z-index: 2;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 12px 12px 32px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.brand-logo {
    height: 40px;
    width: auto;
}

.btn-shiny {
    position: relative;
    overflow: hidden;
    background: #0f172a;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-shiny:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.shim {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.btn-shiny:hover .shim {
    left: 150%;
    transition: 0.7s;
}

/* === PRO MAX AUTH MODAL === */
.auth-modern-box {
    background: rgba(10, 10, 14, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    width: 420px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px black;
}

/* Top Gradient Line */
.auth-modern-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--primary), #0ea5e9);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    height: 40px;
    margin-bottom: 16px;
}

.auth-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Tabs */
.auth-tab-track {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    padding: 4px;
    border-radius: 12px;
    margin-bottom: 24px;
    position: relative;
}

.tab-modern {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s;
}

.tab-modern.active {
    color: white;
}

.tab-indicator {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Input */
.input-modern-group {
    position: relative;
    margin-bottom: 20px;
}

.input-modern-group input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: all 0.3s;
}

.input-modern-group input:focus {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.input-modern-group label {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s;
    background: rgba(10, 10, 14, 0.95);
    padding: 0 4px;
    font-size: 14px;
}

.input-modern-group input:focus~label,
.input-modern-group input:not(:placeholder-shown)~label {
    top: 0;
    left: 12px;
    font-size: 12px;
    color: var(--primary);
}

.icon-start {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.input-modern-group input:focus~.icon-start {
    color: var(--primary);
}

/* Buttons */
.btn-submit-modern {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #2563eb);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.forgot-link {
    font-size: 13px;
    color: var(--text-muted);
    float: right;
    margin-bottom: 20px;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: white;
}

/* Auth Alert */
.auth-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    animation: shake 0.4s ease-in-out;
}

.auth-alert.hidden {
    display: none;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

/* Rest of CSS */
:root {
    --bg-void: #020617;
    --primary: #3b82f6;
    --cyan: #22d3ee;
    --purple: #475569;
    /* Slate (was purple) */
    --orange: #f97316;
    --yellow: #eab308;
    --text-main: #ffffff;
    --text-muted: #94a3b8;

    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-hover: rgba(255, 255, 255, 0.08);

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-ui: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-heading);
    overflow-x: hidden;
    width: 100vw;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

/* === AURORA BACKGROUNDS === */
.aurora-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    pointer-events: none;
}

/* ... */
/* === HERO === */
.hero-master {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    /* overflow: hidden; Removed to prevent clipping */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.hero-content {
    position: relative;
    z-index: 50;
    /* High Z-Index for Text */
}

/* ... */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    /* Low Z-Index for Visuals */
    pointer-events: none;
    /* Allow clicks to pass through */
}

.pill-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: var(--cyan);
    margin-bottom: 24px;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan);
}

.hero-title {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(to right, #60efff, #0061ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-portal {
    display: none;
}



.btn-primary-lg {
    padding: 16px 40px;
    border-radius: 16px;
    background: var(--primary);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-secondary-lg {
    padding: 16px 40px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 12px;
}

.nav-item:hover {
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* === HERO VISUAL COMPOSITION === */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    /* Enable 3D Space */
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    /* Enable 3D Children */
    transition: transform 0.1s ease-out;
    /* Smooth Tilt */
}

/* Holographic Scanner */
.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 10px var(--cyan), 0 0 20px var(--primary);
    animation: scan 3s ease-in-out infinite;
    z-index: 10;
    opacity: 0.8;
    pointer-events: none;
}

@keyframes scan {
    0% {
        top: 10%;
        opacity: 0;
        width: 0;
        left: 50%;
    }

    10% {
        opacity: 1;
        width: 100%;
        left: 0;
    }

    90% {
        opacity: 1;
        width: 100%;
        left: 0;
    }

    100% {
        top: 90%;
        opacity: 0;
        width: 0;
        left: 50%;
    }
}

/* Text Glitch Effect */
.text-glitch {
    position: relative;
}

.text-glitch::before,
.text-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-void);
}

.text-glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.text-glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(13px, 9999px, 86px, 0);
    }

    5% {
        clip: rect(76px, 9999px, 19px, 0);
    }

    10% {
        clip: rect(10px, 9999px, 83px, 0);
    }

    15% {
        clip: rect(1px, 9999px, 47px, 0);
    }

    20% {
        clip: rect(8px, 9999px, 12px, 0);
    }

    100% {
        clip: rect(62px, 9999px, 20px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(3px, 9999px, 26px, 0);
    }

    5% {
        clip: rect(16px, 9999px, 49px, 0);
    }

    10% {
        clip: rect(90px, 9999px, 3px, 0);
    }

    100% {
        clip: rect(22px, 9999px, 80px, 0);
    }
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.card-glass {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.logo-switcher i {
    position: absolute;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
}

.icon-tt {
    animation: platform-jump 9s infinite;
    color: #fff;
}

.icon-fb {
    animation: platform-jump 9s infinite 3s;
    color: #1877F2;
}

.icon-yt {
    animation: platform-jump 9s infinite 6s;
    color: #FF0000;
}

@keyframes platform-jump {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }

    5%,
    30% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

    35%,
    100% {
        opacity: 0;
        transform: translateY(-20px);
        filter: blur(5px);
    }
}

.card-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 100%;
}

.card-bar.short {
    width: 60%;
}

.card-1 {
    top: 20%;
    left: 10%;
    width: 220px;
    animation: float 6s infinite ease-in-out;
}

.card-2 {
    top: 50%;
    right: 10%;
    width: 180px;
    text-align: center;
    animation: float 7s infinite ease-in-out reverse;
}

.card-3 {
    bottom: 20%;
    left: 20%;
    padding: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    animation: float 5s infinite ease-in-out 1s;
}

.metric-circle {
    font-size: 32px;
    font-weight: 800;
    color: var(--cyan);
}

.text-yellow {
    color: var(--yellow);
    font-size: 24px;
}

.center-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

/* === MARQUEE === */
.logo-marquee {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: black;
    overflow: hidden;
}

.track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: scroll 80s linear infinite;
}

.logo-item {
    font-size: 20px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-item i {
    font-size: 24px;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

/* === FEATURES === */
.section-master {
    padding: 120px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.title-lg {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.text-purple {
    color: var(--purple);
}

.text-cyan {
    color: var(--cyan);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.bento-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Very subtle rim */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1),
        background 0.4s,
        border-color 0.4s,
        box-shadow 0.4s;
    cursor: pointer;
}

/* Holographic Inner Glow (Fading in on hover) */
.bento-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.bento-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    /* Rim Light */
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(59, 130, 246, 0.1);
    /* Subtle Glow elevation */
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover::before,
.bento-card:hover::after {
    opacity: 1;
}

.bento-card:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
}

.span-2 {
    grid-column: span 2;
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 3;
    transition: transform 0.1s ease-out;
    /* For magnetic pull */
}

/* Icon Ambient Glow (Bloom) */
.icon-box::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
    transition: opacity 0.3s;
}

.bento-card:hover .icon-box::after {
    opacity: 0.8;
}

.gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

.gradient-green {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.gradient-orange {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.gradient-purple {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
}

/* === PRICING HIERARCHY === */
.bg-darker {
    background: rgba(0, 0, 0, 0.3);
}

.pricing-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.price-tier {
    background: #0f172a;
    /* Solid Deep Slate */
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    /* Uniform height */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Spotlight integration for Pricing */
.price-tier::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--x) var(--y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.pricing-grid-5:hover .price-tier::before {
    opacity: 1;
}

.price-tier>* {
    position: relative;
    z-index: 2;
}

.tier-level {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 600;
}

.tier-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: white;
    margin-bottom: 12px;
}

.price {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.unit {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.tier-divider {
    border: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    width: 100%;
    margin: 20px 0;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: auto;
    padding: 0;
}

.features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #cbd5e1;
    margin-bottom: 12px;
    line-height: 1.4;
}

.features li i {
    font-size: 14px;
    color: #3b82f6;
    /* Blue checkmarks */
}

.btn-tier {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    margin-top: 24px;
}

.btn-tier:hover {
    background: white;
    color: #0f172a;
    border-color: white;
}

.btn-glow {
    background: #3b82f6;
    border: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-glow:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* === PREMIUM CARD / GLASSMORPHISM PRO (CLEAN) === */
.tier-premium {
    background: #0f172a !important;
    /* Force Solid for No Stripes */
    border: 1px solid rgba(59, 130, 246, 0.5);
    z-index: 5;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.15);
    overflow: visible;
}

/* Elegant Breathing Border */
.tier-premium::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #3b82f6);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    animation: border-breath 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

@keyframes border-breath {
    0% {
        opacity: 0.3;
        transform: scale(0.995);
    }

    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

/* Remove Shimmer & Meteors */
.tier-premium::after {
    display: none;
}

.tier-premium .tier-level {
    color: #60a5fa;
}

.tier-premium .tier-label {
    color: #818cf8;
}

/* 3D Hardware Accel for Smooth Tilt */
.price-tier {
    will-change: transform;
    transform-style: preserve-3d;
}

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Half centered on border */
    background: #3b82f6;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
    z-index: 10;
}

/* Text Colors */
.text-yellow {
    color: #fbbf24;
}

.text-cyan {
    color: #06b6d4;
}

.text-purple {
    color: #a855f7;
}

/* Auth Modal Adjustments */
.login-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1100;
    backdrop-filter: blur(16px);
    display: none;
    align-items: center;
    justify-content: center;
}

.auth-box {
    display: none;
}

/* Legacy hide */

.btn-close-modern {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-close-modern:hover {
    color: white;
}

.auth-form-modern {
    display: none;
    margin-top: 20px;
}

.auth-form-modern.active {
    display: block;
}

/* === FOOTER === */
.master-footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.copy {
    color: var(--text-muted);
    font-size: 14px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .pricing-grid-5 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .price-tier:last-child {
        grid-column: span 2;
    }

    /* Fix Hero Overlap */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        position: relative;
        z-index: 10;
        order: 1;
        margin: 0 auto;
    }

    .hero-visual {
        order: 2;
        height: 400px;
        z-index: 1;
    }

    .hero-btns {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .pricing-grid-5 {
        grid-template-columns: 1fr;
    }

    .price-tier:last-child {
        grid-column: span 1;
    }

    .hero-title {
        font-size: 42px;
        /* Fallback */
        font-size: clamp(32px, 8vw, 48px);
    }

    .hero-visual {
        height: 300px;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: 64px;
    font-size: clamp(40px, 5vw, 72px);
    /* Fluid Typography */
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

/* Button Active States */
button:active {
    transform: scale(0.96) !important;
}

/* === SKILLS AI EFFECTS === */
.text-ai-flux {
    background: linear-gradient(to right, #a855f7, #ec4899, #3b82f6, #06b6d4, #a855f7);
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: ai-flux 3s linear infinite;
    position: relative;
    z-index: 2;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

@keyframes ai-flux {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

.header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 120px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25), rgba(59, 130, 246, 0.1), transparent 70%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Ensure content stays on top */
.bento-card h3,
.bento-card p,
.bento-card .icon-box,
.bento-card .visual-graph,
.bento-card .brain-visual {
    position: relative;
    z-index: 3;
}

/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {

    /* Navbar */
    .nav-island {
        width: 95%;
        padding: 4px 12px;
        top: 16px;
    }

    .nav-content {
        padding: 8px 6px;
    }

    .nav-menu {
        display: none !important;
    }

    .brand-link {
        flex: 1;
    }

    .btn-shiny {
        font-size: 13px;
        padding: 8px 16px;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 40px;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: 36px !important;
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 15px;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-primary-lg,
    .btn-secondary-lg {
        width: 100%;
        justify-content: center;
        padding: 14px;
    }

    /* Features Grid */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .bento-card.span-2 {
        grid-column: span 1;
    }

    /* Pricing */
    .pricing-grid-5 {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }

    .price-tier {
        height: auto;
        transform: none !important;
    }

    /* Visuals */
    .hero-visual {
        height: 340px;
        transform: scale(0.9);
        margin-top: -10px;
    }

    /* Fix overlapping cards on tablet/mobile */
    .card-1 {
        top: 10%;
        left: 5%;
        width: 180px;
    }

    .card-2 {
        top: 60%;
        right: 5%;
        width: 150px;
    }

    .card-3 {
        bottom: 15%;
        left: 5%;
        padding: 12px;
    }

    .logo-marquee .track {
        gap: 30px;
    }

    .logo-item {
        font-size: 16px;
    }
}

/* === TESTIMONIALS (NEW) === */
/* === TESTIMONIALS (REAL CAROUSEL) === */
.testimonial-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px auto 0;
    width: 100%;
    max-width: 1200px;
    padding-bottom: 20px;
}

.testimonial-card {
    /* flex removed */
    width: 100%;
    /* Pro Max Glassmorphism */
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);

    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);

    padding: 32px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Equal height */
}

/* Subtle gradient overlay for depth */
.testimonial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.5);
    /* Primary Indigo Border */
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.3),
        0 10px 10px -5px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(99, 102, 241, 0.2);
    /* Neon Glow */
}

.testimonial-card .stars {
    color: #FBBF24;
    /* Amber 400 */
    font-size: 18px;
    margin-bottom: 24px;
    letter-spacing: 3px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.4));
    /* Star glow */
}

.testimonial-card .quote {
    font-size: 17px;
    /* Slightly larger */
    color: #E2E8F0;
    /* Slate 200 - Brighter text */
    line-height: 1.7;
    margin-bottom: 32px;
    font-style: italic;
    min-height: auto;
    /* Allow auto height in grid */
    font-weight: 300;
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 10;
}

/* Real Image Avatar Pro */
.avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.testimonial-card:hover .avatar-img {
    transform: scale(1.1) rotate(3deg);
    border-color: #818cf8;
    /* Indigo 400 */
}

.testimonial-card .info h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.testimonial-card .info span {
    font-size: 13px;
    color: var(--primary);
}

/* Carousel Controls REMOVED */

/* ... existing grid styles ... */

@media (max-width: 900px) {

    .testimonial-carousel,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {

    .testimonial-carousel,
    .steps-grid {
        grid-template-columns: 1fr !important;
    }
}

/* === FAQ ACCORDION (NEW) === */
.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover,
.faq-item.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
}

.faq-question .icon {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq-answer p {
    padding: 0 24px 24px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 15px;
}

/* === HOW IT WORKS STEPS === */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    /* Increased gap for arrows */
    margin-top: 60px;
    position: relative;
}

.step-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Coloring specific icons */
.step-card:nth-child(1) .step-icon {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.step-card:nth-child(2) .step-icon {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
}

.step-card:nth-child(3) .step-icon {
    color: var(--purple);
    background: rgba(168, 85, 247, 0.1);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-card h3 {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Arrow Connector */
.step-arrow {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.1);
    font-size: 24px;
    z-index: 1;
}

.step-card:hover .step-arrow {
    color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) translateX(5px);
}

@media (max-width: 900px) {
    .step-arrow {
        display: none;
        /* Hide arrows on tablet/mobile */
    }
}

/* === MOBILE POLISH (EXTRA SMALL SCREENS) === */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
        /* Decrease side padding to maximize space */
    }

    .section-master {
        padding: 60px 0;
        /* Tighten vertical spacing */
    }

    /* Testimonials */
    .testimonial-card {
        padding: 24px;
        /* Reduce padding to give text room */
        min-height: auto;
        /* Ensure no fixed height clamps */
    }

    .testimonial-card .quote {
        font-size: 15px;
        /* Slightly smaller for density */
        margin-bottom: 20px;
    }

    /* Steps */
    .step-card {
        padding: 24px 20px;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 16px;
    }

    /* Hero Text */
    .hero-title {
        font-size: 32px !important;
        /* Force readable title size */
    }

    .hero-desc {
        font-size: 16px;
    }

    /* Bento Grid */
    .bento-card {
        padding: 24px;
    }

    .bento-card h3 {
        font-size: 20px;
    }

    /* Force full visibility */
    * {
        overflow-wrap: break-word;
        /* Prevent text overflow */
    }
}