/* Mapdrop home page. Colours follow the app: deep navy, coral and cream. */

:root {
    --md-ink: #0E1830;
    --md-navy: #14213D;
    --md-panel: #1B2A4A;
    --md-line: rgba(255, 255, 255, 0.09);
    --md-coral: #FF6B4A;
    --md-coral-hi: #FF8466;
    --md-cream: #FFF8F0;
    --md-text: #F3F5FA;
    --md-muted: #A9B3C7;
    --md-dark-muted: #5B6478;
    --md-radius: 22px;
    --md-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body.md-site {
    margin: 0;
    background: var(--md-ink);
    color: var(--md-text);
    font-family: var(--md-font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.md-home { overflow-x: clip; }
.md-home *, .md-home *::before, .md-home *::after { box-sizing: border-box; }
.md-home h1, .md-home h2, .md-home h3, .md-home p, .md-home ol, .md-home ul { margin: 0; padding: 0; }
.md-home a { color: inherit; }
.md-home img { max-width: 100%; display: block; }

.md-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.md-narrow { max-width: 780px; }

/* The two journeys: only the chosen one shows. */
.md-home[data-aud="followers"] [data-for="creators"],
.md-home[data-aud="creators"] [data-for="followers"] { display: none !important; }
.md-home [data-for] { animation: md-fade 0.45s ease both; }
@keyframes md-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Buttons ---------- */
.md-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 50px; padding: 0 26px; border-radius: 999px;
    background: var(--md-coral); color: #fff !important; text-decoration: none;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 10px 30px -10px rgba(255, 107, 74, 0.7);
    transition: transform 0.15s ease, background 0.15s ease;
}
.md-btn:hover { background: var(--md-coral-hi); transform: translateY(-1px); }
.md-btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; box-shadow: none; }
.md-btn-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.25); box-shadow: none; }
.md-btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.md-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.md-center { justify-content: center; }

.md-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.md-badges-center { justify-content: center; }
.md-badge {
    display: inline-flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 20px 0 16px; border-radius: 14px;
    background: #000; color: #fff !important; text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.md-badge:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.5); }
.md-badge svg { width: 26px; height: 26px; flex: none; }
.md-badge span { display: flex; flex-direction: column; font-size: 19px; font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.md-badge small { font-size: 11px; font-weight: 500; letter-spacing: 0.02em; opacity: 0.85; }

/* Before launch: dimmed badges that can't be tapped, with a "Coming soon" tag across them */
.md-badges-soon { position: relative; width: fit-content; }
.md-badges-soon.md-badges-center { margin-left: auto; margin-right: auto; }
.md-badges-soon .md-badge { opacity: 0.45; filter: grayscale(1); cursor: default; }
.md-badges-soon .md-badge:hover { transform: none; border-color: rgba(255, 255, 255, 0.22); }
.md-soon-tag {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-4deg);
    padding: 7px 18px; border-radius: 999px; white-space: nowrap;
    background: var(--md-coral); color: #fff; font-size: 15px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.md-soon-note { margin-top: 14px !important; color: var(--md-muted); font-size: 14px; }
.md-soon-note a { color: var(--md-coral); font-weight: 600; }

/* ---------- Logo and top bar ---------- */
.md-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.md-logo-pin { width: 34px; height: 34px; }
.md-logo span { font-size: 23px; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.md-logo em { font-style: normal; color: var(--md-coral); }

.md-nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(14, 24, 48, 0.78);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--md-line);
}
.admin-bar .md-nav { top: 32px; }
.md-nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.md-nav-links { display: flex; gap: 28px; margin-left: auto; }
.md-nav-links a { text-decoration: none; color: var(--md-muted); font-weight: 600; font-size: 15px; }
.md-nav-links a:hover { color: #fff; }
.md-insta {
    display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%;
    color: var(--md-muted); border: 1px solid var(--md-line); transition: color 0.15s ease, border-color 0.15s ease;
}
.md-insta:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.md-insta svg { width: 18px; height: 18px; }
.md-footer-insta { display: inline-flex; align-items: center; gap: 7px; }
.md-footer-insta svg { width: 15px; height: 15px; }

/* ---------- Hero ---------- */
.md-hero { position: relative; padding: 72px 0 96px; }
.md-hero-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(600px 400px at 85% 30%, rgba(255, 107, 74, 0.22), transparent 70%),
        radial-gradient(700px 500px at 10% 0%, rgba(64, 110, 220, 0.20), transparent 70%),
        radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.4px) 0 0 / 26px 26px;
    -webkit-mask-image: linear-gradient(#000 60%, transparent);
    mask-image: linear-gradient(#000 60%, transparent);
}
.md-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.md-hero h1 {
    font-size: clamp(38px, 5.4vw, 64px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800;
    margin: 28px 0 20px;
}
.md-hero h1 span { color: var(--md-coral); }
.md-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--md-muted); max-width: 540px; margin-bottom: 30px !important; }
.md-hero-note { margin-top: 20px !important; color: var(--md-muted); font-size: 14px; }
.md-hero-note a { color: var(--md-coral); font-weight: 600; }

/* Followers / creators switch */
.md-switch {
    position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
    padding: 5px; border-radius: 999px;
    background: rgba(255, 255, 255, 0.07); border: 1px solid var(--md-line);
}
.md-switch button {
    position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
    padding: 11px 22px; border-radius: 999px;
    font: 700 15px var(--md-font); color: var(--md-muted); white-space: nowrap;
    transition: color 0.25s ease;
}
.md-switch button[aria-selected="true"] { color: var(--md-navy); }
.md-switch-pill {
    position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px);
    border-radius: 999px; background: var(--md-cream);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.md-home[data-aud="creators"] .md-switch-pill { transform: translateX(100%); }

/* Phones */
.md-phone {
    width: 270px; padding: 9px; border-radius: 42px;
    background: linear-gradient(145deg, #2b3956, #0b1222);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 40px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.md-screen { position: relative; aspect-ratio: 442 / 868; border-radius: 34px; overflow: hidden; background: #000; }
.md-screen img.md-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.md-hero-art { position: relative; }
.md-stage { position: relative; height: 600px; }
.md-stage .md-phone { position: absolute; top: 50%; left: 50%; }
.md-phone-front { transform: translate(-18%, -50%) rotate(3deg); z-index: 2; }
.md-phone-back { width: 236px; transform: translate(-104%, -44%) rotate(-7deg); opacity: 0.9; filter: saturate(0.9); }

.md-float {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
    padding: 12px 16px 12px 12px; border-radius: 18px;
    background: rgba(255, 248, 240, 0.96); color: var(--md-navy);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.55);
    animation: md-bob 6s ease-in-out infinite;
}
.md-float strong { display: block; font-size: 14px; line-height: 1.25; }
.md-float small { display: block; font-size: 12px; color: var(--md-dark-muted); line-height: 1.3; }
.md-float-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #FFE3DB; font-size: 19px; }
.md-float-a { top: 12%; right: -2%; }
.md-float-b { bottom: 10%; left: 0; animation-delay: -3s; }
@keyframes md-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Sections ---------- */
.md-section { padding: 104px 0; }
.md-light { background: var(--md-cream); color: var(--md-navy); }
.md-tint { background: var(--md-navy); }
.md-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.md-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--md-coral); margin-bottom: 12px !important; }
.md-home h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }

.md-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.md-steps li {
    position: relative; padding: 32px 28px; border-radius: var(--md-radius);
    background: #fff; box-shadow: 0 1px 0 rgba(20, 33, 61, 0.06), 0 20px 40px -24px rgba(20, 33, 61, 0.25);
}
.md-step-n {
    display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px;
    border-radius: 14px; background: var(--md-coral); color: #fff; font-weight: 800; font-size: 18px;
}
.md-steps h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.md-steps p { color: var(--md-dark-muted); }

.md-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.md-row + .md-row { margin-top: 112px; }
.md-row-flip .md-row-art { order: 2; }
.md-row-art { position: relative; display: grid; place-items: center; padding: 40px 0; }
.md-row-art::before {
    content: ''; position: absolute; width: 360px; height: 360px; max-width: 90%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 74, 0.28), transparent 68%);
}
.md-row-art .md-phone { position: relative; }
.md-row-copy h2 { margin-bottom: 18px; }
.md-row-copy > p { color: var(--md-muted); font-size: 18px; margin-bottom: 26px; }
.md-ticks { list-style: none; display: grid; gap: 12px; }
.md-ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.md-ticks svg {
    flex: none; width: 24px; height: 24px; padding: 3px; margin-top: 1px; border-radius: 50%;
    background: rgba(255, 107, 74, 0.16); color: var(--md-coral);
}

.md-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.md-card { padding: 28px 24px; border-radius: var(--md-radius); background: var(--md-panel); border: 1px solid var(--md-line); }
.md-card > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); font-size: 24px; margin-bottom: 18px; }
.md-card h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 6px; }
.md-card p { color: var(--md-muted); font-size: 15px; }

.md-faq { display: grid; gap: 12px; }
.md-faq details { border-radius: 18px; background: var(--md-panel); border: 1px solid var(--md-line); }
.md-faq summary {
    cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; position: relative;
    font-weight: 700; font-size: 17px;
}
.md-faq summary::-webkit-details-marker { display: none; }
.md-faq summary::after {
    content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
    font-size: 26px; font-weight: 400; color: var(--md-coral); transition: transform 0.2s ease;
}
.md-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.md-faq details p { padding: 0 24px 22px; color: var(--md-muted); }
.md-faq a { color: var(--md-coral); }

.md-final {
    position: relative; overflow: hidden; text-align: center;
    padding: 80px 32px; border-radius: 36px;
    background:
        radial-gradient(500px 300px at 50% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
        linear-gradient(135deg, #FF6B4A, #E2452A 60%, #B83A2A);
}
.md-final h2 { color: #fff; margin-bottom: 14px; }
.md-final p { color: rgba(255, 255, 255, 0.88); font-size: 18px; margin-bottom: 32px !important; }
.md-final .md-btn { background: var(--md-navy); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6); }
.md-final .md-btn:hover { background: #22325a; }
.md-final .md-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.55); }
.md-final .md-small { font-size: 14px; margin: 32px 0 14px !important; }

.md-footer { padding: 48px 0 56px; border-top: 1px solid var(--md-line); }
.md-footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: center; }
.md-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; }
.md-footer nav a { color: var(--md-muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.md-footer nav a:hover { color: #fff; }
.md-footer p { grid-column: 1 / -1; color: #6F7A92; font-size: 13px; }

/* ---------- Scroll fade-in (only when the script runs) ---------- */
.md-anim .md-row, .md-anim .md-steps li, .md-anim .md-card, .md-anim .md-final {
    opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease;
}
.md-anim .md-row.md-in, .md-anim .md-steps li.md-in, .md-anim .md-card.md-in, .md-anim .md-final.md-in { opacity: 1; transform: none; }
.md-anim .md-steps li:nth-child(2), .md-anim .md-card:nth-child(2) { transition-delay: 0.08s; }
.md-anim .md-steps li:nth-child(3), .md-anim .md-card:nth-child(3) { transition-delay: 0.16s; }
.md-anim .md-card:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .md-home *, .md-home *::before, .md-home *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 980px) {
    .md-hero-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .md-lead { margin-left: auto !important; margin-right: auto !important; }
    .md-hero .md-badges, .md-hero .md-cta-row { justify-content: center; }
    .md-hero .md-badges-soon { margin-left: auto; margin-right: auto; }
    .md-cards { grid-template-columns: repeat(2, 1fr); }
    .md-row { grid-template-columns: 1fr; gap: 24px; }
    .md-row-flip .md-row-art { order: 0; }
    .md-row-copy { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 782px) {
    .admin-bar .md-nav { top: 46px; }
}
@media (max-width: 760px) {
    .md-wrap { padding: 0 16px; }
    .md-nav-links { display: none; }
    .md-nav-inner { gap: 10px; height: 60px; }
    .md-nav-inner .md-insta { margin-left: auto; }
    .md-hero { padding: 36px 0 56px; }
    .md-switch button { padding: 10px 14px; font-size: 14px; }
    .md-stage { height: 470px; }
    .md-phone { width: 210px; border-radius: 34px; padding: 7px; }
    .md-screen { border-radius: 28px; }
    .md-phone-back { width: 180px; transform: translate(-88%, -46%) rotate(-8deg); }
    .md-phone-front { transform: translate(-36%, -50%) rotate(3deg); }
    .md-float { padding: 10px 12px 10px 10px; }
    .md-float-icon { width: 32px; height: 32px; font-size: 16px; }
    .md-float-a { top: 4%; right: 0; }
    .md-float-b { bottom: 4%; left: 0; }
    .md-section { padding: 72px 0; }
    .md-head { margin-bottom: 36px; }
    .md-steps { grid-template-columns: 1fr; }
    .md-row + .md-row { margin-top: 72px; }
    .md-row-art { padding: 16px 0; }
    .md-cards { grid-template-columns: 1fr; }
    .md-final { padding: 56px 20px; border-radius: 28px; }
    .md-footer-inner { grid-template-columns: 1fr; }
    .md-footer nav { justify-content: flex-start; }
}
@media (max-width: 380px) {
    .md-badge { height: 52px; padding: 0 14px 0 12px; }
    .md-badge span { font-size: 17px; }
    .md-phone-back { display: none; }
    .md-phone-front { transform: translate(-50%, -50%) rotate(2deg); }
}

/* ---------- Contact page ---------- */
.md-contact { position: relative; padding: 72px 0 104px; }
.md-contact-inner { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.md-contact h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 18px; }
.md-contact .md-lead { margin-bottom: 28px !important; }
.md-contact-points { list-style: none; display: grid; gap: 16px; }
.md-contact-points li { color: var(--md-muted); padding-left: 16px; border-left: 3px solid var(--md-coral); }
.md-contact-points strong { display: block; color: #fff; }
.md-contact-card {
    padding: 32px; border-radius: 28px; background: var(--md-panel); border: 1px solid var(--md-line);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

/* Contact Form 7 */
.md-contact-card .wpcf7 form { margin: 0; }
.mds-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.mds-form-grid .wide { grid-column: 1 / -1; }
.mds-field { display: block; margin-bottom: 18px; font-weight: 700; font-size: 14px; color: var(--md-text); }
.mds-field .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.md-contact-card input[type="text"], .md-contact-card input[type="email"], .md-contact-card select, .md-contact-card textarea {
    width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.18);
    background: #111C36; color: var(--md-text); font: 400 16px var(--md-font); color-scheme: dark;
}
.md-contact-card textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.md-contact-card input:focus, .md-contact-card select:focus, .md-contact-card textarea:focus { outline: 2px solid var(--md-coral); border-color: transparent; }
.md-contact-card .wpcf7-submit {
    width: 100%; min-height: 52px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--md-coral); color: #fff; font: 700 16px var(--md-font);
    box-shadow: 0 10px 30px -10px rgba(255, 107, 74, 0.7);
}
.md-contact-card .wpcf7-submit:hover { background: var(--md-coral-hi); }
.md-contact-card .wpcf7-spinner { display: block; margin: 12px auto 0; }
.md-contact-card .wpcf7-not-valid-tip { margin-top: 6px; color: #FF7A7A; font-weight: 600; font-size: 13px; }
.md-contact-card .wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--md-line); font-weight: 600; color: var(--md-text);
}
.md-contact-card .wpcf7 form.sent .wpcf7-response-output { border-color: rgba(95, 224, 166, 0.5); background: rgba(95, 224, 166, 0.1); }
.md-contact-card .wpcf7 form.invalid .wpcf7-response-output,
.md-contact-card .wpcf7 form.failed .wpcf7-response-output { border-color: rgba(255, 122, 122, 0.5); background: rgba(255, 122, 122, 0.1); }

@media (max-width: 900px) {
    .md-contact-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
    .md-contact { padding: 40px 0 64px; }
    .md-contact-card { padding: 22px 18px; border-radius: 22px; }
    .mds-form-grid { grid-template-columns: 1fr; }
}
.md-contact-points a { color: var(--md-coral); font-weight: 600; }

/* ---------- Text pages (Privacy Policy) ---------- */
.md-text-page { position: relative; padding: 64px 0 96px; }
.md-prose { position: relative; max-width: 780px; color: var(--md-muted); font-size: 17px; line-height: 1.7; }
.md-prose h1 { font-size: clamp(36px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 800; color: #fff; margin: 0 0 12px; }
.md-prose h2 { font-size: 24px; letter-spacing: -0.02em; color: #fff; margin: 44px 0 12px; }
.md-prose h3 { font-size: 18px; color: #fff; margin: 28px 0 8px; }
.md-prose p { margin: 0 0 16px; }
.md-prose ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.md-prose li::marker { color: var(--md-coral); }
.md-prose strong { color: var(--md-text); }
.md-prose a { color: var(--md-coral); font-weight: 600; }
.md-prose .md-updated { font-size: 14px; color: #6F7A92; margin-bottom: 28px; }
@media (max-width: 760px) {
    .md-text-page { padding: 40px 0 64px; }
    .md-prose { font-size: 16px; }
}
.md-contact-card .wpcf7-turnstile { margin: 2px 0 16px; min-height: 0; }
