/* ==========================================================================
   GoBackRow.com — watch videos together
   Same brand palette as the spritzlive.net family.
   ========================================================================== */

:root {
    --brand: #336699;
    --brand-dark: #264e73;
    --accent: #1f8438;
    --accent-dark: #176b2c;
    --text: #222;
    --muted: #666;
    --bg: #fff;
    --bg-alt: #f4f6f8;
    --border: #e1e5ea;
    --max-width: 1100px;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    margin: 0;
    padding: 0;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.5em; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; text-align: center; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

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

/* ---------- Header ---------- */
header {
    background: var(--bg-alt);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--brand-dark);
    line-height: 1.1;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--brand);
    color: #fff;
    font-size: 1.2rem;
}

.logo-wordmark {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
.logo-wordmark .accent { color: var(--accent); }

.logo-tagline {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 500;
    border-left: 2px solid var(--border);
    padding-left: 0.7rem;
    line-height: 1.2;
}

.header-cta {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}
.header-cta:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Hero ---------- */
#hero {
    background: linear-gradient(135deg, #4a86c5 0%, var(--brand) 45%, var(--brand-dark) 100%);
    color: #fff;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
}

#hero h1 {
    color: #fff;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    font-size: 0.92rem;
    opacity: 0.9;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 0.4rem; }

.watching-now {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 1.5rem auto 0;
    padding: 0.4rem 0.95rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
}
.watching-now::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5cd663;
    box-shadow: 0 0 8px rgba(92, 214, 99, 0.7);
    animation: watching-pulse 2s ease-in-out infinite;
}
@keyframes watching-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

.hero-cta {
    margin: 1rem auto 0.5rem;
    text-align: center;
}
.hero-cta-note {
    margin-top: 0.85rem;
    font-size: 0.92rem;
    opacity: 0.85;
}

.cta-button-xl {
    font-size: 1.25rem;
    padding: 1.05rem 2.4rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.cta-button-xl:hover { transform: translateY(-1px); }
.cta-button-xl i { margin-right: 0.4rem; }

/* ---------- Buttons ---------- */
.cta-button {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
.cta-button:hover { background: var(--accent-dark); color: #fff; }
.cta-button:active { transform: translateY(1px); }

/* ---------- Signup form (in hero) ---------- */
#signup-form {
    background: #fff;
    color: var(--text);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 460px;
    margin: 0 auto;
    text-align: left;
    box-shadow: var(--shadow-lg);
}

#signup-form .form-row { margin-bottom: 0.85rem; }

#signup-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

#signup-form input[type="text"],
#signup-form input[type="email"] {
    width: 100%;
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
}

#signup-form input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(51, 102, 153, 0.15);
}

#signup-form .cta-button {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.9rem 1.6rem;
    font-size: 1.05rem;
}

#signup-form .form-note {
    margin: 0.85rem 0 0;
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
}

#signup-form .cf-turnstile {
    margin: 0.85rem 0;
    display: flex;
    justify-content: center;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.req { color: #c0392b; }

/* ---------- Sections ---------- */
.section { padding: 4rem 1.5rem; }
.section.alt { background: var(--bg-alt); }

.section > h2,
.section > p,
.section > .steps-grid,
.section > .features-grid,
.section > .faq-list {
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.section > p { text-align: center; max-width: 700px; }

/* ---------- How it works (3 steps) ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.step-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.25rem;
    box-shadow: var(--shadow);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.step-card h3 { margin-bottom: 0.4rem; }
.step-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- Features ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.feature-card i {
    font-size: 2.25rem;
    color: var(--brand);
    margin-bottom: 0.75rem;
}

.feature-card h3 { margin-bottom: 0.4rem; font-size: 1.1rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 760px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    margin-bottom: 0.85rem;
}

.faq-item h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    color: var(--brand-dark);
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.55;
}

/* ---------- Mid-page CTA ---------- */
.cta-strip {
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { opacity: 0.95; max-width: 560px; margin: 0 auto 1.5rem; }
.cta-strip .cta-button {
    background: #fff;
    color: var(--brand-dark);
}
.cta-strip .cta-button:hover {
    background: #f1f5fa;
    color: var(--brand-dark);
}

/* ---------- Footer ---------- */
footer {
    background: var(--bg-alt);
    color: var(--text);
    text-align: center;
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border);
}

.footer-content { max-width: var(--max-width); margin: 0 auto; }

footer p { margin: 0.25rem 0; }

footer a { color: var(--brand-dark); text-decoration: underline; }
footer a:hover { color: var(--brand); }

footer .copyright {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--muted);
}

footer .footer-tagline {
    font-size: 0.95rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

footer .footer-coffee {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .logo-tagline {
        border-left: 0;
        padding-left: 0;
        font-size: 0.76rem;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.5rem; }

    #hero { padding: 3.5rem 1rem 3rem; }
    #hero h1 { font-size: 2.1rem; }

    .section { padding: 3rem 1rem; }

    #signup-form { padding: 1.25rem; }
}
