/* ── BASE STYLES & VARIABLES ────────────────── */
:root {
    --primary: #1a2a6c;       /* Denim Navy */
    --primary-light: #2a3b8c;
    --accent: #00d2ff;        /* Tech Blue */
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── NAVIGATION ────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
}

/* ── HERO SECTION ──────────────────────────── */
.hero {
    padding: 100px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-light);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #edf2f7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 24px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── COMMON SECTION ELEMENTS ───────────────── */
section {
    padding: 80px 0;
}

.section-label {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.section-body {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 40px;
}

/* ── PROBLEM GRID ──────────────────────────── */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.problem-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: var(--transition);
}

.problem-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* ── HOW IT WORKS STEPS ────────────────────── */
.steps {
    display: grid;
    gap: 40px;
}

.step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* ── PRIVACY PROMISE ───────────────────────── */
.privacy-promise {
    background: var(--primary);
    color: white;
    border-radius: 32px;
    padding: 60px;
    margin: 40px 0;
}

.privacy-promise .section-title,
.privacy-promise .section-body {
    color: white;
}

.promise-list {
    list-style: none;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.faq-item summary::after {
    content: '+';
    color: var(--accent);
}

.faq-item p {
    padding-top: 15px;
    color: var(--text-muted);
}

/* ── SIGNUP CARD ───────────────────────────── */
.waitlist-section {
    text-align: center;
}

.signup-card {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    max-width: 550px;
    margin: 40px auto 0;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.signup-form input {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
}

.signup-form button {
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.consent-box {
    display: flex;
    gap: 12px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.consent-box input { width: 20px; height: 20px; }

/* ── FOOTER ────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 { margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: var(--text-muted); }

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

/* ── MODAL ─────────────────────────────────── */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    width: 90%;
    max-width: 800px;
    height: 85vh;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.privacy-frame {
    width: 100%;
    height: 100%;
}

.close-btn {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .step { flex-direction: column; gap: 10px; }
    .privacy-promise { padding: 30px; }
}

/* Trigger Link Styling */
.unsubscribe-trigger {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.unsubscribe-trigger a {
    color: var(--text-muted);
    text-decoration: underline;
}

/* Smaller Unsubscribe Modal */
.unsubscribe-content {
    max-width: 450px; /* Smaller than the privacy modal */
    height: auto;
    padding-bottom: 40px;
}

.btn-danger {
    background: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #f5c6cb !important;
    transform: translateY(-2px);
}

/* Ensure modas behave well together */
.modal-body h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.denim-highlight {
    /* A gradient that looks like worn indigo denim */
    background: linear-gradient(to bottom, #00334F, #446d92);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Makes the word pop slightly */
    font-weight: 800;
    text-shadow: rgba(0,0,0,0.5);

    /* Adds a very subtle "stitch" underline if you want to be fancy */
    border-bottom: 2px dashed rgba(26, 42, 108, 0.3);
}
