/* SlayShot AI — Landing Page Styles */
/* Branding: TBD (colors are placeholder until user approves palette) */

:root {
    /* Primary — placeholder, will be updated after branding approval */
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;

    /* Accent */
    --accent: #f59e0b;
    --accent-dark: #d97706;

    /* Neutral */
    --bg: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --text: #f5f5f5;
    --text-muted: #a3a3a3;
    --text-dim: #737373;
    --border: #262626;

    /* Gradient */
    --gradient: linear-gradient(135deg, var(--primary), var(--accent));

    /* Type */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-pad: 80px;
    --container-max: 1140px;
}

/* === RESET === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* === UTILITIES === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-pad) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

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

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

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

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(124, 58, 237, 0.1);
}

.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* === NAV === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.logo-ai {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* === HERO === */
.hero {
    padding: 140px 0 var(--section-pad);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-sub {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-note {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 12px;
}

.hero-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    perspective: 1000px;
}

.hero-card {
    border-radius: 12px;
    overflow: hidden;
    transform: rotateY(-5deg);
    transition: transform 0.3s ease;
}
.hero-card:hover { transform: rotateY(0deg) scale(1.02); }
.hero-card-2 { transform: rotateY(-5deg) translateY(-20px); }

/* Placeholder for real images */
.placeholder-img {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 0.85rem;
    min-height: 200px;
}
.placeholder-img.tall { min-height: 280px; }

/* === GALLERY === */
.gallery { background: var(--bg); }

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.tab.active, .tab:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item.hidden { display: none; }

/* === HOW IT WORKS === */
.how-it-works {
    background: var(--bg-card);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.step {
    text-align: center;
    max-width: 260px;
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.step p { color: var(--text-muted); font-size: 0.95rem; }

.step-arrow {
    font-size: 2rem;
    color: var(--text-dim);
}

/* === PRICING === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: border-color 0.2s;
}
.price-card:hover { border-color: var(--primary-light); }

.price-card.popular {
    border-color: var(--primary);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.price-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.price {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.credits {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-card ul {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.price-card li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.price-card li::before {
    content: "✓ ";
    color: var(--primary-light);
}

.pricing-note {
    text-align: center;
    color: var(--text-dim);
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* === REFERRAL === */
.referral {
    background: var(--bg-card);
    text-align: center;
}

.referral-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.referral-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.referral-icon { font-size: 2.5rem; margin-bottom: 12px; }

.referral-card h3 {
    font-family: var(--font-display);
    margin-bottom: 8px;
}

.referral-pct {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.referral-card p { color: var(--text-muted); font-size: 0.95rem; }

.referral-details {
    margin-bottom: 2rem;
}
.referral-details p {
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* === CTA === */
.cta {
    text-align: center;
    background: var(--bg);
}

.cta h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* === FOOTER === */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--text); }

.footer-legal {
    text-align: right;
}
.footer-legal p {
    color: var(--text-dim);
    font-size: 0.8rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }
    .nav-toggle { display: block; }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-sub { max-width: 100%; }
    .hero-gallery { display: none; }

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

    .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
    .price-card.popular { transform: none; }

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

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-legal { text-align: center; }

    .cta h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .gallery-tabs { gap: 4px; }
    .tab { padding: 6px 14px; font-size: 0.8rem; }
}
