/* =========================================================
   AttracTV.ai — Website CSS
   Uses Inter (Google Fonts) + brand tokens: orange #ff9500, navy #1a1a2e
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
    --ws-orange: #ff9500;
    --ws-orange-hover: #e68600;
    --ws-orange-light: rgba(255, 149, 0, 0.10);
    --ws-navy: #1a1a2e;
    --ws-navy-mid: #24325e;
    --ws-bg: #f8f8fb;
    --ws-surface: #ffffff;
    --ws-surface-2: #f1f3f9;
    --ws-text: #0f172a;
    --ws-muted: #64748b;
    --ws-border: rgba(15, 23, 42, 0.08);
    --ws-shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
    --ws-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --ws-shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.13);
    --ws-radius: 18px;
    --ws-radius-lg: 28px;
    --ws-gradient: linear-gradient(135deg, var(--ws-navy) 0%, var(--ws-navy-mid) 55%, #3a5294 100%);
    --ws-gradient-orange: linear-gradient(135deg, var(--ws-orange) 0%, #ffb740 100%);
    --ws-font: 'Inter', system-ui, -apple-system, sans-serif;
    --ws-max: 1180px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

/* ---------- Layout ---------- */
.ws-container {
    max-width: var(--ws-max);
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* ---------- Typography Scale ---------- */
h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--ws-navy);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }

p { line-height: 1.65; }

/* ---------- Shared Atoms ---------- */
.ws-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ws-orange);
    margin-bottom: 0.8rem;
}

.ws-eyebrow-light { color: rgba(255,255,255,0.65); }

.ws-badge {
    display: inline-block;
    background: var(--ws-orange-light);
    color: var(--ws-orange);
    border: 1px solid rgba(255,149,0,0.25);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

/* ---------- Buttons ---------- */
.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--ws-font);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.72rem 1.3rem;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.ws-btn-primary {
    background: var(--ws-orange);
    color: #fff;
}
.ws-btn-primary:hover { background: var(--ws-orange-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,149,0,0.3); }

.ws-btn-outline {
    background: transparent;
    color: var(--ws-navy);
    border: 1.5px solid rgba(15,23,42,0.18);
}
.ws-btn-outline:hover { border-color: var(--ws-orange); color: var(--ws-orange); }

.ws-btn-ghost {
    background: transparent;
    color: var(--ws-muted);
    border: 1.5px solid var(--ws-border);
}
.ws-btn-ghost:hover { background: var(--ws-surface-2); color: var(--ws-text); }

.ws-btn-lg { padding: 1rem 1.75rem; font-size: 1rem; border-radius: 12px; }

/* ---------- Header / Nav ---------- */
.ws-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 248, 251, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.ws-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 1rem;
}

.ws-brand { text-decoration: none; display: flex; align-items: center; }

.ws-logo-img { height: 32px; width: auto; }

/* Fallback if image fails */
.ws-brand:not(:has(img)) {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ws-navy);
    letter-spacing: -0.03em;
}

.ws-nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ws-nav-links a {
    color: var(--ws-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: color 0.15s;
}
.ws-nav-links a:hover { color: var(--ws-navy); }

.ws-nav-login { border: 1.5px solid var(--ws-border) !important; }

.ws-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px;
}
.ws-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ws-navy);
    border-radius: 2px;
    transition: 0.25s;
}

/* ---------- Hero ---------- */
.ws-hero {
    padding: 6rem 0 4rem;
    text-align: center;
}

.ws-hero-inner {
    max-width: 820px;
    margin-inline: auto;
}

.ws-hero-inner h1 {
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--ws-navy) 40%, #4a7ecf 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ws-hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--ws-muted);
    max-width: 620px;
    margin-inline: auto;
    margin-bottom: 2rem;
}

.ws-hero-actions {
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.ws-hero-note {
    font-size: 0.88rem;
    color: var(--ws-muted);
}

/* ---------- Stats Strip ---------- */
.ws-stats-strip {
    padding: 1rem 0 3.5rem;
}

.ws-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius-lg);
    box-shadow: var(--ws-shadow);
    padding: 2rem 2.5rem;
}

.ws-stat {
    text-align: center;
}

.ws-stat strong {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ws-orange);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.ws-stat span {
    font-size: 0.9rem;
    color: var(--ws-muted);
    font-weight: 500;
}

/* ---------- Section ---------- */
.ws-section {
    padding: 5rem 0;
}

.ws-section-alt {
    background: var(--ws-surface-2);
    border-top: 1px solid var(--ws-border);
    border-bottom: 1px solid var(--ws-border);
}

.ws-section-dark {
    background: var(--ws-gradient);
}

.ws-section-head {
    max-width: 680px;
    margin-bottom: 3rem;
}

.ws-section-head h2 {
    margin-bottom: 0.85rem;
}

.ws-section-head-centered {
    text-align: center;
    max-width: 780px;
    margin-inline: auto;
}

.ws-section-head p {
    font-size: 1.05rem;
    color: var(--ws-muted);
}

.ws-section-head-light h2,
.ws-section-head-light p {
    color: #fff;
}

.ws-section-head-light p {
    opacity: 0.75;
}

/* ---------- Feature Cards ---------- */
.ws-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ws-card {
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 1.75rem;
    box-shadow: var(--ws-shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}

.ws-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--ws-gradient-orange);
    opacity: 0;
    transition: opacity 0.2s;
}

.ws-card:hover { transform: translateY(-3px); box-shadow: var(--ws-shadow-lg); }
.ws-card:hover::before { opacity: 1; }

.ws-card-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.ws-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

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

/* ---------- Steps ---------- */
.ws-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 1rem;
}

.ws-step {
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 1.75rem;
    box-shadow: var(--ws-shadow-sm);
}

.ws-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: var(--ws-orange-light);
    color: var(--ws-orange);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.ws-step h3 { margin-bottom: 0.5rem; }
.ws-step p { color: var(--ws-muted); font-size: 0.95rem; }

.ws-step-arrow {
    color: rgba(15,23,42,0.2);
    font-size: 1.5rem;
    padding-top: 2.2rem;
    user-select: none;
}

/* ---------- Feature List ---------- */
.ws-feature-list {
    display: grid;
    gap: 1rem;
}

.ws-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--ws-shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ws-feature-item:hover { transform: translateY(-2px); box-shadow: var(--ws-shadow); }

.ws-feature-num {
    flex-shrink: 0;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: rgba(15,23,42,0.1);
    min-width: 2.5rem;
    line-height: 1;
    padding-top: 0.2rem;
}

.ws-feature-item h3 { margin-bottom: 0.3rem; }
.ws-feature-item p { color: var(--ws-muted); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.ws-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.ws-testimonial {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--ws-radius);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ws-testimonial p {
    color: rgba(255,255,255,0.9);
    font-size: 0.98rem;
    line-height: 1.65;
    flex: 1;
}

.ws-testimonial footer strong {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
}

.ws-testimonial footer span {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
}

/* ---------- FAQ ---------- */
.ws-faq {
    max-width: 780px;
    margin-inline: auto;
    display: grid;
    gap: 0.6rem;
}

.ws-faq-item {
    background: var(--ws-surface);
    border: 1px solid var(--ws-border);
    border-radius: var(--ws-radius);
    overflow: hidden;
    box-shadow: var(--ws-shadow-sm);
}

.ws-faq-item[open] {
    border-color: rgba(255,149,0,0.25);
    box-shadow: 0 0 0 3px rgba(255,149,0,0.06), var(--ws-shadow-sm);
}

.ws-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.2rem 1.5rem;
    font-weight: 600;
    font-size: 0.98rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.ws-faq-item summary::-webkit-details-marker { display: none; }

.ws-faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ws-muted);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.ws-faq-item[open] summary::after {
    content: '−';
}

.ws-faq-item p {
    padding: 0 1.5rem 1.2rem;
    color: var(--ws-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ---------- CTA Section ---------- */
.ws-cta-section { padding-bottom: 6rem; }

.ws-cta-card {
    background: var(--ws-gradient);
    border-radius: var(--ws-radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--ws-shadow-lg);
}

.ws-cta-card .ws-eyebrow { margin-bottom: 1rem; }

.ws-cta-card h2 {
    color: #fff;
    margin-bottom: 0.85rem;
}

.ws-cta-card p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-inline: auto;
}

.ws-cta-card .ws-btn-primary {
    background: #fff;
    color: var(--ws-navy);
}
.ws-cta-card .ws-btn-primary:hover { background: rgba(255,255,255,0.92); }

/* ---------- Footer ---------- */
.ws-footer {
    background: var(--ws-navy);
    padding: 2.5rem 0;
}

.ws-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.ws-footer-brand {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.ws-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.ws-footer-links a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    transition: color 0.15s;
}
.ws-footer-links a:hover { color: #fff; }

.ws-footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

/* ---------- Modal ---------- */
.ws-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1rem;
}

.ws-modal.is-open { display: flex; }

.ws-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(6px);
}

.ws-modal-dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--ws-radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: 0 32px 80px rgba(10,15,30,0.3);
    animation: ws-modal-in 0.22s ease;
}

@keyframes ws-modal-in {
    from { opacity: 0; transform: scale(0.97) translateY(8px); }
    to { opacity: 1; transform: none; }
}

.ws-modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--ws-border);
    background: var(--ws-surface-2);
    color: var(--ws-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.ws-modal-close:hover { background: var(--ws-border); color: var(--ws-text); }

.ws-modal-head { margin-bottom: 1.5rem; }
.ws-modal-head h2 { font-size: 1.5rem; margin-bottom: 0.45rem; }
.ws-modal-head p { color: var(--ws-muted); font-size: 0.95rem; }

/* Step Dots */
.ws-step-dots {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
}

.ws-step-dot {
    flex: 1;
    height: 5px;
    border-radius: 999px;
    background: var(--ws-surface-2);
    transition: background 0.25s;
}

.ws-step-dot.is-active,
.ws-step-dot.is-done {
    background: var(--ws-orange);
}

/* Form Error */
.ws-form-error {
    min-height: 1.4em;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    color: #dc2626;
}

.ws-form-error.is-success { color: #16a34a; }

/* Wizard Steps */
.ws-wizard-step { border: none; padding: 0; margin: 0; }
.ws-wizard-step { display: none; }
.ws-wizard-step.is-active { display: block; }

.ws-step-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ws-muted);
    margin-bottom: 1.2rem;
}

/* Fields */
.ws-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1.1rem;
}

.ws-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ws-text);
}

.ws-required { color: var(--ws-orange); }
.ws-optional { color: var(--ws-muted); font-weight: 400; }

.ws-field input,
.ws-field select,
.ws-field textarea {
    width: 100%;
    border: 1.5px solid rgba(15,23,42,0.13);
    border-radius: 10px;
    background: #fff;
    padding: 0.8rem 1rem;
    font: 0.95rem/1.5 var(--ws-font);
    color: var(--ws-text);
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: auto;
}

.ws-field input:focus,
.ws-field select:focus,
.ws-field textarea:focus {
    outline: none;
    border-color: var(--ws-orange);
    box-shadow: 0 0 0 4px rgba(255,149,0,0.12);
}

.ws-field textarea { resize: vertical; min-height: 90px; }

/* Wizard Action Rows */
.ws-wizard-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.ws-wizard-actions-end { justify-content: flex-end; }
.ws-wizard-actions-center { justify-content: center; }

/* Success state */
.ws-wizard-success {
    text-align: center;
    padding: 1rem 0;
}

.ws-success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(22,163,74,0.1);
    color: #16a34a;
    font-size: 1.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.ws-wizard-success h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.ws-wizard-success p { color: var(--ws-muted); margin-bottom: 0; }

/* ---------- Legal Pages ---------- */
.ws-legal-page {
    max-width: 780px;
    padding-top: 3.5rem;
    padding-bottom: 5rem;
}

.ws-legal-page h1 {
    margin-bottom: 0.3rem;
}

.ws-legal-date {
    color: var(--ws-muted);
    margin-bottom: 2.5rem;
}

.ws-legal-page section {
    margin-bottom: 2rem;
}

.ws-legal-page h2 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.ws-legal-page p {
    margin-bottom: 0.75rem;
    color: var(--ws-muted);
}

.ws-legal-page ul {
    margin: 0 0 0.75rem 1.25rem;
    color: var(--ws-muted);
}

.ws-legal-page li + li { margin-top: 0.3rem; }

.ws-legal-page a { color: var(--ws-orange); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
    .ws-card-grid,
    .ws-testimonials {
        grid-template-columns: 1fr;
    }

    .ws-steps {
        grid-template-columns: 1fr;
    }

    .ws-step-arrow { display: none; }

    .ws-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        padding: 1.5rem;
    }
}

@media (max-width: 700px) {
    .ws-hamburger { display: flex; }

    .ws-nav-links {
        display: none;
        position: fixed;
        top: 72px;
        inset-inline: 0;
        background: var(--ws-surface);
        border-bottom: 1px solid var(--ws-border);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        gap: 0.35rem;
        box-shadow: var(--ws-shadow);
        z-index: 49;
    }

    .ws-nav-links.is-open { display: flex; }

    .ws-nav-links a,
    .ws-nav-links .ws-btn {
        width: 100%;
        text-align: center;
    }

    .ws-hero { padding: 3.5rem 0 2.5rem; }

    .ws-hero-actions,
    .ws-wizard-actions {
        flex-direction: column;
    }

    .ws-hero-actions .ws-btn,
    .ws-wizard-actions .ws-btn {
        width: 100%;
    }

    .ws-wizard-actions-end { flex-direction: column; align-items: stretch; }

    .ws-stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ws-modal-dialog { padding: 1.75rem 1.4rem; }

    .ws-cta-card { padding: 2.5rem 1.5rem; }

    .ws-footer-inner { flex-direction: column; align-items: flex-start; }
}
