/**
 * WaffleRounds Design System
 * Gun-themed, clean, modern aesthetic
 */

/* =============================================
   CSS Variables (Color Palette)
   ============================================= */
:root {
    /* Primary Colors */
    --gunmetal: #2B2E34;
    --matte-black: #0F0F0F;
    --flat-dark-earth: #C2B280;
    --brass: #B08D57;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --light-gray: #E0E0E0;
    --medium-gray: #888888;
    --dark-gray: #444444;

    /* Status Colors */
    --success: #4CAF50;
    --warning: #FFA726;
    --error: #EF5350;
    --info: #42A5F5;

    /* Seat Status Colors */
    --seat-available: #4CAF50;
    --seat-reserved: #FFA726;
    --seat-paid: #42A5F5;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition: all 0.2s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--off-white);
    color: var(--gunmetal);
    line-height: 1.6;
    min-height: 100vh;
}

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

a:hover {
    color: var(--flat-dark-earth);
}

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

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--matte-black);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.text-muted { color: var(--medium-gray); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-brass { color: var(--brass); }

/* =============================================
   Layout
   ============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* =============================================
   Header & Navigation
   ============================================= */
.header {
    background: var(--matte-black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--brass);
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav a {
    color: var(--light-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

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

.nav a.active {
    color: var(--brass);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
    color: var(--light-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-dropdown-toggle:hover {
    color: var(--white);
    background: var(--gunmetal);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: var(--matte-black);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--light-gray);
    font-weight: 500;
    border-radius: 0;
}

.nav-dropdown-menu a:hover {
    background: var(--gunmetal);
    color: var(--white);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

.btn-primary:hover:not(:disabled) {
    background: var(--flat-dark-earth);
    color: var(--matte-black);
}

.btn-secondary {
    background: var(--gunmetal);
    color: var(--white);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--dark-gray);
}

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

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

.btn-danger {
    background: var(--error);
    color: var(--white);
}

.btn-danger:hover:not(:disabled) {
    background: #d32f2f;
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover:not(:disabled) {
    background: #388E3C;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* =============================================
   Cards
   ============================================= */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    background: var(--off-white);
}

.card-header h3 {
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--light-gray);
    background: var(--off-white);
}

/* =============================================
   Forms
   ============================================= */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gunmetal);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--brass);
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.2);
}

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

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

.form-hint {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-top: 0.25rem;
}

.form-error {
    font-size: 0.875rem;
    color: var(--error);
    margin-top: 0.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

/* =============================================
   Badges & Status
   ============================================= */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.badge-draft {
    background: var(--medium-gray);
    color: var(--white);
}

.badge-open {
    background: var(--success);
    color: var(--white);
}

.badge-locked {
    background: var(--warning);
    color: var(--matte-black);
}

.badge-ready {
    background: var(--info);
    color: var(--white);
}

.badge-completed {
    background: var(--gunmetal);
    color: var(--white);
}

.badge-cancelled {
    background: var(--error);
    color: var(--white);
}

/* =============================================
   Seat Grid
   ============================================= */
.seat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
}

.seat {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
}

.seat:hover:not(.seat-disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.seat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gunmetal);
}

.seat-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.25rem;
}

.seat-available {
    border-color: var(--seat-available);
}

.seat-available .seat-status {
    color: var(--seat-available);
}

.seat-reserved {
    border-color: var(--seat-reserved);
    background: rgba(255, 167, 38, 0.1);
}

.seat-reserved .seat-status {
    color: var(--seat-reserved);
}

.seat-paid {
    border-color: var(--seat-paid);
    background: rgba(66, 165, 245, 0.1);
}

.seat-paid .seat-status {
    color: var(--seat-paid);
}

.seat-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.seat-mine {
    border-color: var(--brass);
    background: rgba(176, 141, 87, 0.15);
    border-width: 3px;
}

.seat-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
}

.seat-badge.seat-available {
    background: var(--seat-available);
    color: var(--white);
}

.seat-badge.seat-reserved {
    background: var(--seat-reserved);
    color: var(--matte-black);
}

.seat-badge.seat-paid {
    background: var(--seat-paid);
    color: var(--white);
}

/* =============================================
   Tables
   ============================================= */
.table-wrapper {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.table th {
    background: var(--gunmetal);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.table tr:hover td {
    background: var(--off-white);
}

.table tr:last-child td {
    border-bottom: none;
}

/* =============================================
   Alerts
   ============================================= */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--success);
    color: #2e7d32;
}

.alert-error {
    background: rgba(239, 83, 80, 0.1);
    border-color: var(--error);
    color: #c62828;
}

.alert-warning {
    background: rgba(255, 167, 38, 0.1);
    border-color: var(--warning);
    color: #e65100;
}

.alert-info {
    background: rgba(66, 165, 245, 0.1);
    border-color: var(--info);
    color: #1565c0;
}

/* =============================================
   Hero Section (Landing Page)
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--matte-black) 0%, var(--gunmetal) 100%);
    color: var(--white);
    padding: 5rem 0 6rem;
    text-align: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--brass);
}

.hero-logo {
    max-width: 420px;
    width: 85%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--brass);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--light-gray);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   Stats Section
   ============================================= */
.stats-section {
    background: var(--brass);
    padding: 2.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

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

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--matte-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* =============================================
   Section Titles
   ============================================= */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--matte-black);
}

.section-subtitle {
    text-align: center;
    color: var(--medium-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* =============================================
   Featured Webinars Section
   ============================================= */
.featured-section {
    padding: 5rem 0;
    background: var(--off-white);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.featured-image {
    position: relative;
    height: 200px;
    background: var(--gunmetal);
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--success);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-content {
    padding: 1.5rem;
}

.featured-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--matte-black);
}

.featured-title {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.featured-price {
    font-weight: 600;
    color: var(--brass);
}

.featured-seats {
    color: var(--medium-gray);
}

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

/* =============================================
   How It Works Section
   ============================================= */
.how-it-works {
    padding: 5rem 0;
    background: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--brass) 0%, var(--flat-dark-earth) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.step-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--matte-black);
}

.step-card p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   Provably Fair Section
   ============================================= */
.provably-fair {
    padding: 5rem 0;
    background: var(--gunmetal);
    color: var(--white);
}

.fair-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: center;
}

.fair-text h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.fair-lead {
    font-size: 1.125rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.fair-list {
    list-style: none;
}

.fair-list li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.fair-list strong {
    color: var(--brass);
    font-size: 1rem;
}

.fair-list span {
    color: var(--light-gray);
    font-size: 0.9rem;
}

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

.fair-badge {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(176, 141, 87, 0.2) 0%, rgba(176, 141, 87, 0.1) 100%);
    border: 3px solid var(--brass);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.fair-badge svg {
    width: 56px;
    height: 56px;
    color: var(--brass);
}

.fair-badge span {
    font-weight: 600;
    color: var(--brass);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    padding: 5rem 0;
    background: var(--off-white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-section p {
    color: var(--medium-gray);
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   Feature Grid (Landing Page)
   ============================================= */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--brass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--medium-gray);
}

/* =============================================
   Webinar Cards
   ============================================= */
.webinar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.webinar-card {
    display: flex;
    flex-direction: column;
}

.webinar-card .card-body {
    flex: 1;
}

.webinar-image {
    height: 180px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-gray);
    font-size: 3rem;
    padding: 1rem;
}

.webinar-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.webinar-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.webinar-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* =============================================
   Dashboard Layout
   ============================================= */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brass);
}

.stat-label {
    color: var(--medium-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* =============================================
   Modal
   ============================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

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

.modal-header h3 {
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--medium-gray);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--error);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--matte-black);
    color: var(--light-gray);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-logo:hover {
    opacity: 1;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin: 0.5rem 0;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brass);
    opacity: 1;
}

/* =============================================
   Utility Classes
   ============================================= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* =============================================
   Responsive Adjustments
   ============================================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-logo {
        max-width: 320px;
        width: 80%;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-img {
        height: 35px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .stat-number {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon svg {
        width: 28px;
        height: 28px;
    }

    .fair-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fair-visual {
        order: -1;
    }

    .fair-badge {
        width: 140px;
        height: 140px;
    }

    .fair-badge svg {
        width: 44px;
        height: 44px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }

    .seat-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }

    .footer-logo {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }

    .hero {
        padding: 3rem 0 4rem;
    }

    .hero-logo {
        max-width: 260px;
        width: 75%;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

    .stats-section {
        padding: 2rem 0;
    }

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

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-text {
        font-size: 0.75rem;
    }

    .featured-section,
    .how-it-works,
    .provably-fair,
    .cta-section {
        padding: 3rem 0;
    }

    .section-subtitle {
        margin-bottom: 2rem;
    }

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

    .step-card {
        padding: 1.25rem;
    }

    .fair-text h2 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
