/* ============================================
   OPLAKO SOLUTIONS — Expert-Level Design System
   Deep Glassmorphism + Particle-Ready + Grain
   ============================================ */

/* --- Custom Properties --- */
:root {
    --color-bg: #050507;
    --color-bg-elevated: #0a0a0f;
    --color-surface: #111118;
    --color-text: #f0f0f5;
    --color-text-secondary: #9d9db5;
    --color-text-muted: #5c5c7a;
    --color-primary: #6366f1;
    --color-primary-light: #818cf8;
    --color-primary-dark: #4f46e5;
    --color-accent: #8b5cf6;
    --color-accent-pink: #c084fc;
    --color-success: #34d399;

    /* Glass System — Layered Depths */
    --glass-bg-deep: rgba(12, 12, 20, 0.65);
    --glass-bg: rgba(15, 15, 28, 0.5);
    --glass-bg-light: rgba(20, 20, 40, 0.35);
    --glass-bg-micro: rgba(255, 255, 255, 0.04);
    --glass-bg-inner: rgba(255, 255, 255, 0.025);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-light: rgba(255, 255, 255, 0.1);
    --glass-border-active: rgba(99, 102, 241, 0.3);
    --glass-blur: 24px;
    --glass-blur-heavy: 40px;
    --glass-inner-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --glass-inner-shadow-strong: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.2);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 100px;

    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-glass-lg: 0 16px 64px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.25);
    --shadow-glow-sm: 0 0 30px rgba(99, 102, 241, 0.08);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.12);
    --shadow-glow-lg: 0 0 120px rgba(99, 102, 241, 0.15);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 150ms var(--ease-out-expo);
    --transition-base: 300ms var(--ease-out-expo);
    --transition-slow: 500ms var(--ease-out-expo);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================
   PARTICLE CANVAS
   ============================================ */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ============================================
   NOISE GRAIN OVERLAY
   ============================================ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    mix-blend-mode: overlay;
}

/* ============================================
   LIQUID GLASS BACKGROUND SYSTEM
   Layers: blobs → glass columns → noise → particles → content
   ============================================ */
.liquid-glass-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* --- Vivid Gradient Blobs (behind the glass) --- */
.lg-blobs {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lg-blob {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

/* Cyan/Teal — top center-left */
.lg-blob-1 {
    width: 550px;
    height: 650px;
    background: radial-gradient(ellipse at center,
        rgba(0, 210, 255, 0.35) 0%,
        rgba(0, 180, 220, 0.2) 30%,
        rgba(0, 140, 200, 0.08) 60%,
        transparent 80%
    );
    top: -15%;
    left: 22%;
    filter: blur(40px);
    animation: blobDrift1 22s ease-in-out infinite;
}

/* Warm Amber/Gold — right side */
.lg-blob-2 {
    width: 600px;
    height: 700px;
    background: radial-gradient(ellipse at center,
        rgba(245, 158, 11, 0.4) 0%,
        rgba(217, 119, 6, 0.22) 30%,
        rgba(180, 83, 9, 0.08) 60%,
        transparent 80%
    );
    top: 10%;
    right: -5%;
    filter: blur(50px);
    animation: blobDrift2 26s ease-in-out infinite;
}

/* Rose/Pink — bottom right */
.lg-blob-3 {
    width: 450px;
    height: 500px;
    background: radial-gradient(ellipse at center,
        rgba(236, 72, 153, 0.3) 0%,
        rgba(219, 39, 119, 0.15) 35%,
        rgba(190, 24, 93, 0.05) 65%,
        transparent 80%
    );
    bottom: 5%;
    right: 15%;
    filter: blur(45px);
    animation: blobDrift3 20s ease-in-out infinite;
}

/* Indigo/Violet — center-left */
.lg-blob-4 {
    width: 500px;
    height: 550px;
    background: radial-gradient(ellipse at center,
        rgba(99, 102, 241, 0.25) 0%,
        rgba(139, 92, 246, 0.12) 40%,
        transparent 75%
    );
    top: 35%;
    left: -5%;
    filter: blur(50px);
    animation: blobDrift4 24s ease-in-out infinite;
}

/* Deep blue subtle — bottom left */
.lg-blob-5 {
    width: 400px;
    height: 450px;
    background: radial-gradient(ellipse at center,
        rgba(56, 189, 248, 0.18) 0%,
        rgba(14, 165, 233, 0.08) 45%,
        transparent 75%
    );
    bottom: -10%;
    left: 30%;
    filter: blur(55px);
    animation: blobDrift5 28s ease-in-out infinite;
}

@keyframes blobDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, 20px) scale(1.05); }
    50% { transform: translate(-20px, 40px) scale(0.95); }
    75% { transform: translate(15px, -15px) scale(1.03); }
}

@keyframes blobDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    30% { transform: translate(-40px, 30px) scale(1.08); }
    60% { transform: translate(20px, -20px) scale(0.92); }
    80% { transform: translate(-15px, 10px) scale(1.02); }
}

@keyframes blobDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    35% { transform: translate(25px, -35px) scale(1.06); }
    65% { transform: translate(-30px, 15px) scale(0.94); }
}

@keyframes blobDrift4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(35px, -25px) scale(1.04); }
    70% { transform: translate(-20px, 30px) scale(0.96); }
}

@keyframes blobDrift5 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    45% { transform: translate(-25px, -20px) scale(1.07); }
    80% { transform: translate(15px, 25px) scale(0.93); }
}

/* --- Frosted Glass Columns --- */
.lg-columns {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
}

.lg-col {
    flex: 1;
    position: relative;
    background: rgba(15, 15, 25, 0.35);
    backdrop-filter: blur(60px) saturate(1.2);
    -webkit-backdrop-filter: blur(60px) saturate(1.2);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.6s ease;
}

.lg-col:first-child {
    border-left: none;
}

.lg-col:last-child {
    border-right: none;
}

/* Subtle inner top highlight on each column */
.lg-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.04) 50%,
        transparent 100%
    );
}

/* Luminance variation per column — alternating light/dark for visible distinction */
.lg-col:nth-child(1) { background: rgba(15, 15, 25, 0.34); }
.lg-col:nth-child(2) { background: rgba(15, 15, 25, 0.28); }
.lg-col:nth-child(3) { background: rgba(15, 15, 25, 0.40); }
.lg-col:nth-child(4) { background: rgba(15, 15, 25, 0.25); }
.lg-col:nth-child(5) { background: rgba(15, 15, 25, 0.38); }
.lg-col:nth-child(6) { background: rgba(15, 15, 25, 0.30); }
.lg-col:nth-child(7) { background: rgba(15, 15, 25, 0.42); }
.lg-col:nth-child(8) { background: rgba(15, 15, 25, 0.32); }

/* Fade out the columns towards the bottom */
.lg-columns::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--color-bg) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* ============================================
   GLASSMORPHISM SYSTEM — Multiple Depths
   ============================================ */

/* Tier 1: Deep glass — Major containers (dashboard, CTA) */
.glass-card-deep {
    background: var(--glass-bg-deep);
    backdrop-filter: blur(var(--glass-blur-heavy)) saturate(1.4);
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy)) saturate(1.4);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass-lg), var(--glass-inner-shadow-strong);
}

/* Tier 2: Standard glass — Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.3);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass), var(--glass-inner-shadow);
}

/* Tier 3: Inner glass — Nested cards inside glass */
.glass-card-inner {
    background: var(--glass-bg-inner);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: var(--glass-inner-shadow);
}

/* Tier 4: Micro glass — Badges, chips, small elements */
.glass-card-micro {
    background: var(--glass-bg-micro);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Glass chips for tech tags */
.glass-chip {
    display: inline-block;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    font-weight: 500;
    padding: 5px 12px;
    background: var(--glass-bg-micro);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
}

.glass-chip:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
    color: var(--color-primary-light);
}

/* --- Card Shine (cursor-following highlight) --- */
.card-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.04) 0%,
        transparent 40%
    );
}

.glass-card:hover .card-shine,
.glass-card-deep:hover .card-shine {
    opacity: 1;
}

/* --- Animated Border Glow (conic gradient border) --- */
.card-border-glow {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 0%,
        rgba(99, 102, 241, 0.4) 10%,
        transparent 20%,
        transparent 80%,
        rgba(139, 92, 246, 0.3) 90%,
        transparent 100%
    );
    animation: rotateBorder 4s linear infinite;
}

.glass-card:hover .card-border-glow {
    opacity: 1;
}

@keyframes rotateBorder {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.text-gradient {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-pink) 50%, var(--color-accent) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-primary:hover::before { opacity: 1; }

.btn-glass {
    background: var(--glass-bg-micro);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--color-text);
    border: 1px solid var(--glass-border-light);
    box-shadow: var(--glass-inner-shadow);
}

.btn-glass:hover {
    border-color: var(--glass-border-active);
    background: rgba(99, 102, 241, 0.08);
    box-shadow: var(--shadow-glow-sm), var(--glass-inner-shadow);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 18px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--glass-bg-deep);
    backdrop-filter: blur(var(--glass-blur-heavy)) saturate(1.5);
    -webkit-backdrop-filter: blur(var(--glass-blur-heavy)) saturate(1.5);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--color-text-secondary);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    padding: 8px 16px;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-weight: 450;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 1.5px;
    background: var(--color-primary-light);
    transition: all var(--transition-base);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-text);
}

.nav-link:hover::after {
    width: 20px;
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white !important;
    font-weight: 500;
    margin-left: 8px;
    box-shadow: 0 2px 12px rgba(99, 102, 241, 0.25);
}

.nav-link-cta::after { display: none; }

.nav-link-cta:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    z-index: 5;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, black 5%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 35%, black 5%, transparent 65%);
    z-index: 0;
    opacity: 0.6;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

/* --- Hero Badge --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px 7px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
    font-weight: 500;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 22px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 52px;
    flex-wrap: wrap;
}

/* --- Hero Benefits (Glass Pills) --- */
.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.hero-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px 7px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    width: fit-content;
}

.benefit-check {
    color: var(--color-success);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
}

/* --- Dashboard Mock (Deep Glass) --- */
.hero-visual {
    perspective: 1200px;
}

.dashboard-mock {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(3deg);
    transition: transform 0.6s var(--ease-out-expo);
    animation: dashFloat 8s ease-in-out infinite;
    position: relative;
}

.dashboard-mock:hover {
    transform: rotateY(-1deg) rotateX(1deg) scale(1.02);
}

@keyframes dashFloat {
    0%, 100% { transform: rotateY(-5deg) rotateX(3deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(3deg) translateY(-12px); }
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(0, 0, 0, 0.15);
}

.dashboard-dots {
    display: flex;
    gap: 7px;
}

.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: transform var(--transition-fast);
}

.dashboard-dots span:nth-child(1) { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #eab308; }
.dashboard-dots span:nth-child(3) { background: #22c55e; }

.dashboard-mock:hover .dashboard-dots span {
    transform: scale(1.15);
}

.dashboard-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--color-success);
    font-weight: 500;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
    animation: pulse-dot 2s infinite;
}

.dashboard-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dash-row {
    display: flex;
    gap: 12px;
}

.dash-card {
    border-radius: var(--radius-md);
    padding: 16px;
    flex: 1;
    transition: all var(--transition-fast);
}

.dash-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.dash-card-main { flex: 2; }

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dash-card-label {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dash-card-trend {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: var(--font-mono);
}

.dash-card-trend.up { color: var(--color-success); }

.dash-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    margin: 4px 0;
}

.dash-card-value.mini {
    font-size: 1rem;
    color: var(--color-success);
}

.dash-card-value .unit {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.dash-card-sub {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.dash-chart {
    position: relative;
    height: 60px;
}

.dash-chart svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.dash-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.dash-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.4);
    transition: width 1.8s var(--ease-out-expo);
}

/* ============================================
   SECTION COMMON
   ============================================ */
section {
    position: relative;
    z-index: 5;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-light);
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
    font-family: var(--font-mono);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.12;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 140px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--glass-border-light);
    box-shadow: var(--shadow-glass-lg), var(--shadow-glow);
}

.service-card.featured {
    border-color: var(--glass-border-active);
    box-shadow: var(--shadow-glass-lg), var(--shadow-glow);
}

.service-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent), var(--color-accent-pink));
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-light);
    padding: 5px 14px;
    border-radius: var(--radius-pill);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--color-primary-light);
    margin-bottom: 22px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    font-weight: 500;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 22px;
}

.service-features {
    list-style: none;
    margin-bottom: 26px;
}

.service-features li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    line-height: 1.55;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}

.service-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 140px 0;
}

.process-timeline {
    position: relative;
}

.process-line {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(99, 102, 241, 0.3) 15%,
        rgba(99, 102, 241, 0.3) 85%,
        transparent
    );
    z-index: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 36px 22px;
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out-expo);
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: var(--glass-border-light);
    box-shadow: var(--shadow-glass-lg), var(--shadow-glow-sm);
}

.process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary-light);
    margin-bottom: 22px;
    transition: all var(--transition-base);
}

.process-step:hover .process-number {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.3);
}

.process-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.process-content p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ============================================
   METRICS
   ============================================ */
.metrics {
    padding: 140px 0;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.metric-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-light);
    box-shadow: var(--shadow-glass-lg), var(--shadow-glow-sm);
}

.metric-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: var(--radius-md);
    color: var(--color-primary-light);
    transition: all var(--transition-base);
}

.metric-card:hover .metric-icon {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-mono);
    letter-spacing: -0.03em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--color-text) 30%, var(--color-text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}


/* ============================================
   CTA
   ============================================ */
.cta {
    padding: 120px 0;
}

.cta-card {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 88px 60px;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(ellipse,
        rgba(99, 102, 241, 0.15) 0%,
        rgba(139, 92, 246, 0.08) 40%,
        transparent 70%
    );
    pointer-events: none;
    animation: ctaGlowPulse 5s ease-in-out infinite;
}

@keyframes ctaGlowPulse {
    0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
}

.cta-desc {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.cta-features {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
}

.cta-feature svg {
    color: var(--color-success);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    z-index: 5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-links-group h4 {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
}

.footer-links-group a {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    padding: 5px 0;
    transition: all var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--color-primary-light);
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }

/* ============================================
   WHATSAPP
   ============================================ */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease-out-expo);
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-section { padding: 100px 0; }

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item.open {
    border-color: var(--glass-border-active);
    box-shadow: var(--shadow-glass), 0 0 30px rgba(99, 102, 241, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-primary-light);
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-light);
    transition: transform var(--transition-base);
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease-out-expo);
    padding: 0 28px;
}

.faq-answer.open {
    max-height: 400px;
    padding: 0 28px 24px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.75;
    padding-top: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        max-width: 600px;
        margin: 0 auto;
    }

    .dashboard-mock {
        transform: none;
        animation: none;
    }

    .dashboard-mock:hover {
        transform: scale(1.01);
    }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .process-line { display: none; }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .cta-actions {
        flex-wrap: wrap;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    /* Fewer visible glass columns on tablet/mobile */
    .lg-col:nth-child(7),
    .lg-col:nth-child(8) {
        display: none;
    }

    .lg-blob-1 { width: 350px; height: 400px; }
    .lg-blob-2 { width: 380px; height: 450px; }
    .lg-blob-3 { width: 300px; height: 350px; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(5, 5, 7, 0.96);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        z-index: 999;
    }

    .nav-links.active { display: flex; }

    .nav-links .nav-link {
        font-size: 1.25rem;
        padding: 14px 28px;
    }

    .nav-links .nav-link::after { display: none; }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) { opacity: 0; }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title { font-size: 2.15rem; }

    .hero-benefits {
        flex-direction: column;
        gap: 8px;
    }

    .hero-benefit {
        padding: 6px 14px 6px 10px;
        font-size: 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 32px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .dash-row { flex-direction: column; }

    .process-grid { grid-template-columns: 1fr; }

    .metrics-grid { grid-template-columns: 1fr; }

    .cta-card { padding: 40px 20px; }

    .cta-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .cta-title { font-size: 1.6rem; }

    .faq-section { padding: 80px 0; }
    .faq-question { padding: 18px 20px; font-size: 0.88rem; }
    .faq-answer.open { padding: 0 20px 20px; }
    .faq-answer p { font-size: 0.85rem; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .services, .process, .metrics { padding: 80px 0; }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .lg-col:nth-child(5),
    .lg-col:nth-child(6) {
        display: none;
    }

    .container { padding: 0 16px; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .section-title { font-size: 1.65rem; }
    .section-desc { font-size: 0.85rem; }
    .btn { padding: 11px 22px; font-size: 0.9rem; }
    .btn-lg { padding: 14px 28px; }
    .metric-value { font-size: 2rem; }

    .faq-question { padding: 16px; font-size: 0.84rem; }
    .faq-answer.open { padding: 0 16px 16px; }

    .cta-card { padding: 32px 16px; }

    .services, .process, .metrics, .faq-section { padding: 60px 0; }

    .whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 46px;
        height: 46px;
    }
}
