/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Profit Pilot Store)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette - HSL Custom Properties */
    --bg-dark: 222 47% 5%;          /* #04060d */
    --bg-panel: 222 36% 9%;         /* #090e1a */
    --bg-card: 223 33% 13%;         /* #161e31 */
    --border-color: 222 25% 20%;    /* rgba(255,255,255,0.08) */
    
    --primary: 217 91% 60%;         /* #3b82f6 */
    --primary-glow: 217 91% 60% / 0.4;
    --accent: 188 86% 53%;          /* #06b6d4 */
    --accent-glow: 188 86% 53% / 0.4;
    --success: 160 84% 39%;         /* #10b981 */
    --success-glow: 160 84% 39% / 0.3;
    --warning: 38 92% 50%;          /* #f59e0b */
    --error: 350 89% 60%;           /* #ef4444 */
    
    --text-primary: 210 40% 98%;    /* #f8fafc */
    --text-secondary: 215 25% 72%;  /* #94a3b8 */
    --text-muted: 215 16% 47%;      /* #64748b */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout Tokens */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: hsl(var(--bg-dark));
}

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

/* Background Glowing Accents */
body::before, body::after {
    content: '';
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -10;
    pointer-events: none;
    opacity: 0.25;
}

body::before {
    background: radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%);
    top: -10vw;
    right: -10vw;
}

body::after {
    background: radial-gradient(circle, hsl(var(--accent)) 0%, transparent 70%);
    bottom: 20vw;
    left: -10vw;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

button, input, select, textarea {
    font-family: inherit;
    outline: none;
    border: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--bg-dark));
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--border-color));
    border-radius: 5px;
    border: 2px solid hsl(var(--bg-dark));
}
::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--text-muted));
}

/* ==========================================================================
   SHARED DESIGN LAYOUT SYSTEM
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

/* Glassmorphic Panels */
.glass-panel {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-bounce);
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    color: hsl(var(--text-primary));
    box-shadow: 0 4px 20px hsl(var(--primary-glow));
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px hsl(var(--primary-glow)), 0 0 15px rgba(6, 182, 212, 0.3);
}

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

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

.btn-success {
    background: hsl(var(--success));
    color: hsl(var(--text-primary));
    box-shadow: 0 4px 20px hsl(var(--success-glow));
}

.btn-success:hover {
    background: #0ea5e9;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.3);
    transform: translateY(-3px);
}

/* Gradients and Typography Accents */
.text-gradient {
    background: linear-gradient(135deg, hsl(var(--text-primary)) 30%, hsl(var(--text-secondary)) 60%, hsl(var(--accent)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(var(--primary)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.1);
    color: hsl(var(--accent));
    border: 1px solid rgba(6, 182, 212, 0.2);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(4, 6, 13, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(4, 6, 13, 0.85);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar.scrolled .container {
    height: 70px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: hsl(var(--text-secondary));
    padding: 0.5rem 0;
    position: relative;
    cursor: pointer;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    transition: var(--transition-smooth);
}

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

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

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: hsl(var(--text-primary));
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Responsive Nav Layout */
@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(9, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
}

/* ==========================================================================
   PAGES SYSTEM & TABS SWITCHING
   ========================================================================== */
.page-view {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    padding-top: 120px;
    padding-bottom: 80px;
}

.page-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Specific Home Section margins */
#page-home {
    padding-top: 0;
    padding-bottom: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content h1 {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.15rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

/* Performance Metrics Ticker */
.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--text-primary));
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.stat-item p {
    font-size: 0.85rem;
    color: hsl(var(--text-secondary));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* Hero Asset Graphic */
.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-img {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.03);
}

/* Floating overlay cards */
.floating-card {
    position: absolute;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 10;
}

.fc-1 {
    bottom: -20px;
    left: -30px;
    background: rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.fc-2 {
    top: -20px;
    right: -20px;
    background: rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.fc-label {
    font-size: 0.75rem;
    color: hsl(var(--text-secondary));
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fc-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: hsl(var(--text-primary));
}

.fc-value.profit {
    color: hsl(var(--success));
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .fc-1 { left: -10px; }
    .fc-2 { right: -10px; }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}

/* ==========================================================================
   PARTNERSHIP TRUST TICKER / BANNER
   ========================================================================== */
.trust-banner {
    padding: 3rem 0;
    background: rgba(9, 14, 26, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.trust-ticker {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--text-secondary));
    font-weight: 500;
}

.ticker-item i {
    color: hsl(var(--success));
}

/* ==========================================================================
   INTERACTIVE CALCULATOR SECTION
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: hsl(var(--text-secondary));
}

.calculator-card {
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.input-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: hsl(var(--text-primary));
}

.input-val-bubble {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: hsl(var(--accent));
    background: rgba(6, 182, 212, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

/* Custom Range Input */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

/* Track styles */
input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

input[type=range]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: hsl(var(--accent));
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
    box-shadow: 0 0 10px hsl(var(--accent-glow));
    transition: var(--transition-bounce);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: hsl(var(--text-primary));
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Firefox track styles */
input[type=range]::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: hsl(var(--accent));
    cursor: pointer;
    box-shadow: 0 0 10px hsl(var(--accent-glow));
    transition: var(--transition-bounce);
}

/* Calculator Results Display */
.calc-results {
    background: rgba(4, 6, 13, 0.5);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.calc-results::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, hsl(var(--success-glow)) 0%, transparent 70%);
    bottom: -20px;
    right: -20px;
    border-radius: 50%;
    z-index: 0;
}

.calc-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: hsl(var(--text-secondary));
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 0.75rem;
}

.breakdown-row.highlight {
    color: hsl(var(--text-primary));
    font-weight: 600;
}

.breakdown-row span:last-child {
    font-family: var(--font-heading);
    font-weight: 600;
}

.calc-share {
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.share-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: hsl(var(--success));
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.share-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
    color: hsl(var(--text-primary));
}

@media (max-width: 991px) {
    .calculator-card {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem;
    }
}

/* ==========================================================================
   HOW IT WORKS SECTION
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, hsl(var(--primary)) 0%, hsl(var(--accent)) 50%, rgba(255,255,255,0.05) 100%);
}

.timeline-step {
    position: relative;
    margin-bottom: 4rem;
}

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

.timeline-dot {
    position: absolute;
    top: 5px;
    left: -48px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: hsl(var(--bg-panel));
    border: 3px solid hsl(var(--primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: hsl(var(--text-primary));
    font-size: 0.85rem;
    box-shadow: 0 0 15px hsl(var(--primary-glow));
    transition: var(--transition-smooth);
    z-index: 10;
}

.timeline-step:nth-child(even) .timeline-dot {
    border-color: hsl(var(--accent));
    box-shadow: 0 0 15px hsl(var(--accent-glow));
}

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

.timeline-panel {
    padding: 2rem;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255,255,255,0.04);
}

.timeline-step:hover .timeline-panel {
    border-color: rgba(255,255,255,0.1);
}

.timeline-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.timeline-title span {
    font-size: 0.85rem;
    padding: 0.15rem 0.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    color: hsl(var(--text-secondary));
}

.timeline-desc {
    color: hsl(var(--text-secondary));
}

.timeline-guarantee {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-guarantee i {
    color: hsl(var(--success));
    font-size: 1.25rem;
    margin-top: 2px;
}

.timeline-guarantee-text {
    font-size: 0.9rem;
    color: hsl(var(--text-primary));
    font-weight: 500;
}

/* ==========================================================================
   E-COMMERCE PROOF GRID
   ========================================================================== */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.proof-card {
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    display: flex;
    flex-direction: column;
}

.proof-img-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.proof-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.proof-card:hover .proof-img {
    transform: scale(1.05);
}

.proof-overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 14, 26, 0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.proof-overlay-hover i {
    font-size: 2rem;
    color: hsl(var(--text-primary));
    transform: scale(0.8);
    transition: var(--transition-bounce);
}

.proof-card:hover .proof-overlay-hover {
    opacity: 1;
}

.proof-card:hover .proof-overlay-hover i {
    transform: scale(1);
}

.proof-info {
    padding: 1.5rem 2rem 2rem;
    background: rgba(15, 23, 42, 0.2);
    flex-grow: 1;
}

.proof-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: hsl(var(--accent));
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.proof-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.proof-desc {
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 1.5rem;
}

.proof-key-stats {
    display: flex;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 1rem;
}

.proof-stat-item h5 {
    font-size: 1.15rem;
    font-weight: 700;
    color: hsl(var(--success));
}

.proof-stat-item p {
    font-size: 0.75rem;
    color: hsl(var(--text-muted));
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0;
}

/* ==========================================================================
   IMAGE LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 13, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.open .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    display: block;
}

.lightbox-caption {
    background: hsl(var(--bg-panel));
    padding: 1.5rem 2rem;
}

.lightbox-caption h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.lightbox-caption p {
    font-size: 0.9rem;
    color: hsl(var(--text-secondary));
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: hsl(var(--text-primary));
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.lightbox-close:hover {
    background: hsl(var(--error));
    border-color: transparent;
    transform: rotate(90deg);
}

/* ==========================================================================
   FEATURES / SERVICES SECTION
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    transition: var(--transition-smooth);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: hsl(var(--accent));
    margin-bottom: 2rem;
    transition: var(--transition-bounce);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: hsl(var(--primary));
    color: hsl(var(--text-primary));
    box-shadow: 0 0 15px hsl(var(--primary-glow));
}

.feature-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: hsl(var(--text-secondary));
}

/* ==========================================================================
   FAQ ACCORDION SECTION
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(15, 23, 42, 0.25);
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    font-size: 0.85rem;
    color: hsl(var(--text-secondary));
    transition: var(--transition-smooth);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    color: hsl(var(--text-secondary));
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.45);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: hsl(var(--accent));
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 200px; /* arbitrary height to slide down */
}

/* ==========================================================================
   ONBOARDING APPLICATION PORTAL (Multi-Step Form)
   ========================================================================== */
.onboarding-card {
    max-width: 760px;
    margin: 4rem auto 0;
    padding: 3.5rem;
}

@media (max-width: 576px) {
    .onboarding-card {
        padding: 2rem 1.5rem;
    }
}

/* Form Step Tracker */
.steps-tracker {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    position: relative;
}

.steps-tracker::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.06);
    z-index: 1;
}

.tracker-progress-bar {
    position: absolute;
    top: 20px;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
    z-index: 2;
    transition: width 0.4s ease;
}

.tracker-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 3;
    width: 70px;
}

.node-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: hsl(var(--bg-panel));
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: hsl(var(--text-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition-bounce);
}

.tracker-node.active .node-circle {
    border-color: hsl(var(--accent));
    color: hsl(var(--text-primary));
    box-shadow: 0 0 15px hsl(var(--accent-glow));
    transform: scale(1.1);
}

.tracker-node.completed .node-circle {
    background: hsl(var(--primary));
    border-color: hsl(var(--primary));
    color: hsl(var(--text-primary));
}

.node-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: hsl(var(--text-muted));
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: center;
    white-space: nowrap;
}

.tracker-node.active .node-label {
    color: hsl(var(--text-primary));
}

.tracker-node.completed .node-label {
    color: hsl(var(--text-secondary));
}

/* Steps Content Views */
.form-step-view {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-step-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-header {
    margin-bottom: 2.5rem;
}

.step-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-header p {
    color: hsl(var(--text-secondary));
    font-size: 0.95rem;
}

/* Custom Input Controls */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group.col-span-2 {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .form-group.col-span-2 {
        grid-column: span 1;
    }
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: hsl(var(--text-primary));
}

.form-control {
    background: rgba(4, 6, 13, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    color: hsl(var(--text-primary));
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-control:focus {
    border-color: hsl(var(--primary));
    background: rgba(4, 6, 13, 0.7);
    box-shadow: 0 0 10px hsl(var(--primary-glow));
}

/* Custom Select Dropdowns */
select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.25rem;
}

/* Error validation styling */
.form-group.has-error .form-control {
    border-color: hsl(var(--error));
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.error-text {
    font-size: 0.8rem;
    color: hsl(var(--error));
    display: none;
}

.form-group.has-error .error-text {
    display: block;
}

/* Custom radio grid cards */
.radio-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.radio-card {
    position: relative;
    background: rgba(4, 6, 13, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.radio-card input[type=radio] {
    position: absolute;
    opacity: 0;
}

.radio-card i {
    font-size: 1.5rem;
    color: hsl(var(--text-muted));
    margin-bottom: 0.25rem;
}

.radio-card-title {
    font-weight: 700;
    font-size: 1rem;
}

.radio-card-desc {
    font-size: 0.8rem;
    color: hsl(var(--text-secondary));
}

.radio-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(4, 6, 13, 0.5);
}

.radio-card.selected {
    border-color: hsl(var(--accent));
    background: rgba(6, 182, 212, 0.05);
}

.radio-card.selected i {
    color: hsl(var(--accent));
}

/* Form Nav Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 3rem;
    padding-top: 2rem;
}

/* Success View state */
.form-success-state {
    text-align: center;
    padding: 2rem 0;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid hsl(var(--success));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: hsl(var(--success));
    margin: 0 auto 2rem;
    box-shadow: 0 0 20px hsl(var(--success-glow));
    animation: scalePulse 2s infinite alternate;
}

.form-success-state h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.form-success-state p {
    color: hsl(var(--text-secondary));
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.success-calendar-cta {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 2rem;
    max-width: 580px;
    margin: 0 auto;
}

.success-calendar-cta h4 {
    margin-bottom: 0.5rem;
}

.success-calendar-cta p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

@keyframes scalePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: rgba(4, 6, 13, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 5rem 0 2.5rem;
    margin-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-brand p {
    color: hsl(var(--text-secondary));
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--text-secondary));
    transition: var(--transition-bounce);
}

.social-link:hover {
    background: hsl(var(--primary));
    color: hsl(var(--text-primary));
    transform: translateY(-3px);
    box-shadow: 0 0 10px hsl(var(--primary-glow));
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
}

.footer-legal-links a:hover {
    color: hsl(var(--text-secondary));
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   CUSTOM LIVE STATUS INDICATOR
   ========================================================================== */
.live-status-bar {
    background: rgba(16, 185, 129, 0.05);
    border-bottom: 1px solid rgba(16, 185, 129, 0.12);
    position: relative;
    z-index: 50;
}

.blinking-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #10b981;
    animation: blink-animation 1.5s infinite ease-in-out;
}

@keyframes blink-animation {
    0% { opacity: 0.35; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 12px #10b981; }
    100% { opacity: 0.35; transform: scale(0.9); }
}

.trust-item-green {
    color: #10b981 !important;
}

/* ==========================================================================
   WHATSAPP FLOATING CHAT WIDGET
   ========================================================================== */
.whatsapp-chat-bubble {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    cursor: pointer;
    transition: var(--transition-bounce);
    text-decoration: none;
}

.whatsapp-chat-bubble:hover {
    transform: scale(1.1) translateY(-3px);
    background-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-chat-bubble .chat-tooltip {
    position: absolute;
    right: 75px;
    background: hsl(var(--bg-panel));
    border: 1px solid rgba(255,255,255,0.06);
    color: hsl(var(--text-primary));
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.whatsapp-chat-bubble:hover .chat-tooltip {
    opacity: 1;
}

/* Responsive adjustments for chat bubble */
@media (max-width: 576px) {
    .whatsapp-chat-bubble {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* Mobile Quick Apply Display */
@media (max-width: 768px) {
    .btn-mobile-apply {
        display: inline-flex !important;
    }
}

