/* ========================================
   LACSO HUB - Global Stylesheet
   Dark Futuristic AI Agency Theme
   ======================================== */

/* ── CSS Variables ── */
/* NOTE: Google Fonts loaded via <link> in header.php — no @import needed */

:root {
    --bg-dark: #050810;
    --bg-card: rgba(10, 14, 26, 0.6);
    --bg-card-2: rgba(255, 255, 255, 0.06);
    /* Kept from original */
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(99, 102, 241, 0.3);

    /* Neon Purple/Blue Startup Colors */
    --accent: #6366f1;
    --accent-2: #8b5cf6;
    --accent-3: #06b6d4;
    --accent-glow: rgba(99, 102, 241, 0.15);

    --green: #10b981;
    --green-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --red: #ef4444;
    --text-primary: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --gold: #f59e0b;

    --font-main: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;

    --radius: 16px;
    --radius-sm: 8px;
    /* Kept from original */
    --radius-lg: 24px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    /* Kept from original */
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --nav-h: 74px;
    /* Kept from original */
}

/* Service Section Enhancements */
.saas-features-container {
    position: relative;
    z-index: 1;
}

.feature-parallax-wrap {
    position: relative;
    width: 100%;
}

.feature-mockup-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* ── Intro Video Loader ── */
#intro-video-loader.intro-video {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at center, #0a0e1a 0%, #000 100%);
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: visible;
}

#intro-video-loader.intro-video.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.05);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85); /* cinematic feel */
}

/* Premium Progress Bar */
.intro-progress-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    overflow: hidden;
    z-index: 10;
}

.intro-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #a855f7, #6366f1);
    background-size: 200% 100%;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    transition: width 0.3s ease-out;
    animation: bar-shimmer 2s linear infinite;
}

@keyframes bar-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Prevent scrolling while video plays */
body.video-playing {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(1.625rem, 4vw, 3rem);
    /* 26px to 48px */
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

h4 {
    font-size: 1.2rem;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* img: max-width already set in reset above (lines 80-84) */

.accent {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

.text-outline {
    -webkit-text-stroke: 1px var(--accent);
    color: transparent;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.accent-2 {
    color: var(--accent-2);
}

.accent-3 {
    color: var(--accent-3);
}

.gold {
    color: var(--gold);
}

.green {
    color: var(--green);
}

/* ── Layout ── */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0;
    }
}

.section {
    padding: 48px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 120px 0;
    }
}

/* ── Grid Noise Background ── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(8, 182, 212, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ── Section Header ── */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-glow);
    border: 1px solid var(--border-glow);
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 60px;
}

.section-header {
    text-align: center;
}

.section-header .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    min-height: 48px;
    width: 100%;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    font-family: var(--font-main);
}

@media (min-width: 480px) {
    .btn {
        width: auto;
        padding: 14px 32px;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
    will-change: transform;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--accent);
    padding: 0;
    gap: 6px;
}

.btn-ghost:hover {
    gap: 12px;
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.05rem;
}

/* ── Cards ── */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
    will-change: transform;
}

/* ══════════════════════════════════════
   NAVIGATION (Mobile-First Slide-In)
══════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(5, 8, 16, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-right: auto;
}

.nav-logo-img {
    height: 48px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .nav-logo-img { height: 64px; }
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.04);
    opacity: 0.9;
}

/* Fallback text logo */
.nav-logo-fallback { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 10px; display: grid; place-items: center;
    font-size: 1rem; color: #fff;
}

/* Hamburger Toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent !important;
    border: none !important;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

/* ── Dark Overlay (Kept for script compatibility, but menu is fullscreen now) ── */
.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: transparent;
    z-index: 998; opacity: 0; visibility: hidden; pointer-events: none;
}
.nav-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }

/* ── Fullscreen Mobile Menu ── */
.nav-menu {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(5, 8, 16, 0.99); backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex; flex-direction: column; padding: 0;
    opacity: 0; visibility: hidden; transform: translateY(-20px) scale(1.02);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto; z-index: 9999;
}
.nav-menu.active { 
    opacity: 1; 
    visibility: visible;
    transform: translateY(0) scale(1);
}

.nav-menu-header {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 24px 32px; min-height: 80px;
}
.nav-menu-title { display: none; } /* Hide title for cleaner look */
.nav-close { 
    background: transparent; border: none; color: #fff; 
    font-size: 1.8rem; cursor: pointer; transition: color 0.2s, transform 0.2s; 
    display: flex; align-items: center; justify-content: center;
}
.nav-close:hover { color: var(--accent); transform: scale(1.1); }

.nav-links { 
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 40px 24px; gap: 24px; flex-grow: 1; text-align: center;
}

.nav-link {
    padding: 12px 24px; border-radius: 100px; font-size: 1.8rem; font-weight: 700;
    color: var(--text-muted); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
    display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: auto;
    letter-spacing: -0.02em;
}
.nav-link:hover, .nav-link.active { 
    color: #fff; background: rgba(255, 255, 255, 0.05); transform: scale(1.08);
}

.nav-actions { 
    padding: 24px; display: flex; flex-direction: column; align-items: center; 
    gap: 20px; margin-top: auto; width: 100%;
}

/* Localization Controls inside Nav */
.header-localization {
    display: flex; flex-direction: row; justify-content: center; gap: 16px; width: 100%;
}

.loc-select-wrap { position: relative; display: flex; align-items: center; }

.loc-select-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    font-size: 0.85rem; color: rgba(255,255,255,0.45); pointer-events: none; z-index: 1;
}

.loc-select {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #e2e8f0; padding: 10px 14px 10px 36px; border-radius: 12px;
    font-size: 0.95rem; font-family: var(--font-main); cursor: pointer; outline: none;
    transition: all 0.25s ease; appearance: none; -webkit-appearance: none;
    min-width: 140px;
}

.loc-select:hover, .loc-select:focus {
    background: rgba(139,92,246,0.12); border-color: rgba(139,92,246,0.5); color: #fff;
}
.loc-select option { background: #0d1128; color: #e2e8f0; }

/* Dropdown */
.nav-dropdown { position: relative; width: 100%; text-align: center; }

.nav-dropdown > a i { transition: transform 0.3s ease; font-size: 1.2rem; }
.nav-dropdown.active > a i { transform: rotate(180deg); } /* Rotate arrow when open */

.dropdown-menu {
    position: static; transform: none; background: transparent; border: none;
    padding: 0; margin-top: 0; box-shadow: none; max-height: 0; overflow: hidden;
    opacity: 0; visibility: hidden;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease, margin-top 0.3s ease;
    display: flex; flex-direction: column; align-items: center;
}

.nav-dropdown.active .dropdown-menu { 
    max-height: 500px; /* Enough to show content */
    margin-top: 12px; opacity: 1; visibility: visible;
}

.dropdown-menu li a {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 10px 14px; border-radius: 8px; font-size: 1.1rem; color: var(--text-muted);
    transition: var(--transition);
}

.dropdown-menu li a i { color: var(--accent); width: 16px; display: none; } /* Hide icons in mobile fullscreen if present */
.dropdown-menu li a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }

.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff !important; padding: 16px 32px; border-radius: 100px;
    font-size: 1.2rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; transition: transform 0.2s ease, box-shadow 0.2s ease; white-space: nowrap; width: 100%; max-width: 300px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* ── Desktop Navigation Overrides (min-width: 1024px) ── */
@media (min-width: 1024px) {
    .nav-toggle { display: none; }
    .nav-overlay { display: none !important; }
    .mobile-only { display: none !important; }

    .nav-menu {
        position: static; flex-direction: row; width: 100%; height: auto;
        background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
        border: none; padding: 0; overflow: visible; align-items: center;
        opacity: 1; visibility: visible; transform: none;
        justify-content: space-between; gap: 20px;
    }

    .nav-menu-header { display: none; }

    .nav-links {
        flex-direction: row; padding: 0; gap: 8px; margin-left: 32px; margin-right: auto;
    }

    .nav-link {
        font-size: 0.95rem; padding: 8px 16px; font-weight: 500;
        border-radius: 8px;
    }
    
    .nav-link:hover, .nav-link.active {
        background: var(--bg-card-2); transform: none;
    }

    .nav-actions {
        padding: 0; flex-direction: row; align-items: center; width: auto; max-width: none;
    }

    .header-localization {
        flex-direction: row; width: auto; gap: 12px;
    }
    
    .loc-select { width: auto; min-width: 0; padding: 8px 14px 8px 32px; font-size: 0.85rem; }
    .loc-select-icon { font-size: 0.75rem; }

    .nav-cta {
        width: auto; padding: 10px 24px; font-size: 0.95rem; max-width: none;
    }

    .nav-dropdown { width: auto; text-align: left; }
    .nav-dropdown > a i { font-size: 0.8rem; }

    .nav-dropdown > a i {
        transition: transform 0.3s ease;
    }
    
    .nav-dropdown:hover > a i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: absolute; top: calc(100% + 15px); left: 50%;
        transform: translateX(-50%) translateY(10px); min-width: 260px;
        background: rgba(10, 14, 26, 0.95); border: 1px solid var(--border);
        border-radius: var(--radius-sm); backdrop-filter: blur(20px);
        padding: 8px; opacity: 0; visibility: hidden; margin-top: 0; display: flex;
        align-items: stretch; max-height: none; overflow: visible; transition: all 0.3s ease;
    }
    
    .dropdown-menu li a {
        display: flex; justify-content: flex-start; text-align: left;
        font-size: 0.9rem; padding: 10px 14px;
    }
    .dropdown-menu li a i { display: inline-block; color: var(--accent); width: 16px; }

    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease;
    animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
}

@keyframes pulse-wa {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ══════════════════════════════════════
   HOME HERO
══════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 60%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

#neuralNetCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.hero-orb-1,
.hero-orb-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.hero-orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -10%;
    left: -10%;
}

.hero-orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-3);
    bottom: -10%;
    right: -10%;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-glow);
    border: 1px solid var(--border-glow);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-size: clamp(1.625rem, 5vw, 3rem);
    /* Approx 26px mobile, 36px tablet, 48px desktop */
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Hero V2 - Floating Cards & AI Visual ── */
.hero-scene-v2 {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-scene-v2 {
        height: 350px;
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .hero-scene-v2 {
        height: 450px;
        margin-top: 100px;
    }
}

.hero-base-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.hero-main-visual {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 180px;
    scale: 0.8;
}

@media (min-width: 992px) {
    .hero-main-visual {
        scale: 1;
    }
}

.core-brain {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 30px;
    display: grid;
    place-items: center;
    margin: 40px auto;
    font-size: 3rem;
    color: #fff;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
    animation: pulseBrain 4s ease-in-out infinite;
}

@keyframes pulseBrain {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(139, 92, 246, 0.5);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 80px rgba(139, 92, 246, 0.7);
    }
}

.orbit-rings {
    position: absolute;
    inset: -60px;
    pointer-events: none;
}

.ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: rotateRing 20s linear infinite;
}

.ring:nth-child(2) {
    inset: 40px;
    border-color: rgba(139, 92, 246, 0.1);
    animation-duration: 30s;
    animation-direction: reverse;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg) rotateX(60deg);
    }

    to {
        transform: rotate(360deg) rotateX(60deg);
    }
}

/* Glass Floating Cards */
.float-card {
    position: relative;
    z-index: 10;
    transition: transform 0.1s ease-out;
    pointer-events: auto;
    margin-bottom: 12px;
    scale: 0.8;
}

@media (min-width: 768px) {
    .float-card {
        position: absolute;
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .float-card {
        scale: 1;
    }
}

.glass-card-prime {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.float-card:nth-child(even) .glass-card-prime {
    animation-delay: -3s;
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
}

.card-icon.cyan {
    color: #06b6d4;
    background: rgba(6, 182, 212, 0.1);
}

.card-icon.gold {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.card-icon.green {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.card-icon.purple {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info .label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.card-info .value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

@media (min-width: 480px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero-stats-row {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.hero-stat-item strong {
    display: block;
    font-size: 1.9rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-item span {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.hero-main-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(8, 182, 212, 0.05));
    pointer-events: none;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.hero-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.live-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 1s infinite;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.metric-item {
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--accent);
}

.metric-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 4px;
}

.hero-chart-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transition: width 1.5s ease;
}

.hero-float-1,
.hero-float-2 {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(20px);
    padding: 14px 18px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: float 4s ease-in-out infinite;
}

.hero-float-1 {
    top: -20px;
    right: -20px;
    font-weight: 600;
    color: var(--green);
}

.hero-float-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 24px;
}

.service-card {
    padding: 36px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-3));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-glow);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    margin-bottom: 24px;
}

.service-features {
    margin-bottom: 28px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ══════════════════════════════════════
   STATS COUNTER
══════════════════════════════════════ */
.stats-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(8, 182, 212, 0.04));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        gap: 40px;
    }
}

.stat-number {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-suffix {
    font-size: 2rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ══════════════════════════════════════
   TEAM / FOUNDERS
══════════════════════════════════════ */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: 1fr 2fr;
        align-items: end;
    }
}

.team-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .team-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.founder-card {
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
}

.founder-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
}

.founder-name {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.founder-role {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.founder-bio {
    font-size: 0.85rem;
    color: var(--text-dim);
}

.founder-card.featured {
    padding: 40px;
}

.founder-card.featured .founder-avatar {
    width: 110px;
    height: 110px;
    font-size: 2.4rem;
}

.founder-card.featured .founder-name {
    font-size: 1.4rem;
}

.founder-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
}

.skill-tag {
    background: var(--accent-glow);
    border: 1px solid var(--border-glow);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ══════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════ */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 360px;
    padding: 36px;
    border-radius: var(--radius);
    flex-shrink: 0;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-size: 1.02rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 28px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: grid;
    place-items: center;
}

.slider-btn:hover {
    background: var(--accent-glow);
    border-color: var(--border-glow);
}

/* ══════════════════════════════════════
   PORTFOLIO
══════════════════════════════════════ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
    gap: 28px;
}

.portfolio-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.portfolio-header {
    padding: 32px 32px 0;
}

.portfolio-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.portfolio-tag {
    background: var(--accent-glow);
    border: 1px solid var(--border-glow);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.portfolio-card h3 {
    margin-bottom: 12px;
}

.portfolio-card p {
    font-size: 0.9rem;
}

.portfolio-results {
    padding: 24px 32px;
    margin: 24px 0 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border);
}

.result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 480px) {
    .result-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.result-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--green);
}

.result-item span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.before-after {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ba-arrow {
    color: var(--accent);
}

.before-val {
    color: var(--red);
    font-weight: 600;
}

.after-val {
    color: var(--green);
    font-weight: 600;
}

/* ══════════════════════════════════════
   BLOG
══════════════════════════════════════ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card {
    border-radius: var(--radius);
    overflow: hidden;
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(8, 182, 212, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
    border-bottom: 1px solid var(--border);
}

.blog-body {
    padding: 28px;
}

.blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.blog-meta i {
    color: var(--accent);
}

.blog-category {
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid var(--border-glow);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.blog-card p {
    font-size: 0.88rem;
    margin-bottom: 20px;
}

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.author-avatar-sm {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
}

/* ══════════════════════════════════════
   PRICING
══════════════════════════════════════ */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
    border-color: var(--border-glow);
    transform: scale(1.03);
    z-index: 1;
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-name {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 4px;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dim);
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 9px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.plan-features li i {
    color: var(--green);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-features li.disabled {
    opacity: 0.4;
}

.plan-features li.disabled i {
    color: var(--text-dim);
}

.plan-cta {
    margin-top: 32px;
    width: 100%;
    justify-content: center;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-bottom: 16px;
}

.contact-info-item:hover {
    background: var(--bg-card);
}

.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-glow);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-icon.green {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--green);
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.92rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group select option {
    background: #0d1117;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-submit {
    width: 100%;
    justify-content: center;
}

.alert {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--red);
}

/* FAQ */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: var(--border-glow);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    gap: 16px;
}

.faq-q i {
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-q i {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.faq-item.open .faq-a {
    max-height: 300px;
    padding-bottom: 20px;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 1024px) {
    .about-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.philosophy-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .philosophy-cards {
        grid-template-columns: 1fr 1fr;
    }
}

.philosophy-card {
    padding: 28px;
    border-radius: var(--radius-sm);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

.timeline-year {
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.timeline-item h4 {
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.88rem;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    padding: 36px;
    text-align: center;
    border-radius: var(--radius-sm);
}

.value-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
}

.value-card h4 {
    margin-bottom: 10px;
}

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
    padding: calc(var(--nav-h) + 80px) 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-dim);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .sep {
    color: var(--border-glow);
}

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.06));
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent), transparent, var(--accent-3));
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.cta-box>* {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════
   INSTANT TRUST LAYER
══════════════════════════════════════ */
.trust-layer {
    padding: 80px 0;
    background: var(--bg-dark);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.trust-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.trust-icon-box {
    width: 60px;
    height: 60px;
    background: var(--accent-glow);
    color: var(--accent);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.trust-card-title {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #fff;
    font-family: var(--font-heading);
}

.trust-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 28px;
}

/* Technology Stack Pills */
.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.tech-pill {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tech-pill i {
    color: var(--accent);
}

/* Process Transparency Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.p-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
}

.p-step span {
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

/* Founder Credibility Badge */
.credibility-badge {
    margin-top: auto;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.c-badge-icon {
    font-size: 1.8rem;
    color: var(--green);
}

.c-badge-text {
    display: flex;
    flex-direction: column;
}

.c-badge-text strong {
    font-size: 0.85rem;
    color: #fff;
}

.c-badge-text span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

@media (max-width: 1024px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trust-layer {
        padding: 60px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-card {
        padding: 32px;
    }
}

/* ══════════════════════════════════════
   PREMIUM SAAS FOOTER
══════════════════════════════════════ */
.footer {
    padding: 80px 0 30px;
    position: relative;
    background: var(--bg-dark);
    /* Ensure it matches the deep navy theme */
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    /* Subtle purple border */
    overflow: hidden;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), var(--accent), rgba(139, 92, 246, 0.4), transparent);
    box-shadow: 0 0 30px 2px rgba(139, 92, 246, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-contact-col {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.footer-contact-list li:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-list li:hover .contact-icon {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-info span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-2);
    font-weight: 700;
}

.contact-info a,
.contact-info p {
    font-size: 0.95rem;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
    margin: 0;
}

.contact-info a:hover {
    color: #fff;
}

.footer-brand .nav-logo {
    display: inline-block;
    transition: transform 0.3s ease;
    max-width: 250px;
}

.footer-brand .nav-logo:hover {
    transform: scale(1.04);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dim);
    margin: 16px 0 28px;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--accent-glow);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-heading {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    font-size: 0.92rem;
    color: var(--text-dim);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.footer-links a::before {
    content: '→';
    color: var(--accent);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.92rem;
    color: var(--text-dim);
    margin-bottom: 18px;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--accent);
    width: 18px;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact a {
    color: var(--text-dim);
    font-weight: 500;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-dim);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom strong {
    color: #fff;
}

/* ══════════════════════════════════════
   ADMIN
══════════════════════════════════════ */
.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
}

.admin-login-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 56px;
    width: 100%;
    max-width: 460px;
    backdrop-filter: blur(20px);
}

.admin-logo {
    text-align: center;
    margin-bottom: 40px;
}

.admin-sidebar {
    width: 260px;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid var(--border);
    min-height: 100vh;
    padding: 24px;
    position: fixed;
    top: 0;
}

.admin-main {
    margin-left: 260px;
    padding: 32px;
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.admin-stat .number {
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: var(--transition);
    margin-bottom: 4px;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--accent-glow);
    color: var(--accent);
}

.admin-nav a i {
    width: 18px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }

    .footer-contact-col {
        padding-left: 0;
        border-left: none;
        grid-column: span 2;
        margin-top: 20px;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-contact-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-contact-list li {
        margin-bottom: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-h: 70px;
    }

    .section {
        padding: 70px 0;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: rgba(5, 8, 16, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 0 24px;
        gap: 0;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    .nav-menu.active {
        max-height: 100vh;
        opacity: 1;
        visibility: visible;
        padding: 24px;
        overflow-y: auto;
    }

    .nav-link {
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 1.1rem;
        margin-bottom: 4px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.03);
        display: none;
        margin: 8px 0 8px 16px;
        padding: 8px;
        border-radius: 12px;
        border: 1px solid var(--border);
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats-row {
        gap: 20px;
        flex-wrap: wrap;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cta-box {
        padding: 50px 28px;
    }

    .team-cards {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats-row {
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-contact-col {
        grid-column: span 1;
    }

    .footer-contact-list {
        grid-template-columns: 1fr;
    }

    .team-cards {
        grid-template-columns: 1fr;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Utility */
.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.flex {
    display: flex;
}

.gap-16 {
    gap: 16px;
}

.align-center {
    align-items: center;
}

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

/* ══════════════════════════════════════
   TESTIMONIAL CAROUSEL
══════════════════════════════════════ */
.testi-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 -12px;
}

.testi-track {
    display: flex;
    gap: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testi-slide {
    flex: 0 0 calc(33.333% - 0px);
    padding: 0 12px;
    box-sizing: border-box;
}

.testi-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(99, 102, 241, 0.12);
    line-height: 1;
}

.testi-stars {
    display: flex;
    gap: 4px;
    font-size: 0.85rem;
}

.testi-quote {
    font-size: 0.97rem;
    line-height: 1.75;
    color: var(--text-muted);
    flex: 1;
    font-style: italic;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.testi-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-glow);
    flex-shrink: 0;
}

.testi-avatar-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
    font-family: var(--font-heading);
}

.testi-author-info {
    flex: 1;
    min-width: 0;
}

.testi-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testi-role {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controls */
.testi-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}

.testi-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.testi-btn:hover {
    background: var(--accent-glow);
    border-color: var(--border-glow);
    color: var(--accent);
    transform: scale(1.08);
}

.testi-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.testi-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--accent);
}

/* Responsive */
@media (max-width: 900px) {
    .testi-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 600px) {
    .testi-slide {
        flex: 0 0 100%;
    }

    .testi-card {
        padding: 28px 24px;
    }
}

/* --------------------------------------
   SAAS PLATFORM UI COMPONENTS (REDESIGN)
-------------------------------------- */
/* MacOS Style Window Mockup */
.mock-window {
    background: rgba(10, 14, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mock-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.mock-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mock-dot.red {
    background: #ff5f56;
}

.mock-dot.yellow {
    background: #ffbd2e;
}

.mock-dot.green {
    background: #27c93f;
}

.mock-title {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
    margin-right: 60px;
    /* offset dots */
}

/* 3D Perspective Hero */
.hero-scene {
    perspective: 1500px;
    position: relative;
    z-index: 5;
    margin-top: 40px;
    width: 100%;
}

.hero-dashboard-wrap {
    transform: rotateX(8deg) rotateY(-4deg) translateY(0);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-dashboard-wrap:hover {
    transform: rotateX(4deg) rotateY(-2deg) translateY(-10px);
}

.mock-body {
    padding: 24px;
}

/* Animated Flow / Pipeline */
.saas-pipeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 40px 0;
    position: relative;
}

.pipeline-node {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    width: 140px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.pipeline-node i {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.pipeline-line {
    flex: 1;
    height: 2px;
    background: rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
}

.pipeline-dot {
    position: absolute;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--accent-3);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-3);
    animation: pipelineTravel 2s linear infinite;
}

@keyframes pipelineTravel {
    0% {
        left: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Analytics Widget Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.analytics-card {
    background: rgba(10, 14, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 992px) {
    .analytics-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .saas-pipeline {
        flex-direction: column;
    }

    .pipeline-line {
        width: 2px;
        height: 40px;
    }

    .pipeline-dot {
        top: 0;
        left: -3px;
        animation: pipelineTravelVert 2s linear infinite;
    }
}

@keyframes pipelineTravelVert {
    0% {
        top: 0%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Mac Window Styles */
.mac-window {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.mac-titlebar {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mac-dot.red {
    background: #ff5f56;
}

.mac-dot.yellow {
    background: #ffbd2e;
}

.mac-dot.green {
    background: #27c93f;
}

/* Glass Card Prime */
.glass-card-prime {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-card-prime:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Hero Elements */
.hero-mockup-wrapper {
    perspective: 1000px;
}

.hero-mockup-window {
    transform: rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-float-badge {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

.dot-typing {
    position: relative;
    left: 5px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-dim);
    color: var(--text-dim);
    animation: dotTyping 1.5s infinite linear;
}

.dot-typing::before,
.dot-typing::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-dim);
    color: var(--text-dim);
}

.dot-typing::before {
    left: -8px;
    animation: dotTypingBefore 1.5s infinite linear;
}

.dot-typing::after {
    left: 8px;
    animation: dotTypingAfter 1.5s infinite linear;
}

@keyframes dotTyping {
    0% {
        box-shadow: 0 0 0 0;
    }

    25% {
        box-shadow: 0 -4px 0 0;
    }

    50% {
        box-shadow: 0 0 0 0;
    }

    75% {
        box-shadow: 0 0 0 0;
    }

    100% {
        box-shadow: 0 0 0 0;
    }
}

@keyframes dotTypingBefore {
    0% {
        box-shadow: 12px 0 0 0;
    }

    25% {
        box-shadow: 12px 0 0 0;
    }

    50% {
        box-shadow: 12px -4px 0 0;
    }

    75% {
        box-shadow: 12px 0 0 0;
    }

    100% {
        box-shadow: 12px 0 0 0;
    }
}

@keyframes dotTypingAfter {
    0% {
        box-shadow: 12px 0 0 0;
    }

    25% {
        box-shadow: 12px 0 0 0;
    }

    50% {
        box-shadow: 12px 0 0 0;
    }

    75% {
        box-shadow: 12px -4px 0 0;
    }

    100% {
        box-shadow: 12px 0 0 0;
    }
}

/* Drawing line chart */
.chart-container {
    height: 80px;
    position: relative;
    margin-top: 20px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.chart-bar {
    flex: 1;
    min-width: 10px;
    background: linear-gradient(0deg, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.4));
    border-top: 2px solid var(--accent);
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    transform-origin: bottom;
    animation: growUp 1.5s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

.chart-bar:hover {
    background: rgba(99, 102, 241, 0.6);
    filter: brightness(1.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growUp {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

/* Ring Chart */
.ring-container {
    width: 100px;
    height: 100px;
    margin: 10px auto;
    position: relative;
}

.ring-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.ring-fill {
    fill: none;
    stroke: var(--green);
    stroke-width: 8;
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    stroke-linecap: round;
    animation: fillRing 2s ease-out forwards;
}

@keyframes fillRing {
    to {
        stroke-dashoffset: 35;
        /* ~86% */
    }
}

.ring-text {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

/* SEO Table Mock */
.seo-mock-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.seo-mock-table th {
    text-align: left;
    padding: 12px;
    font-size: 0.8rem;
    color: var(--text-dim);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-mock-table td {
    padding: 16px 12px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.rank-up {
    color: var(--green);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}