:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #181818;
    --accent: #EF233C;
    --accent-hover: #D71F36;
    --accent-glow: rgba(239, 35, 60, 0.25);
    --accent-glow-intense: rgba(239, 35, 60, 0.4);
    --text-primary: #e5e5e5;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border: #222222;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --max-width: 1200px;
    --nav-height: 70px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--accent);
}

/* ─── Hero Glow ─── */

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    opacity: 0.8;
    z-index: 0;
}

.hero-glow--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow-intense) 0%, transparent 60%);
    top: -10%;
    left: -5%;
}

.hero-glow--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(239, 35, 60, 0.15) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
}

/* ─── Newsletter Hero ─── */

.newsletter-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.newsletter-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    padding-bottom: 80px;
}

.newsletter-content {
    padding: 40px 0;
}

.newsletter-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 4px;
    padding: 5px 14px;
    margin-bottom: 24px;
}

.newsletter-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.newsletter-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}

.newsletter-form {
    max-width: 480px;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
}

.newsletter-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    border-color: var(--accent);
}

.newsletter-input-group input:focus {
    border-color: var(--accent);
}

.newsletter-input-group input::placeholder {
    color: var(--text-muted);
}

.newsletter-input-group button {
    padding: 16px 32px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.newsletter-input-group button:hover {
    background: #d90429;
}

.newsletter-count {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.newsletter-count::before {
    content: '✓  ';
    color: var(--accent);
    font-weight: 700;
}

.newsletter-privacy {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ─── Trust Strip ─── */

.newsletter-trust {
    margin-top: 28px;
    max-width: 480px;
}

.newsletter-trust-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.newsletter-trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 32px;
    /* justify-content: center; */
}

.newsletter-trust-strip span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
}

/* ─── Phone Mockup ─── */

.newsletter-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-mockup {
    width: 330px;
    height: 690px;
    background: #222;
    border-radius: 44px;
    border: 1px solid #333;
    position: relative;
    padding: 8px;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 37px;
    overflow: hidden;
    position: relative;
}

.phone-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 37px;
    z-index: 3;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 125px;
    height: 30px;
    background: #000;
    border-radius: 0 0 16px 16px;
    z-index: 2;
}

.phone-speaker {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 5px;
    background: #1a1a1a;
    border-radius: 2px;
}

.phone-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 26px 12px;
    background: #000;
    position: relative;
    z-index: 1;
}

.phone-time {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ─── Phone Buttons ─── */

.phone-button {
    position: absolute;
    width: 3px;
    background: #444;
    border-radius: 2px;
}

.phone-button--volume-up {
    left: -5px;
    top: 130px;
    height: 38px;
}

.phone-button--volume-down {
    left: -5px;
    top: 178px;
    height: 38px;
}

.phone-button--power {
    right: -5px;
    top: 155px;
    height: 48px;
}

/* ─── Email Content ─── */

.phone-email {
    padding: 0 20px 20px;
}

.phone-email-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 12px;
    border-bottom: 1px solid #1a1a1a;
}

.phone-email-sender {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.phone-sender-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.phone-sender-email {
    font-size: 0.65rem;
    color: #888;
}

.phone-email-date {
    font-size: 0.65rem;
    color: #888;
    flex-shrink: 0;
}

.phone-email-subject {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    padding: 10px 0 4px;
}

.phone-email-preview {
    font-size: 0.7rem;
    color: #aaa;
    line-height: 1.5;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1a1a;
}

.phone-story {
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
}

.phone-story:last-of-type {
    border-bottom: none;
}

.phone-story-tag {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    color: #EF233C;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.phone-story-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 2px;
}

.phone-story-meta {
    font-size: 0.6rem;
    color: #666;
}

.phone-footer-note {
    text-align: center;
    font-size: 0.6rem;
    color: #555;
    padding-top: 10px;
    font-style: italic;
}

/* ─── Footer Bar ─── */

.newsletter-footer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 0.68rem;
    color: var(--text-muted);
    z-index: 1;
    line-height: 1.6;
}

.newsletter-footer-bar a:hover {
    color: var(--accent);
}

/* ─── Responsive ─── */

@media (max-width: 868px) {
    .newsletter-hero {
        flex-direction: column;
        justify-content: flex-start;
    }

    .newsletter-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-bottom: 70px;
    }

    .newsletter-content {
        padding: 20px 0 0;
    }

    .newsletter-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-form {
        margin: 0 auto;
    }

    .newsletter-trust {
        margin-left: auto;
        margin-right: auto;
    }

    .newsletter-visual {
        order: 1;
    }

    .phone-mockup {
        width: 270px;
        height: 560px;
        border-radius: 38px;
    }

    .phone-screen {
        border-radius: 30px;
    }

    .phone-screen::after {
        border-radius: 30px;
    }

    .phone-notch {
        width: 100px;
        height: 26px;
        border-radius: 0 0 14px 14px;
    }

    .phone-speaker {
        top: 8px;
        width: 34px;
        height: 4px;
    }

    .phone-status-bar {
        padding: 12px 20px 10px;
    }

    .phone-email {
        padding: 0 16px 16px;
    }

    .phone-email-header {
        padding: 10px 0;
    }

    .phone-avatar {
        width: 26px;
        height: 26px;
    }

    .phone-sender-name {
        font-size: 0.65rem;
    }

    .phone-sender-email {
        font-size: 0.55rem;
    }

    .phone-email-date {
        font-size: 0.55rem;
    }

    .phone-email-subject {
        font-size: 0.7rem;
    }

    .phone-email-preview {
        font-size: 0.6rem;
    }

    .phone-story {
        padding: 10px 0;
    }

    .phone-story-tag {
        font-size: 0.5rem;
    }

    .phone-story-title {
        font-size: 0.68rem;
    }

    .phone-story-meta {
        font-size: 0.55rem;
    }

    .phone-footer-note {
        font-size: 0.55rem;
    }

    .phone-button--volume-up,
    .phone-button--volume-down,
    .phone-button--power {
        display: none;
    }

    .newsletter-footer-bar {
        position: absolute;
        bottom: 0;
    }

    @media (max-width: 480px) {
        .newsletter-input-group {
            flex-direction: column;
            gap: 8px;
        }

        .newsletter-input-group input {
            border: 1px solid var(--border);
            border-radius: 8px;
        }

        .newsletter-input-group button {
            border-radius: 8px;
            padding: 14px 24px;
        }

        .phone-mockup {
            width: 220px;
            height: 460px;
            border-radius: 30px;
        }

        .phone-screen {
            border-radius: 24px;
        }

        .phone-screen::after {
            border-radius: 24px;
        }

        .phone-notch {
            width: 84px;
            height: 20px;
        }

        .phone-speaker {
            width: 28px;
            height: 3px;
        }
    }
}
