/* ==========================================================================
   Webmarc Premium Stylesheet
   Created with Antigravity Agent - Google DeepMind Team
   ========================================================================== */

/* --- Modern Google Fonts --- */
:root {
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* --- Theme Variables: LIGHT MODE (Default) --- */
    --bg-base: #fdfdfd;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(136, 175, 0, 0.08);
    --border-subtle: #f1f5f9;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --color-primary: #88af00; /* Webmarc Green */
    --color-primary-rgb: 136, 175, 0;
    --color-secondary: #111111; /* Webmarc Black */
    --color-secondary-rgb: 17, 17, 17;
    --color-accent: #6d8c00; /* Darker/different shade of green */
    --color-accent-rgb: 109, 140, 0;
    
    --gradient-hero: linear-gradient(135deg, #88af00 0%, #111111 100%);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 20px 45px rgba(136, 175, 0, 0.05);
    --shadow-glow: 0 0 30px rgba(136, 175, 0, 0.15);

    --header-height: 80px;
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- Theme Variables: DARK MODE --- */
[data-theme="dark"] {
    --bg-base: #0a0d04; /* Green-obsidian tint */
    --bg-surface: #101406;
    --bg-surface-elevated: #181f09;
    --bg-glass: rgba(16, 20, 6, 0.85);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-subtle: #181f09;
    
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    
    --color-primary: #a3d200; /* Glowing Green */
    --color-primary-rgb: 163, 210, 0;
    --color-secondary: #f8fafc; /* Contrast white */
    --color-secondary-rgb: 248, 250, 252;
    --color-accent: #88af00;
    --color-accent-rgb: 136, 175, 0;
    
    --gradient-hero: linear-gradient(135deg, #a3d200 0%, #101406 100%);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-premium: 0 20px 40px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 0 30px rgba(163, 210, 0, 0.25);
}

/* --- Core Reset & Defaults --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

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

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

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

ul {
    list-style: none;
}

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

/* --- Decorative Glowing Background Blobs --- */
.glow-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.blob-1 {
    top: 5%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(136, 175, 0, 0.15) 0%, transparent 70%);
}

.blob-2 {
    top: 35%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
}

.blob-3 {
    bottom: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(136, 175, 0, 0.1) 0%, transparent 70%);
}

[data-theme="dark"] .blob-2 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

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

/* --- Scroll Animation Reveals --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- Reusable Components: Buttons --- */
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb), 0.3);
    transition: var(--transition-smooth);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.5), var(--shadow-glow);
}

.primary-btn.cyan-btn {
    background: #0ea5e9;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.primary-btn.cyan-btn:hover {
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.primary-btn.pink-btn {
    background: var(--color-accent);
    box-shadow: 0 4px 14px rgba(var(--color-accent-rgb), 0.3);
}

.primary-btn.pink-btn:hover {
    box-shadow: 0 6px 20px rgba(var(--color-accent-rgb), 0.5);
}

.primary-btn.blue-btn {
    background: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.primary-btn.blue-btn:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.primary-btn.violet-btn {
    background: #8b5cf6;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.primary-btn.violet-btn:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

/* --- Section Title Formatting --- */
.section-badge {
    display: inline-flex;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 99px;
    margin-bottom: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-badge.purple {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border-color: rgba(168, 85, 247, 0.2);
}

.section-badge.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border-color: rgba(59, 130, 246, 0.2);
}

.section-badge.cyan {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-secondary);
    border-color: rgba(6, 182, 212, 0.2);
}

.section-badge.pink {
    background: rgba(236, 72, 153, 0.1);
    color: var(--color-accent);
    border-color: rgba(236, 72, 153, 0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

[data-theme="light"] .section-title {
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
}

/* --- Header System --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 100;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    height: 70px;
    box-shadow: var(--shadow-soft);
}

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

/* Logo */
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.main-logo-img {
    height: 48px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
}

[data-theme="dark"] .main-logo-img {
    filter: invert(1) hue-rotate(180deg) brightness(1.25);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(var(--color-primary-rgb), 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--color-primary);
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    display: inline-flex;
    align-items: center;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 99px;
    transition: width 0.3s ease;
}

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

/* --- Navigation Dropdown System --- */
.nav-item-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0.7;
    margin-top: 1px;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    width: 240px;
    background-color: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 6px;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
}

.dropdown-item {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 4px 12px;
    line-height: 1.2;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
    display: block;
    text-align: left;
}

.dropdown-item:hover {
    background-color: rgba(var(--color-primary-rgb), 0.08);
    color: var(--text-primary);
    padding-left: 20px;
}

[data-theme="dark"] .dropdown-menu {
    background-color: rgba(16, 20, 6, 0.95);
    border-color: rgba(255, 255, 255, 0.08);
}


.close-menu-btn {
    display: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--text-secondary);
}

/* Show sun icon in dark mode, moon icon in light mode */
[data-theme="dark"] .toggle-icon-dark { display: none; }
[data-theme="light"] .toggle-icon-light { display: none; }

.phone-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.phone-cta-btn:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    cursor: pointer;
}

/* --- Hero Slider --- */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.slide-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.slide-title span {
    color: var(--accent-color);
}

.slide-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

.slide-actions {
    display: flex;
    gap: 16px;
}

.slide-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.9) rotateY(10deg);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
    perspective: 1000px;
}

.hero-slide.active .slide-visual {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.visual-glowing-backdrop {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    z-index: -1;
    pointer-events: none;
}

/* --- Slide Visual Mini-Mockups --- */
/* Slide 1: Invoice Mini Preview */
.invoice-mini-preview {
    width: 100%;
    max-width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 24px;
    box-shadow: var(--shadow-premium);
}

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

.invoice-logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
}

.invoice-logo span {
    color: #6366f1;
}

.badge-verifactu {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.invoice-line-placeholder {
    height: 10px;
    background: var(--bg-surface-elevated);
    border-radius: 4px;
    margin-bottom: 12px;
    width: 100%;
}

.invoice-line-placeholder.short {
    width: 60%;
}

.invoice-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
}

.mini-col {
    height: 15px;
    background: var(--bg-surface-elevated);
    border-radius: 4px;
}

.invoice-qr-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--border-subtle);
    padding-top: 20px;
    margin-top: 20px;
}

.fake-qr-code {
    width: 50px;
    height: 50px;
    background: #000000;
    border-radius: 6px;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.qr-dot {
    background: #ffffff;
    border-radius: 2px;
}

.invoice-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
}

.pulse-icon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-icon.green {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: simple-pulse 2s infinite;
}

/* Slide 2: Code Editor Preview */
.code-editor-mockup {
    width: 100%;
    max-width: 360px;
    background: #0c0a09;
    border: 1px solid #1c1917;
    border-radius: var(--border-radius-md);
    font-family: monospace;
    font-size: 0.85rem;
    color: #e7e5e4;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.editor-header {
    background: #1c1917;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.editor-header .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.editor-header .dot.red { background-color: #ef4444; }
.editor-header .dot.yellow { background-color: #eab308; }
.editor-header .dot.green { background-color: #22c55e; }

.editor-filename {
    margin-left: 12px;
    font-size: 0.75rem;
    color: #78716c;
}

.editor-code {
    padding: 24px;
    line-height: 1.7;
}

.code-keyword { color: #f43f5e; }
.code-class { color: #38bdf8; }
.code-str { color: #10b981; }
.code-comment { color: #78716c; font-style: italic; }
.code-func { color: #eab308; }

/* Slide 3: E-commerce Product Mockup */
.ecom-card-preview {
    width: 100%;
    max-width: 280px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.product-img-box {
    height: 180px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 99px;
    text-transform: uppercase;
}

.product-info-box {
    padding: 20px;
}

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

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

.price-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.add-cart-btn-mini {
    width: 28px;
    height: 28px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-visual-img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium), 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.slide-visual-img:hover {
    transform: translateY(-5px) scale(1.02);
}

/* Slide 4: Phone Mockup Frame */
.phone-frame-mockup {
    position: relative;
    width: 200px;
    height: 420px;
    background: #121214;
    border: 8px solid #27272a;
    border-radius: 32px;
    box-shadow: var(--shadow-premium), 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 45px rgba(139, 92, 246, 0.15);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.phone-frame-mockup:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-premium), 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 55px rgba(139, 92, 246, 0.25);
    border-color: #3f3f46;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background-image: url('apps-android-ios.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.phone-glare {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
    z-index: 5;
}

/* Slide 4: Corporate layout mockup */
.corp-web-preview {
    width: 100%;
    max-width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.corp-header-bar {
    background: var(--bg-surface-elevated);
    padding: 8px 12px;
    display: flex;
    gap: 4px;
}

.corp-dot-menu {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
}

.corp-hero-mini {
    padding: 20px;
}

.corp-line {
    height: 12px;
    background: var(--bg-surface-elevated);
    border-radius: 3px;
    margin-bottom: 8px;
    width: 80%;
}

.corp-line.sub {
    width: 50%;
    margin-bottom: 24px;
}

.corp-grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.corp-block {
    height: 60px;
    background: var(--bg-surface-elevated);
    border-radius: var(--border-radius-sm);
}

/* Controls style */
.slider-controls-container {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 10;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--text-primary);
    color: var(--bg-base);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    width: 24px;
    border-radius: 99px;
    background: var(--text-primary);
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    position: relative;
    border-top: 1px solid var(--border-glass);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 32px;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-body {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.about-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-icon {
    display: flex;
    color: var(--color-primary);
}

/* Vision/Mission Tab System */
.about-cards-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: var(--bg-surface-elevated);
    border-bottom: 1px solid var(--border-glass);
}

.tab-btn {
    flex: 1;
    padding: 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--text-primary);
    background: var(--bg-surface);
    border-bottom: 2px solid var(--color-primary);
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: tab-fade-in 0.4s ease;
}

.tab-card-body h3 {
    font-size: 1.5rem;
    margin: 16px 0 16px 0;
}

.tab-card-body p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.card-icon-header {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-md);
    background: var(--bg-surface-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-list {
    margin-top: 16px;
}

.mission-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.mission-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

/* Technology Slider */
.clients-banner {
    margin-top: 80px;
    border-top: 1px solid var(--border-glass);
    padding-top: 40px;
    text-align: center;
}

.clients-title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 24px;
}

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

.client-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text-muted);
    opacity: 0.6;
    transition: var(--transition-fast);
    cursor: default;
}

.client-logo:hover {
    color: var(--text-primary);
    opacity: 1;
}

/* --- Services Grid --- */
.services-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-glass);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.service-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--accent-rgb), 0.3);
    box-shadow: var(--shadow-premium), 0 10px 30px rgba(var(--accent-rgb), 0.08);
}

.service-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

.service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background: var(--bg-surface-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--accent-rgb));
    margin-bottom: 24px;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 32px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgb(var(--accent-rgb));
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.service-link svg {
    transition: transform 0.2s ease;
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* --- Verifactu Section --- */
.verifactu-section {
    padding: 100px 0;
    background-color: rgba(99, 102, 241, 0.02);
    border-top: 1px solid var(--border-glass);
}

.simulator-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 48px;
    align-items: start;
    margin-top: 32px;
}

.simulator-controls {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.simulator-controls h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.sim-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Form Styles */
.input-group-modern {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group-modern label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-group-modern input, 
.input-group-modern select, 
.input-group-modern textarea {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    width: 100%;
}

.input-group-modern input:focus, 
.input-group-modern select:focus, 
.input-group-modern textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sim-submit-btn {
    width: 100%;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
    transition: var(--transition-smooth);
}

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

.spinner-mini {
    width: 18px;
    height: 18px;
    animation: rotate 1s linear infinite;
}

.spinner-mini circle {
    stroke-linecap: round;
    stroke-dasharray: 42 150;
}

.hidden {
    display: none !important;
}

/* SaaS Output Dashboard Style */
.simulator-display {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

.saas-header {
    background: #1e293b;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #334155;
}

.saas-title-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.saas-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saas-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #f8fafc;
    font-size: 0.85rem;
}

.saas-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.status-indicator-live {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
}

.blinking {
    animation: blink-dot 1.5s infinite;
}

.saas-panel {
    padding: 32px;
    background-color: #0b0f19;
    display: flex;
    justify-content: center;
}

/* Invoice Bill Styling */
.invoice-bill-card {
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    color: #1e293b;
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    position: relative;
    border-top: 6px solid #6366f1;
}

.bill-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.bill-logo h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.bill-logo h4 span {
    color: #6366f1;
}

.bill-logo p {
    font-size: 0.7rem;
    color: #64748b;
}

.bill-meta-right {
    text-align: right;
    font-size: 0.75rem;
    color: #64748b;
}

.bill-badge-vf {
    display: inline-block;
    padding: 3px 8px;
    background: #e2e8f0;
    color: #475569;
    font-weight: 700;
    border-radius: 4px;
    font-size: 0.65rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
}

.bill-badge-vf.success {
    background: #dcfce7;
    color: #15803d;
}

.bill-divider {
    border: none;
    border-top: 1px dashed #cbd5e1;
    margin: 20px 0;
}

.bill-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.addr-title {
    font-weight: 700;
    color: #94a3b8;
    display: block;
    margin-bottom: 4px;
    font-size: 0.7rem;
}

.bill-addresses p {
    font-size: 0.75rem;
    line-height: 1.4;
}

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

.bill-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.bill-items-table th {
    border-bottom: 2px solid #e2e8f0;
    padding: 8px 0;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    font-size: 0.7rem;
}

.bill-items-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
}

.bill-totals-area {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    margin-bottom: 24px;
}

.bill-total-row {
    display: flex;
    justify-content: space-between;
    width: 180px;
    font-size: 0.75rem;
}

.bill-total-row.grand-total {
    font-size: 0.9rem;
    font-weight: 800;
    border-top: 1px dashed #cbd5e1;
    padding-top: 8px;
    margin-top: 4px;
    color: #0f172a;
}

/* Verifactu compliance card seal */
.bill-verifactu-block {
    border: 2px solid #bbf7d0;
    background: #f0fdf4;
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-top: 16px;
    animation: fade-in-scale 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vf-seal-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    color: #166534;
    margin-bottom: 12px;
}

.vf-seal-content {
    display: flex;
    gap: 16px;
    align-items: center;
}

.vf-qr-wrapper {
    background: #ffffff;
    padding: 6px;
    border: 1px solid #dcfce7;
    border-radius: 4px;
    display: flex;
}

.qr-svg {
    display: block;
}

.vf-seal-details {
    font-size: 0.65rem;
    color: #3f6212;
    line-height: 1.5;
}

.badge-status-green {
    display: inline-block;
    padding: 2px 6px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* --- Calculator Section --- */
.calculator-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-glass);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
    margin-top: 32px;
}

.calc-options-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.calc-options-card h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
}

.option-row {
    margin-bottom: 36px;
}

.option-row:last-child {
    margin-bottom: 0;
}

.section-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.type-selectors, .period-selectors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.type-btn {
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
    border-radius: var(--border-radius-md);
    padding: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.type-btn:hover {
    border-color: var(--text-muted);
}

.type-btn.active {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

.btn-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.btn-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.hidden-radio {
    display: none;
}

/* Slider Style customization */
.label-with-val {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.val-bubble {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-secondary);
    padding: 4px 12px;
    border-radius: 99px;
}

.modern-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border-subtle);
    border-radius: 99px;
    outline: none;
}

.modern-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
    transition: transform 0.1s ease;
}

.modern-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Checkbox Addons cards style */
.addons-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.addon-checkbox-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    padding: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.addon-checkbox-card:hover {
    border-color: var(--text-muted);
}

/* Hide raw checkbox, make modern wrapper */
.addon-checkbox-card input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-subtle);
    border-radius: 4px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.addon-checkbox-card input[type="checkbox"]:checked + .custom-checkbox {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
}

.addon-checkbox-card input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "✓";
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
}

.addon-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.addon-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

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

/* Floating Check out budget card */
.calc-summary-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-premium);
    position: sticky;
    top: 100px;
}

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

.summary-header h4 {
    font-size: 1.15rem;
}

.summary-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
}

.summary-price-box {
    text-align: center;
    margin-bottom: 24px;
}

.price-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.price-total {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--text-primary);
}

.price-num {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 4px;
}

.price-taxes-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.summary-divider {
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 24px 0;
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.detail-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-icon.blue {
    background: rgba(6, 182, 212, 0.1);
    color: var(--color-secondary);
}

.detail-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

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

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.detail-text strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.calc-cta-btn {
    width: 100%;
}

.calc-disclaimer {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 16px;
}

/* --- Contact & Map System --- */
.contact-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-glass);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
    align-items: start;
    margin-top: 32px;
}

.contact-lead-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

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

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.contact-detail-card:hover {
    border-color: var(--text-muted);
    transform: translateX(4px);
}

.detail-card-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-surface-elevated);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.detail-card-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.detail-card-text strong {
    font-size: 1rem;
    font-weight: 600;
}

/* Beautiful Interactive Map Mockup */
.modern-map-card {
    height: 200px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
}

.map-grid-pattern {
    position: absolute;
    width: 150%;
    height: 150%;
    background-image: 
        radial-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(to right, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 12px 12px, 36px 36px, 36px 36px;
    z-index: 1;
}

[data-theme="dark"] .map-grid-pattern {
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
}

.map-pin-indicator {
    position: relative;
    width: 24px;
    height: 24px;
    z-index: 2;
}

.pin-inner {
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 6px;
    box-shadow: 0 0 10px var(--color-primary);
}

.pulse-pin {
    width: 24px;
    height: 24px;
    background-color: rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    animation: radar-pulse 2s infinite;
}

.map-label {
    position: absolute;
    bottom: 16px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

/* Form layout column */
.contact-form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-soft);
}

.contact-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.form-sub-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.consent-checkbox-row {
    margin-bottom: 24px;
}

.consent-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.consent-checkbox-label input[type="checkbox"] {
    display: none;
}

.consent-checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.consent-checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "✓";
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
}

.consent-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.consent-text a {
    color: var(--color-primary);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    background: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    background-color: var(--text-muted);
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none !important;
    transform: none !important;
}

.submit-btn:disabled:hover {
    box-shadow: none !important;
    transform: none !important;
}

.btn-loader {
    width: 18px;
    height: 18px;
    display: inline-flex;
}

/* --- Footer --- */
.main-footer {
    background: #09090b;
    color: #a1a1aa;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 0 0;
}

[data-theme="light"] .main-footer {
    background: #0f172a; /* Keep dark footer on light mode for premium depth */
    color: #94a3b8;
}

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

.footer-brand-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand-box .logo-text {
    color: #ffffff;
}

.brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links-row {
    display: flex;
    gap: 12px;
}

.social-link-btn {
    width: 36px;
    height: 36px;
    background: #27272a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: var(--transition-fast);
}

.social-link-btn:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.footer-links-box h4, .footer-contact-box h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

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

.footer-links-box a {
    font-size: 0.9rem;
}

.footer-links-box a:hover {
    color: #ffffff;
}

.footer-contact-box p {
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.5;
}

.foot-phone, .foot-email {
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid #27272a;
    padding: 32px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright-txt {
    font-size: 0.8rem;
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    font-size: 0.8rem;
}

.legal-links a:hover {
    color: #ffffff;
}

/* --- Modals --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: opacity 0.3s ease;
}

.modal-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    width: 100%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-premium);
    position: relative;
    animation: modal-zoom-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-success-icon {
    width: 80px;
    height: 80px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
}

.modal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.modal-card p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.close-modal-btn {
    width: 100%;
}

/* Legal Multi-Tab Modal override */
.modal-card.legal-card {
    max-width: 700px;
    text-align: left;
    height: 80vh;
    display: flex;
    flex-direction: column;
    padding: 32px;
}

.close-legal-btn {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 32px;
    height: 32px;
    background: var(--bg-surface-elevated);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
}

.legal-modal-tabs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
}

.legal-tab-btn {
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 99px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.legal-tab-btn.active {
    background: var(--color-primary);
    color: #ffffff;
}

.legal-modal-content {
    flex-grow: 1;
    overflow-y: auto;
    padding-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.legal-modal-content h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.legal-modal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* --- WhatsApp Float Widget --- */
.whatsapp-widget-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
}

.wa-chat-bubble {
    width: 60px;
    height: 60px;
    background-color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
    transition: var(--transition-smooth);
    position: relative;
}

.wa-chat-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

.wa-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background-color: #ef4444;
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #22c55e;
}

.wa-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    animation: wa-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.wa-win-header {
    background: #22c55e;
    padding: 16px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-avatar {
    position: relative;
    width: 40px;
    height: 40px;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
}

.avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.wa-agent-info h5 {
    font-size: 0.9rem;
    font-weight: 700;
}

.wa-agent-info p {
    font-size: 0.7rem;
    opacity: 0.8;
}

.wa-close-btn {
    margin-left: auto;
    cursor: pointer;
    background: transparent;
    border: none;
    color: white;
}

.wa-win-body {
    padding: 20px;
    background-color: #0b0f19;
    flex-grow: 1;
    min-height: 150px;
}

[data-theme="light"] .wa-win-body {
    background-color: #f1f5f9;
}

.wa-bubble-msg {
    max-width: 85%;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.8rem;
    position: relative;
}

.wa-bubble-msg.received {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-bottom-left-radius: 0;
}

.msg-sender {
    font-weight: 700;
    font-size: 0.7rem;
    color: #22c55e;
    margin-bottom: 4px;
}

.msg-time {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 4px;
}

.wa-win-footer {
    display: flex;
    padding: 12px;
    background: var(--bg-surface-elevated);
    gap: 8px;
    border-top: 1px solid var(--border-glass);
}

.wa-win-footer input {
    flex-grow: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    padding: 10px 14px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
}

.wa-send-btn {
    width: 38px;
    height: 38px;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.wa-send-btn:hover {
    transform: scale(1.05);
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes simple-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes radar-pulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes blink-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

@keyframes tab-fade-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-scale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes modal-zoom-in {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes wa-slide-up {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- RESPONSIVE SYSTEM BREAKPOINTS --- */
@media (max-width: 1024px) {
    .hero-slider-section {
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 100px;
    }
    
    .hero-slide {
        position: relative !important;
        display: none !important;
        opacity: 0;
        height: auto !important;
        visibility: hidden;
    }
    
    .hero-slide.active {
        display: flex !important;
        visibility: visible !important;
        animation: mobile-slide-fade-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes mobile-slide-fade-in {
        from {
            opacity: 0;
            transform: translateY(15px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-slide-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        padding-top: 100px;
    }
    
    .slide-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .slide-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .slide-actions {
        justify-content: center;
    }
    
    .slide-visual {
        transform: scale(0.85);
        margin-bottom: 24px;
    }
    
    .hero-slide.active .slide-visual {
        transform: scale(1);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-summary-card {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slide-title {
        font-size: 2.25rem;
    }
    
    .main-header.scrolled {
        height: 60px;
    }
    
    /* Navigation toggle */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-glass);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: 1px solid var(--border-glass);
        z-index: 99;
        display: flex;
        flex-direction: column;
        padding: 90px 24px 32px 32px;
        box-shadow: -10px 0 45px rgba(0, 0, 0, 0.05);
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.45);
        z-index: -1;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }
    
    .nav-menu.open {
        right: 0;
        box-shadow: -10px 0 45px rgba(0, 0, 0, 0.15);
    }
    
    .nav-menu.open::before {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
        margin-top: 20px;
    }
    
    .nav-menu .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-primary);
        padding: 8px 0;
        display: inline-flex;
        align-items: center;
        width: 100%;
        transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
        border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.04);
    }

    .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
        color: var(--color-primary);
        padding-left: 8px;
    }

    /* Staggered mobile links entrance animations */
    .nav-menu.open ul > li {
        animation: slide-in-link 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        opacity: 0;
        transform: translateX(20px);
    }
    
    .nav-menu.open ul > li:nth-child(1) { animation-delay: 0.04s; }
    .nav-menu.open ul > li:nth-child(2) { animation-delay: 0.08s; }
    .nav-menu.open ul > li:nth-child(3) { animation-delay: 0.12s; }
    .nav-menu.open ul > li:nth-child(4) { animation-delay: 0.16s; }
    .nav-menu.open ul > li:nth-child(5) { animation-delay: 0.20s; }
    .nav-menu.open ul > li:nth-child(6) { animation-delay: 0.24s; }

    @keyframes slide-in-link {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .simulator-layout {
        grid-template-columns: 1fr;
    }
    
    .saas-panel {
        padding: 16px;
    }
    
    .invoice-bill-card {
        padding: 16px;
    }
    
    .bill-addresses {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .bill-addresses .text-right {
        text-align: left;
    }
    
    .type-selectors, .period-selectors {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-row-double {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .plan-showcase, .teaser-card, .calc-options-card, .calc-summary-card, .contact-form-card {
        padding: 24px !important;
    }

    .glow-bg-blob {
        display: none !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-cta-btn span {
        display: none;
    }

    /* Mobile Dropdown adaptions */
    .nav-menu .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px 0 8px 16px !important;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: auto;
        height: auto;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        border-left: 2px solid rgba(var(--color-primary-rgb), 0.15) !important;
        margin-left: 4px !important;
        margin-top: 4px !important;
    }
    
    .nav-menu .dropdown-item {
        font-size: 0.95rem;
        font-weight: 500;
        padding: 6px 12px;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition-fast);
        position: relative;
    }
    
    .nav-menu .dropdown-item::before {
        content: '';
        display: inline-block;
        width: 5px;
        height: 5px;
        background-color: var(--text-muted);
        border-radius: 50%;
        transition: var(--transition-fast);
    }
    
    .nav-menu .dropdown-item:hover,
    .nav-menu .dropdown-item.active-sub {
        background-color: transparent;
        color: var(--color-primary);
        padding-left: 12px;
    }

    .nav-menu .dropdown-item:hover::before {
        background-color: var(--color-primary);
        transform: scale(1.3);
    }
    
    .nav-menu .dropdown-arrow {
        display: none; /* Hide arrow on mobile drawer */
    }

    .nav-menu .close-menu-btn {
        display: flex;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 38px;
        height: 38px;
        align-items: center;
        justify-content: center;
        color: var(--text-primary);
        background: transparent;
        border: 1px solid var(--border-glass);
        border-radius: var(--border-radius-sm);
        cursor: pointer;
        transition: var(--transition-fast);
        z-index: 101;
    }
    
    .nav-menu .close-menu-btn:hover {
        background-color: rgba(var(--color-primary-rgb), 0.08);
        color: var(--color-primary);
        transform: scale(1.05);
    }
}

/* --- Narrow Mobile Viewport Optimizations --- */
@media (max-width: 480px) {
    .main-logo-img {
        height: 38px;
    }
    .header-actions {
        gap: 8px;
    }
    .phone-cta-btn {
        padding: 8px 12px;
    }
}
