/* ============================================================
   MailerNetwork.com — Vibe Otter brand styles
   ============================================================ */

:root {
    --bg-body:       #FAF6F0;
    --bg-primary:    #FFFCF7;
    --bg-secondary:  #F5F0E8;
    --bg-tertiary:   #EDE6DB;
    --text-primary:  #3D3229;
    --text-secondary:#6B5D50;
    --text-tertiary: #9A8B7A;
    --accent:        #2D7D7D;
    --accent-mid:    #4A9B9B;
    --accent-dark:   #236060;
    --border:        rgba(45,125,125,0.15);
    --shadow-teal:   5px 5px 0px #4A9B9B;
    --shadow-teal-sm:3px 3px 0px #4A9B9B;
    --radius-lg:     20px;
    --radius-md:     14px;
    --radius-sm:     10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Grain overlay (Vibe Otter brand) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* Gradient background orbs */
.gradient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 25%, rgba(160,212,212,0.35) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(212,165,116,0.2) 0%, transparent 45%);
}

/* ============================================================
   NAV
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,252,247,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 0 rgba(45,125,125,0.08);
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

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

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.1rem;
    background: linear-gradient(135deg, #2D7D7D 0%, #4A9B9B 100%);
    color: #FFFCF7;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-teal-sm);
    transition: all 0.15s ease;
}

.nav-cta-btn:hover {
    transform: translateY(-1px) translateX(-1px);
    box-shadow: 4px 4px 0px #4A9B9B;
}

/* ============================================================
   MAIN LAYOUT UTIL
   ============================================================ */
main {
    position: relative;
    z-index: 2;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
    padding: 8rem 1.5rem 4rem;
    text-align: center;
}

.hero-container {
    max-width: 720px;
    margin: 0 auto;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(45,125,125,0.1);
    border: 2px solid rgba(45,125,125,0.25);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.75rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 6vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #3D3229 0%, #2D7D7D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto;
}

.hero-subtitle strong {
    color: #22c55e;
    -webkit-text-fill-color: #22c55e;
}

/* ============================================================
   EXPLAIN SECTION
   ============================================================ */
.explain-section {
    padding: 3rem 0 4rem;
}

.explain-card {
    background: var(--bg-primary);
    border: 2.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-teal);
    position: relative;
}

.explain-icon {
    width: 64px;
    height: 64px;
    background: rgba(45,125,125,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.explain-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.explain-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.explain-card p:last-child {
    margin-bottom: 0;
}

.explain-card p strong {
    color: var(--text-primary);
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
    padding: 3rem 0 4rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.reason-card {
    background: var(--bg-primary);
    border: 2.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-teal-sm);
    transition: all 0.2s ease;
}

.reason-card:hover {
    transform: translateY(-2px) translateX(-1px);
    box-shadow: var(--shadow-teal);
}

.reason-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2D7D7D, #4A9B9B);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 2px 2px 0px var(--accent-dark);
}

.reason-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}

.reason-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================================
   SAFE SECTION
   ============================================================ */
.safe-section {
    padding: 3rem 0 4rem;
}

.safe-card {
    background: var(--bg-primary);
    border: 2.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-teal);
}

.safe-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.safe-card > p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}

.safe-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.75rem;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.check-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(45,125,125,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-top: 2px;
}

.check-item span {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    padding-top: 4px;
}

.safe-note {
    background: rgba(45,125,125,0.06);
    border-left: 4px solid var(--accent-mid);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.safe-note strong {
    color: var(--text-primary);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
    padding: 3rem 0 4rem;
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}

.flow-step {
    flex: 1;
    background: var(--bg-primary);
    border: 2.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-teal-sm);
    text-align: center;
}

.flow-icon {
    width: 60px;
    height: 60px;
    background: rgba(45,125,125,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--accent);
}

.flow-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.flow-step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-mid);
    margin-top: 60px;
}

/* ============================================================
   IMAGE SECTION
   ============================================================ */
.image-section {
    padding: 2rem 0 4rem;
}

.image-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 2.5px solid var(--border);
    box-shadow: var(--shadow-teal);
    max-height: 320px;
}

.image-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45,125,125,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem 2rem;
}

.image-overlay-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
    padding: 3rem 0 4rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.faq-item {
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 3px 3px 0px rgba(45,125,125,0.15);
}

.faq-question {
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
    transition: background 0.15s ease;
}

.faq-question:hover {
    background: rgba(45,125,125,0.04);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.97rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
    padding: 3rem 0 5rem;
}

.cta-card {
    background: linear-gradient(135deg, #1a4d4d 0%, #2d7d7d 100%);
    border: 2.5px solid rgba(74,155,155,0.4);
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    text-align: center;
    box-shadow: 6px 6px 0px var(--accent-dark);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.cta-badge {
    display: inline-flex;
    padding: 0.35rem 1rem;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 1.25rem;
}

.cta-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.cta-card p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding: 0.9rem 2rem;
    background: #fff;
    color: var(--accent);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 4px 4px 0px var(--accent-dark);
    transition: all 0.15s ease;
}

.cta-btn:hover {
    transform: translateY(-2px) translateX(-1px);
    box-shadow: 5px 5px 0px var(--accent-dark);
}

.cta-btn:active {
    transform: translateY(3px) translateX(3px);
    box-shadow: 0 0 0 transparent;
}

.cta-note {
    font-size: 0.875rem !important;
    color: rgba(255,255,255,0.55) !important;
    margin: 0 !important;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    z-index: 2;
    background: rgba(245,240,232,0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.footer-container {
    max-width: 860px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 24px;
    width: auto;
}

.footer-brand a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.footer-brand a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

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

.footer-copy {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.85rem 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .nav-cta-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.85rem;
    }

    .hero-section {
        padding: 6.5rem 1.25rem 3rem;
    }

    .explain-card,
    .safe-card {
        padding: 1.75rem 1.5rem;
    }

    .flow-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0 auto;
        margin-top: 0;
    }

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

    .reasons-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .explain-card,
    .safe-card {
        padding: 1.5rem 1.25rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 1.1rem;
    }

    .cta-btn {
        font-size: 0.95rem;
        padding: 0.8rem 1.4rem;
    }
}

/* Touch device: remove hover transforms to prevent double-tap issues */
@media (hover: none) and (pointer: coarse) {
    .reason-card:hover,
    .nav-cta-btn:hover,
    .cta-btn:hover {
        transform: none;
        box-shadow: var(--shadow-teal-sm);
    }
}
