/* YBlendzz - Premium Barbershop Styles */
/* Dark theme with blue/purple accents - Mobile First */

:root {
    /* Dark backgrounds */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #1a1a24;
    --bg-card: #15151f;
    --bg-hover: #1f1f2e;

    /* Accent colors - Blue to Purple gradient */
    --accent-primary: #6366f1;
    --accent-secondary: #8b5cf6;
    --accent-tertiary: #a855f7;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-hover: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #c084fc 100%);

    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    /* Status colors */
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(99, 102, 241, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 60px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    touch-action: manipulation;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover, .btn-primary:active {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--border-accent);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    background: rgba(10, 10, 15, 0.98);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

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

.nav-actions .btn {
    padding: 8px 16px;
    font-size: 13px;
}

.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-user-btn:hover {
    border-color: var(--accent-primary);
}

.nav-user-avatar {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-user-avatar svg {
    width: 16px;
    height: 16px;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    display: block;
    padding: 16px;
    color: var(--text-primary);
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--bg-tertiary);
}

.mobile-menu-actions {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 16px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-title-main {
    display: block;
    font-size: clamp(40px, 12vw, 96px);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-subtitle {
    display: block;
    font-size: clamp(16px, 4vw, 28px);
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 8px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
    padding: 0 16px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(24px, 6vw, 32px);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-scroll-indicator {
    display: none;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 6vw, 48px);
    margin-bottom: 12px;
}

.section-description {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-card:hover, .service-card:active {
    border-color: var(--border-accent);
    transform: translateY(-2px);
}

.service-card.selected {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    margin-bottom: 16px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.service-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.service-description {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.service-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.service-price {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Booking Section */
.booking-section {
    padding: var(--section-padding) 0;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
}

.booking-step {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.booking-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-info h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.step-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.service-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-option:hover, .service-option:active {
    border-color: var(--border-accent);
}

.service-option.selected {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.service-option-radio {
    width: 22px;
    height: 22px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.service-option.selected .service-option-radio {
    border-color: var(--accent-primary);
}

.service-option.selected .service-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.service-option-info {
    flex: 1;
    min-width: 0;
}

.service-option-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.service-option-details {
    font-size: 12px;
    color: var(--text-muted);
}

.service-option-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-primary);
    flex-shrink: 0;
}

/* Calendar */
.datetime-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.calendar-container {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 15px;
}

.calendar-nav {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-nav:hover, .calendar-nav:active {
    background: var(--accent-primary);
}

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

.calendar-day-header {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background: var(--bg-hover);
}

.calendar-day.selected {
    background: var(--gradient-primary);
    font-weight: 600;
}

.calendar-day.today {
    border: 1px solid var(--accent-primary);
}

.calendar-day.disabled {
    color: var(--text-muted);
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: var(--text-muted);
    opacity: 0.3;
}

/* Time Slots */
.time-slots-container {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
}

.time-slots-container h4 {
    margin-bottom: 12px;
    font-size: 15px;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.time-slot {
    padding: 10px 12px;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.time-slot:hover:not(.unavailable), .time-slot:active:not(.unavailable) {
    border-color: var(--accent-primary);
}

.time-slot.selected {
    background: var(--gradient-primary);
    border-color: transparent;
}

.time-slot.unavailable {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
}

.no-slots {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 32px;
    font-size: 14px;
}

/* Auth Choice */
.auth-choice {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.auth-option {
    padding: 20px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-option:hover, .auth-option:active {
    border-color: var(--border-accent);
}

.auth-option.selected {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.auth-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border-radius: 10px;
    margin: 0 auto 10px;
    color: var(--accent-primary);
}

.auth-option h4 {
    margin-bottom: 4px;
    font-size: 15px;
}

.auth-option p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Forms */
.booking-form {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.booking-form h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

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

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Verification Code Input */
.verification-code-input {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.verification-code-input input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
}

.verification-code-input input:focus {
    border-color: var(--accent-primary);
    outline: none;
}

.resend-code {
    text-align: center;
    margin-top: 16px;
}

.resend-code button {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 14px;
}

.resend-code button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Forgot Password */
.btn-forgot-password {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-forgot-password:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-back-to-login {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-back-to-login:hover {
    color: var(--accent-primary);
}

.success-icon {
    text-align: center;
    margin-bottom: 16px;
}

/* User Info (logged in) */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.user-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: white;
    flex-shrink: 0;
}

.user-details {
    flex: 1;
    min-width: 120px;
}

.user-name {
    display: block;
    font-weight: 600;
    font-size: 15px;
}

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

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

.points-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
}

.points-value {
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Points Section */
.points-section {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.points-section h4 {
    margin-bottom: 10px;
    font-size: 15px;
}

.points-info {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.points-slider-container {
    padding: 8px 0;
}

#pointsSlider {
    width: 100%;
    height: 8px;
    background: var(--bg-hover);
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

#pointsSlider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.points-display {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* Referral Discount Banner */
.referral-discount-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid var(--accent);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;
}

.referral-discount-banner .banner-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.referral-discount-banner .banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.referral-discount-banner .banner-text strong {
    color: var(--accent);
    font-size: 15px;
}

.referral-discount-banner .banner-text span {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Order Summary */
.order-summary {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.order-summary h4 {
    margin-bottom: 14px;
    font-size: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total {
    font-size: 17px;
    font-weight: 700;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 2px solid var(--border-color);
    border-bottom: none;
}

.summary-row.discount {
    color: var(--success);
}

.summary-row.referral-discount {
    color: var(--accent);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), transparent);
    padding: 10px 8px;
    margin: 4px -8px;
    border-radius: 6px;
    font-weight: 600;
}

/* Terms Section */
.terms-section {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-label input:checked + .checkmark {
    background: var(--gradient-primary);
    border-color: transparent;
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cancellation-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding: 12px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    font-size: 12px;
    color: var(--warning);
}

.cancellation-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Booking Progress */
.booking-progress {
    display: none;
}

/* About Section */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-content .section-badge {
    text-align: left;
    display: inline-block;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

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

.feature {
    display: flex;
    gap: 14px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 4px;
    font-size: 15px;
}

.feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.about-image {
    display: none;
}

/* Loyalty Section */
.loyalty {
    padding: var(--section-padding) 0;
}

.loyalty-card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    padding: 32px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.loyalty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.loyalty-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.loyalty-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
}

.loyalty-tiers {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.tier {
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    text-align: center;
}

.tier-points {
    display: block;
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-value {
    font-size: 13px;
    color: var(--text-secondary);
}

.loyalty-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
}

.points-circle {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(99, 102, 241, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 60px rgba(99, 102, 241, 0.5); }
}

.points-icon {
    color: white;
}

.points-icon svg {
    width: 40px;
    height: 40px;
}

/* Contact Section */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

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

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 10px;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

.opening-hours {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
}

.opening-hours h4 {
    margin-bottom: 16px;
    font-size: 16px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.hours-item.closed {
    color: var(--text-muted);
}

.hours-item.open {
    color: var(--success);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-credit {
    margin-top: 8px;
    font-size: 11px;
}

.footer-credit a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: var(--accent-secondary);
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px 20px 0 0;
    padding: 24px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    animation: slideUp 0.3s ease forwards;
    will-change: transform;
    transform: translateZ(0);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0.8;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content.modal-large {
    max-width: 100%;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding-right: 40px;
}

/* Auth Modal - Enhanced Styling */
#authModal .modal-content {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-accent);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

#authModal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-top: -30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--accent-glow);
}

.auth-logo {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo h2 {
    font-family: var(--font-display);
    font-size: 28px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.auth-logo p {
    color: var(--text-muted);
    font-size: 14px;
}

.modal-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 4px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form .form-group {
    margin-bottom: 0;
}

.modal-form .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: block;
}

.modal-form .form-group input {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.modal-form .form-group input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.modal-form .form-group input::placeholder {
    color: var(--text-muted);
}

.modal-form .btn-primary {
    margin-top: 8px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
}

.modal-form .checkbox-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.modal-form .checkbox-label a {
    color: var(--accent-primary);
    text-decoration: none;
}

.modal-form .checkbox-label a:hover {
    text-decoration: underline;
}

/* Verification Code Input - Enhanced */
#verificationStep {
    text-align: center;
}

#verificationStep h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.verification-code-input {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 24px 0;
}

.verification-code-input input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.verification-code-input input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px var(--accent-glow);
    outline: none;
}

.resend-code {
    margin-top: 20px;
}

.resend-code button {
    background: transparent;
    border: none;
    color: var(--accent-primary);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 16px;
    transition: opacity 0.3s ease;
}

.resend-code button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body h3 {
    margin: 20px 0 10px;
    font-size: 15px;
}

.modal-body h3:first-child {
    margin-top: 0;
}

.modal-body p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 8px;
}

/* Dashboard Modal */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
}

.dashboard-header h2 {
    margin-bottom: 0;
    padding-right: 0;
}

.dashboard-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.dashboard-tabs .tab-btn {
    flex: 0 0 auto;
    min-width: 80px;
}

.dashboard-tab {
    display: none;
}

.dashboard-tab.active {
    display: block;
}

/* Customer Dashboard Styles */
.dashboard-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.dashboard-stat-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-stat-card .stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    flex-shrink: 0;
}

.dashboard-stat-card .stat-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.dashboard-stat-card .stat-value {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.dashboard-stat-card .stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.3;
}

.progress-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.progress-card h4 {
    margin-bottom: 12px;
    font-size: 15px;
}

.progress-bar-container {
    background: var(--bg-hover);
    border-radius: 8px;
    height: 12px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 8px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
}

.points-overview {
    text-align: center;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    margin-bottom: 20px;
}

.points-balance {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.balance-value {
    font-size: 40px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.redeem-section {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.redeem-section h4 {
    margin-bottom: 12px;
    font-size: 15px;
}

.redeem-options {
    display: grid;
    gap: 10px;
}

.redeem-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.redeem-option:hover {
    border-color: var(--accent-primary);
}

.redeem-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.redeem-option .points {
    font-weight: 600;
}

.redeem-option .value {
    color: var(--success);
    font-weight: 600;
}

/* Booking Card */
.booking-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.booking-card.highlight {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}

.booking-card-service {
    font-weight: 600;
    font-size: 15px;
}

.booking-card-status {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
}

.booking-card-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.booking-card-status.confirmed {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.booking-card-status.completed {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
}

.booking-card-status.cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
}

.booking-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.booking-card-details span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-card-details svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.booking-card-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.empty-state {
    text-align: center;
    padding: 32px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 16px;
}

/* Guest Conversion Banner */
.guest-conversion-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid var(--border-accent);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.guest-conversion-banner h4 {
    margin-bottom: 8px;
    font-size: 16px;
}

.guest-conversion-banner p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 16px;
}

.bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* AI Chatbot */
.chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.5);
}

.chatbot-button svg {
    width: 28px;
    height: 28px;
    color: white;
}

.chatbot-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: calc(100% - 40px);
    max-width: 380px;
    height: 500px;
    max-height: calc(100vh - 120px);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    z-index: 1500;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-color);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
}

.chatbot-name {
    font-weight: 600;
    font-size: 15px;
}

.chatbot-status {
    font-size: 12px;
    color: var(--success);
}

.chatbot-close {
    width: 32px;
    height: 32px;
    background: var(--bg-hover);
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.chat-message.bot {
    background: var(--bg-tertiary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    background: var(--gradient-primary);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-message.typing {
    display: flex;
    gap: 4px;
    padding: 16px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.quick-reply {
    padding: 8px 14px;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-reply:hover {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
}

.chatbot-input {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.chatbot-input button {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
    font-size: 14px;
}

@keyframes slideIn {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

.toast.warning {
    border-color: var(--warning);
}

/* Utility */
.hidden {
    display: none !important;
}

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

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

.text-error {
    color: var(--error);
}

/* Tablet Styles */
@media (min-width: 640px) {
    .container {
        padding: 0 24px;
    }

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

    .auth-choice {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .time-slots {
        grid-template-columns: repeat(4, 1fr);
    }

    .dashboard-overview {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content {
        border-radius: 20px;
        max-width: 440px;
        margin: auto;
    }

    .modal-content.modal-large {
        max-width: 600px;
    }

    .modal {
        align-items: center;
        padding: 24px;
    }

    @keyframes slideUp {
        from { transform: translateY(20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .toast-container {
        left: auto;
        right: 24px;
        max-width: 400px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    :root {
        --section-padding: 100px;
    }

    .logo-text {
        font-size: 28px;
    }

    .nav-links {
        display: flex;
    }

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

    .nav-actions .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero {
        padding: 120px 24px 80px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-scroll-indicator {
        display: flex;
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        gap: 8px;
        color: var(--text-muted);
        font-size: 12px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .scroll-line {
        width: 1px;
        height: 40px;
        background: linear-gradient(to bottom, var(--accent-primary), transparent);
        animation: scrollPulse 2s ease-in-out infinite;
    }

    @keyframes scrollPulse {
        0%, 100% { opacity: 0.3; height: 40px; }
        50% { opacity: 1; height: 60px; }
    }

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

    .service-card {
        padding: 32px;
    }

    .booking-step {
        padding: 40px;
    }

    .datetime-selection {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    .about-image {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-placeholder {
        width: 100%;
        aspect-ratio: 1;
        max-width: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-tertiary);
        border: 1px solid var(--border-color);
        border-radius: 24px;
        color: var(--text-muted);
    }

    .loyalty-card {
        flex-direction: row;
        text-align: left;
        padding: 60px;
        gap: 60px;
    }

    .loyalty-content {
        flex: 1;
    }

    .loyalty-content h2 {
        font-size: 36px;
    }

    .loyalty-tiers {
        justify-content: flex-start;
    }

    .points-circle {
        width: 160px;
        height: 160px;
    }

    .points-icon svg {
        width: 48px;
        height: 48px;
    }

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

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .booking-progress {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        margin-top: 32px;
    }

    .progress-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .progress-dot {
        width: 12px;
        height: 12px;
        background: var(--bg-hover);
        border: 2px solid var(--border-color);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .progress-step.active .progress-dot,
    .progress-step.completed .progress-dot {
        background: var(--gradient-primary);
        border-color: var(--accent-primary);
    }

    .progress-step span {
        font-size: 12px;
        color: var(--text-muted);
    }

    .progress-step.active span {
        color: var(--text-primary);
    }

    .progress-line {
        width: 80px;
        height: 2px;
        background: var(--border-color);
        margin-bottom: 20px;
    }

    .dashboard-overview {
        grid-template-columns: repeat(4, 1fr);
    }

    .chatbot-window {
        bottom: 90px;
        right: 24px;
    }

    .chatbot-button {
        bottom: 24px;
        right: 24px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .navbar {
        padding-top: max(12px, env(safe-area-inset-top));
    }

    .mobile-menu {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }

    .chatbot-button {
        bottom: max(20px, env(safe-area-inset-bottom));
    }

    .footer {
        padding-bottom: max(24px, env(safe-area-inset-bottom));
    }
}

/* ==================== Review Modal ==================== */
.review-header {
    text-align: center;
    margin-bottom: 24px;
}

.review-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-icon svg {
    color: #fbbf24;
}

.review-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.review-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.review-service-info {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.review-service-info span:first-child {
    font-weight: 500;
}

.review-service-info span:last-child {
    color: var(--text-muted);
}

.star-rating {
    text-align: center;
    margin-bottom: 24px;
}

.rating-label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

.stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    transition: all 0.2s ease;
}

.star-btn svg {
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.star-btn:hover svg,
.star-btn.active svg {
    color: #fbbf24;
    fill: #fbbf24;
}

.star-btn:hover {
    transform: scale(1.1);
}

.rating-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* Verification Code Input */
.verification-code-input {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.verification-code-input input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: border-color 0.2s ease;
}

.verification-code-input input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.resend-code {
    text-align: center;
    margin-top: 16px;
}

.resend-code button {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 14px;
}

.resend-code button:disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Guest Conversion Banner */
.guest-conversion-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}

.bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.guest-conversion-banner h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.guest-conversion-banner p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== PORTFOLIO SECTION ==================== */

.portfolio {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.portfolio-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/5;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.portfolio-service-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
}

.portfolio-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--warning);
    color: #000;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.portfolio-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.portfolio-empty svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* ==================== PROMOTIONS SECTION ==================== */

.promotions {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.promotions-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-accent);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-glow);
}

.promotions-content {
    text-align: center;
    margin-bottom: 32px;
}

.promotions-content h2 {
    font-size: 28px;
    margin: 8px 0 12px;
}

.promotions-content p {
    color: var(--text-secondary);
}

.promotions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.promotion-item {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.promotion-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.promotion-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gradient-primary);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 0 16px 0 12px;
}

.promotion-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.promotion-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.promotion-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.promotion-discount {
    font-size: 24px;
    font-weight: 700;
    color: var(--success);
}

.promotion-code {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    padding: 8px 12px;
    border-radius: 8px;
}

.promotion-code code {
    font-family: monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-primary);
}

.promotion-code button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.promotion-code button:hover {
    color: var(--accent-primary);
}

.promotion-validity {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
}

.promotions-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

/* ==================== LIGHTBOX ==================== */

#portfolioLightbox .modal-overlay {
    background: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    max-width: 90vw;
    margin: 0 auto;
}

.lightbox-content .modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.lightbox-image-container {
    max-height: 70vh;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img {
    max-height: 70vh;
    max-width: 100%;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 1000;
}

.lightbox-nav:hover {
    background: var(--accent-primary);
}

.lightbox-nav.prev {
    left: 20px;
}

.lightbox-nav.next {
    right: 20px;
}

.lightbox-info {
    text-align: center;
    padding: 24px;
    max-width: 600px;
}

.lightbox-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.lightbox-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.lightbox-service {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-primary);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

/* ==================== INSTALL APP MODAL ==================== */

.install-header {
    text-align: center;
    margin-bottom: 24px;
}

.install-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-icon svg {
    color: white;
}

.install-header h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.install-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.install-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 4px;
}

.install-tabs .tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.install-tabs .tab-btn.active {
    background: var(--bg-card);
    color: var(--text-primary);
}

.install-tabs .tab-btn svg {
    width: 20px;
    height: 20px;
}

.install-instructions {
    margin-bottom: 24px;
}

.install-tab {
    display: none;
}

.install-tab.active {
    display: block;
}

.install-step {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    margin-bottom: 12px;
}

.install-step .step-number {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.install-step .step-content h4 {
    font-size: 14px;
    font-family: var(--font-body);
    margin-bottom: 4px;
}

.install-step .step-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==================== INSTALL APP BUTTON (floating) ==================== */

.install-app-btn {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-md), var(--shadow-glow);
    transition: all 0.3s ease;
    z-index: 100;
}

.install-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.3);
}

.install-app-btn svg {
    width: 20px;
    height: 20px;
}

/* Hide on desktop or when app is installed */
@media (min-width: 1024px) {
    .install-app-btn {
        display: none;
    }
}

@media (display-mode: standalone) {
    .install-app-btn {
        display: none;
    }
}

/* ==================== MOBILE RESPONSIVE ==================== */

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .portfolio-item {
        border-radius: 12px;
    }

    .portfolio-overlay {
        padding: 12px;
        transform: translateY(0);
        opacity: 1;
    }

    .portfolio-overlay h4 {
        font-size: 14px;
    }

    .portfolio-overlay p {
        display: none;
    }

    .promotions-card {
        padding: 24px;
    }

    .promotions-content h2 {
        font-size: 22px;
    }

    .promotion-item {
        padding: 16px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-info h3 {
        font-size: 18px;
    }

    .install-app-btn span {
        display: none;
    }

    .install-app-btn {
        padding: 14px;
        border-radius: 50%;
    }
}

/* ==================== COOKIE CONSENT BANNER ==================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-accent);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.cookie-text svg {
    flex-shrink: 0;
    color: var(--accent-primary);
}

.cookie-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

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

.cookie-text a {
    color: var(--accent-primary);
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        flex-direction: column;
        align-items: center;
    }

    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-actions .btn {
        width: 100%;
    }
}
