/* ============================================
   THC Defense — thcdefense.com
   V2: Visual impact. Authority. Conversion.
   ============================================ */

:root {
    /* Slate/Navy — not black, not boring */
    --slate-deep: #0F1520;
    --slate-mid: #1C2333;
    --slate-light: #2A3244;

    /* Green accent — emerald, modern */
    --green: #10B981;
    --green-dim: #059669;
    --green-glow: rgba(16, 185, 129, 0.3);
    --green-pale: #ECFDF5;

    /* Text */
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #111827;
    --text-body: #374151;
    --text-light: #6B7280;

    /* Surfaces */
    --bg-white: #FFFFFF;
    --bg-off: #F9FAFB;
    --bg-warm: #F3F4F6;

    /* Type */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --max-width: 680px;
    --max-wide: 960px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 17px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
}

/* ============================================
   HERO — Full viewport, dark, commanding
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 24px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--slate-deep) 0%, var(--slate-mid) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-white);
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.hero h1 .accent {
    color: var(--green);
}

.hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    opacity: 0.7;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll span {
    display: block;
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, var(--green), transparent);
    border-radius: 2px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: block;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 28px;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn:active { transform: scale(0.98); }

.btn-glow {
    background: var(--green);
    color: #FFFFFF;
    box-shadow: 0 0 20px var(--green-glow), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-glow:hover {
    background: var(--green-dim);
    box-shadow: 0 0 30px var(--green-glow), 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    border-color: var(--green);
    color: var(--green);
}

/* ============================================
   SECTIONS — Light content areas
   ============================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--bg-off);
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--green-dim);
    margin-bottom: 12px;
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.section p {
    color: var(--text-body);
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 1rem;
}

.section p:last-child { margin-bottom: 0; }

/* ============================================
   DARK SECTION — "What You're Facing"
   ============================================ */

.section-dark {
    background: var(--slate-deep);
    padding: 64px 0;
}

.section-dark .section-label { color: var(--green); }
.section-dark h2 { color: var(--text-white); }
.section-dark p { color: var(--text-muted); }

.severity-grid {
    display: grid;
    gap: 16px;
    margin: 28px 0;
}

.severity-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--green);
    padding: 24px;
    border-radius: 0 8px 8px 0;
}

.severity-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.severity-card strong {
    color: var(--green);
}

.severity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--green);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.reassurance {
    margin-top: 28px;
    padding: 20px 24px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 8px;
    color: var(--green) !important;
    font-weight: 500;
}

/* ============================================
   ATTORNEY BLOCK
   ============================================ */

.attorney-block {
    display: grid;
    gap: 32px;
}

.attorney-info h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.attorney-card {
    display: flex;
    justify-content: center;
}

.card-inner {
    background: var(--slate-deep);
    border-radius: 12px;
    padding: 32px;
    color: var(--text-white);
    width: 100%;
    max-width: 320px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.card-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.card-title {
    font-size: 0.9rem;
    color: var(--green);
    font-weight: 600;
    margin-bottom: 20px;
}

.card-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.card-phone {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background: var(--green);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s;
}

.card-phone:hover { background: var(--green-dim); }

/* ============================================
   FAQ CARDS
   ============================================ */

.faq-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.faq-card {
    background: var(--bg-white);
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.faq-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.faq-card p {
    color: var(--text-body);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   COUNTIES
   ============================================ */

.counties-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.county {
    background: var(--bg-off);
    border: 1px solid #E5E7EB;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.county-highlight {
    background: var(--green-pale);
    border-color: var(--green);
    color: var(--green-dim);
    font-weight: 700;
}

/* ============================================
   BOTTOM CTA — dark band
   ============================================ */

.section-cta {
    background: var(--slate-mid);
    text-align: center;
    padding: 72px 0;
}

.section-cta h2 {
    font-family: var(--font-display);
    color: var(--text-white);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 16px;
}

.section-cta p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 32px;
}

.cta-group-final {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    margin: 0 auto;
}

.cta-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 16px !important;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--slate-deep);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 40px 0 100px;
    font-size: 0.8rem;
    line-height: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 4px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer a:hover {
    color: var(--green);
}

.footer-links {
    margin-top: 8px;
    opacity: 0.5;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding-bottom: env(safe-area-inset-bottom);
}

.sticky-btn {
    flex: 1;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 0;
    transition: background 0.2s;
}

.sticky-call {
    background: var(--green);
    color: #FFFFFF;
}

.sticky-call:hover { background: var(--green-dim); }

.sticky-text {
    background: var(--slate-deep);
    color: var(--text-white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-text:hover {
    background: var(--slate-light);
}

/* ============================================
   DESKTOP (768px+)
   ============================================ */

@media (min-width: 768px) {
    html { font-size: 18px; }

    body { padding-bottom: 0; }

    .hero { padding: 0 48px; }
    .hero-cta {
        flex-direction: row;
        max-width: 560px;
        gap: 16px;
    }
    .hero-cta .btn { flex: 1; }

    .section { padding: 80px 0; }
    .section-dark { padding: 80px 0; }

    .severity-grid { grid-template-columns: 1fr 1fr; }

    .attorney-block {
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 48px;
    }

    .faq-grid { grid-template-columns: 1fr; gap: 16px; }

    .cta-group-final {
        flex-direction: row;
        max-width: 520px;
        gap: 16px;
    }
    .cta-group-final .btn { flex: 1; }

    .sticky-cta { display: none; }

    .footer { padding: 40px 0; }

    :root { --max-width: 720px; }
}

/* Large desktop */
@media (min-width: 1024px) {
    .hero h1 { font-size: 3.8rem; }
    .faq-grid { grid-template-columns: repeat(3, 1fr); }
    :root { --max-width: 800px; }
}
