/**
 * Patienten Kontakt - Main Stylesheet
 * patienten-kontakt.com
 */

/* ========================================
   CSS Variables
======================================== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --green: #22c55e;
    --green-dark: #16a34a;
    --purple: #7c3aed;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-muted: #6b7280;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);

    --radius: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    --transition: 300ms ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
p { margin-bottom: 16px; color: var(--text-secondary); }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
strong { font-weight: 600; color: var(--text-primary); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section-cta { text-align: center; margin-top: 40px; }
.portfolio-section, .faq-section { padding-bottom: 16px; }
.section-cta p { margin-bottom: 16px; font-size: 18px; }

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.btn-secondary { background: #fff; color: var(--text-primary); border-color: var(--gray-300); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--gray-100); }
.btn-large { padding: 16px 32px; font-size: 17px; }
.btn-full { width: 100%; }

/* ========================================
   Header (Glassmorphism)
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
@media (max-width: 768px) {
    .site-header {
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, box-shadow 0.3s ease;
    }
    .site-header.header-scrolling {
        will-change: transform, opacity;
    }
    .site-header.header-hidden {
        transform: translateY(-100%);
        opacity: 0;
        box-shadow: none;
    }
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    gap: 20px;
}
.logo { text-decoration: none; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--primary); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-secondary); }
.nav-links a:hover { color: var(--primary); }
.nav-cta { flex-shrink: 0; }

.header-trust-bar {
    background: rgba(249, 250, 251, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 0;
}
.header-trust-bar .container { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.trust-item { font-size: 13px; color: var(--text-muted); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.trust-item svg, .trust-icon-svg { vertical-align: middle; }

/* Mobile Header Actions */
.mobile-header-actions { display: none; align-items: center; gap: 8px; }
.mobile-lang-wrap { position: relative; }
.mobile-lang-trigger {
    display: flex; align-items: center; justify-content: center; gap: 3px;
    height: 38px; padding: 0 10px; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.5); border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer; transition: all 0.15s ease;
}
.mobile-lang-trigger:hover { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.12); }
.mobile-lang-wrap.open .mobile-lang-trigger { border-color: var(--primary); background: rgba(37,99,235,0.08); }
.mobile-lang-code { font-size: 13px; font-weight: 700; color: var(--text-primary); letter-spacing: 0.5px; line-height: 1; }
.mobile-lang-chevron { color: var(--text-muted); transition: transform 0.2s ease; flex-shrink: 0; }
.mobile-lang-wrap.open .mobile-lang-chevron { transform: rotate(180deg); }

/* Mobile Lang Dropdown */
.mobile-lang-dropdown {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    min-width: 120px; background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 4px; z-index: 1100;
}
.mobile-lang-wrap.open .mobile-lang-dropdown {
    display: block; animation: mobileLangDrop 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mobileLangDrop {
    from { opacity: 0; transform: translateY(-8px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.mobile-lang-dd-option {
    display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 12px;
    background: none; border: none; border-radius: var(--radius-md);
    cursor: pointer; font-family: inherit; transition: background 0.1s ease;
}
.mobile-lang-dd-option:hover { background: var(--gray-50); }
.mobile-lang-dd-option.active { background: rgba(37,99,235,0.08); }
.mldd-flag { font-size: 16px; line-height: 1; }
.mldd-code { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.mobile-lang-dd-option:hover .mldd-code { color: var(--text-primary); }
.mobile-lang-dd-option.active .mldd-code { color: var(--primary); font-weight: 700; }

/* Mobile Menu Toggle (SVG burger / close) */
.mobile-menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.5); border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-md); cursor: pointer; padding: 0;
    z-index: 1060; transition: all 0.2s ease; color: var(--text-primary);
    position: relative;
}
.mobile-menu-toggle:hover { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.12); }
.mobile-menu-toggle .close-icon { display: none; }
.mobile-menu-toggle.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.mobile-menu-toggle.active .burger-icon { display: none; }
.mobile-menu-toggle.active .close-icon { display: block; }

/* ─── Language Switcher (Desktop) ─── */
.lang-switcher { position: relative; flex-shrink: 0; }
.lang-trigger {
    display: flex; align-items: center; gap: 5px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.5); border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-md); cursor: pointer;
    font-family: inherit; transition: all 0.15s ease;
}
.lang-trigger:hover { border-color: rgba(0,0,0,0.15); background: rgba(255,255,255,0.8); }
.lang-switcher.open .lang-trigger { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.lang-code { font-size: 13px; font-weight: 600; color: var(--text-primary); letter-spacing: 0.3px; line-height: 1; }
.lang-chevron { flex-shrink: 0; color: var(--text-muted); transition: transform 0.2s ease; margin-left: -2px; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    width: 160px; background: #fff; border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 4px; z-index: 1100; animation: langDrop 0.12s ease;
}
.lang-switcher.open .lang-dropdown { display: block; }
@keyframes langDrop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.lang-option {
    display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px;
    background: none; border: none; border-radius: var(--radius-md);
    cursor: pointer; font-family: inherit; transition: background 0.1s ease; text-align: left;
}
.lang-option:hover { background: var(--gray-50); }
.lang-option.active { background: var(--gray-50); }
.lang-label { flex: 1; font-size: 13px; font-weight: 500; color: var(--text-secondary); }
.lang-option:hover .lang-label { color: var(--text-primary); }
.lang-option.active .lang-label { font-weight: 600; color: var(--primary); }
.lang-shortcut {
    font-size: 10px; font-weight: 700; color: var(--gray-400);
    background: #fff; padding: 2px 5px; border-radius: 4px;
    letter-spacing: 0.5px; border: 1px solid var(--gray-200); line-height: 1.3;
}
.lang-option.active .lang-shortcut { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── Mobile Language Switcher (inside mobile nav) ─── */
.mobile-lang-switcher { display: flex; gap: 6px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.mobile-lang-option {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 0; background: var(--gray-50); border: 1px solid var(--gray-200);
    border-radius: var(--radius-md); cursor: pointer; font-size: 13px; font-weight: 600;
    color: var(--text-muted); font-family: inherit; transition: all 0.15s ease;
}
.mobile-lang-option:hover { border-color: var(--gray-300); color: var(--text-primary); }
.mobile-lang-option.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 72px;
    background: #ffffff;
    z-index: 1050;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.mobile-nav.active {
    display: block;
    animation: mobileNavSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes mobileNavSlide {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}
.mobile-nav-inner { padding: 8px 20px 20px; }
.mobile-nav-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 4px 0 16px; margin-bottom: 4px; border-bottom: 1px solid var(--gray-200);
}
.mobile-nav-close {
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    background: none; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
    cursor: pointer; color: var(--text-primary); transition: all 0.2s ease;
}
.mobile-nav-close:hover { background: var(--gray-100); color: var(--primary); }
.mobile-nav-links { margin-bottom: 16px; }
.mobile-nav-link {
    display: flex; align-items: center; padding: 15px 12px; margin: 0 -12px;
    font-size: 17px; font-weight: 500; color: var(--text-primary);
    border-bottom: 1px solid var(--gray-200); border-radius: 0;
    transition: background 0.12s ease;
}
.mobile-nav-link:hover { background: var(--gray-50); color: var(--primary); }
.mobile-nav-cta { margin-top: 8px; }

/* ========================================
   Floating Notification Bell
======================================== */
.notification-bell {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
}
.bell-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    transition: all var(--transition);
    position: relative;
}
.bell-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
}
.bell-trigger.active {
    background: var(--gray-700);
}
.bell-icon {
    width: 24px;
    height: 24px;
    color: #fff;
}
.bell-trigger.ringing .bell-icon {
    animation: ring 0.5s ease-in-out;
}
@keyframes ring {
    0%, 100% { transform: rotate(0); }
    20%, 60% { transform: rotate(15deg); }
    40%, 80% { transform: rotate(-15deg); }
}
.bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: pulse 2s ease-in-out infinite;
}
.bell-badge.hidden { display: none; }
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Notification Panel */
.notification-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.3s ease;
    overflow: hidden;
}
.notification-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}
.notification-header h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
.panel-close {
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
}
.panel-close:hover {
    background: var(--gray-200);
    color: var(--text-primary);
}
.notification-body {
    max-height: 400px;
    overflow-y: auto;
}
.notification-item {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition);
}
.notification-item:hover {
    background: var(--gray-50);
}
.notification-item.active {
    background: rgba(37, 99, 235, 0.05);
    border-left: 3px solid var(--primary);
}
.notification-icon {
    font-size: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.notification-icon svg {
    stroke: var(--primary);
}
.notification-content {
    flex: 1;
    min-width: 0;
}
.notification-label {
    display: inline-block;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.notification-content h5 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text-primary);
}
.notification-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0 0 10px;
    line-height: 1.5;
}
.notification-cta {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}
.notification-cta:hover {
    text-decoration: underline;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 300px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-left: 4px solid var(--primary);
}
.notification-toast.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.toast-icon {
    font-size: 28px;
    flex-shrink: 0;
    animation: ring 1s ease-in-out;
    display: flex;
    align-items: center;
}
.toast-icon svg {
    stroke: var(--primary);
}
.toast-content {
    flex: 1;
    min-width: 0;
}
.toast-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}
.toast-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}
.toast-close {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
}
.toast-close:hover {
    color: var(--text-primary);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 50%, #f5f3ff 100%);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 40%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content {
    max-width: 540px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px 8px 10px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.hero-badge .badge-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.hero-badge .badge-icon svg {
    stroke: #fff;
}
.hero-badge span:last-child {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* Hero Title */
.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.title-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.hero-cta-group .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.hero-cta-group .btn svg {
    transition: transform var(--transition);
}
.hero-cta-group .btn:hover svg {
    transform: translateX(4px);
}

/* Hero Trust Signals */
.hero-trust-signals {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.trust-signal {
    display: flex;
    align-items: center;
    gap: 10px;
}
.trust-signal-icon {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.trust-signal-icon svg {
    stroke: var(--primary);
}
.trust-signal span {
    font-size: 14px;
    color: var(--text-secondary);
}
.trust-signal span strong {
    color: var(--text-primary);
}

/* Hero Visual */
.hero-visual {
    position: relative;
}
.hero-visual-wrapper {
    position: relative;
    padding: 20px;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
}
.dashboard-dots {
    display: flex;
    gap: 6px;
}
.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dashboard-dots span:nth-child(1) { background: #ff5f56; }
.dashboard-dots span:nth-child(2) { background: #ffbd2e; }
.dashboard-dots span:nth-child(3) { background: #27ca40; }
.dashboard-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto;
    margin-right: auto;
}
.dashboard-body {
    display: flex;
    min-height: 280px;
}
.dashboard-sidebar {
    width: 60px;
    background: var(--gray-50);
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-right: 1px solid var(--gray-200);
}
.sidebar-item {
    width: 36px;
    height: 36px;
    background: var(--gray-200);
    border-radius: var(--radius-md);
}
.sidebar-item.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
}
.dashboard-content {
    flex: 1;
    padding: 20px;
}
.content-header {
    width: 60%;
    height: 20px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 20px;
}
.content-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.stat-box {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}
.stat-box .stat-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}
.stat-box .stat-icon svg {
    stroke: var(--primary);
}
.stat-box .stat-info {
    display: flex;
    flex-direction: column;
}
.stat-box .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}
.stat-box .stat-label {
    font-size: 11px;
    color: var(--text-muted);
}
.content-chart {
    height: 80px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.02) 100%);
    border-radius: var(--radius-md);
    position: relative;
    overflow: hidden;
}
.content-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(37, 99, 235, 0.3) 20%,
        rgba(37, 99, 235, 0.5) 40%,
        rgba(37, 99, 235, 0.3) 60%,
        rgba(37, 99, 235, 0.6) 80%,
        rgba(37, 99, 235, 0.4) 100%
    );
    clip-path: polygon(0 80%, 15% 60%, 30% 70%, 45% 40%, 60% 50%, 75% 20%, 90% 35%, 100% 10%, 100% 100%, 0 100%);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: floatElement 4s ease-in-out infinite;
}
.floating-element .floating-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.floating-element .floating-icon svg {
    stroke: #fff;
}
.floating-element .floating-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.floating-element .floating-text strong {
    font-size: 13px;
    color: var(--text-primary);
}
.floating-element .floating-text span {
    font-size: 11px;
    color: var(--text-muted);
}
.element-1 {
    top: 10%;
    right: -10px;
    animation-delay: 0s;
}
.element-2 {
    bottom: 25%;
    left: -20px;
    animation-delay: 1.5s;
}
.element-3 {
    bottom: 5%;
    right: 10%;
    animation-delay: 3s;
}
@keyframes floatElement {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ========================================
   Problem Section
======================================== */
.problem-section { background: var(--gray-50); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 2px solid transparent;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.problem-icon { font-size: 48px; margin-bottom: 20px; display: flex; justify-content: center; }
.problem-icon svg { stroke: var(--primary); }
.problem-card h3 { font-size: 18px; margin-bottom: 12px; }
.problem-card p { font-size: 14px; margin: 0; }

/* ========================================
   Solution Section
======================================== */
.solution-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.solution-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
}
.solution-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.solution-card.featured { border-color: var(--primary); background: linear-gradient(180deg, rgba(37,99,235,0.03) 0%, #fff 100%); }
.card-badge {
    position: absolute;
    top: -12px;
    left: 32px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}
.solution-icon { font-size: 40px; margin-bottom: 20px; display: flex; justify-content: center; }
.solution-icon svg { stroke: var(--primary); }
.solution-card h3 { font-size: 22px; margin-bottom: 12px; }
.solution-card > p { font-size: 15px; margin-bottom: 20px; }
.solution-features { margin: 0; }
.solution-features li { padding: 8px 0; font-size: 14px; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 8px; }

/* Check Icon - CSS-based checkmark */
.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    background: var(--green);
    border-radius: 50%;
    position: relative;
    margin-top: 2px;
}
.check-icon::after {
    content: '';
    width: 5px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

/* ========================================
   How It Works
======================================== */
.how-it-works-section { background: var(--gray-50); }
.steps-grid { display: flex; justify-content: center; gap: 30px; }
.step-card {
    flex: 1;
    max-width: 320px;
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.step-icon { font-size: 48px; margin-bottom: 20px; display: flex; justify-content: center; }
.step-icon svg { stroke: var(--primary); }
.step-card h3 { font-size: 20px; margin-bottom: 12px; }
.step-card p { font-size: 14px; margin-bottom: 16px; }
.step-detail { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--gray-100); border-radius: var(--radius-full); font-size: 13px; color: var(--text-muted); }
.step-detail svg { stroke: var(--text-muted); }

/* ========================================
   Portfolio Section
======================================== */
.portfolio-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
    padding: 10px 24px;
    background: var(--gray-100);
    color: var(--text-secondary);
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.filter-btn:hover { background: #fff; border-color: var(--gray-300); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.portfolio-card.hidden { display: none; }
.card-thumbnail {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    position: relative;
}
.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    line-height: 1.4;
    text-align: center;
}
.card-thumbnail .card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.7);
    font-size: 11px;
}
.card-content { padding: 24px; }
.card-content h3 { font-size: 18px; margin-bottom: 4px; }
.card-subtitle { font-size: 13px; color: var(--primary); font-weight: 500; margin-bottom: 12px; }
.card-content > p { font-size: 14px; margin-bottom: 16px; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.tag { padding: 4px 10px; background: var(--gray-100); color: var(--text-muted); border-radius: var(--radius); font-size: 12px; }

/* ========================================
   Benefits Section
======================================== */
.benefits-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: #fff;
}
.benefits-section h2, .benefits-section .section-subtitle { color: #fff; }
.benefits-section .section-subtitle { opacity: 0.9; }
.benefits-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.benefit-card {
    text-align: center;
    padding: 24px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.benefit-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.benefit-icon { font-size: 32px; margin-bottom: 16px; display: flex; justify-content: center; }
.benefit-icon svg { stroke: #fff; }
.benefit-number { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.benefit-label { font-size: 14px; opacity: 0.9; }

/* ========================================
   Why Choose Us Section
======================================== */
.why-us-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
    overflow: hidden;
    padding-bottom: 32px;
}
.faq-section {
    padding-top: 32px;
}
.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Promise Cards Grid */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 48px;
}
.promise-card {
    background: #fff;
    padding: 36px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 2px solid var(--gray-200);
    transition: all var(--transition);
    position: relative;
}
.promise-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}
.promise-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.02) 0%, #fff 100%);
}
.promise-badge {
    position: absolute;
    top: -12px;
    left: 32px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}
.promise-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 24px;
}
.promise-icon svg {
    stroke: #fff;
}
.promise-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.promise-card > p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.promise-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.promise-list li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 10px;
}
.promise-list li:last-child {
    border-bottom: none;
}
.promise-list .check-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
}
.promise-list .check-icon::after {
    width: 4px;
    height: 7px;
}

/* Guarantee Box */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 40px 48px;
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
    border-radius: var(--radius-xl);
    color: #fff;
    flex-wrap: wrap;
}
.guarantee-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}
.guarantee-icon svg {
    stroke: #fff;
}
.guarantee-content {
    flex: 1;
    min-width: 280px;
}
.guarantee-content h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
}
.guarantee-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}
.guarantee-content p strong {
    color: #fff;
}
.guarantee-box .btn {
    flex-shrink: 0;
}

/* ========================================
   FAQ Section
======================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius-lg); margin-bottom: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question h3 { font-size: 16px; font-weight: 600; margin: 0; padding-right: 20px; }
.faq-icon { font-size: 24px; color: var(--primary); transition: transform var(--transition); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 24px; margin: 0; font-size: 15px; }

/* ========================================
   CTA Section
======================================== */
.cta-section { padding: 24px 0; }
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}
.cta-box h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.cta-box > p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-contact-options { display: flex; justify-content: center; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.cta-contact-link { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 16px; font-weight: 500; }
.cta-contact-link:hover { opacity: 0.9; color: #fff; }
.cta-contact-link .contact-icon { font-size: 20px; display: flex; align-items: center; }
.cta-contact-link .contact-icon svg { stroke: #fff; }
.cta-trust-list { display: flex; justify-content: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.cta-trust-list li { font-size: 14px; opacity: 0.9; display: flex; align-items: center; gap: 8px; }
.cta-trust-list .check-icon { background: rgba(255,255,255,0.25); width: 16px; height: 16px; min-width: 16px; }
.cta-trust-list .check-icon::after { width: 4px; height: 7px; }

/* ========================================
   Contact Section
======================================== */
.contact-section { background: var(--gray-50); padding-top: 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: 32px; margin-bottom: 16px; }
.contact-description { font-size: 16px; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-item .detail-icon {
    font-size: 24px;
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}
.contact-detail-item .detail-icon svg {
    stroke: var(--primary);
}
.contact-detail-item div { display: flex; flex-direction: column; gap: 4px; }
.contact-detail-item strong { font-size: 14px; }
.contact-detail-item a, .contact-detail-item span { font-size: 15px; color: var(--text-secondary); }

.contact-form-wrapper { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 22px; margin-bottom: 24px; text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-group.checkbox input { width: auto; margin-top: 4px; }
.form-group.checkbox label { margin: 0; font-size: 13px; font-weight: 400; color: var(--text-secondary); }
.form-trust { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.form-message { margin-top: 16px; padding: 16px; border-radius: var(--radius-md); text-align: center; font-size: 14px; }
.form-message.success { background: rgba(34,197,94,0.1); color: var(--green-dark); border: 1px solid rgba(34,197,94,0.3); }
.form-message.error { background: rgba(239,68,68,0.1); color: #dc2626; border: 1px solid rgba(239,68,68,0.3); }

/* ========================================
   Footer (Improved)
======================================== */
.site-footer {
    background: var(--gray-900);
    color: #fff;
}

/* Footer CTA */
.footer-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    padding: 48px 0;
}
.footer-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-cta-text h3 {
    font-size: 24px;
    color: #fff;
    margin: 0 0 8px;
}
.footer-cta-text p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Footer Main */
.footer-main {
    padding: 60px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
}

/* Footer Brand */
.footer-brand .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}
.footer-brand .logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}
.footer-brand .logo-text {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}
.footer-brand .footer-logo-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    object-fit: cover;
}
.footer-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Footer Contact Cards */
.footer-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
    text-decoration: none;
}
.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}
.contact-card .card-icon {
    font-size: 22px;
    display: flex;
    align-items: center;
}
.contact-card .card-icon svg {
    stroke: rgba(255, 255, 255, 0.8);
}
.contact-card .card-info strong {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    margin-bottom: 2px;
}
.contact-card .card-info span {
    font-size: 14px;
    color: #fff;
}

/* Footer Links */
.footer-links-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.footer-column h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.footer-column ul li {
    margin-bottom: 14px;
}
.footer-column a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-column a:hover {
    color: #fff;
    transform: translateX(4px);
}
.footer-column .link-icon {
    font-size: 16px;
    opacity: 0.7;
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
}
.footer-column .link-icon svg {
    stroke: rgba(255, 255, 255, 0.7);
}

/* Footer Trust */
.footer-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-trust .trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-trust .trust-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
}
.footer-trust .trust-icon svg {
    stroke: var(--primary-light);
}
.footer-trust .trust-text strong {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}
.footer-trust .trust-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Back to Top */
.back-to-top-bar {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.back-to-top-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.back-to-top-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.back-to-top-btn:hover svg {
    transform: translateY(-2px);
}
.back-to-top-btn svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    stroke: currentColor;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}
.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}
.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-links a:hover {
    color: #fff;
}
.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Email copy + send links */
.email-copy-link {
    cursor: pointer;
}
.email-copy-link:hover {
    opacity: 0.8;
}
.email-send-link {
    font-size: 13px;
    color: var(--primary);
    cursor: pointer;
    text-decoration: none;
    display: none;
    margin-top: 2px;
}
.email-send-link.visible {
    display: inline-block;
}
.email-send-link:hover {
    text-decoration: underline;
}
/* CTA section email */
.cta-contact-link.email-copy-link { cursor: pointer; }
.cta-contact-link.email-send-link { display: none; }
.cta-contact-link.email-send-link.visible { display: inline-flex; }
/* Footer email card wrap */
.email-card-wrap { cursor: default; }
.email-card-wrap .email-copy-link { display: block; }
.email-card-wrap .email-send-link { color: rgba(255,255,255,0.7); font-size: 12px; margin-top: 4px; display: none; }
.email-card-wrap .email-send-link.visible { display: block; }
.email-card-wrap .email-send-link:hover { color: #fff; }

/* Email copied toast */
.email-copied-toast {
    position: absolute;
    transform: translateX(-50%) translateY(8px);
    background: var(--green);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.email-copied-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Swipe carousel — hidden on desktop, visible on mobile via media query */
.swipe-dots, .swipe-hint { display: none; }

/* ========================================
   Responsive
======================================== */
@media (max-width: 1199px) {
    h1, .hero-title { font-size: 44px; }
    .hero-grid { gap: 40px; }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-trust { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .nav-links, .nav-cta, .lang-switcher { display: none; }
    .mobile-header-actions { display: flex; }

    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-badge { justify-content: center; }
    .hero-cta-group { justify-content: center; }
    .hero-trust-signals { justify-content: center; }
    .hero-visual-wrapper { max-width: 500px; margin: 0 auto; }
    .floating-element { display: none; }

    .solution-grid { grid-template-columns: 1fr; }

    /* Why Us Responsive */
    .why-us-grid { grid-template-columns: 1fr; gap: 24px; }
    .guarantee-box { flex-direction: column; text-align: center; padding: 32px; }
    .guarantee-content { min-width: 100%; }

    .contact-grid { grid-template-columns: 1fr; }

    /* Footer Responsive */
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-links-wrapper { grid-template-columns: repeat(3, 1fr); }
    .footer-cta-content { justify-content: center; text-align: center; }
}

@media (max-width: 767px) {
    section { padding: 60px 0; }
    h1, .hero-title { font-size: 32px; }
    h2 { font-size: 28px; }

    .hero-section { padding: 120px 0 60px; }
    .hero-title { font-size: 36px; }
    .hero-badge { padding: 6px 12px 6px 8px; }
    .hero-badge span:last-child { font-size: 12px; }
    .hero-cta-group { flex-direction: column; }
    .hero-cta-group .btn { width: 100%; justify-content: center; }
    .hero-trust-signals { flex-direction: column; align-items: center; gap: 12px; }
    .trust-signal { justify-content: center; }
    .dashboard-body { min-height: 220px; }
    .content-stats { flex-direction: column; gap: 8px; }
    .stat-box { padding: 10px; }
    .stat-box .stat-value { font-size: 16px; }
    .content-chart { height: 60px; }

    /* ---- Horizontal swipe carousels on mobile ---- */

    /* Shared carousel wrapper behavior */
    .swipe-carousel {
        position: relative;
    }

    .problem-grid,
    .solution-grid,
    .steps-grid,
    .benefits-grid,
    .why-us-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 16px 20px 8px;
        margin: 0 -20px;
        scroll-behavior: smooth;
    }
    .problem-grid::-webkit-scrollbar,
    .solution-grid::-webkit-scrollbar,
    .steps-grid::-webkit-scrollbar,
    .benefits-grid::-webkit-scrollbar,
    .why-us-grid::-webkit-scrollbar { display: none; }
    .problem-grid,
    .solution-grid,
    .steps-grid,
    .benefits-grid,
    .why-us-grid { scrollbar-width: none; }

    .steps-grid {
        flex-direction: row;
        align-items: stretch;
        justify-content: flex-start;
    }

    /* Card sizing per section */
    .problem-card,
    .solution-card,
    .promise-card {
        min-width: 280px;
        max-width: 85vw;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .step-card {
        flex: 0 0 auto;
        min-width: 260px;
        max-width: 80vw;
        scroll-snap-align: start;
    }
    .benefit-card {
        min-width: 140px;
        max-width: 45vw;
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .step-connector { display: none; }

    /* Scroll dot indicators */
    .swipe-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding-top: 16px;
    }
    .swipe-dots .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gray-300);
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    .swipe-dots .dot.active {
        background: var(--primary);
        width: 24px;
        border-radius: 4px;
    }

    /* Swipe hint arrow — fades out after first scroll */
    .swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 12px;
        color: var(--text-muted);
        padding-top: 8px;
        opacity: 1;
        transition: opacity 0.4s ease;
    }
    .swipe-hint.hidden { opacity: 0; pointer-events: none; }
    .swipe-hint svg {
        animation: swipeArrow 1.5s ease-in-out infinite;
    }
    @keyframes swipeArrow {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(6px); }
    }

    /* Override overflow hidden on why-us so carousel works */
    .why-us-section { overflow: visible; }

    /* Benefits dots on dark bg */
    .benefits-section .swipe-dots .dot { background: rgba(255,255,255,0.3); }
    .benefits-section .swipe-dots .dot.active { background: #fff; }
    .benefits-section .swipe-hint { color: rgba(255,255,255,0.6); }
    .benefits-section .swipe-hint svg { stroke: rgba(255,255,255,0.6); }

    /* Portfolio responsive — single column on mobile */
    .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
    .portfolio-filters { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 13px; }

    .trust-stats { flex-direction: column; gap: 24px; }

    /* Notification Responsive */
    .notification-bell { bottom: 16px; right: 16px; }
    .bell-trigger { width: 50px; height: 50px; }
    .notification-panel { width: 300px; right: -8px; }
    .notification-toast { width: calc(100% - 32px); right: 16px; bottom: 80px; }

    /* Why Us Responsive */
    .promise-card { padding: 28px 24px; }
    .guarantee-box { padding: 28px 24px; gap: 20px; }
    .guarantee-icon { width: 56px; height: 56px; font-size: 24px; }
    .guarantee-content h4 { font-size: 18px; }

    .cta-box { padding: 40px 24px; }
    .cta-contact-options { flex-direction: column; gap: 16px; }

    .contact-form-wrapper { padding: 28px 20px; }

    /* Footer Responsive */
    .footer-links-wrapper { grid-template-columns: 1fr; text-align: center; }
    .footer-column h4::after { left: 50%; transform: translateX(-50%); }
    .footer-contact-cards { align-items: center; }
    .contact-card { width: 100%; max-width: 280px; }
    .footer-trust { grid-template-columns: 1fr; }
    .footer-trust .trust-item { justify-content: center; }
    .footer-bottom-content { flex-direction: column; text-align: center; }
    .footer-cta-text { text-align: center; }
    .footer-cta-text h3 { font-size: 20px; }
}

@media (max-width: 575px) {
    .benefit-number { font-size: 22px; }
    .trust-logos { gap: 20px; }
    .btn-large { padding: 14px 24px; font-size: 15px; }
    .notification-panel { width: calc(100vw - 32px); right: -8px; }
}

/* ========================================
   Schedule Meeting Modal
======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-container {
    background: #fff;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}
.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 10;
}
.modal-close:hover {
    background: var(--gray-200);
    color: var(--text-primary);
}

/* Modal Progress */
.modal-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-bottom: 1px solid var(--gray-200);
    gap: 12px;
    background: #fff;
    flex-shrink: 0;
}
.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: opacity var(--transition);
}
.progress-step.active {
    opacity: 1;
}
.progress-step.completed {
    opacity: 1;
}
.step-number {
    width: 28px;
    height: 28px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
}
.progress-step.active .step-number {
    background: var(--primary);
    color: #fff;
}
.progress-step.completed .step-number {
    background: var(--green);
    color: #fff;
}
.step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}
.progress-line {
    width: 40px;
    height: 2px;
    background: var(--gray-200);
}

/* Modal Steps */
.modal-step {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.modal-step.active {
    display: flex;
}
.modal-header {
    padding: 28px 32px 24px;
    text-align: center;
    background: linear-gradient(180deg, var(--gray-50) 0%, #fff 100%);
    border-bottom: 1px solid var(--gray-100);
    flex-shrink: 0;
}
.modal-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
}
.modal-icon svg {
    stroke: var(--primary);
}
.modal-header h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
}
.modal-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}
.modal-body {
    padding: 24px 32px;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}
.modal-footer {
    padding: 20px 32px 24px;
    display: flex;
    gap: 12px;
    border-top: 1px solid var(--gray-100);
    background: #fff;
    flex-shrink: 0;
}
.modal-footer .btn {
    flex: 1;
    justify-content: center;
}

/* Selection Groups */
.selection-group {
    margin-bottom: 28px;
}
.selection-group:last-child {
    margin-bottom: 0;
}
.selection-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-align: left;
}
.selection-label .required {
    color: #dc2626;
    margin-left: 2px;
}

/* Date Options */
.date-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.date-option {
    padding: 16px 12px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-align: center;
    transition: all var(--transition);
}
.date-option:hover {
    border-color: var(--primary-light);
    background: #fff;
}
.date-option.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}
.date-option .date-day {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.date-option .date-num {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.date-option .date-month {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}
.date-option.selected .date-day,
.date-option.selected .date-num,
.date-option.selected .date-month {
    color: var(--primary);
}

/* Time Options */
.time-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.time-option {
    padding: 14px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}
.time-option:hover {
    border-color: var(--primary-light);
    background: #fff;
}
.time-option.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* Platform Options */
.platform-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.platform-option {
    cursor: pointer;
}
.platform-option input {
    display: none;
}
.platform-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    text-align: center;
    min-height: 80px;
}
.platform-option:hover .platform-box {
    border-color: var(--primary-light);
    background: #fff;
}
.platform-option input:checked + .platform-box {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.platform-icon {
    width: 36px;
    height: 36px;
    background: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}
.platform-icon svg {
    width: 20px;
    height: 20px;
}
.platform-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.2;
}
.platform-option input:checked + .platform-box .platform-name {
    color: var(--primary);
}

/* Schedule Info Box */
.schedule-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(37, 99, 235, 0.05);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-md);
    margin-top: 20px;
}
.schedule-info .info-icon {
    font-size: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.schedule-info .info-icon svg {
    stroke: var(--primary);
}
.schedule-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Success Note */
.success-note {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    text-align: left;
}
.success-note strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.success-note p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Form Styles in Modal */
.modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.modal-body .form-group {
    margin-bottom: 20px;
}
.modal-body .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}
.modal-body .form-group input,
.modal-body .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: border-color var(--transition);
}
.modal-body .form-group input:focus,
.modal-body .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.modal-body .form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.modal-body .form-group.checkbox input {
    width: auto;
    margin-top: 3px;
}
.modal-body .form-group.checkbox label {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Radio Options */
.radio-options {
    display: flex;
    gap: 16px;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
}
.radio-option:hover {
    border-color: var(--primary-light);
}
.radio-option input {
    display: none;
}
.radio-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    position: relative;
    transition: all var(--transition);
}
.radio-option input:checked + .radio-box {
    border-color: var(--primary);
}
.radio-option input:checked + .radio-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary);
}

/* Required Field Indicator */
.required {
    color: #dc2626;
    font-weight: 600;
}

/* Website Toggle Options */
.website-toggle-options {
    display: flex;
    gap: 12px;
}
.website-toggle-option {
    flex: 1;
    cursor: pointer;
}
.website-toggle-option input {
    display: none;
}
.website-toggle-option .toggle-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.website-toggle-option .toggle-box svg {
    stroke: var(--gray-400);
}
.website-toggle-option:hover .toggle-box {
    border-color: var(--gray-300);
}
.website-toggle-option input:checked + .toggle-box {
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}
.website-toggle-option input:checked + .toggle-box svg {
    stroke: var(--primary);
    border-radius: 50%;
}
.radio-option input:checked ~ span:last-child {
    color: var(--primary);
    font-weight: 600;
}

/* Website Field */
.website-field {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Success Message */
.modal-success {
    padding: 48px 32px;
    text-align: center;
}
.success-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--green) 0%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    margin: 0 auto 24px;
}
.success-icon svg {
    stroke: #fff;
}
.modal-success h3 {
    font-size: 24px;
    margin-bottom: 12px;
}
.modal-success > p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.success-details {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
}
.success-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--text-secondary);
}
.success-details p:last-child {
    margin-bottom: 0;
}
.success-details strong {
    color: var(--text-primary);
}

/* Modal Responsive */
@media (max-width: 600px) {
    .modal-container {
        max-height: 95vh;
    }
    .modal-header {
        padding: 24px 20px 20px;
        text-align: center;
    }
    .modal-header h3 {
        font-size: 20px;
    }
    .modal-header p {
        font-size: 14px;
    }
    .modal-icon {
        margin-bottom: 10px;
    }
    .modal-icon svg {
        width: 24px;
        height: 24px;
    }
    .modal-body {
        padding: 24px 20px;
    }
    .modal-footer {
        padding: 0 20px 24px;
        flex-direction: column-reverse;
        gap: 10px;
    }
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
    .modal-progress {
        padding: 16px 20px;
    }
    .step-label {
        display: none;
    }
    .date-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .date-option {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        padding: 14px 16px;
    }
    .date-option .date-num {
        font-size: 20px;
        margin: 0;
    }
    .time-options {
        grid-template-columns: repeat(3, 1fr);
    }
    .platform-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .platform-box {
        padding: 12px 8px;
        min-height: 70px;
    }
    .platform-icon {
        width: 32px;
        height: 32px;
    }
    .platform-icon svg {
        width: 18px;
        height: 18px;
    }
    .platform-name {
        font-size: 10px;
    }
    .schedule-info {
        flex-direction: column;
        text-align: center;
    }
    .modal-body .form-row {
        grid-template-columns: 1fr;
    }
    .radio-options {
        flex-direction: row;
    }
    .radio-option {
        flex: 1;
        justify-content: center;
    }
    .website-toggle-options {
        flex-direction: row;
    }
    .website-toggle-option .toggle-box {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ========================================
   Modal: Chooser Cards
======================================== */
.choose-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.choose-card {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 20px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
}
.choose-card:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
.choose-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.choose-card-icon svg {
    stroke: #fff;
}
.choose-card-content {
    flex: 1;
    min-width: 0;
}
.choose-card-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px;
}
.choose-card-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}
.choose-card:hover .choose-card-content h4 {
    color: var(--primary);
}
.choose-card-arrow {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: all 0.2s ease;
}
.choose-card:hover .choose-card-arrow {
    color: var(--primary);
    transform: translateX(3px);
}
@media (max-width: 600px) {
    .choose-card {
        padding: 16px;
        gap: 12px;
    }
    .choose-card-icon {
        width: 44px;
        height: 44px;
    }
    .choose-card-icon svg {
        width: 22px;
        height: 22px;
    }
    .choose-card-content h4 {
        font-size: 15px;
    }
    .choose-card-content p {
        font-size: 12px;
    }
}

/* ========================================
   Modal: Quick Support Email Card
======================================== */
.quick-support-email-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 32px 24px;
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
    margin-bottom: 16px;
    cursor: pointer;
    font-family: inherit;
}
.quick-support-email-card:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.04);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}
.quick-support-email-card.copied {
    border-color: var(--green);
    background: rgba(34, 197, 94, 0.06);
}
.quick-support-email-card.copied .qs-email-action {
    color: var(--green);
    font-weight: 600;
}
.qs-email-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qs-email-icon svg {
    stroke: #fff;
}
.qs-email-address {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}
.qs-email-action {
    font-size: 13px;
    color: var(--text-muted);
}
.quick-support-notice {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-md);
    align-items: flex-start;
}
.qs-notice-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(34, 197, 94, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qs-notice-icon svg {
    stroke: var(--green);
}
.qs-notice-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 4px;
}
.qs-notice-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 600px) {
    .quick-support-email-card {
        padding: 24px 16px;
    }
    .qs-email-address {
        font-size: 15px;
    }
    .quick-support-notice {
        padding: 12px;
    }
}

/* ========================================
   Theme Toggle Button
======================================== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}
.theme-toggle .theme-icon-sun { display: none; }
.theme-toggle .theme-icon-moon { display: block; color: var(--text-muted); }
html.dark .theme-toggle .theme-icon-sun { display: block; color: #fbbf24; }
html.dark .theme-toggle .theme-icon-moon { display: none; }
html.dark .theme-toggle {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
html.dark .theme-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}
/* Desktop: show inline; Mobile: hide */
#themeToggle { display: flex; }
.mobile-theme-toggle { display: none; }
@media (max-width: 991px) {
    #themeToggle { display: none; }
    .mobile-theme-toggle { display: flex; }
}

/* ========================================
   Dark Mode
======================================== */
html.dark {
    color-scheme: dark;
}
html.dark body {
    background: #0f172a;
    color: #f1f5f9;
}
html.dark {
    --bg-white: #0f172a;
    --bg-light: #1e293b;
    --bg-dark: #020617;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border-light: #334155;
    --border-medium: #475569;
    --gray-50: #1e293b;
    --gray-100: #1e293b;
    --gray-200: #334155;
    --gray-300: #475569;
    --gray-400: #64748b;
    --gray-500: #94a3b8;
    --shadow: 0 1px 3px 0 rgba(0,0,0,0.4), 0 1px 2px -1px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4), 0 4px 6px -4px rgba(0,0,0,0.4);
}

/* Header glassmorphism → dark glass */
html.dark .site-header {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom-color: rgba(255,255,255,0.06);
}
html.dark .site-header.scrolled {
    background: rgba(15, 23, 42, 0.88);
}
html.dark .header-trust-bar {
    background: rgba(30, 41, 59, 0.5);
    border-top-color: rgba(255,255,255,0.05);
}

/* Mobile nav dark solid */
html.dark .mobile-nav {
    background: #0f172a;
}
html.dark .mobile-nav-header { border-bottom-color: #334155; }
html.dark .mobile-nav-close { border-color: #334155; color: #94a3b8; }
html.dark .mobile-nav-close:hover { background: rgba(255,255,255,0.08); color: #e2e8f0; }

/* Mobile actions buttons */
html.dark .mobile-lang-trigger,
html.dark .mobile-menu-toggle {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
html.dark .mobile-lang-trigger:hover,
html.dark .mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}
html.dark .mobile-lang-wrap.open .mobile-lang-trigger {
    border-color: var(--primary);
    background: rgba(37,99,235,0.15);
}

/* Mobile lang dropdown dark */
html.dark .mobile-lang-dropdown {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
html.dark .mobile-lang-dd-option.active { background: rgba(37,99,235,0.15); }

/* Desktop lang trigger */
html.dark .lang-trigger {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.1);
}
html.dark .lang-trigger:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
}

/* Dropdown dark */
html.dark .lang-dropdown {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
html.dark .lang-shortcut {
    background: #0f172a;
    border-color: #334155;
}

/* Cards, panels, modals */
html.dark .portfolio-card .card-content,
html.dark .notification-panel, html.dark .notification-toast,
html.dark .modal-container, html.dark .modal-footer {
    background: #1e293b;
}
html.dark .modal-header {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

html.dark .btn-secondary {
    background: #1e293b;
    border-color: #475569;
}

html.dark .form-group input,
html.dark .form-group textarea,
html.dark .form-group select,
html.dark .modal-body .form-group input,
html.dark .modal-body .form-group textarea {
    background: #0f172a;
    border-color: #334155;
    color: var(--text-primary);
}

/* Selection items dark */
html.dark .date-option, html.dark .time-option, html.dark .platform-box,
html.dark .radio-option, html.dark .website-toggle-option .toggle-box,
html.dark .choose-card {
    background: #0f172a;
    border-color: #334155;
}
html.dark .choose-card:hover {
    background: #162044;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
html.dark .date-option:hover, html.dark .time-option:hover,
html.dark .platform-option:hover .platform-box {
    background: #1e293b;
    border-color: #475569;
}

/* Problem cards, solution cards dark */
html.dark .problem-card, html.dark .solution-card, html.dark .promise-card,
html.dark .guarantee-box, html.dark .contact-form-wrapper, html.dark .cta-box {
    background: #1e293b;
}

html.dark .success-note, html.dark .success-details, html.dark .schedule-info {
    background: #0f172a;
}

/* Quick support email card dark */
html.dark .quick-support-email-card {
    background: #0f172a;
    border-color: #334155;
}
html.dark .quick-support-email-card:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--primary);
}
html.dark .quick-support-notice {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.15);
}
html.dark .qs-notice-text strong {
    color: #4ade80;
}

/* Sections with backgrounds */
html.dark .why-us-section {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}
html.dark .contact-section {
    background: #1e293b;
}

/* Swipe dots dark mode */
html.dark .swipe-dots .dot { background: #475569; }
html.dark .swipe-dots .dot.active { background: var(--primary-light); }
html.dark .swipe-hint { color: #64748b; }
html.dark .swipe-hint svg { stroke: #64748b; }

/* Hero section */
html.dark .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 50%, #1e293b 100%);
}
html.dark .hero-badge {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.35);
}
html.dark .trust-signal-icon {
    background: #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Dashboard mockup */
html.dark .dashboard-mockup {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}
html.dark .dashboard-sidebar {
    background: #0f172a;
    border-right-color: #334155;
}

/* Section backgrounds */
html.dark .problem-section {
    background: #0f172a;
}
html.dark .how-it-works-section {
    background: #0f172a;
}

/* Step cards */
html.dark .step-card {
    background: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
html.dark .step-detail {
    background: #0f172a;
}

/* Portfolio */
html.dark .portfolio-card {
    background: #1e293b;
}
html.dark .filter-btn {
    background: #1e293b;
}
html.dark .filter-btn:hover {
    background: #0f172a;
    border-color: #475569;
}
html.dark .filter-btn.active {
    background: var(--primary);
}
html.dark .tag {
    background: #0f172a;
}

/* FAQ */
html.dark .faq-item {
    background: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
html.dark .faq-question:hover {
    background: #0f172a;
}

/* Section badge */
html.dark .section-badge {
    background: rgba(37, 99, 235, 0.2);
}

/* Promise list borders */
html.dark .promise-list li {
    border-bottom-color: #334155;
}

/* Solution card featured */
html.dark .solution-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.08) 0%, #1e293b 100%);
}
html.dark .promise-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.06) 0%, #1e293b 100%);
}

/* Solution/Promise card borders */
html.dark .solution-card {
    border-color: #334155;
}
html.dark .promise-card {
    border-color: #334155;
}
html.dark .problem-card {
    border-color: transparent;
}

/* Contact detail icons */
html.dark .contact-detail-item .detail-icon {
    background: #0f172a;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Notification items */
html.dark .notification-item {
    border-bottom-color: #334155;
}
html.dark .notification-item:hover {
    background: #0f172a;
}

/* CTA box text */
html.dark .cta-box h2,
html.dark .cta-box p {
    color: #f1f5f9;
}

/* Buttons */
html.dark .btn-white {
    background: #1e293b;
    border-color: #334155;
    color: var(--primary-light);
}
html.dark .btn-white:hover {
    background: #0f172a;
}
html.dark .btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

/* Form labels */
html.dark .form-group label {
    color: #cbd5e1;
}

/* Card hover states */
html.dark .problem-card:hover {
    border-color: var(--primary-light);
}
html.dark .step-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}
html.dark .portfolio-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.4);
}
html.dark .faq-item.active {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Guarantee content strong */
html.dark .guarantee-content p strong {
    color: #fff;
}

/* Floating elements (hero) */
html.dark .floating-element {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Notification header */
html.dark .notification-header {
    background: #0f172a;
    border-bottom-color: #334155;
}
html.dark .panel-close:hover {
    background: #334155;
}

/* Scroll body */
html.dark .notification-body {
    background: #1e293b;
}

/* Modal body */
html.dark .modal-body {
    background: #1e293b;
}

/* Form focus states */
html.dark .form-group input:focus,
html.dark .form-group textarea:focus,
html.dark .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-banner .container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner-text {
    flex: 1;
    min-width: 280px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}
.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}
.cookie-btn-accept {
    background: var(--primary);
    color: #fff;
}
.cookie-btn-accept:hover {
    background: var(--primary-dark);
}
.cookie-btn-decline {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.cookie-btn-decline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Cookie banner dark mode */
html.dark .cookie-banner {
    background: #1e293b;
    border-top-color: #334155;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}
html.dark .cookie-banner-text {
    color: #94a3b8;
}
html.dark .cookie-btn-decline {
    color: #94a3b8;
    border-color: #334155;
}
html.dark .cookie-btn-decline:hover {
    background: #0f172a;
    border-color: #475569;
}

/* Cookie banner mobile */
@media (max-width: 767px) {
    .cookie-banner .container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .cookie-banner-text {
        min-width: auto;
        font-size: 13px;
    }
    .cookie-banner-actions {
        justify-content: stretch;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
        padding: 12px 16px;
    }
}
