/* ============================================================
   ImpactTN — Coming Soon Page
   Design system: Inter + Playfair Display, green #4a7c59
   ============================================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --green:        #4a7c59;
    --green-dark:   #3d6849;
    --green-light:  #5a8c69;
    --green-pale:   #e8f5e9;
    --green-glow:   rgba(74, 124, 89, 0.18);
    --amber:        #f59e0b;
    --text-dark:    #1f2937;
    --text-mid:     #4b5563;
    --text-muted:   #9ca3af;
    --white:        #ffffff;
    --bg:           #f8faf9;
    --card-bg:      rgba(255, 255, 255, 0.75);
    --border:       rgba(74, 124, 89, 0.15);
    --radius:       14px;
    --shadow:       0 4px 24px rgba(74, 124, 89, 0.10);
    --shadow-lg:    0 12px 48px rgba(74, 124, 89, 0.16);
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ── Background particles ─────────────────────────────────── */
.bg-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--green);
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(0) scale(1);   opacity: 0; }
    10%  { opacity: 0.12; }
    90%  { opacity: 0.06; }
    100% { transform: translateY(-110vh) scale(0.4); opacity: 0; }
}

/* ── Page wrapper ─────────────────────────────────────────── */
.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Header / Logo ────────────────────────────────────────── */
.site-header {
    width: 100%;
    padding: 0.5rem 0 2.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px var(--green-glow);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--green);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    width: 100%;
    padding-top: 1rem;
}

/* Badge pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--green-pale);
    color: var(--green-dark);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.5); opacity: 0.6; }
}

/* Title */
.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.title-highlight {
    color: var(--green);
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--amber));
    border-radius: 2px;
    opacity: 0.5;
}

/* Subtitle */
.hero-subtitle {
    max-width: 560px;
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.7;
}

/* ── Countdown ────────────────────────────────────────────── */
.countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 2.5rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
}

.countdown-value {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    transition: transform 0.15s ease;
}

.countdown-value.flip {
    transform: scale(1.12);
}

.countdown-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.35rem;
}

.countdown-sep {
    font-size: 2rem;
    font-weight: 700;
    color: var(--green);
    opacity: 0.4;
    margin-bottom: 1.2rem;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50%       { opacity: 0.1; }
}

/* ── Notify form ──────────────────────────────────────────── */
.notify-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 480px;
}

.notify-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.notify-form {
    display: flex;
    width: 100%;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.notify-form:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-glow);
}

.notify-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.875rem 1.1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-dark);
    background: transparent;
}

.notify-input::placeholder {
    color: var(--text-muted);
}

.notify-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.4rem;
    background: var(--green);
    color: white;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.notify-btn:hover {
    background: var(--green-dark);
}

.notify-btn:active {
    transform: scale(0.97);
}

.btn-icon {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.notify-btn:hover .btn-icon {
    transform: translateX(3px);
}

.notify-success {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--green);
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

.notify-success.show {
    display: flex;
}

.notify-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

.notify-input.input-error {
    border-color: #ef4444;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Features grid ────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    margin-top: 0.5rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.25rem;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--green);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--green-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--green);
    font-size: 1.2rem;
    transition: background 0.25s, color 0.25s;
}

.feature-card:hover .feature-icon {
    background: var(--green);
    color: white;
}

.feature-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.feature-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.25rem 1.75rem;
}

.stat-num {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--green);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ── Section labels ───────────────────────────────────────── */
.section-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    margin-top: 0.5rem;
}

.section-sub {
    max-width: 520px;
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.65;
    text-align: center;
    margin-top: -0.75rem;
}

/* ── Actors grid ──────────────────────────────────────────── */
.actors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
}

.actor-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: left;
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.actor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.actor-green:hover { border-color: var(--green); }
.actor-orange:hover { border-color: var(--amber); }

.actor-icon {
    width: 48px;
    height: 48px;
    background: var(--green-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.2rem;
    transition: background 0.25s, color 0.25s;
}

.actor-icon-orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber);
}

.actor-card:hover .actor-icon {
    background: var(--green);
    color: white;
}

.actor-orange:hover .actor-icon {
    background: var(--amber);
    color: white;
}

.actor-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.actor-desc {
    font-size: 0.8125rem;
    color: var(--text-mid);
    line-height: 1.55;
}

.actor-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.25rem;
}

.actor-list li {
    font-size: 0.8125rem;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.actor-list li i {
    color: var(--green);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.actor-orange .actor-list li i {
    color: var(--amber);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
    box-shadow: var(--shadow);
}

.social-link:hover {
    background: var(--green);
    color: white;
    border-color: var(--green);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .actors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar {
        gap: 0.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 600px) {
    .countdown {
        padding: 1.25rem 1.5rem;
        gap: 0.25rem;
    }

    .countdown-item {
        min-width: 56px;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .actors-grid {
        grid-template-columns: 1fr;
    }

    .notify-form {
        flex-direction: column;
        border-radius: 10px;
    }

    .notify-btn {
        justify-content: center;
        border-radius: 0 0 8px 8px;
    }

    .notify-input {
        border-radius: 8px 8px 0 0;
    }
}

@media (max-width: 400px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .countdown-sep {
        display: none;
    }
}
