/* ========================================
   SACREDCONNECT - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #ED7B12;
    --primary-dark: #DF6108;
    --primary-light: #FEF7EE;
    --cream: #FFFEFB;
    --cream-dark: #FFF4E5;
    --text-primary: #1C1917;
    --text-secondary: #57534E;
    --text-muted: #A8A29E;
    --border: #E7E5E4;
    --success: #22C55E;
    --error: #EF4444;
    --warning: #F59E0B;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
.font-display {
    font-family: 'Fraunces', Georgia, serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--primary-dark));
    border-radius: 5px;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* ========================================
   LOADER
   ======================================== */
.loader-container {
    position: fixed;
    inset: 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 2s ease-in-out infinite;
}

.loader-icon i {
    font-size: 36px;
    color: white;
}

.loader-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 16px;
}

.loader-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.loader-dots span:nth-child(1) { animation-delay: -0.32s; }
.loader-dots span:nth-child(2) { animation-delay: -0.16s; }
.loader-dots span:nth-child(3) { animation-delay: 0s; }

.loader-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(237, 123, 18, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(237, 123, 18, 0.5);
        transform: scale(1.02);
    }
}

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

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

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fadeIn { animation: fadeIn 0.5s ease-out forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fadeInDown { animation: fadeInDown 0.5s ease-out forwards; }
.animate-scaleIn { animation: scaleIn 0.4s ease-out forwards; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: var(--transition);
    padding: 0 16px;
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.navbar.transparent {
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 254, 251, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(237, 123, 18, 0.3);
    transition: var(--transition);
}

.nav-logo:hover .nav-logo-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(237, 123, 18, 0.4);
}

.nav-logo-icon i {
    font-size: 20px;
    color: white;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
}

.nav-logo-name {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    transition: color 0.3s;
}

.nav-logo-tagline {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.5px;
}

.navbar.transparent .nav-logo-name { color: white; }
.navbar.transparent .nav-logo-tagline { color: rgba(255,255,255,0.7); }
.navbar.scrolled .nav-logo-name { color: var(--text-primary); }
.navbar.scrolled .nav-logo-tagline { color: var(--text-muted); }

/* Nav Links */
.nav-links {
    display: none;
    align-items: center;
    gap: 4px;
}

@media (min-width: 1024px) {
    .nav-links { display: flex; }
}

.nav-link {
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.navbar.transparent .nav-link {
    color: rgba(255,255,255,0.9);
}
.navbar.transparent .nav-link:hover {
    color: white;
    background: rgba(255,255,255,0.1);
}

.navbar.scrolled .nav-link {
    color: var(--text-secondary);
}
.navbar.scrolled .nav-link:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn-login {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    border: 2px solid;
    text-decoration: none;
    transition: var(--transition);
    display: none;
}

@media (min-width: 640px) {
    .nav-btn-login { display: flex; align-items: center; gap: 8px; }
}

.nav-btn-book {
    display: none;
}

@media (min-width: 768px) {
    .nav-btn-book { 
        display: flex; 
        align-items: center; 
        gap: 8px; 
    }
}

.nav-btn-book .fa-sparkles {
    font-size: 14px;
}

.navbar.transparent .nav-btn-login {
    color: white;
    border-color: rgba(255,255,255,0.4);
}
.navbar.transparent .nav-btn-login:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
}

.navbar.scrolled .nav-btn-login {
    color: var(--text-primary);
    border-color: var(--border);
}
.navbar.scrolled .nav-btn-login:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
}

/* Mobile Toggle */
.nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

@media (min-width: 1024px) {
    .nav-mobile-toggle { display: none; }
}

.navbar.transparent .nav-mobile-toggle {
    color: white;
}
.navbar.transparent .nav-mobile-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.navbar.scrolled .nav-mobile-toggle {
    color: var(--text-primary);
}
.navbar.scrolled .nav-mobile-toggle:hover {
    background: var(--primary-light);
}

.nav-mobile-toggle i {
    font-size: 22px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(237, 123, 18, 0.35);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(237, 123, 18, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-outline:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}

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

.btn-ghost.btn-sm {
    padding: 8px 14px;
}

.btn-ghost:hover:not(:disabled) {
    background: var(--primary-light);
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: var(--radius-lg);
}

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

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.btn-white:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   FORMS
   ======================================== */
.input {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: white;
    color: var(--text-primary);
    transition: var(--transition);
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(237, 123, 18, 0.1);
}

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

.input-icon {
    position: relative;
}

.input-icon input {
    padding-left: 48px;
}

.input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

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

.input-group {
    margin-bottom: 20px;
}

.phone-input {
    display: flex;
}

.phone-input-prefix {
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #F5F5F4;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-weight: 600;
    color: var(--text-secondary);
}

.phone-input input {
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ========================================
   CARDS
   ======================================== */
.card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-flat {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

/* ========================================
   BADGES
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary);
}

.badge-success {
    background: #DCFCE7;
    color: #16A34A;
}

.badge-warning {
    background: #FEF3C7;
    color: #D97706;
}

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background: white;
    z-index: 151;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #F5F5F4;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.mobile-menu-close:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 4px;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-nav-link i {
    width: 24px;
    font-size: 18px;
    text-align: center;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #1C1917 0%, #292524 40%, #3D2E1F 70%, #4A3728 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(237, 123, 18, 0.15) 0%, transparent 60%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(237, 123, 18, 0.1) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 140px 24px 160px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease-out;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-badge-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    color: white;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #F59E0B, #F97316, #EA580C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-search {
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.7s ease-out 0.3s both;
    position: relative;
    z-index: 40;
}

.hero-search-box {
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.hero-search-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 640px) {
    .hero-search-inner {
        flex-direction: row;
        align-items: stretch;
    }
}

/* Hero search field sizing (better city UX) */
.hero-query-field {
    flex: 1 1 auto;
    min-width: 260px;
}

.hero-city-field {
    flex: 0 0 auto;
}

@media (min-width: 640px) {
    .hero-city-field {
        width: 210px;
    }
}

@media (min-width: 1024px) {
    .hero-city-field {
        width: 230px;
    }
}

.hero-search-field {
    flex: 1;
    position: relative;
}

.hero-search-field input,
.hero-search-field select,
.hero-city-btn {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: none;
    background: #F5F5F4;
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-primary);
}

/* City button differs: no left icon, icons on the right */
.hero-city-btn {
    padding: 14px 44px 14px 16px; /* room on the right for icons */
    text-align: left;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hero-city-icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    flex: 0 0 auto;
}

.hero-city-icons i {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    font-size: 14px;
}

.hero-search-field input:focus,
.hero-search-field select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary);
}

.hero-search-field > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* City dropdown (Chennai live) */
.city-menu {
    position: absolute;
    left: auto;
    right: 0;
    top: calc(100% + 10px);
    width: 260px;
    max-width: calc(100vw - 48px);
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    z-index: 120;
}

@media (max-width: 639px) {
    .city-menu {
        left: 0;
        right: 0;
        width: auto;
    }
}

.city-option {
    width: 100%;
    text-align: left;
    border: none;
    background: white;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.city-option:hover {
    background: var(--primary-light);
}

.city-option.disabled {
    cursor: not-allowed;
    opacity: 0.85;
}

.city-option.disabled:hover {
    background: white;
}

.city-pill {
    font-size: 12px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.city-pill.live {
    background: #DCFCE7;
    color: #16A34A;
}

.city-pill.soon {
    background: #FEF3C7;
    color: #D97706;
}

.city-tooltip {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: #1C1917;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
    white-space: nowrap;
}

.city-option.disabled:hover .city-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.hero-search-btn {
    padding: 14px 28px;
    width: 100%;
}

@media (min-width: 640px) {
    .hero-search-btn {
        width: auto;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    animation: fadeInUp 0.7s ease-out 0.4s both;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px 32px;
    border-radius: 100px;
    margin: 0 auto;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    font-weight: 600;
}

.hero-feature i {
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
}

.hero-feature i.fa-shield-halved { color: #4ADE80; }
.hero-feature i.fa-indian-rupee-sign { color: #FCD34D; }
.hero-feature i.fa-clock { color: #60A5FA; }

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 80px 24px;
}

@media (min-width: 768px) {
    .section { padding: 100px 24px; }
}

.section-cream { background: var(--cream); }
.section-white { background: white; }
.section-cream-dark { background: var(--cream-dark); }

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.section-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

/* ========================================
   CATEGORY CARDS
   ======================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 640px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.category-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.category-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-light), #FEE8CF);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition);
}

.category-card:hover .category-card-icon {
    transform: scale(1.1);
}

.category-card-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.category-card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   STEPS
   ======================================== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.step-card {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 20px rgba(237, 123, 18, 0.3);
}

.step-number.completed {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.step-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .step-connector {
        display: block;
        position: absolute;
        top: 32px;
        left: 60%;
        width: 80%;
        height: 2px;
        background: repeating-linear-gradient(
            90deg,
            var(--primary) 0,
            var(--primary) 8px,
            transparent 8px,
            transparent 16px
        );
        opacity: 0.3;
    }
}

/* ========================================
   PANDIT CARDS
   ======================================== */
.pandit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Booking flow helpers */
.book-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.book-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(237, 123, 18, 0.15);
}

/* Booking page UX: keep selected-ceremony header clean */
.booking-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.booking-selected-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.book-service-summary {
    margin-top: 12px;
}

.book-service-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.book-service-left {
    flex: 1 1 320px;
    min-width: 260px;
}

.book-service-name {
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 6px;
}

.book-service-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.75;
}

.book-service-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.book-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #F5F5F4;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 800;
    font-size: 13px;
}

.book-pill i {
    color: var(--primary);
}

.book-filters {
    padding: 18px;
}

.book-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.book-filters-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 640px) {
    .book-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .book-filters-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 640px) {
    .pandit-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .pandit-grid { grid-template-columns: repeat(4, 1fr); }
}

.pandit-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.pandit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pandit-card-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #F5F5F4, #E7E5E4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pandit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.pandit-card:hover .pandit-card-image img {
    transform: scale(1.05);
}

.pandit-card-image i {
    font-size: 64px;
    color: #D6D3D1;
}

.pandit-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.pandit-card-body {
    padding: 20px;
}

.pandit-card-name {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.pandit-card-specialty {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.pandit-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    margin-bottom: 16px;
}

.pandit-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #F59E0B;
    font-weight: 600;
}

.pandit-card-exp {
    color: var(--text-muted);
}

/* ========================================
   SKELETON
   ======================================== */
.skeleton {
    background: linear-gradient(90deg, #F5F5F4 25%, #E7E5E4 50%, #F5F5F4 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-circle {
    border-radius: 50%;
}

/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
    text-align: center;
    padding: 60px 24px;
}

.empty-state-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
}

.empty-state-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.empty-state-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-box { padding: 64px; }
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    max-width: 500px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1C1917;
    color: white;
    padding: 64px 24px 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto 48px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(4, 1fr);
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon i {
    font-size: 20px;
    color: white;
}

.footer-logo-text {
    font-size: 20px;
    font-weight: 700;
}

.footer-desc {
    font-size: 14px;
    color: #A8A29E;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: #292524;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A8A29E;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
}

.footer-column h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #A8A29E;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid #292524;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-copyright {
    font-size: 14px;
    color: #78716C;
}

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

.footer-legal a {
    font-size: 14px;
    color: #78716C;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========================================
   WHATSAPP BUTTON
   ======================================== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    z-index: 90;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 100%;
    margin-right: 12px;
    background: #1C1917;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ========================================
   TOAST
   ======================================== */
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1C1917;
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    max-width: 100%;
}

.toast.success { border-left: 4px solid #22C55E; }
.toast.error { border-left: 4px solid #EF4444; }
.toast.warning { border-left: 4px solid #F59E0B; }
.toast.info { border-left: 4px solid #3B82F6; }

.toast i {
    font-size: 18px;
}

.toast.success i { color: #22C55E; }
.toast.error i { color: #EF4444; }
.toast.warning i { color: #F59E0B; }
.toast.info i { color: #3B82F6; }

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   MODAL
   ======================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s;
}

.modal-backdrop.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F4;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.modal-body {
    padding: 24px;
}

/* ========================================
   LOGIN PAGE
   ======================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px 40px;
    background: var(--cream);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(237, 123, 18, 0.3);
}

.auth-icon i {
    font-size: 32px;
    color: white;
}

.auth-title {
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.auth-social {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-social-btn:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.auth-social-btn i {
    font-size: 18px;
}

.auth-social-btn .fa-google { color: #EA4335; }
.auth-social-btn .fa-apple { color: #000; }

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* OTP Input */
.otp-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 24px;
}

.otp-input {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(237, 123, 18, 0.1);
}

.otp-timer {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.otp-timer span {
    color: var(--primary);
    font-weight: 600;
}

.otp-resend {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}

.otp-resend:hover {
    text-decoration: underline;
}

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb i {
    font-size: 10px;
    color: var(--text-muted);
}

.breadcrumb span {
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    margin-bottom: 40px;
}

.page-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ========================================
   UTILITIES
   ======================================== */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.font-bold { font-weight: 700; }
.w-full { width: 100%; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 640px) {
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
    
    .back-to-top {
        width: 44px;
        height: 44px;
    }
    
    .hero-features {
        border-radius: 20px;
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-feature {
        font-size: 13px;
    }
}

/* ========================================
   ADDITIONAL ENHANCEMENTS
   ======================================== */

/* Improved focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Better transitions for all interactive elements */
a, button, input, select, textarea {
    transition: var(--transition);
}

/* Card hover glow effect */
.card:hover {
    box-shadow: 
        var(--shadow-xl),
        0 0 40px rgba(237, 123, 18, 0.08);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section fade-in on scroll */
.section {
    animation: fadeIn 0.6s ease-out;
}

/* Stats counter styling (for future use) */
.stat-number {
    font-family: 'Fraunces', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Trust indicators in hero */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.hero-trust-number {
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.hero-trust-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Improved category card icons */
.category-card-icon {
    position: relative;
    overflow: hidden;
}

.category-card-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(237, 123, 18, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.category-card:hover .category-card-icon::after {
    width: 100%;
    height: 100%;
}

/* Better step connector */
@media (min-width: 768px) {
    .step-card::after {
        content: '';
        position: absolute;
        top: 32px;
        right: -12%;
        width: 24%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), transparent);
        opacity: 0.3;
    }
    
    .step-card:last-child::after {
        display: none;
    }
}

.step-connector {
    display: none;
}

/* Improved button press effect */
.btn:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

/* Input autofill styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Toast animation improvements */
.toast {
    transform: translateX(100%);
    animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Smooth page transitions */
#app {
    animation: fadeIn 0.3s ease-out;
}

/* Better empty state styling */
.empty-state {
    background: white;
    border-radius: var(--radius-xl);
    border: 2px dashed var(--border);
}

/* Testimonial card (for future use) */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 64px;
    font-family: 'Fraunces', serif;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    padding-left: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text-primary);
}

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

/* ========================================
   STATS GRID
   ======================================== */
@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid-4 {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ========================================
   FAQ STYLES
   ======================================== */
.faq-item {
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question:hover {
    background: var(--cream-dark);
}

.faq-question:focus {
    outline: none;
    background: var(--cream-dark);
}

/* ========================================
   DASHBOARD STYLES
   ======================================== */
.dashboard-welcome {
    background: linear-gradient(135deg, #FFFBF5 0%, #FFF4E5 100%);
    border: 1px solid var(--primary-light);
}

.dashboard-stat-card {
    transition: var(--transition);
}

.dashboard-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   TYPEAHEAD (SEARCH SUGGESTIONS)
   ======================================== */
.typeahead {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    z-index: 140;
}

.typeahead-item {
    width: 100%;
    text-align: left;
    border: none;
    background: white;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.typeahead-item:hover,
.typeahead-item.active {
    background: var(--primary-light);
}

.typeahead-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.typeahead-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F4;
    flex: 0 0 auto;
}

.typeahead-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.typeahead-label {
    font-weight: 800;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.typeahead-sub {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.typeahead-kind {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-secondary);
    background: #F5F5F4;
    padding: 6px 10px;
    border-radius: 999px;
    flex: 0 0 auto;
}

/* ========================================
   SEARCH PAGE STYLES
   ======================================== */
.search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.filter-chip {
    padding: 8px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========================================
   IMPROVED RESPONSIVE GRID
   ======================================== */
@media (max-width: 640px) {
    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .testimonial-text {
        font-size: 15px;
        padding-left: 0;
    }
    
    .testimonial-card::before {
        font-size: 48px;
        top: 12px;
        left: 16px;
    }
}