/* ==========================================================================
   Fetch It - Premium CSS Design System
   ========================================================================== */

/* Design Tokens & Variables */
:root {
    --bg-dark: hsl(222, 47%, 7%);
    --bg-darker: hsl(224, 60%, 4%);
    --bg-card: rgba(15, 23, 42, 0.45);
    
    --color-cyan: hsl(190, 100%, 50%);
    --color-cyan-glow: hsla(190, 100%, 50%, 0.15);
    --color-yellow: hsl(65, 100%, 48%);
    --color-yellow-glow: hsla(65, 100%, 48%, 0.15);
    --color-dark: hsl(220, 30%, 10%);
    
    --text-main: hsl(0, 0%, 100%);
    --text-muted: hsl(215, 20%, 75%);
    --text-dark: hsl(224, 60%, 4%);
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-focus: hsla(190, 100%, 50%, 0.4);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: hsl(220, 20%, 20%);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-cyan { color: var(--color-cyan); }
.text-yellow { color: var(--color-yellow); }
.text-dark { color: var(--text-dark); }
.bg-yellow { background-color: var(--color-yellow); }
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.gradient-text {
    background: linear-gradient(135deg, var(--color-cyan) 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-sm, .btn-secondary-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-bounce);
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cyan) 0%, hsl(195, 100%, 45%) 100%);
    color: var(--text-dark);
    padding: 16px 32px;
    border: none;
    box-shadow: 0 4px 20px hsla(190, 100%, 50%, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px hsla(190, 100%, 50%, 0.5);
}

.btn-primary-sm {
    background: linear-gradient(135deg, var(--color-cyan) 0%, hsl(195, 100%, 45%) 100%);
    color: var(--text-dark);
    padding: 10px 22px;
    border: none;
    font-size: 0.9rem;
}

.btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px hsla(190, 100%, 50%, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 16px 32px;
    border: 2px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
    transform: translateY(-3px);
}

.btn-secondary-sm {
    background: transparent;
    color: var(--text-main);
    padding: 10px 22px;
    border: 2px solid var(--border-glass);
    font-size: 0.9rem;
}

.btn-secondary-sm:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
}

.logo-accent {
    color: var(--color-cyan);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-cyan);
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-cyan);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: var(--transition-smooth);
}

.hero-image:hover {
    transform: translateY(-8px) scale(1.02);
}

.glow-bg {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Booking Section */
.booking-section {
    padding: 100px 0;
    background: var(--bg-darker);
}

.section-header {
    margin-bottom: 56px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.booking-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
}

.tab-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px;
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 14px 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 12px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.tab-btn.active {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.05) 100%);
    color: var(--color-cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.2fr;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-wrapper input, .form-select, textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.input-wrapper input:focus, .form-select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-cyan);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.readonly-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    height: 50px;
    display: flex;
    align-items: center;
}

.cost-display-group {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
    border: 1px solid rgba(6, 182, 212, 0.15);
    padding: 16px;
    border-radius: 16px;
    align-items: center;
}

.price-tag {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-yellow);
    line-height: 1;
    text-shadow: 0 0 15px rgba(234, 179, 8, 0.2);
}

/* How It Works */
.how-it-works-section {
    padding: 100px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 48px 32px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.step-card:hover::before {
    background: linear-gradient(90deg, var(--color-cyan), #a855f7);
}

.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 700;
    background: var(--color-yellow);
    color: var(--text-dark);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    font-size: 2.2rem;
    color: var(--color-cyan);
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* B2B Section */
.b2b-section {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

.b2b-wrapper {
    position: relative;
    z-index: 2;
}

.b2b-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.b2b-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.b2b-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.b2b-benefits-list {
    list-style: none;
    margin-bottom: 40px;
}

.b2b-benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
}

.b2b-visual-card {
    padding: 40px;
    max-width: 450px;
    margin: 0 auto;
}

.b2b-visual-card h3 {
    font-size: 1.5rem;
    margin-bottom: 32px;
    text-align: center;
}

.b2b-package {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.b2b-package.highlight {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 16px 16px;
}

.package-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.package-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--color-cyan);
}

.package-price .small {
    font-size: 0.8rem;
    font-family: var(--font-body);
    color: var(--text-muted);
}

.card-divider {
    border: none;
    height: 1px;
    background: var(--border-glass);
    margin: 12px 0;
}

/* Waitlist Section */
.waitlist-section {
    padding: 100px 0;
}

.waitlist-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 4px;
    border-radius: 50px;
    margin-bottom: 40px;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.toggle-btn.active {
    background: var(--color-cyan);
    color: var(--text-dark);
}

.waitlist-form-card {
    max-width: 650px;
    margin: 0 auto;
    padding: 32px;
}

.waitlist-input-group {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 16px;
}

.waitlist-input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 16px 24px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.waitlist-input-group input:focus {
    outline: none;
    border-color: var(--color-cyan);
}

.success-message {
    padding: 16px;
    border-radius: 12px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hidden {
    display: none !important;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-cyan);
    border-color: var(--color-cyan);
    box-shadow: 0 0 10px var(--color-cyan-glow);
}

.footer-links-group h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-main);
}

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .b2b-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .nav-menu {
        display: none; /* Mobile Menu logic normally here */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .booking-card {
        padding: 24px 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .form-grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tab-selector {
        grid-template-columns: 1fr;
    }
    
    .waitlist-input-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .waitlist-input-group input {
        border-radius: 12px;
    }
    
    .waitlist-form-card {
        padding: 24px 16px;
    }
}

/* Suggestions Dropdown */
.input-wrapper {
    position: relative;
    width: 100%;
}

.suggestions-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: #0d1527;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 18px;
    color: var(--text-main);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(6, 182, 212, 0.15);
    color: var(--color-cyan);
}

/* Pre-booking Tipping Styles */
.tip-pre-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--border-glass) !important;
    color: var(--text-main) !important;
}

.tip-pre-btn:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.tip-pre-btn.active {
    background: var(--color-cyan) !important;
    color: var(--text-dark) !important;
    border-color: var(--color-cyan) !important;
    box-shadow: 0 0 10px var(--color-cyan-glow) !important;
}
