/* ═══════════════════════════════════════════════════════════════
   مَقَصْ  —  Premium SaaS Barber Platform
   Extreme Makeover · Fragments Design System · v3.0
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Barlow:wght@400;500;600;700;800;900&family=Barlow+Condensed:wght@600;700;800;900&display=swap');


/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
    /* Brand Colors */
    --primary:        #2563EB;
    --primary-dark:   #1d4ed8;
    --primary-soft:   rgba(37, 99, 235, 0.05);
    --white:          #ffffff;
    --black:          #000000;
    
    /* Base Colors (Light Mode) */
    --background:     #f9f9f9;
    --on-background:  #1a1c1c;
    --surface:        #ffffff;
    --surface-2:      #eeeeee;
    --surface-3:      #e8e8e8;
    --surface-container: #f4f4f4;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f9f9f9;
    
    --text-h:         var(--on-background);
    --text-body:      var(--on-background);
    --text-sub:       #444748;
    --text-muted:     #747878;
    --placeholder:    #a1a1aa;
    --color-text-primary: #000000;
    --color-text-secondary: #4a4a4a;
    
    --border:         #e2e2e2;
    --border-light:   #eeeeee;
    --color-border:   #e2e2e2;
    
    --header-bg:      rgba(255, 255, 255, 0.8);
    --header-border:  rgba(0, 0, 0, 0.05);
    --header-text:    #1a1c1c;
    --header-text-muted: rgba(0, 0, 0, 0.6);
    --header-logo-invert: 0;
    
    /* Components */
    --input-bg:       #ffffff;
    --icon:           #444748;
    --primary-light:  rgba(37, 99, 235, 0.1);
    
    /* Shadows */
    --shadow-rgb:     0, 0, 0;
    --shadow-xs:      0 1px 2px rgba(var(--shadow-rgb), 0.03);
    --shadow-sm:      0 10px 30px rgba(var(--shadow-rgb), 0.04);
    --shadow-md:      0 20px 40px rgba(var(--shadow-rgb), 0.06);
    --shadow-lg:      0 30px 60px rgba(var(--shadow-rgb), 0.08);
    --color-shadow:   rgba(0,0,0,0.08);

    /* Geometry */
    --radius-sm:      8px;
    --radius:         16px;
    --radius-lg:      24px;
    
    /* Spacing */
    --space-xs:       8px;
    --space-sm:       16px;
    --space-md:       32px;
    --space-lg:       64px;
    --space-xl:       96px;

    /* Motion */
    --spring:         cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
    --dur:            0.2s;

    /* Alias vars for light mode (used in dark-mode-only overrides) */
    --bg:             #f9f9f9;
    --off-white:      #f4f4f4;
    --text-h:         #111111;
    --text-body:      #1a1c1c;
    --blue-soft:      rgba(37, 99, 235, 0.1);
    --blue-border:    rgba(37, 99, 235, 0.2);
    --blue:           #2563EB;
    --surface-container: #f4f4f4;
    --surface-container-high: #eeeeee;
    --outline:        #e2e2e2;
    --outline-variant: #e9e9e9;
    --color-border:   #e2e2e2;
}

[data-theme='dark'], .dark {
    --background:     #0c0c0c;
    --on-background:  #f9f9f9;
    --surface:        #161616;
    --surface-2:      #1e1e1e;
    --surface-3:      #262626;
    --surface-container: #20201f;
    --surface-container-lowest: #0e0e0e;
    --surface-container-low: #1c1b1b;
    
    --text-h:         var(--on-background);
    --text-body:      #e5e2e1;
    --text-sub:       #a1a1aa;
    --text-muted:     #71717a;
    --placeholder:    #52525b;
    --color-text-primary: #e5e2e1;
    --color-text-secondary: #a1a1aa;
    
    --border:         #2a2a2a;
    --border-light:   #1f1f1f;
    --color-border:   #353535;
    
    --header-bg:      rgba(10, 10, 10, 0.7);
    --header-bg-scroll: rgba(0, 0, 0, 0.9);
    --header-border:  rgba(255, 255, 255, 0.05);
    --header-border-scroll: rgba(255, 255, 255, 0.1);
    --header-text:    #ffffff;
    --header-text-muted: rgba(255, 255, 255, 0.7);
    --header-logo-invert: 1;
    --primary-light:  rgba(37, 99, 235, 0.2);
    --blue-soft:      rgba(37, 99, 235, 0.15);
    
    --input-bg:       #1e1e1e;
    --icon:           #e5e2e1;
    
    --shadow-rgb:     0, 0, 0;
    --shadow-xs:      0 1px 2px rgba(var(--shadow-rgb), 0.3);
    --shadow-sm:      0 10px 30px rgba(var(--shadow-rgb), 0.4);
    --shadow-md:      0 20px 40px rgba(var(--shadow-rgb), 0.5);
    --shadow-lg:      0 30px 60px rgba(var(--shadow-rgb), 0.6);
    --card-shadow:    0 10px 30px rgba(0, 0, 0, 0.4);
    --color-shadow:   rgba(255,255,255,0.04);
    
    --outline:        #2a2a2a;
    --outline-variant: #333333;

    --bg:             #000000;
    --off-white:      #0a0a0a;
    --footer-bg:      #050505;

    /* Luxury Theme Swaps */
    --luxury-black:   #000000;
    --luxury-white:   #ffffff;
    --tech-gray:      #0a0a0a;
    --white-60:       rgba(255, 255, 255, 0.2);
}

/* ─── Premium Animations ─────────────────────────────────────── */
.reveal-text {
    overflow: hidden;
}
.reveal-text span {
    display: block;
    transform: translateY(100%);
    transition: transform 1.2s var(--ease-out);
}
.reveal-text.aos-animate span {
    transform: translateY(0);
}

.stagger-container > * {
    opacity: 0;
    transform: translateY(20px);
}
.stagger-container.aos-animate > * {
    opacity: 1;
    transform: translateY(0);
}
.stagger-container.aos-animate > *:nth-child(1) { transition: all 0.8s var(--ease-out) 0.1s; }
.stagger-container.aos-animate > *:nth-child(2) { transition: all 0.8s var(--ease-out) 0.2s; }
.stagger-container.aos-animate > *:nth-child(3) { transition: all 0.8s var(--ease-out) 0.3s; }
.stagger-container.aos-animate > *:nth-child(4) { transition: all 0.8s var(--ease-out) 0.4s; }

.parallax-img {
    transition: transform 0.5s var(--ease-out);
    will-change: transform;
}



.logo-img {
    transition: filter 0.4s var(--ease-out);
    filter: invert(1); /* Default (Light Mode): Invert white to black */
}

[data-theme='dark'] .brand-logo, .dark .brand-logo,
[data-theme='dark'] .logo-img, .dark .logo-img {
    filter: invert(0) brightness(1.5); /* Dark Mode: Keep white */
}

[data-theme='dark'] .nav-link, .dark .nav-link {
    color: var(--text-sub);
}

[data-theme='dark'] .nav-link:hover, .dark .nav-link.active {
    color: var(--text-h);
}



/* ─── Cinematic Elements ─────────────────────────────────────── */
.grain-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* DarkVeil Overlay Effect Removed - Now handled via Canvas */

.custom-cursor {
    position: fixed;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--primary);
    background: transparent;
    border-radius: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.custom-cursor.active {
    width: 60px;
    height: 60px;
    border-color: #fff;
    border-width: 1px;
}

.custom-cursor.active::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 4px; height: 4px;
    background: #fff;
    border-radius: 0;
/* Custom Cursor Removed */

/* ─── Typography Art ────────────────────────────────────────── */
.boutique-serif {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
}

.boutique-statement {
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -0.05em;
    font-weight: 900;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@media (max-width: 1024px) {
    /* Custom cursor logic removed */
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: #0c0c0c;
}

body {
    font-family: 'Cairo', 'Barlow', sans-serif;
    background: transparent !important;
    color: var(--text-body);
    min-height: 100vh;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease-std); }

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


/* ─── Container ─────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }


/* ─── Keyframes ─────────────────────────────────────────────── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes badgePop {
    0%   { transform: scale(0.8); opacity: 0; }
    70%  { transform: scale(1.06); }
    100% { transform: scale(1);   opacity: 1; }
}

/* Utility animation classes */
.anim-fade-up   { animation: fadeInUp var(--dur-slow) var(--ease-out) both; }
.anim-fade      { animation: fadeIn   var(--dur-slow) var(--ease-out) both; }
.anim-delay-1   { animation-delay: 0.08s; }
.anim-delay-2   { animation-delay: 0.16s; }
.anim-delay-3   { animation-delay: 0.24s; }
.anim-delay-4   { animation-delay: 0.32s; }
.anim-delay-5   { animation-delay: 0.40s; }


/* ─── Header ─────────────────────────────────────────────────── */
/* NOTE: Full .main-header definition is below (dark tech theme). This is intentionally removed to avoid conflict. */

.logo-link { text-decoration: none; }

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-h);
    letter-spacing: 0.15em;
    line-height: 1;
    text-transform: uppercase;
}

/* SVG scissors icon next to logo */
.logo-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-link {
    color: var(--text-sub);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 7px 14px;
    border-radius: 0-sm);
    transition: all 0.2s;
    text-transform: uppercase;
}
.nav-link:hover {
    color: var(--primary);
}
.nav-link.active {
    color: var(--primary);
}

.nav-divider {
    width: 1px;
    height: 22px;
    background: var(--border);
    margin: 0 8px;
}

/* FIXED: Removed excessive padding-bottom that caused large blank space below pages */
.main-content { padding: 0; }

/* ── Mobile Bottom Nav ─────────────────────────────────────── */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    gap: 4px;
    transition: 0.2s;
}

.mobile-nav-item i { width: 20px; height: 20px; }
.mobile-nav-item.active { color: #2563EB; }

@media (max-width: 768px) {
    .mobile-bottom-nav { display: flex; }
}



/* ─── Buttons ── PRECISION SHARP ───────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 0-sm);
    font-family: 'Cairo', 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Shimmer sweep on hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s var(--ease-out);
}
.btn:hover::before { left: 160%; }

/* ── Primary — Royal Black → Electric Blue on hover */
.btn-primary {
    background: var(--primary);
    color: #FFF;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.btn-primary:active { transform: translateY(0); box-shadow: none; }

/* ── Accent — Blue direct */
.btn-accent {
    background: var(--primary);
    color: #FFF;
    border-color: var(--primary);
    box-shadow: rgba(37, 99, 235, 0.3);
}
.btn-accent:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    color: #FFF;
}

/* ── Outline */
.btn-outline {
    background: var(--surface);
    color: var(--text-h);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

/* ── Ghost */
.btn-ghost {
    background: transparent;
    color: var(--text-sub);
    border-color: transparent;
}
.btn-ghost:hover {
    background: var(--surface-container);
    color: var(--on-background);
}

/* Global Rounding */
a, button, input, select, textarea, .stat-card, .dash-panel, .spotlight-card, .beam-border, .feature-card, .pick-card, .auth-card {
    border-radius: var(--radius) !important;
}

.btn, .form-control, .badge, .type-btn {
    border-radius: var(--radius-sm) !important;
}

.rounded-full {
    border-radius: 9999px !important;
}

/* ── Danger */
.btn-danger {
    background: var(--surface);
    color: #DC2626;
    border-color: var(--border);
}
.btn-danger:hover {
    background: rgba(220,38,38,0.06);
    border-color: #FCA5A5;
}

.btn-lg   { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm   { padding: 10px 20px; font-size: 0.85rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-icon {
    background: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    transition: all var(--dur) var(--ease-std);
}
.btn-icon:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.08);
}


/* ─── Forms ──────────────────────────────────────────────────── */
.form-control {
    width: 100%;
    padding: 13px 18px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 0);
    color: var(--text-body);
    font-family: 'Cairo', 'Barlow', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: border-color var(--dur), box-shadow var(--dur), background var(--dur);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: var(--surface);
}
.form-control::placeholder { color: var(--text-muted); }
.form-control-sm { padding: 9px 14px; font-size: 0.85rem; border-radius: 0-sm); }

.form-group  { display: flex; flex-direction: column; gap: 8px; margin-bottom: var(--space-sm); }
.form-group label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-sub);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.form-stack { display: flex; flex-direction: column; gap: var(--space-sm); }


/* ─── Flash Messages ─────────────────────────────────────────── */
.flash-container { padding: var(--space-sm) 0; }
.flash {
    padding: 15px 20px;
    border-radius: 0);
    margin-bottom: var(--space-xs);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 0.3s var(--ease-out);
    /* shadow removed */
}
.flash-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.flash-danger  { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.flash-warning { background: #FFFBEB; color: #92400E; border: 1px solid #FDE68A; }


/* ─── Modal ──────────────────────────────────────────────────── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 3, 3, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.modal-overlay.active { display: flex; animation: fadeIn 0.22s ease; }

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0-xl);
    padding: 44px 36px;
    max-width: 500px;
    width: 90%;
    /* shadow removed */
    text-align: center;
    animation: scaleUp 0.28s var(--spring);
}
.modal-wide { max-width: 740px; text-align: right; }

.modal-content h3 {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-h);
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}
.modal-content p { color: var(--text-sub); margin-bottom: 28px; line-height: 1.7; }


/* ════════════════════════════════════════════════════════════════
   ✦  LANDING PAGE
   ════════════════════════════════════════════════════════════════ */

/* Hero */
.hero-section {
    text-align: center;
    padding: var(--space-xl) 20px 80px;
    position: relative;
    overflow: hidden;
}

/* Full-bleed hero image — Unsplash barber shop */
.hero-image-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-image-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(100%) brightness(0.32);
    transform: scale(1.04);
    transition: transform 12s ease;
}
.hero-image-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(250,250,250,0.08) 0%,
        rgba(250,250,250,0.92) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--surface);
    color: var(--text-h);
    border: 1px solid var(--border);
    border-radius: 0-pill);
    padding: 7px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    letter-spacing: 0.04em;
    /* shadow removed */
    animation: badgePop 0.5s var(--spring) 0.1s both;
    backdrop-filter: blur(8px);
}
.hero-badge .badge-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 0;
    animation: float 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    font-weight: 900;
    line-height: 1.09;
    letter-spacing: -2.5px;
    color: var(--text-h);
    margin-bottom: 22px;
    animation: fadeInUp 0.5s var(--ease-out) 0.18s both;
}

/* ✦ Solid — Electric Blue */
.gradient-text {
    color: var(--primary);
}

/* ─── Boutique Hero ─────────────────────────────────────────── */
.hero-boutique {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
    transform: scale(1.1);
}

.hero-content-stack {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-statement-wrap {
    position: relative;
    z-index: 5;
}

.hero-title-main {
    font-size: clamp(8rem, 25vw, 22rem);
    display: flex;
    align-items: baseline;
    gap: 0;
    color: #fff;
    overflow: hidden;
}

.letter {
    display: inline-block;
}

.hero-subject-layer {
    position: absolute;
    bottom: 0;
    right: 5%;
    height: 85vh;
    z-index: 6;
    pointer-events: none;
    opacity: 0.65;
    filter: grayscale(1) contrast(1.1);
}

.hero-subject-layer img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.quick-book-panel {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    width: 100%;
    max-width: 900px;
    background: rgba(255,255,255,0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    padding: 0;
}

.quick-book-field {
    padding: 24px 32px;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: right;
}

.quick-book-field:last-of-type {
    border-right: none;
}

.quick-book-label {
    display: block;
    font-size: 10px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.quick-book-value {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    background: transparent;
    border: none;
    outline: none;
    width: 100%;
}

.btn-quick-book {
    background: var(--primary);
    color: #fff;
    padding: 0 48px;
    height: 100%;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}

.btn-quick-book:hover {
    background: #fff;
    color: #000;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: var(--text-sub);
    max-width: 520px;
    margin: 0 auto var(--space-md);
    line-height: 1.8;
    font-weight: 400;
    animation: fadeInUp 0.5s var(--ease-out) 0.28s both;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.5s var(--ease-out) 0.38s both;
}

/* Hero stats strip */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: 52px;
    flex-wrap: wrap;
    animation: fadeInUp 0.5s var(--ease-out) 0.50s both;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-h);
    letter-spacing: -1px;
}
.hero-stat-label {
    font-size: 0.82rem;
    color: var(--text-sub);
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    align-self: center;
}


/* Features */
.features-section { padding: var(--space-xl) 0; }

.section-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

/* FIXED: .lp-section-label was used in index.html but not defined in CSS */
.lp-section-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    color: var(--text-h);
    text-align: center;
    letter-spacing: -1px;
    margin-bottom: var(--space-lg);
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

/* ✦ Feature Card — Apple breathing + scale micro-animation */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    transition:
        transform   var(--dur-slow) var(--spring),
        box-shadow  var(--dur-slow) var(--ease-out),
        border-color var(--dur) var(--ease-std);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}
.feature-card:hover {
    transform: scale(1.02) translateY(-4px);
    /* shadow removed */
    border-color: var(--primary);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon-wrap {
    width: 52px; height: 52px;
    background: var(--primary-soft);
    border: 1px solid var(--primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.3s var(--spring);
}
.feature-card:hover .feature-icon-wrap { transform: scale(1.12) rotate(-4deg); }
.feature-icon { font-size: 1.5rem; line-height: 1; }

.feature-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-h);
    letter-spacing: -0.3px;
}
.feature-card p { color: var(--text-sub); font-size: 0.9rem; line-height: 1.75; }
.feature-card code {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid var(--primary);
}


/* ─── Auth Pages ─────────────────────────────────────────────── */
.auth-wrapper {
    display: flex;
    min-height: calc(100vh - 68px);
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) 20px;
    background: var(--background);
}

.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    width: 100%;
    max-width: 480px;
    /* shadow removed */
    animation: scaleUp 0.35s var(--spring);
}
.auth-card-wide { max-width: 700px; }

.auth-header { text-align: center; margin-bottom: 40px; }
.auth-icon    { font-size: 2.8rem; margin-bottom: 16px; }
.auth-header h2 {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.8px;
    color: var(--text-h);
}
.auth-header p  { color: var(--text-sub); font-size: 0.95rem; line-height: 1.7; }
/* ─── Account Type Toggle ────────────────────────────── */
.account-type-toggle {
    display: flex;
    background: var(--surface-2);
    padding: 6px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    gap: 4px;
}
.type-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: calc(var(--radius) - 4px);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--dur) var(--ease-out);
    color: var(--text-sub);
    font-family: inherit;
}
.type-btn.active {
    background: var(--surface);
    color: var(--text-h);
    /* shadow removed */
}

.auth-footer {
    text-align: center;
    margin-top: 32px;
    color: var(--text-sub);
    font-size: 0.9rem;
}
.auth-footer a { color: var(--primary); font-weight: 700; }
.auth-footer a:hover { color: var(--primary-dark); }

.password-wrap { position: relative; }
.toggle-password {
    position: absolute;
    left: 14px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none;
    cursor: pointer; font-size: 1rem;
    color: var(--text-muted);
    transition: color var(--dur);
}
.toggle-password:hover { color: var(--text-h); }

.slug-wrap { display: flex; align-items: center; }
.slug-prefix {
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-left: none;
    padding: 13px 16px;
    border-radius: var(--radius) 0 0 var(--radius);
    color: var(--text-muted);
    font-size: 0.88rem;
    white-space: nowrap;
    font-weight: 600;
}
.slug-wrap .form-control { border-radius: 0 var(--radius) var(--radius) 0; }
.slug-status { font-size: 0.84rem; margin-top: 6px; font-weight: 600; }
.slug-status .available { color: #059669; }
.slug-status .taken     { color: #DC2626; }
.slug-status .checking  { color: var(--text-muted); }


/* ─── Booking Wizard ─────────────────────────────────────────── */
.booking-wizard { max-width: 780px; margin: 0 auto; }

.wizard-steps {
    display: flex; align-items: center;
    justify-content: center;
    gap: 0; margin-bottom: 52px; padding: 0 10px;
}
.step {
    display: flex; flex-direction: column; align-items: center;
    gap: 6px; opacity: 0.35;
    transition: opacity var(--dur-slow);
}
.step.active { opacity: 1; }
.step-num {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 2px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.9rem;
    transition: all var(--dur) var(--spring);
}
.step.active .step-num {
    background: var(--primary); border-color: var(--primary);
    color: #FFF; box-shadow: rgba(37, 99, 235, 0.3);
    transform: scale(1.08);
}
.step-label { font-size: 0.76rem; color: var(--text-sub); font-weight: 600; letter-spacing: 0.02em; }
.step-line  { flex: 1; height: 1.5px; background: var(--border); margin: 0 4px; margin-bottom: 26px; }

.wizard-panel        { display: none; }
.wizard-panel.active { display: block; animation: fadeInUp 0.3s var(--ease-out); }

.panel-title {
    font-size: 1.5rem; font-weight: 900;
    margin-bottom: 28px; color: var(--text-h);
    letter-spacing: -0.6px;
}
.panel-actions {
    display: flex; gap: 12px;
    justify-content: flex-end; margin-top: 36px;
}


/* Pick cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 16px; margin-bottom: 10px;
}
.pick-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    cursor: pointer;
    transition:
        transform var(--dur-slow) var(--spring),
        border-color var(--dur),
        box-shadow var(--dur-slow) var(--ease-out);
    text-align: center; position: relative; overflow: hidden;
}
.pick-card:hover { border-color: var(--primary); transform: scale(1.02); /* shadow removed */ }
.pick-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary), var(--shadow-md);
}
.pick-card.selected .check-indicator { opacity: 1; transform: scale(1); }

.check-indicator {
    position: absolute; top: 12px; right: 12px;
    background: var(--primary); color: #FFF;
    width: 22px; height: 22px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 800;
    opacity: 0; transform: scale(0.3);
    transition: all 0.3s var(--spring);
}
.pick-card-avatar {
    width: 58px; height: 58px; border-radius: var(--radius);
    background: var(--surface-2); border: 2px solid var(--border);
    color: var(--text-h); font-size: 1.5rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    transition: border-color var(--dur), transform 0.3s var(--spring);
}
.pick-card.selected .pick-card-avatar { border-color: var(--primary); transform: scale(1.06); }

.pick-card h3  { font-size: 1rem; font-weight: 800; margin-bottom: 4px; letter-spacing: -0.2px; }
.pick-card .meta  { font-size: 0.83rem; color: var(--text-sub); }
.pick-card .price { font-size: 1.05rem; font-weight: 800; color: var(--text-h); margin-top: 10px; }


/* Slots */
.slots-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.slot {
    padding: 11px 22px; border-radius: 100px;
    border: 1.5px solid var(--border); background: var(--surface);
    cursor: pointer; font-weight: 700; font-size: 0.88rem;
    letter-spacing: 0.02em;
    transition: all var(--dur) var(--ease-out);
}
.slot:hover   { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); transform: translateY(-1px); }
.slot.selected {
    background: var(--royal-black); border-color: var(--royal-black);
    color: #FFF; /* shadow removed */
}
.slot.disabled {
    background-color: #f8f9fa; border-color: #e9ecef;
    color: #adb5bd; cursor: not-allowed;
    pointer-events: none; text-decoration: line-through;
}

.summary-preview {
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 18px 22px;
    margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px;
}
.summary-preview span   { font-size: 0.93rem; color: var(--text-sub); }
.summary-preview strong { color: var(--text-h); }

.success-panel { text-align: center; padding: 72px 20px; }
.success-icon {
    width: 88px; height: 88px; border-radius: var(--radius);
    background: #ECFDF5; color: #059669; border: 2px solid #A7F3D0;
    font-size: 2.4rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 30px;
    animation: scaleUp 0.45s var(--spring);
}
.summary-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
    margin: 28px auto; max-width: 380px; text-align: right;
    /* shadow removed */
}
.summary-card p {
    display: flex; justify-content: space-between;
    padding: 11px 0; border-bottom: 1px solid var(--border-light);
    font-size: 0.93rem;
}
.summary-card p:last-child { border: none; }
.summary-card span { color: var(--text-sub); }


/* ─── Empty State ────────────────────────────────────────────── */
.empty-state {
    text-align: center; padding: 60px 20px;
    color: var(--text-sub);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.empty-state-icon {
    width: 72px; height: 72px;
    background: var(--surface-2); border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; margin-bottom: 4px;
    animation: float 3.5s ease-in-out infinite;
}
.empty-state h4 {
    font-size: 1.15rem; font-weight: 800;
    color: var(--text-h); letter-spacing: -0.3px;
}
.empty-state p { font-size: 0.9rem; line-height: 1.75; max-width: 340px; }

.loader { color: var(--text-muted); text-align: center; padding: 40px; font-size: 0.95rem; }


/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 640px) {
    .container     { padding: 0 20px; }
    .form-row      { grid-template-columns: 1fr; }
    .hero-title    { font-size: 2.2rem; letter-spacing: -1.2px; }
    .auth-card     { padding: 36px 24px; }
    .cards-grid    { grid-template-columns: 1fr 1fr; }
    .panel-actions { flex-direction: column-reverse; }
    .hero-stats    { gap: var(--space-sm); }
    .hero-stat-divider { display: none; }
}
/* ─── Header & Nav ────────────────────────────────────────── */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--header-border);
    z-index: 2000;
    transition: background 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.main-header.scrolled {
    background: var(--header-bg-scroll);
    border-bottom-color: var(--header-border-scroll);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.4s var(--ease-out);
}
.main-header.scrolled .header-inner {
    height: 68px;
}

.nav-container, .auth-group {
    background: transparent;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.auth-link {
    color: var(--header-text-muted);
}

.auth-link:hover {
    color: var(--header-text);
}

.main-header .header-logo img {
    filter: invert(var(--header-logo-invert));
}

.nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--header-text-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 100px;
    position: relative;
    cursor: pointer;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

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

.nav-link.active {
    color: #ffffff !important;
    background-color: #2563EB !important;
    background: #2563EB !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    opacity: 1 !important;
    display: inline-block;
}

.nav-link.active::after {
    display: none;
}

.btn-theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: var(--surface-2);
    color: var(--text-h);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out);
}
.btn-theme-toggle:hover {
    background: var(--surface-3);
    transform: translateY(-2px);
}
.btn-theme-toggle i, .btn-theme-toggle svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}
[data-theme='dark'] .logo, .dark .logo { color: var(--text-h); }
/* ─── Anchor scroll fix — accounts for fixed header height ─── */
#features, #pricing, #showcase {
    scroll-margin-top: 90px;
}

/* ─── Footer ───────────────────────────────────────── */
.main-footer {
    background: var(--bg);
    color: var(--text-body);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    margin-top: 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.footer-brand .logo { font-size: 1.5rem; font-weight: 900; margin-bottom: 12px; color: var(--text-h); }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-links a { text-decoration: none; color: var(--text-sub); font-weight: 600; font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    grid-column: span 2;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-social { display: flex; gap: 15px; font-size: 1.1rem; color: var(--text-muted); }

@media (max-width: 600px) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-links { align-items: center; }
    .footer-bottom { flex-direction: column; gap: 20px; }
}

/* ─── Aceternity UI Equivalents (Beam & Spotlight) ───────────── */
.spotlight-card {
    position: relative;
    border-radius: 32px !important;
    border: 1px solid var(--border);
    overflow: hidden !important;
    isolation: isolate;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: inherit;
    background: linear-gradient(
        45deg,
        rgba(37, 99, 235, 0.1) 0%,
        transparent 100%
    );
    z-index: -1;
    pointer-events: none;
}

[data-theme='dark'] .spotlight-card::before, .dark .spotlight-card::before {
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.05) 0%,
        transparent 100%
    );
}

.spotlight-card:hover::before {
    opacity: 1;
}

/* Beam Effect */
.beam-border {
    position: relative;
    border-radius: 32px !important;
    overflow: hidden !important;
}

.beam-border::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px !important;
    padding: 2px;
    background: linear-gradient(var(--beam-angle, 0deg), var(--primary), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}
