/* ==========================================================================
   BulklyCart Landing Page CSS Design System
   ========================================================================== */

/* ---------------------------------------------------------
   1. Reset & Root Variables (Tokens)
   --------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Theme-independent colors */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    
    /* Gradients */
    --gradient-violet-blue: linear-gradient(135deg, #8B5CF6 0%, #0860FF 100%);
    --gradient-violet-blue-hover: linear-gradient(135deg, #7C3AED 0%, #0554E8 100%);
    --gradient-green-teal: linear-gradient(135deg, #10B981 0%, #14B8A6 100%);
    
    /* Animations speed */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);

    /* Layout */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ---------------------------------------------------------
   2. Dark & Light Theme Definitions
   --------------------------------------------------------- */ 
:root[data-theme="dark"] {
    color-scheme: dark;

    /* Core Background & Text */
    --color-bg: #060814;
    --color-bg-alt: #0B0F24;
    --color-bg-card: rgba(17, 24, 39, 0.45);
    --color-bg-card-hover: rgba(23, 37, 84, 0.3);
    --color-bg-elevated: #111827;
    --color-bg-input: rgba(17, 24, 39, 0.6);

    /* Text */
    --color-heading: #F8FAFC;
    --color-text: #CBD5E1;
    --color-text-muted: #94A3B8;
    --color-text-faint: #64748B;
    
    /* Borders */
    --color-border: rgba(148, 163, 184, 0.1);
    --color-border-strong: rgba(148, 163, 184, 0.2);
    --color-border-focus: #0860FF;

    /* Accent & Brand */
    --color-brand: #8B5CF6;
    --color-brand-secondary: #0860FF;
    --gradient-text: linear-gradient(135deg, #C084FC 0%, #66A3FF 100%);
    --shadow-accent-glow: rgba(8, 96, 255, 0.2);
    
    /* Orbs colors */
    --orb-color-1: rgba(139, 92, 246, 0.18);
    --orb-color-2: rgba(8, 96, 255, 0.12);
    --grid-line-color: rgba(255, 255, 255, 0.025);

    /* Glassmorphism styling */
    --glass-bg: rgba(6, 8, 20, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --shadow-main: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.25);
}

:root[data-theme="light"] {
    color-scheme: light;

    /* Core Background & Text */
    --color-bg: #F8FAFC;
    --color-bg-alt: #FFFFFF;
    --color-bg-card: #FFFFFF;
    --color-bg-card-hover: #F1F5F9;
    --color-bg-elevated: #FFFFFF;
    --color-bg-input: #FFFFFF;

    /* Text */
    --color-heading: #0F172A;
    --color-text: #334155;
    --color-text-muted: #64748B;
    --color-text-faint: #94A3B8;
    
    /* Borders */
    --color-border: rgba(15, 23, 42, 0.08);
    --color-border-strong: rgba(15, 23, 42, 0.15);
    --color-border-focus: #0860FF;

    /* Accent & Brand */
    --color-brand: #6D28D9;
    --color-brand-secondary: #0860FF;
    --gradient-text: linear-gradient(135deg, #6D28D9 0%, #0860FF 100%);
    --shadow-accent-glow: rgba(8, 96, 255, 0.08);
    
    /* Orbs colors */
    --orb-color-1: rgba(109, 40, 217, 0.04);
    --orb-color-2: rgba(8, 96, 255, 0.04);
    --grid-line-color: rgba(15, 23, 42, 0.015);

    /* Glassmorphism styling */
    --glass-bg: rgba(248, 250, 252, 0.85);
    --glass-border: rgba(15, 23, 42, 0.05);
    --shadow-main: 0 20px 40px rgba(15, 23, 42, 0.05);
    --shadow-card: 0 4px 12px rgba(15, 23, 42, 0.03);
}

/* ---------------------------------------------------------
   3. Global Elements & Typography
   --------------------------------------------------------- */
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

/* ---------------------------------------------------------
   4. Buttons Design
   --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14.5px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    user-select: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-violet-blue);
    color: #FFFFFF;
    box-shadow: 0 8px 20px var(--shadow-accent-glow);
}

.btn-primary:hover {
    background: var(--gradient-violet-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px var(--shadow-accent-glow);
}

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

.btn-secondary {
    background: var(--color-bg-card);
    color: var(--color-heading);
    border-color: var(--color-border-strong);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-heading);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-heading);
    border-color: var(--color-border-strong);
}

.btn-outline:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-heading);
}

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

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

/* ---------------------------------------------------------
   5. Sticky Navigation Header
   --------------------------------------------------------- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.navbar-header.scrolled {
    padding: 12px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

:root[data-theme="dark"] .navbar-header.scrolled {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-heading);
    font-weight: 800;
    font-size: 20px;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.logo-icon-container {
    display: flex;
    align-items: center;
}

.logo-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

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

.nav-link {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--color-text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-heading);
    background: var(--color-bg-card-hover);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-strong);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
}

.theme-toggle-btn:hover {
    color: var(--color-heading);
    border-color: var(--color-border-focus);
    transform: rotate(15deg);
}

.theme-toggle-btn svg {
    position: absolute;
    transition: opacity var(--transition-base), transform var(--transition-base);
}

:root[data-theme="dark"] .theme-toggle-btn .sun-icon { opacity: 1; transform: scale(1); }
:root[data-theme="dark"] .theme-toggle-btn .moon-icon { opacity: 0; transform: scale(0.5) rotate(-90deg); }
:root[data-theme="light"] .theme-toggle-btn .sun-icon { opacity: 0; transform: scale(0.5) rotate(90deg); }
:root[data-theme="light"] .theme-toggle-btn .moon-icon { opacity: 1; transform: scale(1); }

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger-menu .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-heading);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ---------------------------------------------------------
   6. Hero Section Design
   --------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-gradients {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.orb-violet {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--orb-color-1) 0%, transparent 70%);
    top: -200px;
    left: -150px;
    animation: floatOrb 15s ease-in-out infinite;
}

.orb-blue {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--orb-color-2) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: floatOrb 20s ease-in-out infinite reverse;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -30px); }
    66% { transform: translate(-20px, 20px); }
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-brand);
    margin-bottom: 24px;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
}

:root[data-theme="light"] .hero-badge {
    background: rgba(109, 40, 217, 0.06);
    border-color: rgba(109, 40, 217, 0.15);
    color: var(--color-brand);
}

.badge-glow-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-brand);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-brand);
    animation: blinkGlow 2s infinite ease-in-out;
}

@keyframes blinkGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.hero-headline {
    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.hero-subheading {
    font-size: 17px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.65;
}

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

.hero-proof-stats {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-heading);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 38px;
    background-color: var(--color-border-strong);
}

.hero-visual-wrapper {
    position: relative;
}

.hero-mockup-frame {
    position: relative;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-main), 0 0 1px 1px var(--glass-border);
    overflow: hidden;
    background: transparent;
}

.hero-mockup-img {
    width: 100%;
    transition: transform 0.5s ease;
    background: transparent;
}

.hero-mockup-frame:hover .hero-mockup-img {
    transform: scale(1.02);
}

.mockup-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 70%);
    background-size: 200% 100%;
    animation: shimmerEffect 4s infinite linear;
    pointer-events: none;
}

@keyframes shimmerEffect {
    0% { background-position: -120% 0; }
    100% { background-position: 120% 0; }
}

/* Floating UI Micro Cards */
.floating-ui-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--color-border-strong);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base);
    z-index: 10;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-violet { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.icon-green { background: linear-gradient(135deg, #10B981, #059669); }
.icon-blue { background: linear-gradient(135deg, #0860FF, #054CC7); }
.icon-yellow { background: linear-gradient(135deg, #F59E0B, #D97706); }

.card-text {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-heading);
}

.card-desc {
    font-size: 11.5px;
    color: var(--color-text-muted);
}

.card-1 { top: 10%; left: -30px; animation: floatCardY 6s ease-in-out infinite; }
.card-2 { bottom: 12%; right: -20px; animation: floatCardY 7s ease-in-out infinite 0.7s; }
.card-3 { top: 52%; left: -40px; animation: floatCardY 8s ease-in-out infinite 1.5s; }

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

/* ---------------------------------------------------------
   7. Trusted Logos Carousel Strip
   --------------------------------------------------------- */
.trusted-by-strip {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg-alt);
    overflow: hidden;
}

.trusted-heading {
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: 24px;
}

.logo-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-carousel-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
}

.brand-logo-pill {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-muted);
    white-space: nowrap;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.brand-logo-pill:hover {
    opacity: 1;
    border-color: var(--color-border-strong);
    color: var(--color-heading);
    transform: translateY(-2px);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.section-tag {
    display: inline-block;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-brand);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16.5px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ---------------------------------------------------------
   9. Interactive Simulator Section
   --------------------------------------------------------- */
.simulator-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.simulator-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Panel: Storefront Simulator */
.simulator-preview-panel {
    background: #090D1A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

:root[data-theme="light"] .simulator-preview-panel {
    background: #0B0F19; /* Maintain dark simulator theme for strong visual contrast */
    color: #CBD5E1;
}

.preview-header {
    background: #0D1326;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

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

.dot-red { background-color: var(--color-danger); }
.dot-yellow { background-color: var(--color-warning); }
.dot-green { background-color: var(--color-success); }

.preview-title {
    font-family: var(--font-body);
    font-size: 12px;
    color: #64748B;
    margin-left: 8px;
    font-weight: 500;
}

.preview-portal-body {
    padding: 24px;
}

.portal-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 24px;
}

.portal-logo {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #F8FAFC;
}

.portal-user-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 12.5px;
    color: #94A3B8;
}

.user-avatar-dot {
    width: 6px;
    height: 6px;
    background-color: #94A3B8;
    border-radius: 50%;
}

.portal-user-tag.active {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: #34D399;
}

.portal-user-tag.active .user-avatar-dot {
    background-color: #34D399;
}

/* Product Detail UI in Portal */
.catalog-detail-container {
    display: block;
    margin-bottom: 28px;
}

.product-visual {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.product-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
}

.product-info-panel {
    display: flex;
    flex-direction: column;
}

.prod-category {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-brand);
    margin-bottom: 4px;
}

.prod-title {
    font-size: 20px;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 12px;
}

.prod-price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.retail-strike-price {
    font-size: 16px;
    text-decoration: line-through;
    color: #64748B;
}

.current-price {
    font-size: 24px;
    font-weight: 800;
    color: #F8FAFC;
}

.price-desc {
    font-size: 12px;
    color: #64748B;
}

.product-description-short {
    font-size: 13.5px;
    line-height: 1.5;
    color: #94A3B8;
    margin-bottom: 18px;
}

/* Volume table inside portal */
.volume-tiers-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 20px;
}

.tiers-title {
    font-size: 12px;
    font-weight: 600;
    color: #94A3B8;
    display: block;
    margin-bottom: 8px;
}

.tiers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.tiers-table th {
    text-align: left;
    color: #64748B;
    font-weight: 500;
    padding-bottom: 6px;
}

.tiers-table td {
    padding: 6px 0;
    color: #CBD5E1;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tiers-table tr.tier-active td {
    color: #34D399;
    font-weight: 600;
}

/* Variant Selection Table */
.variant-table-container {
    margin-bottom: 24px;
}

.selection-label {
    font-size: 12.5px;
    color: #94A3B8;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.variant-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 6px;
}

.variant-table th {
    text-align: left;
    color: #64748B;
    font-size: 12px;
    font-weight: 500;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.variant-table td {
    padding: 10px 0;
    color: #CBD5E1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.variant-table tr {
    transition: background-color var(--transition-fast);
}

.variant-table tr:hover {
    background-color: rgba(255, 255, 255, 0.015);
}

.variant-table tr.active-row {
    background-color: rgba(255, 255, 255, 0.03);
}

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

.variant-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.cognac-swatch {
    background-color: #8B5A2B;
}

.obsidian-swatch {
    background-color: #1A1A1A;
}

.variant-name {
    font-size: 13.5px;
    font-weight: 500;
}

.variant-price-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.variant-strike-price {
    font-size: 11px;
    color: #64748B;
    text-decoration: line-through;
}

.variant-price {
    font-size: 13.5px;
    font-weight: 600;
    color: #F8FAFC;
}

.table-qty {
    height: 36px;
    max-width: 110px;
    margin-left: auto;
}

.table-qty .qty-btn {
    width: 32px;
    font-size: 14px;
}

.table-qty .qty-field {
    width: 36px;
    font-size: 13.5px;
}

/* Sim Checkout drawer preview */
.sim-cart-drawer {
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 12px;
}

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

.cart-header span {
    font-size: 13.5px;
    font-weight: 700;
    color: #F8FAFC;
}

.savings-tag {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34D399;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 600;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: #94A3B8;
    margin-bottom: 8px;
}

.cart-row span:last-child {
    color: #CBD5E1;
}

.cart-row.border-top {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
    margin-top: 8px;
}

.cart-row.font-bold {
    font-weight: 700;
    font-size: 15px;
}

.cart-row.font-bold span:last-child {
    color: #F8FAFC;
}

.strike-text {
    text-decoration: line-through;
    color: #64748B !important;
}

.btn-checkout-sim {
    height: 46px;
    border-radius: var(--radius-sm);
    margin-top: 18px;
}

/* Right Panel: Rules Customizer Config */
.simulator-control-panel {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-main);
}

.panel-headline {
    font-size: 22px;
    margin-bottom: 8px;
}

.panel-desc {
    font-size: 14.5px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

.control-group {
    margin-bottom: 28px;
}

.control-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.radio-card-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-bg);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.radio-card input[type="radio"] {
    grid-row: 1 / 3;
    margin-top: 4px;
    accent-color: var(--color-brand);
}

.radio-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-heading);
}

.radio-card-desc {
    font-size: 12.5px;
    color: var(--color-text-muted);
    grid-column: 2;
}

.radio-card.active {
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 1px var(--color-border-focus);
    background: var(--color-bg-card-hover);
}

.checkbox-switch-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-md);
    background: var(--color-bg);
}

/* Toggle Switch slider */
.switch-control {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch-control input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--color-text-faint);
    border-radius: 34px;
    transition: 0.3s;
}

.switch-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch-control input:checked + .switch-slider {
    background-color: var(--color-brand);
}

.switch-control input:checked + .switch-slider::before {
    transform: translateX(20px);
}

.help-text {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 8px;
    line-height: 1.4;
}

.input-field-wrapper {
    margin-bottom: 16px;
}

.input-field-wrapper:last-child {
    margin-bottom: 0;
}

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    border: 1px solid var(--color-border-strong);
    color: var(--color-heading);
    font-family: var(--font-body);
    font-size: 14px;
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 1px var(--color-border-focus);
}

/* Success Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(6, 8, 20, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

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

.success-modal-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-lg);
    padding: 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-main);
    transform: scale(0.95) translateY(20px);
    transition: transform var(--transition-base) var(--ease-out-cubic);
}

.modal-overlay.open .success-modal-card {
    transform: scale(1) translateY(0);
}

.success-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.modal-text {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-stats-summary {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 28px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--color-text-muted);
}

.modal-stat-row span:last-child {
    color: var(--color-heading);
}

.modal-highlight-green span {
    color: var(--color-success) !important;
    font-weight: 700;
}

/* ---------------------------------------------------------
   10. Bento Grid Features Section
   --------------------------------------------------------- */
.features-bento-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 24px;
    margin-bottom: 56px;
}

.bento-box {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.bento-box:hover {
    border-color: var(--color-border-strong);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

:root[data-theme="dark"] .bento-box:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(255, 255, 255, 0.08);
}

.bento-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 32px;
    padding-bottom: 0;
}

.bento-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.bento-text h3 {
    font-size: 22px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.bento-text p {
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.bento-features-bullet-list {
    list-style: none;
    font-size: 13.5px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.bento-features-bullet-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text);
}

.bento-features-bullet-list li::before {
    content: "✓";
    color: var(--color-success);
    font-weight: 700;
}

.bento-image-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.bento-img {
    width: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

/* Specific Bento alignments */
.feature-portal-box {
    padding-right: 0;
}

.feature-options-box {
    padding-left: 0;
    grid-column: span 2;
}

.feature-options-box .bento-image-wrapper {
    order: 1;
    align-items: flex-end;
}

.feature-options-box .bento-text {
    order: 2;
    padding-right: 36px;
    padding-left: 12px;
}

/* Extra sub-grid cards */
.extra-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.extra-feat-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition-base);
}

.extra-feat-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-3px);
}

.feat-icon {
    color: var(--color-brand);
    margin-bottom: 14px;
}

.extra-feat-card h4 {
    font-size: 15px;
    margin-bottom: 8px;
}

.extra-feat-card p {
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* ---------------------------------------------------------
   11. Invoice Layout Switching Section
   --------------------------------------------------------- */
.invoice-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.invoice-showcase-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.invoice-controls-panel h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.invoice-controls-desc {
    font-size: 15px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.layout-btn-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.layout-select-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    background: var(--color-bg);
    border: 1px solid var(--color-border-strong);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.layout-select-btn strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 4px;
}

.layout-select-btn span {
    font-size: 12.5px;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.layout-select-btn.active {
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 1px var(--color-border-focus);
    background: var(--color-bg-card-hover);
}

/* Invoice Preview Window */
.invoice-visual-panel {
    background: #0D111D;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-main);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.invoice-container-frame {
    background: #FFFFFF;
    color: #1E293B;
    border-radius: var(--radius-sm);
    padding: 36px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-slow);
}

/* Default Shared elements */
.invoice-header-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    border-bottom: 1px solid #E2E8F0;
    padding-bottom: 20px;
}

.inv-brand-name {
    font-size: 18px;
    font-weight: 800;
    color: #0F172A;
}

.inv-brand-details {
    font-size: 12px;
    color: #64748B;
}

.inv-title-block {
    text-align: right;
}

.inv-title-block h4 {
    font-size: 26px;
    color: #4F46E5;
    letter-spacing: 1.5px;
    font-family: Arial, sans-serif;
    margin-bottom: 6px;
}

.inv-metadata-item {
    font-size: 12px;
    color: #64748B;
}

.text-white-light {
    color: #0F172A;
    font-weight: 600;
}

.invoice-address-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.address-col {
    font-size: 12.5px;
    color: #475569;
}

.address-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.invoice-terms-banner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #F8FAFC;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 24px;
}

.terms-grid-item {
    text-align: center;
    font-size: 13px;
    color: #0F172A;
}

.terms-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.inv-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 28px;
}

.inv-items-table th {
    background: #F8FAFC;
    text-align: left;
    color: #475569;
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 2px solid #E2E8F0;
}

.inv-items-table td {
    padding: 12px;
    border-bottom: 1px solid #F1F5F9;
    color: #334155;
}

.item-meta {
    font-size: 11.5px;
    color: #94A3B8;
}

.text-right { text-align: right !important; }

.inv-totals-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
}

.totals-col-left {
    font-size: 12px;
    color: #64748B;
}

.totals-instructions {
    margin-top: 6px;
    line-height: 1.4;
}

.totals-col-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
}

.totals-row.border-top {
    border-top: 1px solid #E2E8F0;
    padding-top: 8px;
    margin-top: 4px;
}

.totals-row.font-bold {
    font-weight: 700;
    color: #0F172A;
}

.font-lg { font-size: 15px; }

/* ------------------------------------
   Template 2: Modern Minimal Styles
   ------------------------------------ */
.invoice-container-frame[data-style="modern"] {
    font-family: Arial, sans-serif;
    border-left: 6px solid #10B981;
    border-radius: 0;
}

.invoice-container-frame[data-style="modern"] .inv-title-block h4 {
    color: #10B981;
}

.invoice-container-frame[data-style="modern"] .invoice-terms-banner {
    background: #F0FDF4;
    border-radius: 0;
    border-left: 2px solid #10B981;
}

.invoice-container-frame[data-style="modern"] .inv-items-table th {
    background: #FFFFFF;
    border-bottom: 2px solid #10B981;
    color: #0F172A;
}

/* ------------------------------------
   Template 3: Executive Layout Styles
   ------------------------------------ */
.invoice-container-frame[data-style="executive"] {
    font-family: 'Inter', sans-serif;
}

.invoice-container-frame[data-style="executive"] .invoice-header-row {
    flex-direction: row-reverse;
    border-bottom: none;
    padding-bottom: 0;
}

.invoice-container-frame[data-style="executive"] .inv-title-block {
    text-align: left;
}

.invoice-container-frame[data-style="executive"] .inv-title-block h4 {
    color: #0F172A;
    font-weight: 900;
}

.invoice-container-frame[data-style="executive"] .inv-brand-info {
    text-align: right;
}

.invoice-container-frame[data-style="executive"] .invoice-terms-banner {
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    padding: 14px 0;
    border-radius: 0;
}

.invoice-container-frame[data-style="executive"] .terms-grid-item {
    text-align: left;
}

.invoice-container-frame[data-style="executive"] .inv-items-table th {
    background: #1E293B;
    color: #FFFFFF;
}

/* ---------------------------------------------------------
   12. ROI & Plan Calculator
   --------------------------------------------------------- */
.pricing-section {
    padding: 100px 0;
}

.pricing-roi-calculator {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto 64px;
    box-shadow: var(--shadow-main);
}

.calculator-header {
    text-align: center;
    margin-bottom: 28px;
}

.calculator-header h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.calculator-header p {
    font-size: 14.5px;
    color: var(--color-text-muted);
}

.calculator-slider-box {
    margin-bottom: 32px;
}

.volume-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    margin-bottom: 12px;
}

.volume-display strong {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-brand);
    font-family: var(--font-heading);
}

/* Range input styling */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--color-border-strong);
    outline: none;
    margin-bottom: 8px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-brand);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(139, 92, 246, 0.4);
    transition: transform var(--transition-fast);
}

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

.slider-bounds {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-faint);
}

.calculator-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-top: 1px dashed var(--color-border-strong);
    padding-top: 28px;
}

.result-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.res-label {
    display: block;
    font-size: 12.5px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.res-value {
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.text-green { color: var(--color-success); }

.calculator-explanation {
    text-align: center;
    font-size: 11.5px;
    color: var(--color-text-faint);
    margin-top: 18px;
}

/* Pricing Card Grid */
.pricing-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 48px;
}

/* Content / Legal Pages Styling */
.legal-section {
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-card {
    background: var(--color-bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-top: 32px;
    box-shadow: var(--shadow-main);
}

.legal-card h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-heading);
}

.legal-meta {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 16px;
    color: var(--color-heading);
}

.legal-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
}

.legal-content li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    margin-bottom: 8px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-brand-secondary);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

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

@media (max-width: 1200px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

.pricing-tier-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: all var(--transition-base);
    position: relative;
}

.pricing-tier-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-4px);
}

.pricing-tier-card.popular {
    border-color: var(--color-brand);
    box-shadow: 0 15px 35px var(--shadow-accent-glow);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-violet-blue);
    color: #FFFFFF;
    font-size: 11.5px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tier-header h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.tier-desc {
    font-size: 13.5px;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-bottom: 24px;
}

.price-value {
    display: flex;
    align-items: baseline;
    margin-bottom: 28px;
}

.price-value .original-price {
    font-size: 20px;
    font-weight: 500;
    text-decoration: line-through;
    color: var(--color-text-muted);
    opacity: 0.6;
    margin-right: 8px;
}

.price-value .currency {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-heading);
    margin-right: 2px;
}

.price-value .amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-heading);
    font-family: var(--font-heading);
    line-height: 1;
}

.price-value .cents {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-heading);
}

.price-value .period {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-left: 4px;
}

.tier-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    font-size: 14px;
}

.tier-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text);
}

.check-icon {
    color: var(--color-success);
    font-weight: bold;
}

.pricing-disclaimer {
    text-align: center;
    font-size: 13.5px;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------
   13. Testimonials Grid
   --------------------------------------------------------- */
.testimonials-section {
    padding: 100px 0;
    background: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

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

.review-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-base);
}

.review-card:hover {
    border-color: var(--color-border-strong);
    transform: translateY(-2px);
}

.review-stars {
    color: var(--color-warning);
    font-size: 16px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 14.5px;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #FFFFFF;
}

.avatar-purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.author-avatar.avatar-blue { background: linear-gradient(135deg, #0860FF, #054CC7); }
.avatar-green { background: linear-gradient(135deg, #10B981, #059669); }

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-heading);
}

.author-role {
    font-size: 11.5px;
    color: var(--color-text-muted);
}

/* ---------------------------------------------------------
   14. FAQ Accordions
   --------------------------------------------------------- */
.faq-section {
    padding: 100px 0;
}

.faq-accordion-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.faq-item:hover {
    border-color: var(--color-border-strong);
}

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

.faq-icon-cross {
    width: 14px;
    height: 14px;
    position: relative;
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

.faq-icon-cross::before,
.faq-icon-cross::after {
    content: "";
    position: absolute;
    background-color: var(--color-text-muted);
    transition: background-color var(--transition-fast);
}

.faq-icon-cross::before {
    top: 6px;
    left: 0;
    right: 0;
    height: 2px;
}

.faq-icon-cross::after {
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
}

.faq-question-btn:hover .faq-icon-cross::before,
.faq-question-btn:hover .faq-icon-cross::after {
    background-color: var(--color-heading);
}

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

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base) var(--ease-out-cubic);
}

.faq-answer-panel p {
    padding: 0 24px 20px;
    font-size: 14.5px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer-panel {
    max-height: 200px; /* Adjust dynamically via JS if needed, CSS fallback */
}

/* ---------------------------------------------------------
   15. Contact Section & Mathematical Captcha
   --------------------------------------------------------- */
.contact-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.contact-inner {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.contact-text-box h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 15.5px;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

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

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

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.08);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-detail-item strong {
    display: block;
    font-size: 14px;
    color: var(--color-heading);
}

.contact-detail-item span {
    font-size: 13.5px;
    color: var(--color-text-muted);
}

.contact-form-box {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-main);
}

.form-row {
    margin-bottom: 20px;
}

.form-col {
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.form-input-field {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    background: var(--color-bg);
    border: 1px solid var(--color-border-strong);
    color: var(--color-heading);
    font-family: var(--font-body);
    font-size: 14.5px;
    transition: all var(--transition-fast);
}

.form-input-field:focus {
    outline: none;
    border-color: var(--color-border-focus);
    box-shadow: 0 0 0 1px var(--color-border-focus);
}

.textarea-field {
    height: 120px;
    padding: 12px 16px;
    resize: none;
}

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

.form-error-msg.visible {
    display: block;
}

.form-input-field.error {
    border-color: var(--color-danger);
}

/* Captcha styling */
.captcha-row {
    margin-bottom: 28px;
}

.captcha-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-question {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-heading);
    background: var(--color-bg);
    border: 1px solid var(--color-border-strong);
    padding: 0 16px;
    height: 44px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    user-select: none;
}

.captcha-input {
    max-width: 100px;
    text-align: center;
}

.btn-refresh-captcha {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border-strong);
    background: var(--color-bg);
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all var(--transition-fast);
}

.btn-refresh-captcha:hover {
    color: var(--color-heading);
    border-color: var(--color-border-focus);
}

.form-success-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--color-success);
    margin-top: 20px;
    display: none;
}

.form-success-banner.visible {
    display: flex;
}

.success-icon {
    font-weight: 700;
    font-size: 16px;
}

/* ---------------------------------------------------------
   16. Footer Section
   --------------------------------------------------------- */
.footer-section {
    padding: 80px 0 40px;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-branding-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 16px 0 24px;
    line-height: 1.5;
    max-width: 320px;
}

.footer-copyright {
    font-size: 13.5px;
    color: var(--color-text-faint);
}

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

.footer-links-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-heading);
    margin-bottom: 20px;
}

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

.footer-nav a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--color-brand);
}

/* ---------------------------------------------------------
   17. Responsive Breakpoints
   --------------------------------------------------------- */

/* Desktop / Tablet Large */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-text-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-proof-stats {
        justify-content: center;
    }
    
    .hero-visual-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .floating-ui-card {
        transform: scale(0.9);
    }
    
    .simulator-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .features-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .bento-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
        padding-bottom: 36px;
    }
    
    .feature-options-box .bento-text {
        order: 1;
        padding: 0;
    }
    
    .feature-options-box .bento-image-wrapper {
        order: 2;
    }
    
    .extra-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .invoice-showcase-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-cards-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto 36px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-text-box {
        text-align: center;
    }
    
    .contact-details-list {
        align-items: center;
    }
}

/* Tablet / Mobile Large */
@media (max-width: 768px) {
    .navbar-header {
        padding: 14px 0 !important;
        background: var(--color-bg) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-bottom: 1px solid var(--color-border-strong) !important;
    }

    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg) !important;
        flex-direction: column;
        padding: 40px 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--ease-out-cubic), opacity 0.3s ease;
        z-index: 99;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .hamburger-menu.open .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .hamburger-menu.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.open .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .calculator-results-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .footer-branding-column {
        align-items: center;
    }
    
    .footer-tagline {
        max-width: 100%;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .floating-ui-card {
        display: none; /* Hide floating cards on small mobile to avoid clutter */
    }
    
    .preview-portal-body {
        padding: 16px;
    }
    
    .qty-and-cart-group {
        flex-direction: column;
    }
    
    .qty-control-wrapper {
        width: 100%;
        justify-content: space-between;
    }
    
    .extra-features-grid {
        grid-template-columns: 1fr;
    }
    
    .invoice-container-frame {
        padding: 20px;
    }
    
    .invoice-address-row {
        grid-template-columns: 1fr;
    }
    
    .invoice-terms-banner {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }
    
    .terms-grid-item {
        text-align: left;
    }
    
    .inv-totals-section {
        grid-template-columns: 1fr;
    }
    
    .pricing-roi-calculator {
        padding: 24px 16px;
    }
    
    .volume-display {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-form-box {
        padding: 24px 16px;
    }
    
    .captcha-input-group {
        flex-wrap: wrap;
    }
    
    .captcha-question {
        width: 100%;
        justify-content: center;
    }
    
    .captcha-input {
        flex-grow: 1;
        max-width: unset;
    }
}

.hidden { display: none; }

/* Pricing Promotion Banner styling */
.pricing-promotion-banner {
    position: relative;
    margin-top: 10px;
    margin-bottom: 50px;
    padding: 45px 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(14, 165, 233, 0.04) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(99, 102, 241, 0.05);
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

[data-theme="light"] .pricing-promotion-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(14, 165, 233, 0.02) 100%);
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.promo-bg-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(255, 255, 255, 0) 60%);
    pointer-events: none;
    z-index: -1;
    animation: rotateGlow 20s infinite linear;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.promo-content {
    max-width: 700px;
    width: 100%;
}

.promo-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(99, 102, 241, 0.2);
    margin-bottom: 20px;
}

[data-theme="light"] .promo-badge {
    background: rgba(99, 102, 241, 0.08);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.promo-headline {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.promo-subtext {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 28px;
}

.promo-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.promo-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-primary);
    font-weight: 500;
}

.promo-feat-icon {
    font-size: 16px;
}

.promo-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.5);
}

.promo-urgency-note {
    font-size: 12px;
    color: #ef4444;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .pricing-promotion-banner {
        padding: 30px 20px;
    }
    .promo-headline {
        font-size: 24px;
    }
    .promo-features {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        display: inline-block;
        text-align: left;
    }
    .promo-feat-item {
        margin-bottom: 8px;
    }
}

/* Pain Point Section styling */
.painpoint-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    border-bottom: 1px solid var(--color-border-weak);
    overflow: hidden;
}

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

.pain-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.pain-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-weak);
    border-radius: var(--radius-md);
    padding: 24px;
}

[data-theme="light"] .pain-group {
    background: rgba(0, 0, 0, 0.01);
}

.pain-group-title {
    font-size: 15px;
    font-weight: 700;
    color: #f87171;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.painpoint-headline {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-red {
    color: #f87171;
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.painpoint-desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pain-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pain-icon {
    font-size: 20px;
    line-height: 1;
    padding-top: 2px;
}

.pain-item strong {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 4px;
}

.pain-item p {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Solution Card */
.painpoint-solution-card {
    position: relative;
    padding: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(14, 165, 233, 0.04) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(99, 102, 241, 0.05);
    overflow: hidden;
}

[data-theme="light"] .painpoint-solution-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03) 0%, rgba(14, 165, 233, 0.02) 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.solution-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

.solution-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-bottom: 16px;
}

[data-theme="light"] .solution-badge {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.solution-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

.solution-subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--color-border-weak);
    padding-bottom: 20px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sol-feat-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sol-feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

[data-theme="light"] .sol-feat-icon {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.sol-feat-row strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 2px;
}

.sol-feat-row p {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
    .painpoint-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}