/* ============================================
   BigGameX - Engineering Grade UI
   Theme: High-End Tech / Dark SaaS
   Font: Plus Jakarta Sans + JetBrains Mono
   ============================================ */

:root {
    /* Core Palette - Monochrome */
    --bg-root: #000000;
    --bg-surface: #0a0a0a;
    --bg-surface-hover: #111111;
    --bg-subtle: #171717;
    
    /* Borders */
    --border-subtle: #262626;
    --border-strong: #404040;
    
    /* Text */
    --text-primary: #ededed;
    --text-secondary: #a1a1a1;
    --text-tertiary: #525252;
    
    /* Brand Colors */
    --brand-primary: #fff; /* Minimalist White Accent */
    --brand-accent: #3291ff; /* Tech Blue */
    
    /* Status */
    --success: #0070f3; /* Using Blue for success in this theme or Green */
    --success-real: #27c93f;
    --warning: #f5a623;
    --error: #ff453a;
    
    /* Dimensions */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* Grid */
    --grid-color: rgba(255, 255, 255, 0.05);
    
    /* Gradients */
    --gradient-hero: linear-gradient(180deg, #fff 0%, #888 100%);
    --gradient-text: linear-gradient(to right, #fff, #888);
    --bg-cta: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
    
    /* Navbar */
    --bg-navbar: rgba(0, 0, 0, 0.8);
}

[data-theme="light"] {
    --bg-root: #ffffff;
    --bg-surface: #fafafa;
    --bg-surface-hover: #f5f5f5;
    --bg-subtle: #f0f0f0;
    
    --border-subtle: #e5e5e5;
    --border-strong: #d4d4d4;
    
    --text-primary: #171717;
    --text-secondary: #525252;
    --text-tertiary: #737373;
    
    --brand-primary: #000;
    --brand-accent: #0070f3;
    
    --grid-color: rgba(0, 0, 0, 0.04);
    
    /* Gradients Light */
    --gradient-hero: linear-gradient(180deg, #000 0%, #666 100%);
    --gradient-text: linear-gradient(to right, #000, #666);
    --bg-cta: radial-gradient(circle at center, #f0f0f0 0%, #fff 100%);
    
    /* Navbar Light */
    --bg-navbar: rgba(255, 255, 255, 0.8);
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-root);
    color: var(--text-primary);
    line-height: 1.6;
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.mono {
    font-family: 'JetBrains Mono', monospace;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === UTILITIES === */
.text-accent { color: var(--brand-accent); }
.text-muted { color: var(--text-secondary); }
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === NAVBAR === */
.navbar {
    background: var(--bg-navbar);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo i {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.btn-admin {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.btn-admin:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: var(--bg-subtle);
}

/* === HERO SECTION === */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-badge i {
    color: var(--brand-accent);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    height: 48px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-root);
}

.btn-primary:hover {
    background: #ccc;
}

.btn-outline {
    background: transparent;
    border-color: var(--border-subtle);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: var(--bg-subtle);
}

.btn-large {
    height: 56px;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    height: 32px;
    padding: 0 0.75rem;
    font-size: 0.8rem;
}

/* === PROMINENT CTA STYLES === */
.pulse-action {
    background: var(--brand-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(50, 145, 255, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    animation: pulse-blue 2s infinite;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pulse-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(50, 145, 255, 0.6);
}

@keyframes pulse-blue {
    0% {
        box-shadow: 0 0 0 0 rgba(50, 145, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(50, 145, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(50, 145, 255, 0);
    }
}

/* Navbar Highlight */
.nav-highlight {
    background: rgba(50, 145, 255, 0.1);
    color: var(--brand-accent) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(50, 145, 255, 0.2);
    transition: all 0.2s ease;
    font-weight: 600 !important;
}

.nav-highlight:hover {
    background: var(--brand-accent);
    color: #ffffff !important;
    border-color: var(--brand-accent);
    box-shadow: 0 0 15px rgba(50, 145, 255, 0.4);
}

/* === TRUST BADGES === */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.badge i {
    color: var(--text-primary);
}

/* === SECTIONS === */
.section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

/* === CARDS (Bento Grid Style) === */
.card, .step-card, .feature-card, .info-card, .form-container, .login-box, .detail-card, .contact-form-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: border-color 0.2s ease;
}

.card:hover, .step-card:hover, .feature-card:hover {
    border-color: var(--border-strong);
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    position: relative;
    overflow: hidden;
}

.step-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    text-align: center;
    background: var(--bg-cta);
}

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

.cta-section p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* === FORMS === */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-root); /* Darker background for form */
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.form-section {
    margin-bottom: 3rem;
}

.form-section h2 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background: var(--bg-surface-hover);
}

/* Upload Box */
.upload-box {
    background: var(--bg-subtle);
    border: 1px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-box:hover {
    border-color: var(--text-primary);
    background: var(--bg-surface);
}

.upload-box i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.upload-label span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.image-preview {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    border: 1px solid var(--border-subtle);
}

/* === UPLOAD GRID === */
.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-accent);
    font-size: 1.25rem;
}

.business-hours {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 1rem;
}

.business-hours h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.business-hours ul {
    list-style: none;
}

.business-hours ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px dashed var(--border-subtle);
    padding-bottom: 0.5rem;
}

.business-hours ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* === FOOTER === */
.footer {
    background: var(--bg-root);
    border-top: 1px solid var(--border-subtle);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

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

.footer-col a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.aizen-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* === ADMIN PANEL === */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-root);
}

.settings-form {
    max-width: 100%;
}

.settings-section {
    margin-bottom: 4rem;
}

.settings-section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-subtle);
    color: var(--text-primary);
}

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

.settings-grid .form-group {
    margin-bottom: 0;
}

.form-actions {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1024px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.admin-page {
    background: var(--bg-root);
}

.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    margin-bottom: 2.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.admin-nav a:hover, .admin-nav a.active {
    background: var(--bg-subtle);
    color: var(--text-primary);
}

.admin-main {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-surface);
    padding: 1.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stat-icon.pending { background: rgba(245, 166, 35, 0.1); color: var(--warning); }
.stat-icon.called { background: rgba(50, 145, 255, 0.1); color: var(--brand-accent); }
.stat-icon.purchased { background: rgba(39, 201, 63, 0.1); color: var(--success-real); }
.stat-icon.total { background: rgba(255, 255, 255, 0.1); color: var(--text-primary); }

.stat-info h3 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.stat-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-weight: 500;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.admin-table tr:hover td {
    background: var(--bg-subtle);
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
}

.status-pending { background: rgba(245, 166, 35, 0.1); color: var(--warning); border: 1px solid rgba(245, 166, 35, 0.2); }
.status-called { background: rgba(50, 145, 255, 0.1); color: var(--brand-accent); border: 1px solid rgba(50, 145, 255, 0.2); }
.status-purchased { background: rgba(39, 201, 63, 0.1); color: var(--success-real); border: 1px solid rgba(39, 201, 63, 0.2); }

/* Messages */
.success-message {
    background: rgba(39, 201, 63, 0.1);
    border: 1px solid rgba(39, 201, 63, 0.2);
    color: var(--success-real);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.error-message {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.2);
    color: var(--error);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

/* Detail View */
.view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.detail-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.detail-table td:first-child {
    font-weight: 500;
    color: var(--text-secondary);
    width: 150px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border: 1px solid var(--border-subtle);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
}

/* === SETTINGS MODAL === */
.settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    backdrop-filter: blur(5px);
    overflow-y: auto;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
}

.modal-content {
    background: var(--bg-surface);
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--bg-surface);
    z-index: 10;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.modal-header h2 {
    font-size: 1.25rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

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

.modal-body {
    padding: 2rem;
}

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

.settings-card {
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
}

.settings-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-accent);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .settings-modal {
        padding: 0;
    }
    
    .modal-content {
        margin: 0;
        min-height: 100vh;
        border-radius: 0;
        border: none;
    }
    
    .modal-header {
        border-radius: 0;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .steps-grid, .features-grid, .footer-grid, .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .view-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .nav-menu { display: none; }
    .mobile-toggle { display: block; }
    .admin-container { flex-direction: column; }
    .admin-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

/* === PRODUCT TICKER === */
.product-ticker-section {
    padding: 4rem 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ticker-wrapper {
    display: flex;
    gap: 2rem;
    animation: tickerScroll 30s linear infinite;
    width: max-content;
}

.ticker-wrapper:hover {
    animation-play-state: paused;
}

.product-card-mini {
    background: var(--bg-root);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.2s, border-color 0.2s;
}

.product-card-mini:hover {
    transform: translateY(-5px);
    border-color: var(--brand-accent);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
}

.product-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}

.product-price {
    font-family: 'JetBrains Mono', monospace;
    color: var(--brand-accent);
    font-weight: 700;
    font-size: 1.1rem;
}

@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
