/* =====================================================
   SIN CITY SEATS - GLOBAL DESIGN SYSTEM
   Mobile-First, Neon Vegas Aesthetic, High Conversion
   ===================================================== */

/* ===== CSS VARIABLES (Design Tokens) ===== */
:root {
    /* Brand Colors */
    --color-neon-cyan: #00ffff;
    --color-neon-pink: #ff00ff;
    --color-neon-yellow: #ffff00;
    --color-black: #000000;
    --color-dark-gray: #111111;
    --color-mid-gray: #333333;
    --color-light-gray: #888888;
    --color-white: #ffffff;
    
    /* Neon Glow Effects */
    --glow-cyan: 0 0 10px rgba(0, 255, 255, 0.4), 0 0 20px rgba(0, 255, 255, 0.2);
    --glow-pink: 0 0 10px rgba(255, 0, 255, 0.4), 0 0 20px rgba(255, 0, 255, 0.2);
    --glow-yellow: 0 0 10px rgba(255, 255, 0, 0.4), 0 0 20px rgba(255, 255, 0, 0.2);
    --glow-multi: 
        0 0 10px rgba(0, 255, 255, 0.5),
        0 0 20px rgba(255, 0, 255, 0.3),
        0 0 30px rgba(0, 255, 255, 0.2);
    
    /* Typography Scale (Mobile-first) */
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 28px;
    --font-size-4xl: 32px;
    --font-size-5xl: 40px;
    --font-size-hero: 48px;
    
    /* Spacing Scale */
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ===== GLOBAL RESETS & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    font-size: var(--font-size-base);
}

/* ===== IMPROVED TYPOGRAPHY ===== */

/* Headings with better hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    letter-spacing: 0.5px;
}

h1 {
    font-size: var(--font-size-3xl);
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: var(--font-size-2xl);
    text-transform: uppercase;
    color: var(--color-neon-cyan);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

/* Body text improvements */
p {
    margin-bottom: var(--space-md);
    line-height: 1.7;
    color: #ddd;
}

/* Links */
a {
    color: var(--color-neon-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-neon-pink);
    text-shadow: var(--glow-cyan);
}

/* Better readability for small text */
small {
    font-size: var(--font-size-sm);
    color: var(--color-light-gray);
}

/* ===== BUTTON SYSTEM (Improved CTAs) ===== */

.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    line-height: 1;
}

/* Primary Button - Yellow CTA (High conversion) */
.btn-primary {
    background: linear-gradient(135deg, var(--color-neon-yellow), #ffcc00);
    color: var(--color-black);
    border: 2px solid var(--color-neon-yellow);
    box-shadow: var(--glow-yellow);
    font-weight: 700;
}

.btn-primary:hover {
    background: var(--color-neon-yellow);
    transform: translateY(-2px);
    box-shadow: 
        0 0 15px rgba(255, 255, 0, 0.6),
        0 0 30px rgba(255, 255, 0, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Secondary Button - Cyan outline */
.btn-secondary {
    background: transparent;
    color: var(--color-neon-cyan);
    border: 2px solid var(--color-neon-cyan);
    box-shadow: var(--glow-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: var(--glow-multi);
    transform: translateY(-2px);
}

/* Tertiary Button - Ghost */
.btn-tertiary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-mid-gray);
}

.btn-tertiary:hover {
    border-color: var(--color-neon-cyan);
    color: var(--color-neon-cyan);
}

/* Button Sizes */
.btn-sm {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
}

/* Full width button for mobile */
.btn-block {
    display: block;
    width: 100%;
}

/* ===== CARD SYSTEM (Show Cards) ===== */

.card {
    background: var(--color-dark-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--color-mid-gray);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-multi);
    border-color: var(--color-neon-cyan);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

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

.card-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-white);
}

.card-description {
    font-size: var(--font-size-sm);
    color: var(--color-light-gray);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.card-price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-neon-yellow);
    margin-bottom: var(--space-md);
}

/* ===== SPACING UTILITIES ===== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.section {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

/* Margin utilities */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

/* ===== GRID SYSTEM (Responsive) ===== */

.grid {
    display: grid;
    gap: var(--space-lg);
}

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

/* ===== NAVIGATION IMPROVEMENTS ===== */

.navbar {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.nav-link {
    font-size: var(--font-size-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-sm) var(--space-md);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--color-neon-cyan);
    text-shadow: var(--glow-cyan);
}

/* ===== HERO SECTION ===== */

.hero {
    padding: var(--space-3xl) 0;
    text-align: center;
}

.hero-title {
    font-size: var(--font-size-hero);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: var(--glow-cyan);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--color-light-gray);
    margin-bottom: var(--space-2xl);
}

/* ===== TRUST BADGES ===== */

.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.trust-badge-icon {
    font-size: 40px;
    margin-bottom: var(--space-sm);
}

.trust-badge-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-neon-cyan);
    margin-bottom: var(--space-xs);
}

.trust-badge-text {
    font-size: var(--font-size-sm);
    color: var(--color-light-gray);
}

/* ===== IMPROVED MOBILE RESPONSIVENESS ===== */

/* Touch-friendly tap targets */
@media (max-width: 768px) {
    /* Larger tap targets for mobile */
    .btn {
        padding: var(--space-lg) var(--space-xl);
        font-size: var(--font-size-lg);
        min-height: 48px; /* Minimum touch target */
    }
    
    /* Make buttons full-width on mobile */
    .btn-mobile-block {
        display: block;
        width: 100%;
    }
    
    /* Reduce spacing on mobile */
    .section {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }
    
    /* Stack grids on mobile */
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
    
    /* Larger headings for impact */
    h1 {
        font-size: var(--font-size-4xl);
    }
    
    /* Trust badges stack */
    .trust-badges {
        grid-template-columns: 1fr;
    }
}

/* ===== TABLET BREAKPOINT (600px - 899px) ===== */
@media (min-width: 600px) and (max-width: 899px) {
    h1 {
        font-size: var(--font-size-5xl);
    }
    
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== DESKTOP BREAKPOINT (900px+) ===== */
@media (min-width: 900px) {
    /* Typography scales up */
    h1 {
        font-size: var(--font-size-hero);
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    /* Grid layouts work */
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .trust-badges {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Container has more breathing room */
    .container {
        padding-left: var(--space-2xl);
        padding-right: var(--space-2xl);
    }
}

/* ===== ACCESSIBILITY ===== */

/* Focus states */
*:focus-visible {
    outline: 2px solid var(--color-neon-cyan);
    outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-neon-cyan: #00ffff;
        --color-neon-pink: #ff00ff;
        --color-neon-yellow: #ffff00;
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== UTILITY CLASSES ===== */

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

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

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

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.w-full { width: 100%; }
.h-full { height: 100%; }

/* ===== ANIMATIONS ===== */

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

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

@keyframes neonPulse {
    0%, 100% {
        box-shadow: var(--glow-cyan);
    }
    50% {
        box-shadow: var(--glow-multi);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
    animation: slideUp 0.6s ease-in-out;
}

.neon-pulse {
    animation: neonPulse 2s ease-in-out infinite;
}
