/* CSS Custom Properties - Color System and Effects */

:root {
    /* Colors - Background */
    --bg-primary: #0B0D10;
    --bg-secondary: #14171C;
    --bg-tertiary: #0E1014;

    /* Colors - Accent */
    --accent-gold: #F5A623;
    --accent-gold-light: #FFB547;

    /* Colors - Text */
    --text-primary: #FFFFFF;
    --text-secondary: #B0B3B8;
    --text-muted: #6B6F76;

    /* Colors - Status */
    --success: #22C55E;
    --danger: #EF4444;

    /* Effects */
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --hover-bg: rgba(245, 166, 35, 0.08);
}
/* CSS Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
/* Typography Styles */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-gold-light);
}
/* Layout Utilities - Containers and Grids */

/* Container for Success/Cancel/Legal Pages */
.container {
    max-width: 600px;
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
    max-width: 1400px;
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

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

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}
/* Animations and Keyframes */

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

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

@keyframes checkmark {
    to {
        stroke-dashoffset: 0;
    }
}

/* Animation Utilities */
.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
/* Reusable Components - Buttons, Cards, Badges, Icons */

/* Buttons */
.btn-primary {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--bg-primary);
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    color: var(--bg-primary);
}

.btn-card {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--bg-primary);
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
    white-space: nowrap;
}

.btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: var(--accent-gold);
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Cards */
.card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(245, 166, 35, 0.2);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-icon {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(255, 181, 71, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-align: center;
    line-height: 1.3;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Card Badges */
.card-badge {
    padding: 4px 12px;
    background: rgba(245, 166, 35, 0.12);
    color: var(--accent-gold);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.card-badge.featured {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    color: var(--bg-primary);
}

/* Feature List */
.feature-list {
    list-style: none;
    margin-bottom: 24px;
}

.feature-list li {
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success) 0%, #16A34A 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Price Display */
.price {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.price-original {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

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

.price-savings {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}

/* User Avatar / Threads Button */
.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.user-avatar:hover {
    transform: scale(1.1);
}

.user-avatar svg {
    color: var(--bg-primary);
    fill: var(--bg-primary);
    flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--hover-bg);
    color: var(--accent-gold);
}
/* Index Page (Dashboard) Specific Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
    border-radius: 16px;
    padding: 60px 48px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 24px;
    animation: pulse 3s ease-in-out infinite; /* Slower = less CPU */
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden; /* Reduce paint */
}

.badge-icon {
    font-size: 16px;
    animation: flash 2s ease-in-out infinite; /* Slower = less CPU */
    transform: translateZ(0); /* Force GPU acceleration */
}

@keyframes flash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-highlight {
    background: linear-gradient(135deg, #F5A623 0%, #FFB547 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-value-prop {
    font-size: 18px;
    line-height: 1.6;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 24px;
    background: rgba(245, 166, 35, 0.1);
    border-left: 3px solid var(--accent-gold);
    border-radius: 8px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(245, 166, 35, 0.1);
    border-color: rgba(245, 166, 35, 0.3);
    transform: translateY(-2px);
}

.feature-icon {
    flex-shrink: 0;
    stroke: var(--accent-gold);
}

.hero-cta {
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-price-display {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.price-original-inline {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
    font-variant-numeric: tabular-nums;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 24px;
        min-height: auto; /* Remove min-height on mobile */
    }

    .hero-title {
        font-size: 32px; /* Smaller for better mobile fit */
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-value-prop {
        font-size: 16px; /* Smaller on mobile */
    }

    .hero-features {
        grid-template-columns: 1fr;
        gap: 12px; /* Tighter spacing on mobile */
    }

    .hero-cta {
        flex-direction: column;
        gap: 20px;
    }

    .hero-price-display {
        align-items: center;
        text-align: center;
    }

    .hero-trust {
        flex-direction: column;
        gap: 16px;
    }

    /* Reduce animations on mobile for performance */
    @media (prefers-reduced-motion: reduce) {
        .hero-badge,
        .badge-icon {
            animation: none;
        }
    }
}

/* Layout Structure */
.dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    grid-template-rows: 68px 1fr;
    min-height: 100vh;
}

/* Top Navigation */
.topbar {
    grid-column: 1 / -1;
    justify-self: stretch;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Sidebar Navigation */
.sidebar {
    background: var(--bg-tertiary);
    padding: 24px 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 0;
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-item:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.sidebar-item.active {
    background: rgba(245, 166, 35, 0.12);
    color: var(--accent-gold);
}

.sidebar-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content Area */
.main-content {
    padding: 32px;
    overflow-y: auto;
    max-width: 1400px;
    width: 100%;
    justify-self: center;
    position: relative;
    z-index: 1;
}

.content-header {
    margin-bottom: 32px;
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* Large Feature Card */
.feature-card-large {
    grid-column: 1 / -1;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 1400px;
}

.feature-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
}

.feature-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    font-variant-numeric: tabular-nums;
}

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

.booking-embed {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.booking-icon {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 24px;
    opacity: 0.7;
    letter-spacing: 1px;
}

.booking-text {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
}

/* Community Highlight */
.community-highlight {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.05) 0%, rgba(255, 181, 71, 0.05) 100%);
    border: 1px solid rgba(245, 166, 35, 0.15);
}

/* Footer */
.footer {
    grid-column: 1 / -1;
    background: var(--bg-secondary);
    padding: 24px 32px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 14px;
}

/* Card Animation */
.card {
    animation: fadeIn 0.6s ease-out backwards;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .dashboard {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .main-content {
        padding: 32px;
    }

    .feature-card-large {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .feature-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 0 16px;
    }

    .topbar .btn-primary {
        display: none;
    }

    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

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

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

    .main-content {
        padding: 16px;
    }

    .content-title {
        font-size: 22px;
    }

    .content-subtitle {
        font-size: 13px;
    }

    .card {
        padding: 24px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-description {
        font-size: 13px;
    }

    .feature-list li {
        font-size: 12px;
    }

    .price-amount {
        font-size: 28px;
    }

    .price-original {
        font-size: 16px;
    }

    .btn-card {
        padding: 10px 20px;
        font-size: 13px;
    }

    .feature-card-large {
        padding: 24px;
        gap: 24px;
    }

    .feature-content h2 {
        font-size: 24px;
    }

    .feature-content p {
        font-size: 14px;
    }

    .feature-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-number {
        font-size: 24px;
    }

    .booking-embed {
        padding: 24px;
        min-height: 250px;
    }

    .booking-icon {
        font-size: 24px;
    }

    .footer {
        padding: 20px 16px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .nav-right {
        gap: 8px;
    }

    .btn-primary {
        padding: 8px 12px;
        font-size: 12px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
    }

    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }

    .content-title {
        font-size: 20px;
    }

    .card {
        padding: 20px;
    }

    .card-icon {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
    }

    .card-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .btn-card {
        width: 100%;
        text-align: center;
    }

    .feature-card-large {
        padding: 20px;
    }

    .feature-content h2 {
        font-size: 20px;
    }

    .footer {
        font-size: 11px;
    }

    .footer a {
        display: block;
        margin: 8px 0;
    }
}
