/* ============================================
   DropHawk — Brand Dark Theme
   ============================================ */

:root {
    --bg: #0B0F19;
    --surface: #151B2B;
    --surface-elevated: #1E2640;
    --border: #2A3350;
    --border-light: #3A4568;
    --gold: #FFB800;
    --gold-light: #FFD060;
    --gold-dark: #CC9300;
    --red: #FF3B5C;
    --red-dark: #CC1636;
    --success: #2ED573;
    --info: #00B4D8;
    --text-primary: #EAECF5;
    --text-secondary: #7A839C;
    --text-muted: #4F5670;
    --gradient-gold: linear-gradient(135deg, #FFB800, #FF8C00);
    --gradient-red: linear-gradient(135deg, #FF3B5C, #CC1636);
    --gradient-card: linear-gradient(180deg, #1E2640, #151B2B);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--gold-light);
}

/* ============ NAVBAR ============ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    transition: background 0.3s;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.navbar-brand .drop {
    color: var(--gold);
}

.navbar-brand .hawk {
    color: var(--text-primary);
}

.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--gradient-gold);
    color: var(--bg) !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
    color: var(--bg) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============ HERO ============ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 184, 0, 0.06) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(255, 59, 92, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.2);
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.hero h1 .gold {
    color: var(--gold);
}

.hero .subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-gold);
    color: var(--bg);
    font-weight: 700;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.btn-primary-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 184, 0, 0.35);
    color: var(--bg);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(255, 184, 0, 0.05);
    color: var(--text-primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ============ SECTIONS ============ */

section {
    padding: 5rem 1.5rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ FEATURES ============ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.feature-icon.gold {
    background: rgba(255, 184, 0, 0.12);
    color: var(--gold);
}

.feature-icon.red {
    background: rgba(255, 59, 92, 0.12);
    color: var(--red);
}

.feature-icon.green {
    background: rgba(46, 213, 115, 0.12);
    color: var(--success);
}

.feature-icon.blue {
    background: rgba(0, 180, 216, 0.12);
    color: var(--info);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ============ HOW IT WORKS ============ */

.how-it-works {
    background: var(--surface);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    position: relative;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--bg);
    font-weight: 800;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 260px;
    margin: 0 auto;
}

/* ============ BOOKMAKERS ============ */

.bookmakers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.bookmaker-chip {
    background: rgba(255, 184, 0, 0.08);
    border: 1px solid rgba(255, 184, 0, 0.2);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.bookmaker-chip:hover {
    background: rgba(255, 184, 0, 0.15);
    transform: translateY(-2px);
}

/* ============ MARKETS ============ */

.markets-section {
    background: var(--surface);
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.market-item {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.market-item .icon {
    font-size: 1.2rem;
}

.market-item .name {
    font-weight: 600;
    font-size: 0.92rem;
}

.market-item .count {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============ DEMO CARD ============ */

.demo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.demo-card-wrapper {
    flex-shrink: 0;
}

.alert-card-demo {
    width: 360px;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.alert-card-demo .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 59, 92, 0.15);
    border: 1px solid rgba(255, 59, 92, 0.4);
    color: var(--red);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.live-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.drop-badge {
    background: var(--gradient-red);
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
}

.alert-card-demo .match-name {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.alert-card-demo .league {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 1rem;
}

.alert-card-demo .divider {
    height: 1px;
    background: var(--border);
    margin-bottom: 1rem;
}

.alert-card-demo .odds-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.alert-card-demo .bookie-chip {
    background: rgba(255, 184, 0, 0.12);
    border: 1px solid rgba(255, 184, 0, 0.25);
    color: var(--gold);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.alert-card-demo .market {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.alert-card-demo .odds-change {
    margin-left: auto;
    font-weight: 700;
    font-size: 0.95rem;
}

.alert-card-demo .odds-change .old {
    color: var(--text-muted);
    text-decoration: line-through;
}

.alert-card-demo .odds-change .arrow {
    color: var(--red);
    margin: 0 0.3rem;
}

.alert-card-demo .odds-change .new {
    color: var(--red);
}

.demo-text {
    max-width: 460px;
}

.demo-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.demo-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.demo-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.demo-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.demo-features li .check {
    color: var(--success);
    font-size: 1.1rem;
}

/* ============ CTA ============ */

.cta-section {
    text-align: center;
    padding: 6rem 1.5rem;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(255, 184, 0, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    position: relative;
}

.cta-section .btn-primary-gold {
    position: relative;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* ============ FOOTER ============ */

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .brand-name {
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-brand .footer-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: contain;
}

.footer-brand .brand-name .drop {
    color: var(--gold);
}

.footer-brand .brand-name .hawk {
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.footer-bottom .disclaimer {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-style: italic;
}

/* ============ PRIVACY / DATA-DELETION ============ */

.legal-page {
    padding: 8rem 1.5rem 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.legal-page .last-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
}

.legal-page h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--gold);
}

.legal-page h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-page p, .legal-page li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.legal-page ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page a {
    color: var(--gold);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.lang-btn {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-btn.active {
    background: rgba(255, 184, 0, 0.12);
    border-color: var(--gold);
    color: var(--gold);
}

.lang-content {
    display: none;
}

.lang-content.active {
    display: block;
}

/* ============ DATA DELETION FORM ============ */

.deletion-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.btn-submit {
    background: var(--gradient-gold);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
}

/* ============ FORM MESSAGES ============ */

.form-message {
    padding: 1rem 1.25rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.form-message.success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: var(--success);
}

.form-message.error {
    background: rgba(255, 59, 92, 0.1);
    border: 1px solid rgba(255, 59, 92, 0.3);
    color: var(--red);
}

.form-message a {
    color: var(--gold);
}

.field-error {
    color: var(--red);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

/* ============ ANIMATIONS ============ */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 7rem 1.5rem 3rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat .number {
        font-size: 1.5rem;
    }

    .demo-section {
        flex-direction: column;
        gap: 2rem;
    }

    .alert-card-demo {
        width: 100%;
        max-width: 360px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary-gold, .btn-outline {
        width: 100%;
        justify-content: center;
    }
}
