/* ==========================================================================
   Design System & Premium Theme Variables (Stripe / Vercel Inspired)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-dark-primary: #030712;      /* Ultra deep graphite black */
    --bg-dark-secondary: #080f25;    /* Very subtle deep navy tint */
    --bg-card: rgba(10, 15, 30, 0.45);
    --bg-card-hover: rgba(15, 23, 42, 0.6);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-blue: #3b82f6;
    --accent-blue-rgb: 59, 130, 246;
    --accent-cyan: #06b6d4;
    --accent-cyan-rgb: 6, 182, 212;
    --accent-purple: #8b5cf6;
    --accent-purple-rgb: 139, 92, 246;
    --accent-green: #10b981;
    --accent-green-rgb: 16, 185, 129;
    --accent-whatsapp: #25d366;
    
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-glass-bright: rgba(255, 255, 255, 0.1);
    --border-glow-blue: rgba(59, 130, 246, 0.2);
    
    /* Typography */
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    --shadow-glow-blue: 0 0 35px rgba(59, 130, 246, 0.18);
    --shadow-glow-purple: 0 0 35px rgba(139, 92, 246, 0.15);
    --shadow-glow-cyan: 0 0 35px rgba(6, 182, 212, 0.15);
    --shadow-glow-green: 0 0 35px rgba(16, 185, 129, 0.15);
    
    --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-dark-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Background Ambient Glowing Orbs
   ========================================================================== */
.glow-bg {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: var(--radius-full);
    pointer-events: none;
    z-index: -1;
    filter: blur(160px);
    opacity: 0.65;
}

.glow-1 {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

.glow-2 {
    top: 35%;
    right: -250px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.glow-3 {
    bottom: -150px;
    left: -250px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
}

/* ==========================================================================
   Layout Grid & Container Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 860px;
}

.grid {
    display: grid;
}

.grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4-cols {
    grid-template-columns: repeat(4, 1fr);
}

.gap-8 {
    gap: 32px;
}

.gap-12 {
    gap: 48px;
}

.section-padding {
    padding: 120px 0;
}

.bg-dark-secondary {
    background-color: var(--bg-dark-secondary);
    background-image: radial-gradient(at 0% 0%, rgba(139, 92, 246, 0.03) 0, transparent 50%), 
                      radial-gradient(at 50% 0%, rgba(6, 182, 212, 0.02) 0, transparent 50%);
}

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

.text-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text {
    background: linear-gradient(135deg, #f8fafc 10%, #a855f7 60%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--accent-cyan);
    font-weight: 700;
}

.text-green { color: var(--accent-green); }
.text-blue { color: var(--accent-blue); }
.text-cyan { color: var(--accent-cyan); }
.text-purple { color: var(--accent-purple); }
.text-red { color: #f87171; }
.text-muted { color: var(--text-muted); }

.bg-green-opacity { background-color: rgba(16, 185, 129, 0.1); }
.bg-blue-opacity { background-color: rgba(59, 130, 246, 0.1); }
.bg-cyan-opacity { background-color: rgba(6, 182, 212, 0.1); }
.bg-purple-opacity { background-color: rgba(139, 92, 246, 0.1); }

.w-full { width: 100%; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-12 { margin-top: 48px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-family: var(--font-body);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    letter-spacing: -0.2px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background: var(--accent-whatsapp);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #20ba56;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass-bright);
}

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

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass-bright);
}

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

.btn-block {
    display: flex;
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.2px;
}

.inline-icon {
    width: 18px;
    height: 18px;
    vertical-align: text-bottom;
    margin-right: 4px;
}

/* ==========================================================================
   Header / Sticky Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 7, 18, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    transition: all var(--transition-smooth);
}

.header-scrolled {
    padding: 6px 0;
    background: rgba(3, 7, 18, 0.75);
    border-bottom-color: rgba(255,255,255,0.08);
}

.navbar {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.header-scrolled .navbar {
    height: 68px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-accent {
    color: var(--accent-blue);
}

.logo-sub {
    background: linear-gradient(135deg, #a855f7 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width var(--transition-fast);
}

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

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-primary);
}

/* Mobile Menu Panel */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index: 101;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #060a15;
    border-left: 1px solid var(--border-glass);
    z-index: 102;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: right var(--transition-smooth) cubic-bezier(0.16, 1, 0.3, 1);
}

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

.mobile-menu-open .mobile-menu-panel {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mobile-nav-link:hover {
    color: var(--text-primary);
    padding-left: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 200px 0 110px 0;
    position: relative;
}

.hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 64px;
}

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background-color: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-blue);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.6;
}

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

.hero-trust {
    display: flex;
    gap: 36px;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
    max-width: 500px;
}

/* ==========================================================================
   Hero Visual & Mockup Dashboard
   ========================================================================== */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Mockup browser frame */
.dashboard-mockup {
    width: 100%;
    max-width: 440px;
    background: #0b0f19;
    border: 1px solid var(--border-glass-bright);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium), 0 30px 60px rgba(0,0,0,0.6);
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
}

.mockup-header {
    height: 40px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    padding: 0 16px;
    justify-content: space-between;
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
}

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

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

.mockup-body {
    padding: 24px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.dashboard-user-photo {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border-glass-bright);
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    background-color: var(--bg-dark-secondary);
}

.dashboard-user-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.user-info {
    text-align: center;
    margin-top: 16px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 16px;
    width: 100%;
}

.user-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

.user-info p {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Dashboard live chart area */
.dashboard-performance {
    width: 100%;
    margin-top: 20px;
}

.performance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.perf-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.perf-status {
    font-size: 0.75rem;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* SVG Chart lines styling */
.svg-chart-container {
    width: 100%;
    height: 120px;
}

.chart-line-bg {
    stroke: rgba(59, 130, 246, 0.08);
    stroke-width: 1.5;
}

.chart-line-accent {
    stroke: url(#cyan-blue-grad);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-chart 3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.chart-grid-line {
    stroke: rgba(255,255,255,0.03);
    stroke-width: 1;
}

/* Floating Metrics widget around hero visual */
.dashboard-widget {
    position: absolute;
    z-index: 3;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: var(--radius-md);
    background: rgba(10, 15, 30, 0.85);
    border: 1px solid var(--border-glass-bright);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: float 5s ease-in-out infinite;
}

.widget-lead {
    top: 15%;
    left: -60px;
    animation-delay: 0s;
}

.widget-roas {
    bottom: 20%;
    right: -60px;
    animation-delay: 2s;
}

.widget-metrics-circle {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget-metrics-info {
    display: flex;
    flex-direction: column;
}

.widget-metrics-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-metrics-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
}

/* ==========================================================================
   Partners Trust Bar Section
   ========================================================================== */
.partners-section {
    background: rgba(3, 7, 18, 0.5);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 40px 0;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 32px;
}

.partner-logo-svg {
    height: 32px;
    opacity: 0.45;
    transition: opacity var(--transition-fast);
}

.partner-logo-svg:hover {
    opacity: 0.95;
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-bar-section {
    background: rgba(8, 15, 37, 0.3);
    border-bottom: 1px solid var(--border-glass);
    padding: 60px 0;
}

.stat-card {
    text-align: center;
    border-right: 1px solid var(--border-glass);
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    letter-spacing: -1px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    max-width: 760px;
    margin: 0 auto 64px auto;
}

.section-tagline {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 14px;
}

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ==========================================================================
   Glassmorphic Card Premium Border Effect
   ========================================================================== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Subtle gradient border trick using pseudo-elements */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.glass-card:hover {
    border-color: rgba(255,255,255,0.1);
    background-color: var(--bg-card-hover);
}

/* ==========================================================================
   Problem vs Solution
   ========================================================================== */
.problem-card {
    border: 1px solid rgba(239, 68, 68, 0.1);
}

.problem-card:hover {
    border-color: rgba(239, 68, 68, 0.25);
    box-shadow: 0 0 35px rgba(239, 68, 68, 0.05);
}

.solution-card {
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.solution-card:hover {
    border-color: rgba(16, 185, 129, 0.25);
    box-shadow: var(--shadow-glow-green);
    transform: translateY(-2px);
}

.card-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 28px;
    font-family: var(--font-heading);
}

.status-danger { color: #ef4444; }
.status-success { color: var(--accent-green); }

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.problem-list li {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.problem-list li i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.problem-list li strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 4px;
}

/* ==========================================================================
   Cases & Results Section (Dashboard Case Cards)
   ========================================================================== */
.case-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-premium);
}

.case-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--accent-blue);
}

.case-card:nth-child(2) .case-tag { color: var(--accent-cyan); }
.case-card:nth-child(3) .case-tag { color: var(--accent-purple); }

.case-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.case-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Chart block inside case card */
.case-chart-container {
    background: rgba(3, 7, 18, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
    position: relative;
}

.case-chart-svg {
    width: 100%;
    height: 80px;
}

.case-chart-line {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

.active-scroll .case-chart-line {
    animation: draw-chart 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.case-chart-blue { stroke: var(--accent-blue); }
.case-chart-cyan { stroke: var(--accent-cyan); }
.case-chart-purple { stroke: var(--accent-purple); }

.case-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}

.case-metric-box {
    display: flex;
    flex-direction: column;
}

.case-metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.case-metric-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.service-card {
    padding: 44px 36px;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.1);
}

.service-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}

.service-icon-wrapper i {
    width: 24px;
    height: 24px;
    stroke-width: 2.2px;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.5;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid var(--border-glass);
    padding-top: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.service-features li i {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   ROI Calculator Section (Refined Financial Look)
   ========================================================================== */
.calculator-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
}

.calculator-inputs {
    padding: 56px;
}

.calculator-subtitle {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 36px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.calculator-subtitle i {
    color: var(--accent-blue);
    width: 22px;
    height: 22px;
}

.input-group {
    margin-bottom: 36px;
}

.input-group:last-of-type {
    margin-bottom: 0;
}

.input-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.input-labels label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.range-display-val {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

/* Sliders */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background: #fff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border: 2px solid var(--accent-blue);
    transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-roas::-webkit-slider-thumb {
    border-color: var(--accent-green);
}

.range-min-max {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 8px;
}

/* Results Box */
.calculator-results {
    background: rgba(8, 14, 32, 0.7);
    border-left: 1px solid var(--border-glass);
    padding: 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calculator-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.calculator-results-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.badge-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent-blue);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.result-metrics {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 40px;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-glass);
}

.metric-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.metric-value {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

#res-revenue {
    font-size: 1.85rem;
    font-weight: 800;
}

/* ROAS dynamic tag styling */
.calculator-roas-status-box {
    margin-top: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid transparent;
}

.status-box-neutral {
    background: rgba(255,255,255,0.02);
    color: var(--text-secondary);
    border-color: var(--border-glass);
}

.status-box-good {
    background: rgba(59, 130, 246, 0.05);
    color: var(--accent-blue);
    border-color: rgba(59, 130, 246, 0.15);
}

.status-box-excellent {
    background: rgba(16, 185, 129, 0.05);
    color: var(--accent-green);
    border-color: rgba(16, 185, 129, 0.15);
}

.calc-cta-box {
    margin-top: 24px;
}

.calc-cta-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 16px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 64px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-img-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass-bright);
    overflow: hidden;
    box-shadow: var(--shadow-premium), 0 20px 40px rgba(0,0,0,0.5);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid var(--border-glass-bright);
}

.about-badge-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.about-badge-desc {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pillar-item {
    display: flex;
    gap: 16px;
}

.pillar-icon-box {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.pillar-icon-box i {
    width: 20px;
    height: 20px;
}

.pillar-info h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.pillar-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Process Timeline (Sleek Dot Style)
   ========================================================================== */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 48px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 17px;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple), var(--accent-cyan), var(--accent-green));
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    top: 4px;
    left: -48px;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: var(--bg-dark-primary);
    border: 2px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    z-index: 2;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
    transition: all var(--transition-fast);
}

.timeline-item:nth-child(2) .timeline-number { border-color: var(--accent-purple); }
.timeline-item:nth-child(3) .timeline-number { border-color: var(--accent-cyan); }
.timeline-item:nth-child(4) .timeline-number { border-color: var(--accent-green); }

.timeline-content {
    padding: 32px;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.15);
    background: var(--text-primary);
    color: var(--bg-dark-primary);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: transform var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth) cubic-bezier(0, 1, 0, 1);
}

.faq-content-inner {
    padding: 0 24px 24px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

/* Open State */
.faq-item-open {
    border-color: rgba(255,255,255,0.08);
}

.faq-item-open .faq-trigger {
    color: var(--accent-blue);
}

.faq-item-open .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-blue);
}

.faq-item-open .faq-content {
    max-height: 1000px;
    transition: max-height var(--transition-smooth) cubic-bezier(1, 0, 1, 0);
}

.faq-item-open .faq-content-inner {
    border-color: var(--border-glass);
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
.final-cta-section {
    padding-bottom: 120px;
}

.cta-card {
    padding: 70px 56px;
    border-radius: var(--radius-lg);
    background-image: radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.06) 0, transparent 40%),
                      radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.05) 0, transparent 40%);
}

.cta-card-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-card-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
    background: #020408;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px 0;
}

.footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 64px;
    margin-bottom: 60px;
}

.footer-info .logo {
    display: inline-block;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 340px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-primary);
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 40px;
}

.legal-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

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

@keyframes draw-chart {
    to {
        stroke-dashoffset: 0;
    }
}

.animate-fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .hero-grid { gap: 32px; }
    .calculator-container { grid-template-columns: 1fr; }
    .calculator-results { border-left: none; border-top: 1px solid var(--border-glass); padding: 48px; }
    .about-grid { gap: 40px; }
    .footer-grid { grid-template-columns: 1.2fr 1fr; gap: 40px; }
    .footer-contact { grid-column: span 2; }
}

@media (max-width: 768px) {
    .section-padding { padding: 70px 0; }
    .nav-menu, .nav-cta { display: none; }
    .mobile-menu-toggle { display: block; font-size: 1.5rem; }
    
    /* Hero adjustments */
    .hero-section { padding: 130px 0 60px 0; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { margin-left: auto; margin-right: auto; max-width: 100%; font-size: 1.05rem; }
    .hero-ctas { justify-content: center; }
    .hero-trust { justify-content: center; flex-direction: column; gap: 16px; margin-left: auto; margin-right: auto; }
    .hero-visual { margin-top: 10px; }
    .dashboard-mockup { margin-left: auto; margin-right: auto; max-width: 380px; }
    
    /* Partners adjustments */
    .partners-grid { gap: 20px; justify-content: center; }
    .partner-logo-svg { height: 26px; width: 120px; }
    
    /* Grid system on tablet */
    .grid-4-cols { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .grid-3-cols { grid-template-columns: 1fr; }
    .grid-2-cols { grid-template-columns: 1fr; }
    
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-visual { order: 2; }
    .about-pillars { text-align: left; }
    .cta-card { padding: 48px 32px; }
    .cta-card-title { font-size: 1.85rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-contact { grid-column: span 1; }
    .stat-card { border-right: none; border-bottom: 1px solid var(--border-glass); padding-bottom: 16px; }
    .stat-card:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
    html { font-size: 15px; }
    
    /* Hero adjustments for small screens */
    .hero-section { padding: 110px 0 50px 0; }
    .hero-title { font-size: 2.0rem; letter-spacing: -1px; }
    .hero-subtitle { font-size: 1rem; }
    .hero-ctas { flex-direction: column; width: 100%; gap: 12px; }
    .btn { width: 100%; }
    
    .dashboard-mockup { max-width: 100%; }
    .dashboard-widget { display: none; } /* Hide floating items on small mobile */
    .dashboard-user-photo { width: 110px; height: 110px; }
    .svg-chart-container { height: 100px; }
    
    .grid-4-cols { grid-template-columns: 1fr; }
    .calculator-inputs, .calculator-results { padding: 24px; }
    .faq-trigger { font-size: 1rem; padding: 20px; }
    .faq-content-inner { padding: 0 20px 20px 20px; }
}
