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

:root {
    --primary: #7c3aed;         /* purple — grape */
    --primary-light: #a855f7;
    --primary-dark: #6d28d9;
    --dark: #0f172a;
    --gray: #64748b;
    --light-bg: #f8fafc;
    --border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }

/* ============ NAVBAR ============ */
.navbar {
    position: sticky; top: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 68px;
}

.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.35rem; }
.logo-img { height: 32px; }
.logo-mark { font-size: 1.5rem; }
.logo-fallback { display: flex; align-items: center; }

.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--gray); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

@media (max-width: 720px) {
    .nav-links { display: none; }
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 50%, #ddd6fe 100%);
    padding: 100px 0 90px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.15);
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #475569;
    max-width: 720px;
    margin: 0 auto 36px;
}

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }

.btn-secondary { background: white; color: var(--dark); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-alt { background: var(--light-bg); }
.section-sms { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); }
.section-ai { background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%); color: white; }
.section-ai h2 { color: white; }

.section h2 {
    font-size: 2rem; font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-intro {
    text-align: center; color: var(--gray);
    font-size: 1.05rem; max-width: 660px;
    margin: 0 auto 48px;
}

.section-ai .section-intro { color: #c4b5fd; }

/* ============ GRAPES VISUAL ============ */
.grapes-visual {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 10px; max-width: 280px; margin: 32px auto 20px;
    padding: 20px;
}

.grape {
    width: 52px; height: 52px;
    border-radius: 50%;
    box-shadow: inset -4px -4px 8px rgba(0,0,0,0.15), 0 4px 8px rgba(124,58,237,0.2);
}

.grapes-caption {
    text-align: center; color: var(--gray);
    font-size: 0.95rem; max-width: 640px;
    margin: 0 auto;
}

/* ============ FEATURES ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(124, 58, 237, 0.08);
    border-color: var(--primary-light);
}

.feature-icon { font-size: 2.2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--gray); font-size: 0.95rem; }

/* ============ AI SECTION ============ */
.ai-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 800px) {
    .ai-inner { grid-template-columns: 1fr; }
}

.ai-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #e9d5ff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.ai-text h2 { text-align: left; margin-bottom: 16px; }
.ai-text p { color: #c4b5fd; margin-bottom: 20px; font-size: 1rem; }
.ai-text p strong { color: white; }

.ai-list { list-style: none; padding: 0; }
.ai-list li { margin-bottom: 10px; font-size: 0.95rem; color: #e9d5ff; }

.chat-mockup {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(8px);
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 90%;
}

.chat-bubble.user {
    background: rgba(255,255,255,0.12);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-bubble.ai {
    background: var(--primary);
    color: white;
    border-bottom-left-radius: 4px;
}

/* ============ SPORTS ============ */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.sport-card {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #94a3b8, #475569);
    display: flex;
    align-items: flex-end;
    transition: transform 0.2s;
}

.sport-card:hover { transform: scale(1.02); }

.sport-card img {
    width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}

.sport-overlay {
    position: relative;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.sport-card.placeholder {
    background: linear-gradient(135deg, #ede9fe, #c4b5fd);
    align-items: center;
    justify-content: center;
}

.sport-card.placeholder .sport-overlay {
    background: none;
    text-align: center;
    color: var(--primary-dark);
}

/* ============ REGISTRATION PREVIEW ============ */
.registration-preview {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.reg-card {
    background: white;
    padding: 40px 36px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.08);
    max-width: 440px;
    width: 100%;
    border: 1px solid var(--border);
}

.reg-card h3 { margin-bottom: 24px; text-align: center; }

.reg-field { margin-bottom: 18px; }
.reg-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.reg-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #f8fafc;
    color: #64748b;
}

.reg-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: #475569;
    margin: 20px 0;
    line-height: 1.5;
    cursor: default;
}

.reg-checkbox input { margin-top: 3px; }

.reg-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.7;
}

.reg-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 14px;
}

/* ============ SMS SECTION ============ */
.sms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.sms-card {
    background: white;
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.sms-card h3 { margin-bottom: 16px; font-size: 1.15rem; }
.sms-card ul, .sms-card ol { padding-left: 20px; color: #334155; }
.sms-card li { margin-bottom: 8px; font-size: 0.95rem; }

.sms-note {
    margin-top: 16px;
    padding: 12px 16px;
    background: #fffbeb;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #78350f;
}

.sms-example { text-align: center; }
.sms-example h3 { margin-bottom: 20px; font-size: 1.1rem; }

.phone-mockup {
    max-width: 320px;
    margin: 0 auto;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 6px solid #1e293b;
}

.phone-header {
    background: #1e293b;
    color: white;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.9rem;
}

.phone-body {
    padding: 20px 16px;
    font-size: 0.9rem;
    color: #334155;
    text-align: left;
    line-height: 1.5;
}

/* ============ CONTACT ============ */
.contact-inner { text-align: center; }
.contact-email a { color: var(--primary); font-weight: 600; font-size: 1.1rem; }

/* ============ FOOTER ============ */
.footer {
    background: var(--dark);
    color: #cbd5e1;
    padding: 48px 0 24px;
    font-size: 0.9rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-brand { font-weight: 700; color: white; font-size: 1.1rem; }
.footer-brand p { font-weight: 400; color: var(--gray); margin-top: 8px; font-size: 0.85rem; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover { color: white; }

.footer-copy { text-align: right; color: var(--gray); font-size: 0.8rem; }

@media (max-width: 640px) {
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-links { align-items: center; }
    .footer-copy { text-align: center; }
}