:root {
            --white: #FFFFFF;
            --cream: #FDFCFB;
            --cream-dark: #F8F6F3;
            --gray-50: #FBFCFB;
            --gray-100: #F2F2F4;
            --gray-200: #ECECEF;
            --gray-300: #DDDDE2;
            --gray-400: #9A9AA2;
            --gray-500: #6E6E78;
            --gray-600: #4A4A54;
            --gray-700: #3A3A44;
            --gray-800: #2A2A32;
            --gray-900: #1E1E24;
            --bronze-700: #4F46E5;
            --bronze-600: #312E81;
            --bronze-500: #4338CA;
            --bronze-400: #A5B4FC;
            --bronze-300: #6366F1;
            --emerald-500: #10B981;
            --emerald-600: #059669;
            --blue-500: #4F46E5;
            --blue-600: #4338CA;
            --purple-500: #6366F1;
            --pink-500: #4F46E5;
            --red-500: #EF4444;
            --amber-500: #4338CA;
            --dark-bg: #0F1117;
            --dark-bg-secondary: #12141B;
            --dark-card: #1A1D27;
            --dark-border: rgba(255, 255, 255, 0.08);
            --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
            --font-mono: 'JetBrains Mono', monospace;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--gray-800); background: var(--white); -webkit-font-smoothing: antialiased; }
        a { text-decoration: none; color: inherit; }
        button { font-family: inherit; cursor: pointer; border: none; background: none; }
        .container { max-width: 1600px; margin: 0 auto; padding: 0 72px; }

        .header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06); transition: all 0.3s; }
        .header.scrolled { padding: 12px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; }
        .logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 600; color: var(--gray-900); }
        .logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--bronze-700), var(--bronze-400)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 14px; }
        .logo sup { font-size: 11px; font-weight: 500; color: var(--bronze-500); }
        .nav { display: flex; align-items: center; gap: 8px; }
        .nav-link { padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--gray-600); border-radius: 8px; transition: all 0.2s; }
        .nav-link:hover { color: var(--gray-900); background: rgba(0,0,0,0.04); }
        .nav-link.active { color: var(--bronze-600); }
        .header-actions { display: flex; align-items: center; gap: 12px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-size: 14px; font-weight: 600; border-radius: 10px; transition: all 0.3s; }
        .btn-primary { background: transparent; color: #1E1E24; border: 1.5px solid #1E1E24; box-shadow: none; }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(30, 30, 36, 0.10); }
        .btn-secondary { background: var(--white); color: var(--gray-800); border: 1px solid var(--gray-200); }
        .btn-ghost { color: var(--gray-600); padding: 10px 16px; }
        .btn-outline-light { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.3); }
        .btn-outline-light:hover { background: rgba(255,255,255,0.1); }

        .hero { padding: 140px 0 100px; background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%); position: relative; overflow: hidden; text-align: center; }
        .hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(99,102,241,0.12) 0%, transparent 50%), radial-gradient(ellipse at 70% 60%, rgba(99,102,241,0.08) 0%, transparent 50%); pointer-events: none; }
        .hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.25); border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--bronze-300); margin-bottom: 24px; letter-spacing: 0.05em; }
        .hero-title { font-size: 56px; font-weight: 700; line-height: 1.1; color: white; margin-bottom: 24px; letter-spacing: -0.03em; }
        .hero-title span { background: linear-gradient(135deg, var(--bronze-400), var(--bronze-300)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hero-description { font-size: 19px; color: rgba(255,255,255,0.65); margin-bottom: 40px; max-width: 620px; margin-left: auto; margin-right: auto; line-height: 1.7; }
        .hero-buttons { display: flex; justify-content: center; gap: 16px; }
        .hero-stats { display: flex; justify-content: center; gap: 60px; margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); }
        .hero-stat-value { font-size: 42px; font-weight: 700; color: var(--bronze-400); margin-bottom: 4px; }
        .hero-stat-label { font-size: 14px; color: rgba(255,255,255,0.5); }

        .section { padding: 100px 0; }
        .section-dark { background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-bg-secondary) 100%); }
        .section-cream { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%); }
        .section-header { text-align: center; max-width: 700px; margin: 0 auto 56px; }
        .section-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bronze-600); margin-bottom: 16px; }
        .section-dark .section-label { color: var(--bronze-400); }
        .section-title { font-size: 40px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; letter-spacing: -0.02em; }
        .section-dark .section-title { color: white; }
        .section-description { font-size: 18px; color: var(--gray-500); line-height: 1.7; }
        .section-dark .section-description { color: rgba(255,255,255,0.6); }

        .appointments-mockup { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0,0,0,0.15); }
        .appointments-mockup-header { display: flex; align-items: center; padding: 12px 16px; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
        .app-mockup-dots { display: flex; gap: 8px; }
        .app-mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
        .app-mockup-dot.red { background: #FF5F57; }
        .app-mockup-dot.yellow { background: #4F46E5; }
        .app-mockup-dot.green { background: #28CA41; }
        .app-mockup-title { flex: 1; text-align: center; font-size: 13px; color: var(--gray-500); font-weight: 500; }
        .appointments-mockup-body { display: flex; min-height: 600px; }

        .light-sidebar { width: 56px; background: var(--white); border-right: 1px solid var(--gray-200); display: flex; flex-direction: column; align-items: center; padding: 12px 0; }
        .light-sidebar-logo { width: 36px; height: 36px; background: linear-gradient(135deg, var(--bronze-600), var(--bronze-400)); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: white; margin-bottom: 20px; }
        .light-sidebar-item { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); margin-bottom: 4px; }
        .light-sidebar-item.active { background: rgba(99,102,241,0.1); color: var(--bronze-600); }
        .light-sidebar-item svg { width: 18px; height: 18px; }

        .light-content { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
        .light-content-header { padding: 20px 24px; border-bottom: 1px solid var(--gray-200); }
        .light-tabs { display: flex; gap: 20px; margin-bottom: 20px; }
        .light-tab { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--gray-400); padding-bottom: 8px; border-bottom: 2px solid transparent; }
        .light-tab.active { color: var(--gray-900); border-color: var(--bronze-600); }
        .light-tab svg { width: 14px; height: 14px; }
        .light-title-row { display: flex; justify-content: space-between; align-items: center; }
        .light-title { font-size: 20px; font-weight: 700; color: var(--gray-900); }
        .light-subtitle { font-size: 13px; color: var(--gray-500); margin-top: 2px; }
        .btn-new { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; background: linear-gradient(135deg, var(--bronze-700), var(--bronze-600)); color: white; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; }
        .btn-new svg { width: 16px; height: 16px; }

        .light-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 20px 24px; background: var(--gray-50); }
        .light-stat-card { background: white; border: 1px solid var(--gray-200); border-radius: 10px; padding: 16px; }
        .light-stat-card.total { border-top: 3px solid var(--bronze-500); }
        .light-stat-card.approved { border-top: 3px solid #6366F1; }
        .light-stat-card.pending { border-top: 3px solid #6366F1; }
        .light-stat-card.completed { border-top: 3px solid #6366F1; }
        .light-stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
        .light-stat-label { font-size: 13px; color: var(--gray-500); }
        .light-stat-icon { width: 28px; height: 28px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
        .light-stat-icon svg { width: 14px; height: 14px; }
        .light-stat-value { font-size: 28px; font-weight: 700; color: var(--gray-900); }
        .light-stat-desc { font-size: 11px; color: var(--gray-400); }

        .light-body { flex: 1; padding: 20px 24px; overflow-y: auto; }
        .light-view-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
        .light-view-tab { display: flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--gray-500); border-bottom: 2px solid transparent; }
        .light-view-tab.active { color: var(--gray-900); border-color: var(--bronze-600); }
        .light-view-tab svg { width: 14px; height: 14px; }
        .schedule-header-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
        .schedule-nav { display: flex; align-items: center; gap: 8px; }
        .schedule-nav-btn { width: 32px; height: 32px; border: 1px solid var(--gray-200); background: white; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
        .schedule-nav-btn svg { width: 14px; height: 14px; }
        .schedule-today-btn { padding: 6px 12px; border: 1px solid var(--gray-200); background: white; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--gray-600); }
        .schedule-date-range { font-size: 16px; font-weight: 600; color: var(--gray-900); }
        .btn-add-schedule { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border: 1px solid var(--gray-200); background: white; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--gray-600); }
        .btn-add-schedule svg { width: 14px; height: 14px; }

        .schedule-table { border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; }
        .schedule-table-header { display: grid; grid-template-columns: 200px repeat(7, 1fr); background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
        .schedule-table-cell { padding: 10px 8px; text-align: center; font-size: 12px; font-weight: 600; color: var(--gray-500); border-right: 1px solid var(--gray-200); }
        .schedule-table-cell:last-child { border-right: none; }
        .schedule-table-cell:first-child { text-align: left; padding-left: 16px; color: var(--gray-400); }
        .schedule-row { display: grid; grid-template-columns: 200px repeat(7, 1fr); border-bottom: 1px solid var(--gray-200); min-height: 70px; }
        .schedule-row:last-child { border-bottom: none; }
        .schedule-location-cell { padding: 12px 16px; border-right: 1px solid var(--gray-200); display: flex; align-items: flex-start; justify-content: space-between; background: var(--gray-50); }
        .schedule-location-name { font-size: 12px; font-weight: 600; color: var(--gray-800); margin-bottom: 2px; }
        .schedule-location-type { font-size: 10px; color: var(--gray-400); }
        .schedule-settings-btn { width: 24px; height: 24px; border: 1px solid var(--gray-200); background: white; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--gray-400); flex-shrink: 0; margin-left: 8px; }
        .schedule-settings-btn svg { width: 12px; height: 12px; }
        .schedule-day-cell { border-right: 1px solid var(--gray-200); padding: 4px; display: flex; flex-direction: column; gap: 3px; }
        .schedule-day-cell:last-child { border-right: none; }

        .booked-slot { padding: 4px 6px; border-radius: 4px; font-size: 9px; font-weight: 500; line-height: 1.3; }
        .booked-slot.bronze { background: rgba(99,102,241,0.15); border-left: 2px solid var(--bronze-500); color: var(--bronze-700); }
        .booked-slot.green { background: rgba(16,185,129,0.15); border-left: 2px solid var(--emerald-500); color: var(--emerald-600); }
        .booked-slot.blue { background: rgba(79, 70, 229,0.15); border-left: 2px solid #6366F1; color: #6366F1; }
        .booked-slot.purple { background: rgba(99, 102, 241,0.15); border-left: 2px solid #6366F1; color: #7C3AED; }
        .booked-slot.pink { background: rgba(79, 70, 229,0.15); border-left: 2px solid #6366F1; color: #3730A3; }
        .booked-slot-time { font-weight: 600; }
        .booked-slot-name { opacity: 0.8; }

        .branch-header { display: grid; grid-template-columns: 200px repeat(7, 1fr); background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.05)); border-bottom: 1px solid var(--gray-200); }
        .branch-name-cell { padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--bronze-700); display: flex; align-items: center; gap: 8px; border-right: 1px solid var(--gray-200); }
        .branch-name-cell svg { width: 16px; height: 16px; color: var(--bronze-500); }
        .branch-empty-cell { border-right: 1px solid var(--gray-200); }
        .branch-empty-cell:last-child { border-right: none; }
        .add-row { display: flex; align-items: center; gap: 6px; padding: 10px 16px; color: var(--gray-400); font-size: 12px; background: var(--gray-50); }
        .add-row svg { width: 14px; height: 14px; }
        .schedule-footer { padding: 12px 16px; border-top: 1px solid var(--gray-200); display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
        .schedule-legend-item { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--gray-500); }
        .schedule-legend-dot { width: 8px; height: 8px; border-radius: 2px; }

        .feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
        .feature-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: 16px; padding: 32px; transition: all 0.3s; }
        .feature-card:hover { border-color: var(--bronze-400); box-shadow: 0 12px 40px rgba(30, 30, 36, 0.03); transform: translateY(-4px); }
        .feature-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
        .feature-icon svg { width: 28px; height: 28px; }
        .feature-title { font-size: 18px; font-weight: 600; color: var(--gray-900); margin-bottom: 8px; }
        .feature-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

        .stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .stat-card-dark { background: var(--dark-card); border: 1px solid var(--dark-border); border-radius: 14px; padding: 24px; text-align: center; }
        .stat-card-icon { width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
        .stat-card-icon svg { width: 24px; height: 24px; }
        .stat-card-value { font-size: 32px; font-weight: 700; color: white; margin-bottom: 4px; }
        .stat-card-label { font-size: 14px; color: rgba(255,255,255,0.5); }

        .cta { padding: 100px 0; background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); text-align: center; }
        .cta-title { font-size: 44px; font-weight: 700; color: var(--gray-900); margin-bottom: 16px; }
        .cta-description { font-size: 18px; color: var(--gray-500); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }
        .cta-buttons { display: flex; justify-content: center; gap: 16px; }
        .footer { padding: 64px 0 32px; background: var(--gray-900); }
        .footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
        .footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-top: 16px; max-width: 280px; }
        .footer-col h4 { font-size: 14px; font-weight: 600; color: white; margin-bottom: 20px; }
        .footer-links { display: flex; flex-direction: column; gap: 14px; }
        .footer-link { font-size: 14px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
        .footer-link:hover { color: white; }
        .footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
        .footer-copyright { font-size: 14px; color: rgba(255,255,255,0.4); }

        @media (max-width: 1024px) { .feature-grid { grid-template-columns: 1fr; } .stats-row { grid-template-columns: repeat(2, 1fr); } .light-stats { grid-template-columns: repeat(2, 1fr); } .footer-grid { grid-template-columns: repeat(2, 1fr); } .hero-stats { flex-wrap: wrap; gap: 40px; } .schedule-table { overflow-x: auto; } .schedule-table-header, .schedule-row, .branch-header { min-width: 900px; } }
        @media (max-width: 768px) { .nav { display: none; } .hero-title { font-size: 36px; } .section-title { font-size: 28px; } .stats-row { grid-template-columns: 1fr; } .light-stats { grid-template-columns: 1fr; } .light-sidebar { display: none; } .footer-grid { grid-template-columns: 1fr; text-align: center; } }
    
/* ── Nav wrapping fix for long translations ── */
#header .nav-link,
#header .nav-item > a {
  white-space: nowrap;
}
#header .nav {
  font-size: clamp(12px, 1.1vw, 15px);
  flex-wrap: nowrap;
}
#header .header-inner {
  flex-wrap: nowrap;
  align-items: center;
}
.header-actions {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Hero badge overflow fix for long translations ── */
.hero-badge {
  white-space: nowrap;
  width: auto;
  max-width: 100%;
}
.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
