
:root {
    /* Palette */
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --secondary: #4F46E5;
    --success: #10B981;
    --accent: #F59E0B;
    --danger: #EF4444;
    
    /* Backgrounds & Neutrals */
    --bg-white: #FFFFFF;
    --bg-light-gray: #F8FAFC;
    --bg-dark-navy: #0B1120;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #F1F5F9;
    --border-color: #E2E8F0;
    --border-dark: #1E293B;

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #2563EB 0%, #4F46E5 50%, #7C3AED 100%);
    --grad-glow: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.15) 0%, rgba(79, 70, 229, 0) 70%);
    
    /* Shadows & Glass */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(16px);

    /* Layout & Geometry */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 9999px;
    --max-width: 1280px;
    --header-height: 80px;
    
    /* Animations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. CSS Reset & Base Setup --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; }
button { cursor: pointer; background: none; }
img, svg { max-width: 100%; display: block; }

/* --- 3. Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 100px 0; position: relative; }
.light-gray-bg { background-color: var(--bg-light-gray); }
.dark-navy-bg { background-color: var(--bg-dark-navy); color: var(--text-light); }

.w-100 { width: 100%; }

/* Typography Helpers */
.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.sub-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 12px;
}
.accent-text { color: var(--accent); }
.light-text .sub-title { color: var(--success); }
.light-text p { color: #94A3B8; }

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Cards & Borders */
.soft-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-fast);
}

.soft-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.gradient-border {
    position: relative;
    background-clip: padding-box;
    border: 2px solid transparent !important;
}
.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--grad-primary);
    z-index: -1;
    border-radius: inherit;
}

/* --- 4. Interactive UI Elements & Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-large { padding: 16px 32px; font-size: 1.05rem; }

.btn-primary {
    background: var(--primary);
    color: var(--bg-white);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.shadow-blue { box-shadow: var(--shadow-blue); }

.btn-secondary {
    background: var(--bg-light-gray);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover { background: #E2E8F0; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--bg-white); }

.btn-whatsapp { background: #25D366; color: white; font-weight: 700; }
.btn-whatsapp:hover { background: #16A34A; }

/* Ripple Effect */
.ripple { position: relative; overflow: hidden; }
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}
@keyframes ripple-anim {
    to { transform: scale(4); opacity: 0; }
}

/* --- 5. Loading Screen & Micro Animations --- */
.loader-wrapper {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: var(--bg-dark-navy);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-wrapper.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { text-align: center; color: white; }
.loader-logo { font-size: 2.5rem; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.03em; }
.loader-logo span { color: var(--primary); }
.loader-bar { width: 200px; height: 4px; background: #1E293B; border-radius: 4px; overflow: hidden; margin: 0 auto; }
.loader-progress { width: 0%; height: 100%; background: var(--grad-primary); animation: load-progress 1.2s ease-in-out forwards; }
@keyframes load-progress { 0% { width: 0%; } 50% { width: 70%; } 100% { width: 100%; } }

/* Mouse Tracker Glow */
.cursor-glow {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(0,0,0,0) 70%);
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 99;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
}

/* Back To Top */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--primary); color: white;
    border-radius: 50%; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
    z-index: 1000; opacity: 0; visibility: hidden;
    transform: translateY(20px); transition: all var(--transition-fast);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-hover); transform: translateY(-4px); }

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- 6. Navigation Bar --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    z-index: 1000;
    transition: all var(--transition-fast);
}
.navbar.scrolled { height: 70px; box-shadow: var(--shadow-sm); }
.nav-container {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.brand-logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.brand-logo.light { color: white; }
.logo-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-link { font-weight: 600; font-size: 0.95rem; color: var(--text-muted); transition: color var(--transition-fast); }
.nav-link:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

/* Hamburger Menu */
.hamburger { display: none; width: 30px; height: 20px; position: relative; flex-direction: column; justify-content: space-between; }
.hamburger span { width: 100%; height: 2.5px; background: var(--text-main); border-radius: 2px; transition: all 0.3s ease; }

/* --- 7. Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    overflow: hidden;
}
.hero-bg-animate { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4; animation: float-orb 10s ease-in-out infinite alternate; }
.orb-1 { width: 500px; height: 500px; background: var(--primary); top: -10%; left: 10%; }
.orb-2 { width: 400px; height: 400px; background: var(--secondary); top: 20%; right: 5%; animation-delay: -5s; }
@keyframes float-orb { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } }

.grid-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, black 20%, transparent 80%);
}

.hero-content { text-align: center; max-width: 900px; z-index: 1; margin-bottom: 60px; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: var(--radius-full);
    background: #EFF6FF; color: var(--primary); font-weight: 600; font-size: 0.85rem;
    border: 1px solid #DBEAFE; margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.hero-title { font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--text-muted); max-width: 740px; margin: 0 auto 40px; }
.hero-cta-group { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 60px; flex-wrap: wrap; }

.hero-trust { display: flex; flex-direction: column; align-items: center; gap: 16px; font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.logo-cloud { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; opacity: 0.7; }
.trust-logo { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.05em; color: #475569; }

/* Hero Dashboard Mockup */
.hero-mockup-container { position: relative; z-index: 2; margin-bottom: 80px; }
.mockup-frame {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl), 0 0 50px -10px rgba(37, 99, 235, 0.15);
    overflow: hidden;
    position: relative;
}
.mockup-header {
    background: #F1F5F9; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); font-size: 0.8rem; color: var(--text-muted); font-family: 'JetBrains Mono', monospace;
}
.window-controls { display: flex; gap: 8px; }
.window-controls span { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.window-controls span:nth-child(1) { background: #EF4444; }
.window-controls span:nth-child(2) { background: #F59E0B; }
.window-controls span:nth-child(3) { background: #10B981; }
.window-url { background: white; padding: 4px 20px; border-radius: 6px; border: 1px solid #E2E8F0; width: 40%; text-align: center; }
.window-status { color: var(--success); font-weight: 600; }

.mockup-body { display: grid; grid-template-columns: 220px 1fr; min-height: 520px; background: #F8FAFC; }
.mockup-sidebar { background: var(--bg-white); border-right: 1px solid var(--border-color); padding: 20px 12px; display: flex; flex-direction: column; gap: 8px; }
.sidebar-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9rem; color: var(--text-muted); transition: all 0.2s; }
.sidebar-item.active { background: #EFF6FF; color: var(--primary); }
.badge-mini { margin-left: auto; background: #DBEAFE; color: var(--primary); font-size: 0.75rem; padding: 2px 8px; border-radius: 12px; }

.mockup-content { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.mockup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash-card { background: white; padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 8px; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.stat-val { font-size: 1.6rem; font-weight: 800; color: var(--text-main); }
.stat-trend { font-size: 0.8rem; font-weight: 600; }
.stat-trend.positive { color: var(--success); }
.stat-trend.warning { color: var(--accent); }

.mockup-chart-area { display: grid; grid-template-columns: 2fr 1.2fr; gap: 16px; flex: 1; }
.chart-box, .warehouse-box { background: white; padding: 20px; border-radius: var(--radius-md); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-weight: 700; font-size: 0.95rem; }
.tag { background: #D1FAE5; color: #065F46; font-size: 0.75rem; padding: 4px 10px; border-radius: 12px; font-weight: 600; }

.css-bar-chart { display: flex; align-items: flex-end; justify-content: space-between; height: 180px; padding-top: 20px; gap: 12px; }
.bar-col { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; height: 100%; justify-content: flex-end; }
.bar { width: 100%; background: var(--grad-primary); border-radius: 6px 6px 0 0; transition: height 1s ease-out; }
.bar-col span { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

.store-list { display: flex; flex-direction: column; gap: 16px; }
.store-item { display: flex; flex-direction: column; gap: 6px; }
.store-info { display: flex; justify-content: space-between; font-size: 0.85rem; }
.progress-bar { width: 100%; height: 8px; background: #F1F5F9; border-radius: 4px; overflow: hidden; }
.progress-bar .fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 1s ease; }

/* Floating Badges */
.floating-badge {
    position: absolute; padding: 16px 20px;
    display: flex; align-items: center; gap: 16px;
    z-index: 10; animation: float-badge 6s ease-in-out infinite alternate;
}
.badge-left { bottom: -20px; left: -30px; }
.badge-right { top: -20px; right: -30px; animation-delay: -3s; }
.icon-circle { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: white; font-weight: bold; flex-shrink: 0; }
.icon-circle.emerald { background: var(--success); }
.icon-circle.blue { background: var(--primary); }
.floating-badge strong { display: block; font-size: 0.95rem; line-height: 1.2; }
.floating-badge span { font-size: 0.8rem; color: var(--text-muted); }
@keyframes float-badge { 0% { transform: translateY(0); } 100% { transform: translateY(-15px); } }

/* Hero Counters */
.hero-counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.counter-card { padding: 24px; border-radius: var(--radius-md); background: #F8FAFC; border: 1px solid var(--border-color); }
.counter-val { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.counter-card p { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }

/* --- 8. Comparison Section (Why Choose StockPro) --- */
.comparison-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; max-width: 1000px; margin: 0 auto; }
.comp-card { padding: 40px; border-radius: var(--radius-lg); background: white; border: 1px solid var(--border-color); }
.legacy-card { background: #F8FAFC; opacity: 0.85; }
.stockpro-card { box-shadow: var(--shadow-xl); transform: scale(1.05); z-index: 2; background: white; }
.comp-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.comp-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.comp-header span { color: var(--text-muted); font-size: 0.9rem; }
.comp-list { display: flex; flex-direction: column; gap: 16px; }
.comp-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; }
.comp-list li.negative { color: #64748B; }
.comp-list li.positive { color: var(--text-main); }
.comp-list svg { flex-shrink: 0; margin-top: 3px; }

/* --- 9. Features Section (28+ Grid) --- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { display: flex; flex-direction: column; gap: 12px; }
.feat-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 8px; }
.feat-icon.blue { background: #DBEAFE; }
.feat-icon.emerald { background: #D1FAE5; }
.feat-icon.orange { background: #FEF3C7; font-weight: bold; color: var(--accent); }
.feat-icon.purple { background: #E9D5FF; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); }

/* --- 10. Workflow & Multi-Store Section --- */
.workflow-timeline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 100px; position: relative; }
.flow-step { flex: 1; text-align: center; padding: 24px 16px; background: #1E293B; border-radius: var(--radius-md); border: 1px solid #334155; position: relative; z-index: 2; }
.step-num { font-family: 'JetBrains Mono', monospace; font-size: 0.75rem; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.step-icon { font-size: 2.2rem; margin-bottom: 12px; }
.flow-step h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: white; }
.flow-step p { font-size: 0.85rem; color: #94A3B8; }

.flow-connector { width: 40px; height: 2px; background: #334155; position: relative; overflow: hidden; }
.line-pulse { width: 50%; height: 100%; background: var(--success); animation: flow-anim 1.5s infinite linear; }
@keyframes flow-anim { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

/* Multi-Store Illustration */
.multi-store-illustration { display: flex; flex-direction: column; align-items: center; gap: 40px; position: relative; padding: 40px 0; }
.hub-circle { padding: 24px 40px; background: var(--grad-primary); border-radius: var(--radius-full); text-align: center; color: white; box-shadow: 0 0 30px rgba(37,99,235,0.4); z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hub-icon { font-size: 2rem; margin-bottom: 4px; }
.hub-circle strong { font-size: 1.2rem; }
.hub-circle span { font-size: 0.8rem; opacity: 0.8; }

.sync-lines-container { width: 80%; height: 40px; position: relative; display: flex; justify-content: space-around; }
.sync-line { width: 2px; height: 100%; background: #334155; position: relative; overflow: hidden; }
.data-packet { width: 100%; height: 12px; background: var(--success); position: absolute; top: 0; animation: packet-drop 1.5s infinite linear; }
@keyframes packet-drop { 0% { top: -100%; } 100% { top: 100%; } }
.sync-line:nth-child(2) .data-packet { animation-delay: 0.4s; }
.sync-line:nth-child(3) .data-packet { animation-delay: 0.8s; }
.sync-line:nth-child(4) .data-packet { animation-delay: 1.2s; }

.spokes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.spoke-card { background: #1E293B; border: 1px solid #334155; padding: 20px; border-radius: var(--radius-md); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.spoke-icon { font-size: 1.8rem; }
.spoke-card strong { color: white; font-size: 1rem; }
.spoke-card span { color: #94A3B8; font-size: 0.8rem; }

/* --- 11. Dashboard Preview Section --- */
.mode-toggle-btn { display: inline-flex; background: #E2E8F0; padding: 4px; border-radius: var(--radius-full); margin-top: 24px; }
.toggle-option { padding: 8px 24px; border-radius: var(--radius-full); font-weight: 600; font-size: 0.9rem; color: var(--text-muted); transition: all var(--transition-fast); }
.toggle-option.active { background: var(--primary); color: white; box-shadow: var(--shadow-sm); }

.dashboard-showcase { margin-top: 40px; perspective: 1000px; }
.showcase-window { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); box-shadow: var(--shadow-xl); transition: all 0.5s ease; }
.showcase-window.dark-theme { background: #0F172A; color: #F8FAFC; border-color: #334155; }
.showcase-window.light-theme { background: #FFFFFF; color: #0F172A; border-color: #E2E8F0; }

.showcase-topbar { padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid inherit; font-size: 0.9rem; }
.brand-mini { font-weight: 800; color: var(--primary); }
.search-bar-fake { background: rgba(128,128,128,0.15); padding: 8px 16px; border-radius: 6px; width: 40%; font-size: 0.85rem; color: inherit; opacity: 0.7; }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-primary); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: bold; color: white; }

.showcase-body { display: grid; grid-template-columns: 200px 1fr; min-height: 500px; }
.showcase-nav { border-right: 1px solid rgba(128,128,128,0.2); padding: 20px 12px; display: flex; flex-direction: column; gap: 8px; }
.s-nav-item { padding: 12px; border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; opacity: 0.7; cursor: pointer; }
.s-nav-item.active { background: rgba(37,99,235,0.15); color: var(--primary); opacity: 1; }

.showcase-content { padding: 24px; display: flex; flex-direction: column; gap: 24px; }
.sc-header { display: flex; justify-content: space-between; align-items: center; }
.sc-actions { display: flex; gap: 10px; }
.btn-mini { padding: 6px 14px; border-radius: 6px; font-size: 0.8rem; font-weight: 600; background: rgba(128,128,128,0.2); cursor: pointer; }
.btn-mini.primary { background: var(--primary); color: white; }

.sc-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sc-card { padding: 16px; border-radius: var(--radius-sm); background: rgba(128,128,128,0.08); border: 1px solid rgba(128,128,128,0.15); display: flex; flex-direction: column; gap: 4px; }
.sc-card span { font-size: 0.8rem; opacity: 0.7; }
.sc-card h4 { font-size: 1.3rem; font-weight: 800; }
.sc-card small { font-size: 0.75rem; opacity: 0.8; }
.sc-card small.green { color: var(--success); }

.sc-table-container { background: rgba(128,128,128,0.05); border-radius: var(--radius-sm); padding: 16px; border: 1px solid rgba(128,128,128,0.15); }
.sc-table-container h4 { margin-bottom: 12px; font-size: 0.95rem; }
.sc-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.85rem; }
.sc-table th, .sc-table td { padding: 12px; border-bottom: 1px solid rgba(128,128,128,0.15); }
.sc-table th { opacity: 0.7; font-weight: 600; }
.status-pill { padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 700; display: inline-block; }
.status-pill.green { background: rgba(16,185,129,0.2); color: #10B981; }
.status-pill.blue { background: rgba(37,99,235,0.2); color: #60A5FA; }
.status-pill.orange { background: rgba(245,158,11,0.2); color: #F59E0B; }

/* --- 12. Business Solutions --- */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-card { display: flex; flex-direction: column; gap: 12px; }
.sol-icon { font-size: 2.5rem; margin-bottom: 8px; }

/* --- 13. Stats Banner & Modules --- */
.stats-banner { padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; text-align: center; }
.stat-box h4 { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.stat-box p { font-size: 0.85rem; color: #94A3B8; font-weight: 600; }

.modules-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.module-item { padding: 20px; background: #F8FAFC; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 12px; transition: all 0.2s; }
.module-item:hover { background: white; border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* --- 14. Responsive Device Screenshots --- */
.device-showcase { display: flex; align-items: flex-end; justify-content: center; gap: 24px; max-width: 1000px; margin: 0 auto; }
.device { background: #1E293B; border-radius: 16px; padding: 12px; border: 2px solid #334155; box-shadow: var(--shadow-xl); position: relative; }
.device .screen { background: white; border-radius: 8px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.mock-hdr { background: var(--primary); color: white; padding: 8px 12px; font-size: 0.75rem; font-weight: 700; }
.mock-cnt { padding: 12px; font-size: 0.75rem; display: flex; flex-direction: column; gap: 8px; color: var(--text-main); }

.laptop-mock { width: 480px; height: 300px; }
.laptop-mock .base { position: absolute; bottom: -12px; left: -10%; width: 120%; height: 12px; background: #334155; border-radius: 0 0 12px 12px; }
.laptop-mock .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.item-card { padding: 6px; background: #F1F5F9; border-radius: 4px; font-weight: 600; }
.laptop-mock .box { padding: 8px; background: #E2E8F0; border-radius: 4px; color: var(--text-muted); }

.tablet-mock { width: 240px; height: 320px; }
.tablet-mock .banner { background: #FEF3C7; color: #92400E; padding: 6px; font-weight: 700; border-radius: 4px; }
.tablet-mock .list-item { padding: 6px; border-bottom: 1px solid #E2E8F0; }
.tablet-mock .list-item.pending { color: var(--accent); }

.phone-mock { width: 160px; height: 300px; }
.phone-mock .circle-chart { width: 80px; height: 80px; border-radius: 50%; border: 8px solid var(--success); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; margin: 20px auto 10px; }
.phone-mock small { text-align: center; color: var(--text-muted); }
.phone-mock .stat-row { background: #EFF6FF; color: var(--primary); padding: 8px; text-align: center; font-weight: 700; border-radius: 6px; margin-top: auto; }

/* --- 15. Testimonials Section --- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test-card { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--accent); font-size: 1.2rem; letter-spacing: 2px; }
.test-card p { font-size: 0.95rem; color: var(--text-main); font-style: italic; flex: 1; }
.author { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: white; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info strong { display: block; font-size: 0.95rem; }
.info span { font-size: 0.8rem; color: var(--text-muted); }

/* --- 16. Pricing Section --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: center; max-width: 1100px; margin: 0 auto; }
.price-card { display: flex; flex-direction: column; gap: 24px; position: relative; }
.price-card.popular { transform: scale(1.05); z-index: 2; box-shadow: var(--shadow-xl); background: white; }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad-primary); color: white; padding: 4px 16px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.p-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.p-header p { font-size: 0.9rem; color: var(--text-muted); min-height: 40px; }
.price { font-size: 3rem; font-weight: 800; color: var(--text-main); margin-top: 16px; display: flex; align-items: baseline; }
.price span { font-size: 1.5rem; font-weight: 600; margin-right: 2px; }
.price small { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; margin-left: 4px; }
.p-features { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.p-features li { font-size: 0.9rem; color: var(--text-main); display: flex; align-items: center; gap: 10px; }

/* --- 17. FAQ Section (Accordion) --- */
.accordion-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.accordion-item { border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; background: white; transition: border-color 0.2s; }
.accordion-btn { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; text-align: left; font-weight: 700; font-size: 1.05rem; color: var(--text-main); cursor: pointer; }
.icon-arrow { transition: transform 0.3s ease; flex-shrink: 0; }
.accordion-btn[aria-expanded="true"] { color: var(--primary); }
.accordion-btn[aria-expanded="true"] .icon-arrow { transform: rotate(180deg); color: var(--primary); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.accordion-content p { padding: 0 24px 24px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* --- 18. Contact Section --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: flex-start; max-width: 1100px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info h2 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; }
.contact-info p { font-size: 1.05rem; color: var(--text-muted); }
.contact-methods { display: flex; flex-direction: column; gap: 16px; margin: 16px 0; }
.method-box { display: flex; align-items: center; gap: 16px; padding: 16px; background: white; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.method-box .icon { font-size: 1.5rem; }
.method-box strong { display: block; font-size: 0.95rem; }
.method-box span { font-size: 0.85rem; color: var(--text-muted); }
.contact-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.contact-form-wrapper { background: white; }
.contact-form-wrapper h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.contact-form-wrapper p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-main); }
.form-group input, .form-group textarea {
    padding: 12px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--border-color); background: #F8FAFC;
    color: var(--text-main); transition: all 0.2s;
    font-size: 0.95rem;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary); background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-disclaimer { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 8px; }

/* --- 19. Footer --- */
.footer { padding: 80px 0 40px; font-size: 0.9rem; }
.footer-top { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }
.brand-col { display: flex; flex-direction: column; gap: 16px; padding-right: 20px; }
.footer-desc { color: #94A3B8; font-size: 0.85rem; line-height: 1.6; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: #1E293B; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; font-size: 0.9rem; transition: background 0.2s; }
.social-links a:hover { background: var(--primary); }

.footer-col h4 { font-size: 1rem; font-weight: 700; color: white; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: #94A3B8; transition: color 0.2s; }
.footer-col a:hover { color: white; }

.newsletter-col p { color: #94A3B8; font-size: 0.85rem; margin-bottom: 16px; }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.newsletter-form input { padding: 10px 14px; border-radius: 6px; border: 1px solid #334155; background: #1E293B; color: white; font-size: 0.85rem; }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button { width: 100%; }

.footer-divider { border: none; height: 1px; background: #1E293B; margin-bottom: 30px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: #64748B; font-size: 0.85rem; flex-wrap: wrap; gap: 16px; }
.legal-links { display: flex; gap: 24px; }
.legal-links a:hover { color: #94A3B8; }

/* --- 20. Mobile Responsive Media Queries --- */
@media (max-width: 1200px) {
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .modules-grid { grid-template-columns: repeat(4, 1fr); }
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .brand-col { grid-column: span 2; }
}

@media (max-width: 1024px) {
    .hero-counters { grid-template-columns: repeat(2, 1fr); }
    .comparison-grid, .contact-grid { grid-template-columns: 1fr; }
    .stockpro-card, .price-card.popular { transform: none; }
    .solutions-grid, .pricing-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-timeline { flex-direction: column; gap: 20px; }
    .flow-connector { width: 2px; height: 30px; }
    .line-pulse { width: 100%; height: 50%; }
    @keyframes flow-anim { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
    .spokes-grid { grid-template-columns: repeat(2, 1fr); }
    .device-showcase { flex-direction: column; align-items: center; }
    .laptop-mock { width: 100%; }
}

@media (max-width: 768px) {
    .nav-list, .nav-actions .btn { display: none; }
    .hamburger { display: flex; }
    .nav-menu.active {
        position: fixed; top: var(--header-height); left: 0; width: 100%; height: calc(100vh - var(--header-height));
        background: var(--bg-white); padding: 40px 24px;
        display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
        border-top: 1px solid var(--border-color);
        animation: slide-down 0.3s ease forwards;
    }
    @keyframes slide-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    .nav-menu.active .nav-list { display: flex; flex-direction: column; gap: 24px; text-align: center; font-size: 1.2rem; width: 100%; }
    
    .hero { padding-top: calc(var(--header-height) + 30px); }
    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-group .btn { width: 100%; }
    .mockup-body { grid-template-columns: 1fr; }
    .mockup-sidebar { display: none; }
    .mockup-grid { grid-template-columns: 1fr; }
    .mockup-chart-area { grid-template-columns: 1fr; }
    .floating-badge { position: relative; top: auto; left: auto; right: auto; bottom: auto; margin: 10px auto; width: 90%; }
    
    .feature-grid, .solutions-grid, .pricing-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .modules-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .showcase-body { grid-template-columns: 1fr; }
    .showcase-nav { display: none; }
    .sc-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .section { padding: 60px 0; }
    .hero-counters { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .modules-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .brand-col { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .sc-cards-grid { grid-template-columns: 1fr; }
    .cursor-glow { display: none; } /* Disable custom glow on mobile for performance */
}