/* ==========================================================================
   AVP CRM - STYLE.CSS (Fully Mobile-Optimized)
   Design System: Dark + 3D Theme with Glassmorphism Accents
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --bg-color: #020817;         /* Deep navy black */
    --primary-color: #3b82f6;    /* Electric blue */
    --primary-glow: rgba(59, 130, 246, 0.4);
    --secondary-color: #06b6d4;  /* Cyan */
    --secondary-glow: rgba(6, 182, 212, 0.4);
    --accent-purple: #8b5cf6;
    --dark-alt: #0f172a;         /* Card background alternative */
    --success-color: #22c55e;
    --error-color: #ef4444;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(99, 179, 237, 0.15);
    --card-border-glow: rgba(6, 182, 212, 0.3);
    --border-radius: 16px;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-speed: 0.3s;
    --text-gradient: linear-gradient(135deg, #3b82f6, #06b6d4, #8b5cf6);
}

/* --- Base & Reset --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-color);
    color: var(--text-light);
    font-family: var(--font-body);
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

/* --- Background Radial Glows --- */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: 800px;
    left: -200px;
}

.bg-glow-3 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    bottom: 200px;
    right: -200px;
}

/* --- Common Components & Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Badges --- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.badge-red {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
}

/* --- Section Typography --- */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 50px auto;
}

/* --- Button Typography & Styles --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(25deg);
    transition: all 0.6s ease;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-arrow {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-play {
    margin-right: 8px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* --- Pulse Animation --- */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

.pulse-animation {
    animation: pulse 2.5s infinite;
}

/* --- HEADER / NAVIGATION STYLES --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
    background: rgba(2, 8, 23, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-highlight {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-speed) ease;
}

.nav-link:hover {
    color: var(--text-light);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all var(--transition-speed) ease;
}

/* Menu Toggle Animation */
.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- SECTION 1: HERO SECTION --- */
.hero-section {
    padding-top: 180px;
    padding-bottom: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.5;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-bottom: 48px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.check-icon {
    color: var(--success-color);
    margin-right: 4px;
    font-weight: 700;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
}

.stat-card {
    text-align: left;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* --- Hero Right Side - 3D Mockup --- */
.hero-visual {
    perspective: 1000px;
    position: relative;
    display: flex;
    justify-content: center;
}

.isometric-container {
    transform-style: preserve-3d;
    transform: rotateX(12deg) rotateY(-18deg) rotateZ(5deg);
    transition: transform 0.5s ease;
}

.isometric-container:hover {
    transform: rotateX(6deg) rotateY(-8deg) rotateZ(2deg);
}

.mockup-3d-card {
    width: 480px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transform-style: preserve-3d;
    transform: translateZ(20px);
}

.mockup-header {
    background: rgba(2, 8, 23, 0.6);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.mockup-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dots .dot.red { background-color: #ef4444; }
.mockup-dots .dot.yellow { background-color: #f59e0b; }
.mockup-dots .dot.green { background-color: #10b981; }

.mockup-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-body {
    display: grid;
    grid-template-columns: 120px 1fr;
    height: 280px;
}

.mockup-sidebar {
    background: rgba(2, 8, 23, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-item.active, .sidebar-item:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
}

.mockup-content-area {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dashboard-mini-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    position: relative;
}

.dashboard-mini-card.glow-blue {
    border-left: 3px solid var(--primary-color);
}
.dashboard-mini-card.glow-cyan {
    border-left: 3px solid var(--secondary-color);
}

.mini-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    display: block;
}

.mini-val {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    margin-top: 2px;
}

.mini-trend {
    font-size: 0.6rem;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.mini-trend.positive {
    color: var(--success-color);
}

.dashboard-chart-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.badge-live {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 700;
}

.dummy-chart {
    height: 50px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-top: 4px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.dashboard-activity {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.activity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.activity-icon {
    font-size: 0.8rem;
}

/* --- SECTION 2: THE REAL PROBLEM --- */
.problem-section {
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.5) 0%, transparent 80%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    perspective: 1000px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    transition: all var(--transition-speed) ease;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.problem-card:hover {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.02);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.08);
}

.pain-card .card-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.problem-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.problem-transition {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.transition-arrow {
    font-size: 2.5rem;
    color: var(--secondary-color);
    animation: floatArrow 2s infinite ease-in-out;
}

@keyframes floatArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.transition-box {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--border-radius);
    padding: 24px 48px;
    display: inline-block;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(34, 197, 94, 0.05);
}

.transition-box h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #4ade80;
    margin-bottom: 6px;
}

.transition-box p {
    color: var(--text-muted);
}

/* --- SECTION 3: BUSINESS OS VISUAL (ORBIT) --- */
.business-os-section {
    overflow: hidden;
}

.orbit-outer-container {
    width: 100%;
    min-height: 500px;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.orbit-system {
    position: relative;
    width: 480px;
    height: 480px;
    display: block;
}

/* Orbit Ring 1 (Inner) */
.orbit-ring-1 {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 380px;
    height: 380px;
    border: 1px dashed rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    animation: spinSlow 30s linear infinite;
}

/* Orbit Ring 2 (Outer) */
.orbit-ring-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 480px;
    height: 480px;
    border: 1px dashed rgba(6, 182, 212, 0.15);
    border-radius: 50%;
    animation: spinSlowCounter 45s linear infinite;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.4);
}

.center-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.5;
    animation: pulseGlow 3s infinite alternate;
}

.center-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

.center-content span {
    font-size: 0.7rem;
    color: var(--secondary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Orbit Nodes Positioning */
.orbit-node {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background 0.3s ease;
}

.orbit-node::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    white-space: nowrap;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s ease;
}

.orbit-node:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    transform: scale(1.15);
}

.orbit-node:hover::after {
    color: var(--text-light);
}

/* Ring 1 nodes - 4 total */
.node-1 { top: -24px; left: 50%; margin-left: -24px; }
.node-2 { bottom: -24px; left: 50%; margin-left: -24px; }
.node-3 { left: -24px; top: 50%; margin-top: -24px; }
.node-4 { right: -24px; top: 50%; margin-top: -24px; }

/* Ring 2 nodes - 6 total */
.node-5 { top: 12%; left: 12%; }
.node-6 { top: 12%; right: 12%; }
.node-7 { bottom: 12%; left: 12%; }
.node-8 { bottom: 12%; right: 12%; }
.node-9 { left: -24px; top: 50%; margin-top: -24px; }
.node-10 { right: -24px; top: 50%; margin-top: -24px; }

/* Mobile Modules Grid (Hidden by default on Desktop) */
.mobile-modules-grid {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.mobile-module-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transition: transform 0.2s ease;
}

.mobile-module-card:active {
    transform: scale(0.97);
}

.m-icon {
    font-size: 1.5rem;
}

.m-label {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Orbit Animations */
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinSlowCounter {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulseGlow {
    from { opacity: 0.3; transform: scale(0.9); }
    to { opacity: 0.7; transform: scale(1.1); }
}

/* --- SECTION 4: FEATURES GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    perspective: 1000px;
}

.feature-card-wrapper {
    transform-style: preserve-3d;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    height: 100%;
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateZ(0px);
}

.feature-card:hover {
    border-color: var(--card-border-glow);
    background: rgba(59, 130, 246, 0.03);
    transform: translateY(-6px) translateZ(15px);
    box-shadow: 0 20px 45px rgba(6, 182, 212, 0.12);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- SECTION 5: SCREENSHOTS SHOWCASE --- */
.showcase-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.showcase-tab {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.showcase-tab.active, .showcase-tab:hover {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* MacBook Frame CSS */
.macbook-frame {
    width: 800px;
    margin: 0 auto;
    perspective: 1200px;
}

.macbook-camera {
    width: 8px;
    height: 8px;
    background: #222;
    border-radius: 50%;
    margin: 0 auto 4px auto;
}

.macbook-screen {
    width: 100%;
    aspect-ratio: 16/10;
    background: #000;
    border: 14px solid #1e293b;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.macbook-content {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.macbook-content.active {
    display: block;
    opacity: 1;
}

.macbook-base {
    width: 112%;
    height: 14px;
    background: #475569;
    border-radius: 0 0 16px 16px;
    margin-left: -6%;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.macbook-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: #1e293b;
    border-radius: 0 0 8px 8px;
}

/* MacBook Simulation Contents */
.screen-layout {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 100%;
    font-size: 0.85rem;
    background: #090d16;
}

.screen-sidebar {
    background: #04060c;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-logo {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.sb-item {
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
}

.sb-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-light);
}

.screen-main {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.screen-header h4 {
    font-weight: 600;
    font-size: 1rem;
}

.screen-header-badge {
    background: rgba(6, 182, 212, 0.15);
    color: var(--secondary-color);
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.scr-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
}

.scr-card.glow-blue { border-top: 2px solid var(--primary-color); }
.scr-card.glow-cyan { border-top: 2px solid var(--secondary-color); }
.scr-card.glow-purple { border-top: 2px solid var(--accent-purple); }

.scr-card h5 {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.scr-val {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 4px;
}

.scr-chart-placeholder {
    height: 120px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.chart-line-simulation {
    position: absolute;
    width: 90%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--secondary-color), var(--primary-color), transparent);
    animation: chartMove 3s infinite linear;
}

@keyframes chartMove {
    0% { transform: translateY(20px) scaleX(0.8); }
    50% { transform: translateY(-20px) scaleX(1.1); }
    100% { transform: translateY(20px) scaleX(0.8); }
}

.simulation-desc {
    font-size: 0.65rem;
    color: var(--text-muted);
    z-index: 2;
}

/* Custom button in simulated screens */
.scr-btn {
    background: var(--primary-color);
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    color: white;
    font-size: 0.7rem;
    cursor: pointer;
}

.scr-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.table-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    font-size: 0.7rem;
}

.table-head {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.badge-status {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    width: fit-content;
}

.badge-status.success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success-color);
}

.badge-status.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.pipeline-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    height: 150px;
}

.pipeline-col {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 8px;
}

.pipeline-col h6 {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.pipeline-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 8px;
    font-size: 0.65rem;
    margin-bottom: 6px;
}

.pipeline-card.active-card {
    border-left: 2px solid var(--secondary-color);
}

.project-board {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 6px;
}

.progress-bar-container {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    margin: 6px 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.chat-layout {
    display: grid;
    grid-template-columns: 120px 1fr;
    height: 180px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    overflow: hidden;
}

.chat-sidebar {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255,255,255,0.05);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-contact {
    font-size: 0.6rem;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
}

.chat-contact.active {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
}

.chat-window {
    display: flex;
    flex-direction: column;
}

.chat-header-name {
    font-size: 0.65rem;
    padding: 6px 12px;
    background: rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-messages {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 130px;
    overflow-y: auto;
}

.chat-msg {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    max-width: 80%;
}

.chat-msg.received {
    background: rgba(255,255,255,0.05);
    align-self: flex-start;
}

.chat-msg.sent {
    background: var(--primary-color);
    align-self: flex-end;
}

.chat-msg.system {
    background: rgba(6, 182, 212, 0.15);
    color: var(--secondary-color);
    align-self: center;
    font-style: italic;
}

.analytics-charts {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

.chart-pie-demo {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(var(--primary-color) 0% 55%, var(--success-color) 55% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-pie-demo::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: #090d16;
    border-radius: 50%;
}

.pie-labels {
    position: absolute;
    left: 110px;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.65rem;
}

/* --- SECTION 6: COMPARISON --- */
.comparison-swipe-hint {
    display: none;
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.comparison-table-wrapper {
    margin-top: 40px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 8px;
    backdrop-filter: blur(20px);
    overflow-x: auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.comparison-table th {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-light);
}

.comparison-table td {
    color: var(--text-muted);
}

.comparison-table .highlight-column {
    background: rgba(59, 130, 246, 0.05);
    color: var(--text-light);
    font-weight: 600;
    border-left: 1px solid rgba(59, 130, 246, 0.15);
    border-right: 1px solid rgba(59, 130, 246, 0.15);
}

.comparison-table tr:last-child th, .comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .focus-row {
    background: rgba(255, 255, 255, 0.01);
}

.comparison-table .focus-row td {
    font-weight: 600;
}

.table-bottom-statement {
    margin-top: 24px;
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- SECTION 7: AI AUTOMATION --- */
.ai-automation-section {
    background: radial-gradient(circle at bottom, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    perspective: 1000px;
}

.ai-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    transform-style: preserve-3d;
}

.ai-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ai-card:hover .ai-card-glow {
    opacity: 1;
}

.ai-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.1);
}

.ai-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 20px;
}

.ai-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.ai-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.sub-statement {
    margin-top: 40px;
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* --- SECTION 8: WHO IT'S FOR --- */
.who-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.who-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-speed) ease;
}

.who-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.who-emoji {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 16px;
}

.who-card h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.who-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- SECTION 9: RESULTS (COUNTERS) --- */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.result-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    backdrop-filter: blur(20px);
}

.result-card:hover {
    transform: scale(1.03);
    border-color: var(--card-border-glow);
}

.counter-val {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.result-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.result-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- SECTION 10: DEMO VIDEO --- */
.video-container-wrapper {
    max-width: 800px;
    margin: 40px auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.2);
    background: #000;
    cursor: pointer;
    position: relative;
    aspect-ratio: 16/9;
}

.video-preview-card {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.video-preview-card:hover .video-thumbnail {
    opacity: 0.55;
}

.play-btn-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.8rem;
    padding-left: 5px;
    z-index: 5;
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    animation: playPulse 2s infinite;
}

@keyframes playPulse {
    0% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 0 20px rgba(59, 130, 246, 0); }
    100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.video-overlay-text {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-light);
    font-size: 1rem;
    z-index: 5;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 50px;
}

.video-cta-box {
    margin-top: 32px;
}

/* --- SECTION 11: FAQ ACCORDION --- */
.faq-wrapper {
    max-width: 760px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    text-align: left;
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- SECTION 12: FINAL CTA --- */
.final-cta-section {
    padding-bottom: 140px;
}

.final-cta-wrapper {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, rgba(15, 23, 42, 0.9) 80%);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 80px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.15);
}

.final-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 60%);
    opacity: 0.2;
    filter: blur(80px);
    pointer-events: none;
}

.final-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.final-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.final-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.final-microcopy {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 32px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- FOOTER --- */
.footer {
    background: #01040a;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 80px 0 40px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.50fr repeat(3, 0.83fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-links a, .footer-links span {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 32px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- STICKY CONVERSION BAR (DESKTOP) --- */
.sticky-cta-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: rgba(2, 8, 23, 0.9);
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 14px 0;
    z-index: 900;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
}

.sticky-cta-bar.show {
    bottom: 0;
}

.sticky-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-info strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-light);
}

.sticky-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sticky-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sticky-micro {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* --- MOBILE FLOATING BUTTON --- */
.mobile-floating-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 890;
}

.mobile-floating-cta .btn {
    width: 100%;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4);
}

/* --- WHATSAPP FLOATING BUTTON --- */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 880;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
}

.wa-icon {
    font-size: 1.8rem;
    color: white;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: -1;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Adjust floating buttons when sticky bar is shown on desktop */
.sticky-cta-bar.show ~ .whatsapp-floating-btn {
    bottom: 90px;
}

/* --- MODALS & OVERLAYS --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 8, 23, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    position: relative;
    max-width: 600px;
    width: 90%;
    padding: 40px;
    box-shadow: 0 30px 70px rgba(59, 130, 246, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.open .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-light);
}

/* --- MULTI-STEP DEMO FORM --- */
.form-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}

.form-progress-fill {
    height: 100%;
    width: 16.66%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.4s ease;
}

.multi-step-form {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-step {
    display: none;
    animation: stepIn 0.4s ease forwards;
}

.form-step.active {
    display: block;
}

@keyframes stepIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-num {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.form-step h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-light);
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--secondary-color);
    background: rgba(6, 182, 212, 0.03);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.error-msg {
    color: var(--error-color);
    font-size: 0.85rem;
    display: none;
    margin-top: 6px;
}

.team-size-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.radio-label:hover {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
}

.radio-label input[type="radio"] {
    accent-color: var(--secondary-color);
    width: 18px;
    height: 18px;
}

.step-summary-text {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.step-summary-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.form-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
}

/* --- VIDEO LIGHTBOX MODAL --- */
.video-modal-container {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.video-iframe-wrapper {
    aspect-ratio: 16/9;
    width: 100%;
}

.video-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- EXIT INTENT POPUP --- */
.exit-intent-container {
    text-align: center;
}

.exit-badge {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    width: fit-content;
    margin: 0 auto 20px auto;
}

.exit-intent-container h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.exit-intent-container p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
}

.exit-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 0 auto;
}

.exit-actions .btn {
    width: 100%;
}

#exit-no-thanks {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
}

#exit-no-thanks:hover {
    color: var(--text-light);
}

/* --- LEAD MAGNET TOAST --- */
.lead-toast {
    position: fixed;
    bottom: -120px;
    left: 30px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--card-border);
    padding: 16px 20px;
    border-radius: 16px;
    z-index: 800;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 400px;
    transition: bottom 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-toast.show {
    bottom: 30px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-gift {
    font-size: 1.6rem;
}

.toast-text {
    font-size: 0.85rem;
    line-height: 1.4;
}

.toast-text strong {
    display: block;
}

#toast-cta-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Adjust lead toast bottom when mobile floating bar is open */
@media (max-width: 768px) {
    .lead-toast.show {
        bottom: 90px;
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* 1200px and below */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* 1024px and below (Desktop-Mid) */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-ctas, .hero-trust-row {
        justify-content: center;
    }
    
    .hero-stats-row {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .macbook-frame {
        width: 100%;
        max-width: 680px;
    }
    
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-grid, .who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px and below (Tablets) */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .nav-menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #020817;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
        transition: top 0.4s ease;
        z-index: 999;
    }
    
    .nav-menu.open {
        top: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-actions .btn {
        display: none; /* Book demo button disappears on header, moved to sticky mobile floating button */
    }
    
    .mobile-floating-cta {
        display: block;
    }
    
    .sticky-cta-bar {
        display: none !important; /* Hide desktop sticky bar on mobile */
    }
    
    /* Orbit system toggling for mobile */
    .orbit-system {
        display: none !important;
    }
    
    .mobile-modules-grid {
        display: grid;
    }
    
    .orbit-outer-container {
        min-height: auto;
        display: block;
        margin-top: 24px;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Comparison Table Horizontal swipe */
    .comparison-swipe-hint {
        display: block;
    }

    .comparison-table-wrapper {
        padding: 4px;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 12px 14px;
        font-size: 0.85rem;
        white-space: nowrap; /* Prevent awkward wrapping inside cells during swiping */
    }
    
    /* MacBook Mockup Adjustments for Mobile */
    .macbook-sidebar {
        display: none;
    }
    
    .screen-layout {
        grid-template-columns: 1fr;
    }

    .screen-main {
        padding: 12px;
    }

    .scr-val {
        font-size: 1.1rem;
    }

    .chart-pie-demo {
        width: 70px;
        height: 70px;
    }
    
    .pie-labels {
        left: 90px;
    }
}

/* 480px and below (Mobile Portrait) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .hero-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
    }
    
    .problem-grid, .features-grid, .ai-grid, .who-grid, .results-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-modules-grid {
        grid-template-columns: 1fr;
    }
    
    .final-title {
        font-size: 2rem;
    }
    
    .final-ctas {
        flex-direction: column;
    }
    
    .final-ctas .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Form Modal scale improvements */
    .modal-container {
        padding: 24px 16px;
        width: 95%;
        border-radius: 16px;
    }
    
    .form-step h3 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"] {
        padding: 12px;
        font-size: 0.95rem;
    }

    .radio-label {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
    
    /* Simulated Screens Layout Refinement */
    .screen-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pipeline-columns {
        grid-template-columns: 1fr;
        height: auto;
        gap: 8px;
    }

    .pipeline-col {
        height: auto;
    }

    .chat-layout {
        grid-template-columns: 1fr;
        height: 160px;
    }

    .chat-sidebar {
        display: none; /* Hide chat contacts sidebar to give main content full width */
    }
}
