/* style.css - Premium Design System for Poxmas POS Landing */

/* -------------------------------------------------------------
   0. Import Premium Typography from Google Fonts
------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* -------------------------------------------------------------
   1. Design System Tokens & Custom Properties
------------------------------------------------------------- */
:root {
    /* Color Palette (HSL Tailored for Premium White, Gray and Orange) */
    --bg-base: 210 20% 98%;         /* Premium light slate-gray background (#f8fafc) */
    --bg-surface: 0 0% 100%;        /* Pure white for cards (#ffffff) */
    --bg-header: 0 0% 100%;         /* Translucent white header */
    
    --primary: 16 93% 53%;          /* Vibrant tech orange (#f97316) */
    --primary-hover: 16 93% 46%;    /* Rich corporate orange (#ea580c) */
    --primary-glow: 16 93% 53% / 0.15;
    
    --accent: 215 25% 27%;          /* Deep Slate Gray contrast (#334155) */
    --accent-hover: 215 25% 20%;
    --accent-glow: 215 25% 27% / 0.12;

    --violet: 20 90% 60%;           /* Warm orange-coral gradient shade (#ff8c3a) */
    --violet-hover: 20 90% 52%;

    /* Typography & Text */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --text-primary: 222 47% 11%;    /* Dark slate charcoal for great contrast (#0f172a) */
    --text-secondary: 215 25% 35%;  /* Medium cool slate (#475569) */
    --text-muted: 215 16% 57%;      /* Muted gray (#94a3b8) */

    /* Glassmorphism Variables (Light theme optimized) */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-hover: rgba(0, 0, 0, 0.12);
    --glass-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.05);
    
    /* Layout & Utilities */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease-out;
}

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

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

body {
    background-color: hsl(var(--bg-base));
    color: hsl(var(--text-primary));
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

button, input, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

/* -------------------------------------------------------------
   3. Decorative Tech Orbs (Premium Background)
------------------------------------------------------------- */
.bg-gradient-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15; /* Softened for premium light theme readability */
}

.orb-1 {
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%);
}

.orb-2 {
    top: 600px;
    left: -200px;
    background: radial-gradient(circle, hsl(var(--violet)) 0%, transparent 70%);
}

.orb-3 {
    bottom: 200px;
    right: -150px;
    background: radial-gradient(circle, hsl(var(--accent)) 0%, transparent 70%);
}

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

.small-container {
    max-width: 800px;
}

/* -------------------------------------------------------------
   5. Button & Badge Styles
------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--violet)) 100%);
    color: #fff;
    box-shadow: 0 10px 20px -5px hsl(var(--primary-glow));
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px hsl(var(--primary-glow));
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    background-color: rgba(255, 255, 255, 0.03);
    color: hsl(var(--text-primary));
    backdrop-filter: blur(4px);
}

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

.btn-outline:active {
    transform: translateY(0);
}

/* Promo Badge */
.badge-container {
    margin-bottom: 24px;
}

.promo-badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: hsl(var(--accent));
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.05);
}

/* -------------------------------------------------------------
   6. Glassmorphism Utilities
------------------------------------------------------------- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 25px 50px -20px rgba(0, 0, 0, 0.6);
}

/* -------------------------------------------------------------
   7. Main Navigation Header
------------------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85); /* Light glassmorphic navigation */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

/* Brand Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.logo-pox {
    color: #334155; /* Slate Gray */
}

.logo-mas {
    color: hsl(var(--primary)); /* Vibrant Orange */
}

.logo-pos {
    color: #64748b; /* Lighter Slate Gray */
    font-weight: 500;
}



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

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

.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);
    border-radius: var(--radius-pill);
}

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

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

/* Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-nav-cta {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

/* Language & Region Switcher Capsule Group */
.lang-selector, .region-selector {
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-pill);
    padding: 4px 8px;
    gap: 6px;
}

.lang-btn, .region-btn {
    font-size: 0.8rem;
    font-weight: 700;
    color: hsl(var(--text-secondary));
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
}

.lang-btn:hover, .region-btn:hover {
    color: hsl(var(--text-primary));
}

.lang-btn.active, .region-btn.active {
    background-color: hsl(var(--primary));
    color: #fff;
    box-shadow: 0 4px 10px hsla(var(--primary) / 0.2);
}

.lang-divider, .region-divider {
    color: rgba(0, 0, 0, 0.15);
    font-size: 0.75rem;
    user-select: none;
}

/* Mobile Toggle Hamburger button */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1100;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: hsl(var(--text-primary));
    border-radius: 2px;
    transition: var(--transition);
}

/* -------------------------------------------------------------
   8. Section Headers
------------------------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

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

.section-title.text-left {
    text-align: left;
}

.section-description {
    font-size: 1.1rem;
    color: hsl(var(--text-secondary));
    line-height: 1.5;
}

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

/* -------------------------------------------------------------
   9. Hero Section
------------------------------------------------------------- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.hero-subtitle {
    font-size: 1.2rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 36px;
    max-width: 580px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 32px;
    width: 100%;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem; /* Made larger for superior visibility */
    font-weight: 900; /* Extra bold for outstanding impact */
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%); /* Brand orange-to-gray contrast gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
    font-weight: 500;
}

/* Hero POS Dashboard Mockup Style */
.hero-mockup-wrapper {
    perspective: 1200px;
    position: relative;
}

.mockup-card {
    transform: rotateY(-15deg) rotateX(10deg) rotateZ(1deg);
    transition: var(--transition);
    transform-style: preserve-3d;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.15),
                0 0 50px -10px hsl(var(--primary-glow));
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.mockup-card:hover {
    transform: rotateY(-5deg) rotateX(5deg) rotateZ(0deg);
}

/* Header UI window bar */
.mockup-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background-color: rgba(241, 245, 249, 0.6);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.window-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

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

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

.mockup-address-bar {
    flex-grow: 1;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 6px;
    font-size: 0.75rem;
    color: hsl(var(--text-muted));
    padding: 4px 12px;
    max-width: 400px;
    margin: 0 auto;
}

/* Body UI of Mockup */
.mockup-body-img-wrapper {
    overflow: hidden;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    background-color: hsl(var(--bg-surface));
}

.mockup-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* -------------------------------------------------------------
   10. Features Section
------------------------------------------------------------- */
.features-section {
    padding: 100px 0;
    position: relative;
}

/* Showcase Grid layout */
.modules-showcase {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    margin-top: 56px;
    align-items: start;
}

/* Tabs Menu (Left list) */
.modules-tabs-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tab-menu-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.tab-menu-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    transform: translateX(6px);
}

.tab-menu-btn.active {
    background: #ffffff;
    border-color: hsl(var(--primary));
    box-shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.08),
                0 0 20px -5px hsl(var(--primary-glow));
    transform: translateX(10px);
}

.tab-btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.tab-btn-icon svg {
    width: 22px;
    height: 22px;
}

/* Distinctive color group icons in tabs */
.tab-btn-icon.color-orange {
    background-color: rgba(249, 115, 22, 0.1);
    color: hsl(var(--primary));
}
.tab-btn-icon.color-teal {
    background-color: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}
.tab-btn-icon.color-purple {
    background-color: rgba(139, 92, 246, 0.1);
    color: hsl(var(--violet));
}
.tab-btn-icon.color-indigo {
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}
.tab-btn-icon.color-emerald {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}
.tab-btn-icon.color-rose {
    background-color: rgba(244, 63, 94, 0.1);
    color: #f43f5e;
}

.tab-menu-btn:hover .tab-btn-icon {
    transform: scale(1.1);
}

.tab-btn-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: hsl(var(--text-secondary));
    transition: var(--transition-fast);
}

.tab-menu-btn.active .tab-btn-text {
    color: hsl(var(--text-primary));
}

/* Content Panels (Right side) */
.modules-content-panels {
    position: relative;
    min-height: 440px;
}

.module-panel {
    padding: 48px;
    display: none;
    flex-direction: column;
    animation: fadeIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 440px;
    box-sizing: border-box;
    background: #ffffff;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.04);
}

.module-panel.active {
    display: flex;
    position: relative;
}

.panel-header {
    margin-bottom: 24px;
}

.panel-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: var(--radius-pill);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.panel-tag.tag-orange { background-color: rgba(249, 115, 22, 0.1); color: hsl(var(--primary)); }
.panel-tag.tag-teal { background-color: rgba(20, 184, 166, 0.1); color: #14b8a6; }
.panel-tag.tag-purple { background-color: rgba(139, 92, 246, 0.1); color: hsl(var(--violet)); }
.panel-tag.tag-indigo { background-color: rgba(99, 102, 241, 0.1); color: #6366f1; }
.panel-tag.tag-emerald { background-color: rgba(16, 185, 129, 0.1); color: #10b981; }
.panel-tag.tag-rose { background-color: rgba(244, 63, 94, 0.1); color: #f43f5e; }

.panel-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: hsl(var(--text-primary));
}

.panel-desc {
    font-size: 1.05rem;
    color: hsl(var(--text-secondary));
    line-height: 1.6;
    margin-bottom: 32px;
}

.panel-features-wrapper {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 28px;
}

.panel-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.panel-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: hsl(var(--text-secondary));
    line-height: 1.4;
}

.panel-features-list li .check-icon {
    width: 18px;
    height: 18px;
    color: hsl(var(--primary));
    flex-shrink: 0;
    margin-top: 2px;
}

/* Media Queries for Tabs Responsive */
@media (max-width: 991px) {
    .modules-showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modules-tabs-menu {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 12px;
        gap: 12px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    
    .modules-tabs-menu::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }
    
    .tab-menu-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 12px 18px;
    }
    
    .tab-menu-btn.active {
        transform: translateX(0) translateY(-2px);
    }
    
    .tab-menu-btn:hover {
        transform: translateY(-2px);
    }
    
    .module-panel {
        padding: 32px;
        position: relative;
        height: auto;
        min-height: auto;
    }
    
    .panel-features-list {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------------------------------
   11. Pricing Section
------------------------------------------------------------- */
.pricing-section {
    padding: 100px 0;
    position: relative;
}

/* Sliding Toggle Switch */
.billing-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin: 24px auto 0 auto;
}

.billing-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: hsl(var(--text-secondary));
    transition: var(--transition-fast);
}

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

.billing-toggle {
    width: 56px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-pill);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background-color: hsl(var(--primary));
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Checked status classes */
.billing-toggle.yearly .toggle-slider {
    left: 29px;
    background-color: hsl(var(--primary)); /* Match primary theme orange */
}

.discount-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: hsl(var(--accent));
    background-color: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    margin-left: 6px;
}

/* Pricing Grid & Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    align-items: flex-start;
}

.pricing-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid hsl(var(--primary));
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 30px -5px hsl(var(--primary-glow));
    transform: translateY(-8px);
}

.pricing-card.featured:hover {
    transform: translateY(-12px);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--violet)) 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    letter-spacing: 1px;
}

.pricing-card-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 28px;
    margin-bottom: 28px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plan-desc {
    color: hsl(var(--text-secondary));
    font-size: 0.9rem;
    margin-bottom: 24px;
    min-height: 40px;
}

.plan-price {
    display: flex;
    align-items: flex-end;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: hsl(var(--text-secondary));
}

.price-val {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: hsl(var(--text-muted));
    margin-bottom: 6px;
    margin-left: 4px;
}

.pricing-card-features {
    margin-bottom: 36px;
    flex-grow: 1;
}

.pricing-card-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: hsl(var(--text-secondary));
}

.check-icon {
    width: 18px;
    height: 18px;
    color: hsl(var(--accent));
    flex-shrink: 0;
    margin-top: 2px;
}

/* -------------------------------------------------------------
   12. FAQ Section
------------------------------------------------------------- */
.faq-section {
    padding: 100px 0;
    position: relative;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 24px;
    cursor: pointer;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: hsl(var(--text-primary));
}

.faq-arrow {
    width: 20px;
    height: 20px;
    color: hsl(var(--text-secondary));
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

.faq-answer p {
    padding-top: 16px;
    color: hsl(var(--text-secondary));
    line-height: 1.6;
}

/* FAQ Active State */
.faq-item.active {
    border-color: rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: hsl(var(--primary));
}

.faq-item.active .faq-answer {
    max-height: 200px;
    opacity: 1;
}

/* -------------------------------------------------------------
   13. Contact & Lead Form Section
------------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 56px;
    align-items: center;
}

.contact-desc {
    font-size: 1.1rem;
    color: hsl(var(--text-secondary));
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--primary));
}

.detail-icon svg {
    width: 22px;
    height: 22px;
}

.detail-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: hsl(var(--text-primary));
}

/* Contact Card Form */
.contact-card {
    padding: 48px;
    position: relative;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: hsl(var(--text-secondary));
    margin-bottom: 8px;
    transition: var(--transition-fast);
}

.form-group input,
.form-group textarea {
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 0.95rem;
    width: 100%;
    color: hsl(var(--text-primary));
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: hsl(var(--text-muted));
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(0, 0, 0, 0.15);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: hsl(var(--primary));
    background-color: rgba(249, 115, 22, 0.03);
    box-shadow: 0 0 0 3px hsl(var(--primary-glow));
}

/* Live validation error styling */
.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.03);
}

.form-group.invalid label {
    color: #ef4444;
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ef4444;
    margin-top: 6px;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Spinner for Loading Submit State */
.btn-submit {
    position: relative;
}

.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .loading-spinner {
    display: block;
}

/* Success Card Form styling */
.form-success-card {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0;
    animation: fadeIn 0.4s ease-out;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--accent));
    margin-bottom: 24px;
}

.success-icon {
    width: 32px;
    height: 32px;
}

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

.form-success-card p {
    color: hsl(var(--text-secondary));
    line-height: 1.6;
}

/* -------------------------------------------------------------
   14. Footer Section
------------------------------------------------------------- */
.main-footer-section {
    background-color: #f1f5f9; /* Light gray background to seamlessly match the white/gray/orange theme */
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 80px 0 40px 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(2, 1fr);
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-moto {
    color: hsl(var(--text-secondary));
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

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

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: hsl(var(--text-primary));
}

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

.footer-links-group a:hover {
    color: hsl(var(--primary));
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 40px;
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
    flex-wrap: wrap;
    gap: 16px;
}

/* -------------------------------------------------------------
   15. Keyframes Animations
------------------------------------------------------------- */
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Premium Redirection Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 13, 22, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: none; /* Flex dynamically in JS */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 440px;
    width: 90%;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background-color: hsl(var(--bg-surface));
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.15),
                0 0 50px -10px hsl(var(--primary-glow));
}

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

.progress-bar-container {
    width: 100%;
    height: 6px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-pill);
    overflow: hidden;
    margin-bottom: 28px;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, hsl(var(--primary)) 0%, hsl(var(--violet)) 100%);
    border-radius: var(--radius-pill);
    transition: width 3s linear;
}

.animate-pulse {
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.85; }
}

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

/* -------------------------------------------------------------
   16. Responsive Media Queries (Mobile First approach / tweaks)
------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 56px;
        padding-top: 130px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-mockup-wrapper {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .mockup-card {
        transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 48px auto 0 auto;
    }
    
    .pricing-card.featured {
        transform: translateY(0);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .section-title.text-left {
        text-align: center;
    }
    
    .contact-details {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* Mobile Menu Drawer style override */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: hsl(var(--bg-base));
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 1000;
        align-items: stretch;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.15rem;
        padding: 12px;
        text-align: center;
        border-radius: var(--radius-sm);
        background-color: rgba(255, 255, 255, 0.02);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-actions {
        gap: 12px;
    }
    
    .btn-nav-cta {
        display: none; /* Hide standard nav btn, can be added inside menu if needed */
    }
    
    /* Mobile menu open animation for hamburger */
    .mobile-toggle.open .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .pricing-card {
        padding: 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    /* Hide some elements on mockup to save space on mobile */
    .mockup-sidebar {
        display: none;
    }
    
    .mockup-body {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .mockup-grid-3 {
        grid-template-columns: 1fr;
    }
}
