/* ============================================
   BAGBUDDY CAMBRIDGE — Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors — extracted from logo */
    --navy-900: #0a1628;
    --navy-800: #0f1f3d;
    --navy-700: #142952;
    --navy-600: #1a3568;
    --navy-500: #1e4080;
    --navy-400: #2d5a9e;
    --navy-300: #4a7ec4;

    --gold-500: #f0b429;
    --gold-400: #f5c842;
    --gold-300: #fad86b;
    --gold-200: #fde68a;

    --cyan-500: #22a7c4;
    --cyan-400: #38bdd8;
    --cyan-300: #67d4e8;
    --cyan-200: #a5e8f4;

    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;

    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;

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

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-glow-gold: 0 0 20px rgba(240, 180, 41, 0.3);
    --shadow-glow-cyan: 0 0 20px rgba(34, 167, 196, 0.3);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;

    /* Layout */
    --max-width: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--duration-fast) var(--ease-out);
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

ul,
ol {
    list-style: none;
}

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

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
}

p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
}

.text-small {
    font-size: 0.875rem;
}

.text-large {
    font-size: 1.125rem;
}

/* --- Layout Utilities --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-dark {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--white);
}

.section-dark p {
    color: var(--gray-300);
}

.section-light {
    background: var(--gray-50);
}

/* --- Header / Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background var(--duration-normal) var(--ease-out),
        box-shadow var(--duration-normal) var(--ease-out);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo img {
    height: 42px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-links a {
    color: var(--gray-300);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color var(--duration-fast) var(--ease-out);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.02em;
    transition: transform var(--duration-fast) var(--ease-spring),
        box-shadow var(--duration-fast) var(--ease-out) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow-gold);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration-normal) var(--ease-out);
}

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(240, 180, 41, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(34, 167, 196, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(240, 180, 41, 0.12);
    border: 1px solid rgba(240, 180, 41, 0.25);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-400);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.hero h1 {
    color: var(--white);
    margin-bottom: var(--space-lg);
    font-weight: 900;
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-300);
    margin-bottom: var(--space-2xl);
    max-width: 480px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 420px;
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(240, 180, 41, 0.3), transparent, rgba(34, 167, 196, 0.2));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.hero-card-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-card-title svg {
    width: 20px;
    height: 20px;
    color: var(--gold-500);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stat:last-child {
    border-bottom: none;
}

.hero-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-stat-icon.gold {
    background: rgba(240, 180, 41, 0.15);
    color: var(--gold-400);
}

.hero-stat-icon.cyan {
    background: rgba(34, 167, 196, 0.15);
    color: var(--cyan-400);
}

.hero-stat-icon svg {
    width: 20px;
    height: 20px;
}

.hero-stat-text h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-stat-text p {
    color: var(--gray-400);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all var(--duration-normal) var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    box-shadow: 0 4px 15px rgba(240, 180, 41, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(240, 180, 41, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--navy-800);
    color: var(--white);
    border-color: var(--navy-800);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* --- "How It Works" Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.step-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all var(--duration-normal) var(--ease-out);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gold-300);
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.3rem;
    color: var(--navy-900);
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    box-shadow: 0 4px 15px rgba(240, 180, 41, 0.3);
}

.step-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--navy-900);
}

.step-card p {
    font-size: 0.9rem;
}

/* Connector lines between steps */
.step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transform: translateY(-50%);
}

/* --- Pricing Section --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
}

.pricing-card.featured {
    border-color: rgba(240, 180, 41, 0.3);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
}

.pricing-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-400);
    margin-bottom: var(--space-sm);
}

.pricing-card h3 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 1.3rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.pricing-currency {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-400);
}

.pricing-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.pricing-features {
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--gray-300);
    font-size: 0.9rem;
}

.pricing-features li svg {
    width: 16px;
    height: 16px;
    color: var(--cyan-400);
    flex-shrink: 0;
}

.pricing-extras {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
}

.pricing-extras p {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: var(--space-xs);
}

/* --- "Perfect For" / Use Cases Section --- */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.use-case-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    transition: all var(--duration-normal) var(--ease-out);
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan-300);
}

.use-case-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    color: var(--cyan-400);
}

.use-case-icon svg {
    width: 26px;
    height: 26px;
}

.use-case-card h4 {
    color: var(--navy-900);
    margin-bottom: var(--space-xs);
}

.use-case-card p {
    font-size: 0.85rem;
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 760px;
    margin: var(--space-2xl) auto 0;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: border-color var(--duration-fast) var(--ease-out);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy-900);
    text-align: left;
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-out);
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: transform var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-normal) var(--ease-out);
}

.faq-answer-inner {
    padding: 0 var(--space-xl) var(--space-lg);
}

.faq-answer-inner p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.section-header .section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--cyan-500);
    margin-bottom: var(--space-sm);
}

.section-dark .section-label {
    color: var(--gold-400);
}

.section-header h2 {
    margin-bottom: var(--space-md);
    color: var(--navy-900);
}

.section-dark .section-header h2 {
    color: var(--white);
}

/* --- CTA Banner --- */
.cta-banner {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(240, 180, 41, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
    position: relative;
}

.cta-banner p {
    color: var(--gray-300);
    margin-bottom: var(--space-xl);
    font-size: 1.1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta-banner .btn {
    position: relative;
}

/* --- Footer --- */
.footer {
    background: var(--navy-900);
    color: var(--gray-400);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: var(--gray-400);
    font-size: 0.9rem;
    transition: color var(--duration-fast) var(--ease-out);
}

.footer-col ul li a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gray-400);
    transition: all var(--duration-fast) var(--ease-out);
}

.footer-social a:hover {
    background: var(--gold-500);
    color: var(--navy-900);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

/* --- Booking Page Specific --- */
.booking-page {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    background: var(--gray-50);
}

.booking-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-3xl);
}

.booking-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.booking-progress-step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.booking-progress-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    background: var(--gray-200);
    color: var(--gray-500);
    transition: all var(--duration-normal) var(--ease-out);
}

.booking-progress-step.active .booking-progress-dot {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--navy-900);
    box-shadow: 0 2px 10px rgba(240, 180, 41, 0.3);
}

.booking-progress-step.completed .booking-progress-dot {
    background: var(--success);
    color: var(--white);
}

.booking-progress-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
}

.booking-progress-step.active .booking-progress-label {
    color: var(--navy-900);
    font-weight: 600;
}

.booking-progress-line {
    width: 48px;
    height: 2px;
    background: var(--gray-200);
    border-radius: 1px;
}

.booking-progress-line.completed {
    background: var(--success);
}

.booking-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.booking-card h2 {
    color: var(--navy-900);
    margin-bottom: var(--space-sm);
}

.booking-card>p {
    color: var(--gray-500);
    margin-bottom: var(--space-xl);
}

/* Custom Select Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy-900);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--duration-fast) var(--ease-out);
    text-align: left;
}

.custom-select-trigger:hover {
    border-color: var(--navy-400);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(240, 180, 41, 0.12);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-select-arrow {
    width: 18px;
    height: 18px;
    color: var(--gray-400);
    transition: transform var(--duration-normal) var(--ease-out);
    flex-shrink: 0;
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
    color: var(--gold-500);
}

.custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 2px solid var(--gold-500);
    border-top: none;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--duration-fast) var(--ease-out);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
}

.custom-select.open .custom-select-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy-800);
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-out);
}

.custom-select-option:hover {
    background: var(--gray-50);
}

.custom-select-option.selected {
    background: rgba(240, 180, 41, 0.06);
    font-weight: 600;
    color: var(--navy-900);
}

.custom-select-option:not(:last-child) {
    border-bottom: 1px solid var(--gray-100);
}

.option-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    background: var(--gray-100);
    color: var(--gray-600);
    letter-spacing: 0.02em;
}

.option-tag.included {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.option-tag.overnight {
    background: rgba(240, 180, 41, 0.12);
    color: #b8860b;
}

/* Service Selection Cards */
.service-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.service-option {
    padding: var(--space-lg);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-option:hover {
    border-color: var(--navy-400);
    background: var(--gray-50);
}

.service-option.selected {
    border-color: var(--gold-500);
    background: rgba(240, 180, 41, 0.04);
}

.service-option.selected::after {
    content: '✓';
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

.service-option h4 {
    color: var(--navy-900);
    margin-bottom: var(--space-xs);
    font-size: 1rem;
    min-height: 2.6em;
    display: flex;
    align-items: flex-end;
}

.service-option .service-price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--cyan-500);
    margin-bottom: var(--space-sm);
}

.service-option p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Form Styles */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: var(--space-sm);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--navy-900);
    background: var(--white);
    transition: all var(--duration-fast) var(--ease-out);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--navy-500);
    box-shadow: 0 0 0 3px rgba(30, 64, 128, 0.1);
}

.form-input::placeholder {
    color: var(--gray-400);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: var(--space-xs);
}

.form-error {
    font-size: 0.75rem;
    color: var(--error);
    margin-top: var(--space-xs);
}

.booking-summary {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.booking-summary h4 {
    color: var(--navy-900);
    margin-bottom: var(--space-md);
    font-size: 0.95rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
}

.summary-row .label {
    color: var(--gray-500);
}

.summary-row .value {
    color: var(--navy-900);
    font-weight: 600;
}

.summary-total {
    border-top: 2px solid var(--gray-200);
    margin-top: var(--space-sm);
    padding-top: var(--space-md);
}

.summary-total .value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold-500);
}

/* Item Counter */
.item-counter {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.item-counter button {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy-900);
    transition: all var(--duration-fast) var(--ease-out);
}

.item-counter button:hover {
    background: var(--gray-100);
    border-color: var(--gray-300);
}

.item-counter .count {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy-900);
    min-width: 24px;
    text-align: center;
}

/* --- Admin Page --- */
.admin-page {
    min-height: 100vh;
    padding-top: calc(var(--header-height) + var(--space-xl));
    background: var(--gray-50);
}

.admin-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-lg) var(--space-3xl);
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.admin-stat-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.admin-stat-card .stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-stat-card .stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-top: var(--space-xs);
}

.admin-stat-card .stat-change {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    margin-top: var(--space-xs);
}

/* Bookings Table */
.bookings-table-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.bookings-table {
    width: 100%;
    border-collapse: collapse;
}

.bookings-table th {
    background: var(--gray-50);
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
}

.bookings-table td {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.bookings-table tr:hover td {
    background: var(--gray-50);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.paid {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

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

.status-badge.completed {
    background: rgba(34, 167, 196, 0.1);
    color: var(--cyan-500);
}

/* Admin Login */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(165deg, var(--navy-900), var(--navy-800));
}

.admin-login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
}

.admin-login-card h2 {
    color: var(--navy-900);
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* --- Toast / Notifications --- */
.toast-container {
    position: fixed;
    top: calc(var(--header-height) + var(--space-md));
    right: var(--space-md);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    animation: slideInRight 0.3s var(--ease-out);
    min-width: 280px;
}

.toast.success {
    border-left: 3px solid var(--success);
}

.toast.error {
    border-left: 3px solid var(--error);
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.spinner-dark {
    border-color: rgba(10, 22, 40, 0.2);
    border-top-color: var(--navy-900);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: 1;
    }

    .hero-card {
        max-width: 380px;
        margin: 0 auto;
        text-align: left;
    }

    .hero-card-title {
        justify-content: flex-start;
    }

    .hero-stat-text {
        text-align: left;
    }

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

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--duration-normal) var(--ease-out);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-xl));
        padding-bottom: var(--space-2xl);
    }

    .hero-inner {
        padding: var(--space-xl) var(--space-lg);
    }

    /* Quick Overview card — mobile refinements */
    .hero-card {
        padding: var(--space-lg);
    }

    .hero-card-title {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }

    .hero-stat {
        gap: var(--space-sm);
        padding: 10px 0;
    }

    .hero-stat-icon {
        width: 36px;
        height: 36px;
    }

    .hero-stat-icon svg {
        width: 17px;
        height: 17px;
    }

    .hero-stat-text h4 {
        font-size: 0.88rem;
    }

    .hero-stat-text p {
        font-size: 0.75rem;
        line-height: 1.35;
    }

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

    .step-card:not(:last-child)::after {
        display: none;
    }

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

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .service-options {
        grid-template-columns: 1fr;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
        font-size: 0.7rem;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .bookings-table-wrapper {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

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

    .cta-banner {
        padding: var(--space-2xl) var(--space-lg);
    }

    .booking-card {
        padding: var(--space-lg);
    }
}