/* Marketing site (homepage, /download, /beta, early-access). Uses the mobile app's brand accent
   (#f8541f) rather than the legacy #FF6E05 already used by the plain footer/links pages in
   smashorcuff.default.css - keeps the marketing surfaces visually aligned with the app itself.

   Imagery note: background photos below are PLACEHOLDER stock photography from picsum.photos
   (free, no license required, swap the picsum.photos/id/.../W/H URLs for real brand photography
   before this goes anywhere public). A black duotone gradient is layered over every photo so the
   exact subject matter reads as mood/atmosphere rather than specific stock-photo people. */

:root {
    --mk-accent: #f8541f;
    --mk-accent-2: #ff8a5c;
    --mk-ink: #140a1e;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .mk-hero-bg, .mk-blob, .mk-reveal {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Site header (every page, via base.smashorcuff.html.twig) ---------- */
.mk-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--mk-accent);
    box-shadow: 0 2px 14px rgba(248, 84, 31, .25);
}

.mk-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.mk-site-header-logo,
.mk-site-header-logo:hover,
.mk-site-header-logo:focus,
.mk-site-header-logo:active,
.mk-site-header-logo:visited {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: .01em;
    white-space: nowrap;
}

.mk-site-nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.mk-site-nav a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
    transition: color .15s ease;
}

.mk-site-nav a:hover {
    color: #fff;
}

.mk-site-lang {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, .3);
}

.mk-site-lang a {
    color: rgba(255, 255, 255, .65);
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
}

.mk-site-lang a.active,
.mk-site-lang a:hover {
    color: #fff;
}

.mk-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mk-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.mk-nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mk-nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mk-nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 576px) {
    .mk-nav-toggle {
        display: flex;
    }

    .mk-site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--mk-accent);
        box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    }

    .mk-site-nav.is-open {
        display: flex;
    }

    .mk-site-nav a {
        padding: 14px 20px;
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .mk-site-lang {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, .15);
        justify-content: center;
        padding: 14px 20px;
        gap: 16px;
    }

    .mk-site-lang a {
        padding: 0;
        border-top: none;
    }
}

/* ---------- Site footer (every page, via base.smashorcuff.html.twig) ---------- */
.mk-footer {
    background: #fff;
    padding: 12px 0 8px;
}

.mk-footer-grid {
    display: flex;
    flex-direction: column;
}

.mk-footer-col {
    padding: 22px 0;
    border-bottom: 1px solid rgba(20, 10, 30, .08);
}

.mk-footer-col:last-child {
    border-bottom: none;
}

.mk-footer-col h4 {
    color: var(--mk-accent);
    font-size: .92rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.mk-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mk-footer-links a {
    display: block;
    padding: 9px 0;
    color: #262626;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
}

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

.mk-footer-social {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.mk-footer-social img {
    width: 28px;
    height: 28px;
    display: block;
}

@media (min-width: 768px) {
    .mk-footer {
        padding: 48px 0 28px;
    }

    .mk-footer-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 40px;
    }

    .mk-footer-col {
        flex: 1;
        padding: 0;
        border-bottom: none;
    }
}

/* ---------- Page header (contact, legal, early-access - smaller than the home hero) ---------- */
.mk-page-header {
    padding: 56px 0 48px;
}

.mk-page-header h1 {
    font-weight: 800;
    margin: 6px 0 8px;
}

.mk-page-header p {
    color: rgba(255, 255, 255, .85);
    max-width: 560px;
    margin: 0 auto;
}

.mk-contact-icons i {
    color: var(--mk-accent);
}

/* ---------- Reveal-on-scroll (see /js/marketing.js) ---------- */
.mk-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.mk-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.mk-reveal-delay-1 { transition-delay: .08s; }
.mk-reveal-delay-2 { transition-delay: .16s; }
.mk-reveal-delay-3 { transition-delay: .24s; }

/* ---------- Hero ---------- */
.mk-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 70px 0 60px;
}

.mk-hero-bg {
    position: absolute;
    inset: -4%;
    background-image: url('/images/homepage-hero-cafe-date.jpg');
    background-size: cover;
    background-position: center;
    animation: mkKenBurns 24s ease-in-out infinite alternate;
    z-index: 0;
}

.mk-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(17, 8, 26, .92) 0%, rgba(12, 12, 12, .52) 55%, rgba(17, 8, 26, .94) 100%);
}

@keyframes mkKenBurns {
    from { transform: scale(1) translate(0, 0); }
    to   { transform: scale(1.14) translate(-1.5%, -1.5%); }
}

.mk-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .45;
    z-index: 1;
    pointer-events: none;
}

.mk-blob-1 {
    width: 420px; height: 420px;
    top: -120px; left: -100px;
    background: radial-gradient(circle, var(--mk-accent) 0%, transparent 70%);
    animation: mkDrift1 16s ease-in-out infinite alternate;
}

.mk-blob-2 {
    width: 360px; height: 360px;
    bottom: -140px; right: -80px;
    background: radial-gradient(circle, #ff8a5c 0%, transparent 70%);
    animation: mkDrift2 20s ease-in-out infinite alternate;
}

@keyframes mkDrift1 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(40px, 30px) scale(1.1); }
}

@keyframes mkDrift2 {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-30px, -40px) scale(1.08); }
}

.mk-hero .container {
    position: relative;
    z-index: 2;
}

.mk-hero-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    text-align: left;
}

.mk-hero-copy {
    max-width: 560px;
    text-align: center;
}

.mk-logo {
    width: 260px;
    margin-bottom: 28px;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .35));
}

.mk-hero-tagline {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}

.mk-hero-subhead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    max-width: 640px;
    margin: 0 auto 32px;
}

.mk-store-badges a {
    display: inline-block;
    margin: 0 8px;
    transition: transform .2s ease;
}

.mk-store-badges a:hover {
    transform: translateY(-3px);
}

.mk-scroll-cue {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .55);
    border-radius: 16px;
}

.mk-scroll-cue::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    transform: translateX(-50%);
    animation: mkScrollCue 1.6s ease-in-out infinite;
}

@keyframes mkScrollCue {
    0%   { opacity: 1; top: 8px; }
    70%  { opacity: 0; top: 22px; }
    100% { opacity: 0; top: 8px; }
}

/* ---------- Phone mockup (pure CSS, no external asset) ---------- */
.mk-phone {
    flex: 0 0 auto;
    width: 220px;
    height: 450px;
    border-radius: 36px;
    background: linear-gradient(160deg, #1f1030 0%, #341a17 100%);
    border: 6px solid rgba(255, 255, 255, .18);
    box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
    position: relative;
    padding: 18px 14px;
    display: block;
    animation: mkFloat 5s ease-in-out infinite;
}

@keyframes mkFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

.mk-phone::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .25);
}

.mk-phone-bubble {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 10px 14px;
    font-size: .82rem;
    color: #fff;
    margin-top: 44px;
    max-width: 84%;
}

.mk-phone-bubble + .mk-phone-bubble {
    margin-left: auto;
    margin-top: 10px;
    background: var(--mk-accent);
}

.mk-phone-match {
    margin-top: 28px;
    text-align: center;
}

.mk-phone-match .material-icons {
    font-size: 46px;
    color: var(--mk-accent-2);
    animation: mkPulse 1.8s ease-in-out infinite;
}

.mk-phone-match p {
    color: #fff;
    font-weight: 800;
    margin-top: 6px;
}

@keyframes mkPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.15); }
}

/* ---------- Generic sections ---------- */
.mk-section {
    padding: 72px 0;
}

.mk-section-title {
    text-align: center;
    font-weight: 800;
    margin-bottom: 36px;
}

.mk-section-eyebrow {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 700;
    color: var(--mk-accent);
    margin-bottom: 10px;
}

/* ---------- Feature cards ---------- */
.mk-features {
    background: #fff;
}

.mk-feature-card {
    text-align: center;
    padding: 34px 22px;
    border-radius: 18px;
    background: #fafafa;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.mk-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 10, 30, .10);
}

.mk-feature-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--mk-accent) 0%, var(--mk-accent-2) 100%);
    box-shadow: 0 12px 26px rgba(248, 84, 31, .32);
}

.mk-feature-icon {
    font-size: 34px;
    color: #fff;
}

.mk-feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ---------- Safety ---------- */
.mk-safety {
    position: relative;
    color: #fff;
    overflow: hidden;
}

.mk-safety-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://picsum.photos/id/1082/1600/900');
    background-size: cover;
    background-position: center;
    filter: saturate(.3);
}

.mk-safety-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(17, 8, 26, .92) 0%, rgba(12, 12, 12, .88) 100%);
}

.mk-safety .container {
    position: relative;
    z-index: 1;
}

.mk-safety-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.mk-safety-icon-badge {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .25);
}

.mk-safety-icon {
    font-size: 40px;
    color: #fff;
}

.mk-safety h2 {
    font-weight: 800;
}

.mk-safety p {
    color: rgba(255, 255, 255, .85);
}

/* ---------- How it works ---------- */
.mk-how-it-works {
    background: #fff;
    position: relative;
}

.mk-step {
    text-align: center;
    padding: 20px;
    position: relative;
}

.mk-step-photo {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: -26px;
    filter: saturate(1.05);
    box-shadow: 0 16px 30px rgba(20, 10, 30, .14);
}

.mk-step-number {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--mk-accent) 0%, var(--mk-accent-2) 100%);
    color: #fff;
    font-weight: 800;
    margin-bottom: 18px;
    border: 4px solid #fff;
    box-shadow: 0 8px 18px rgba(248, 84, 31, .35);
}

.mk-step p {
    margin-top: 6px;
    color: #3a3540;
}

/* ---------- Stories ---------- */
.mk-stories {
    background: #fafafa;
}

.mk-story-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(20, 10, 30, .08);
    text-align: center;
    transition: transform .25s ease;
}

.mk-story-card:hover {
    transform: translateY(-4px);
}

.mk-story-photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px rgba(20, 10, 30, .18);
}

.mk-story-quote {
    font-style: italic;
    color: #333;
}

.mk-story-author {
    font-weight: 700;
    color: var(--mk-accent);
    margin-top: 10px;
}

/* ---------- CTA ---------- */
.mk-cta {
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden;
    padding: 100px 0;
}

.mk-cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://picsum.photos/id/1041/1800/900');
    background-size: cover;
    background-position: center;
}

.mk-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 8, 26, .88) 0%, rgba(17, 8, 26, .78) 100%);
}

.mk-cta .container {
    position: relative;
    z-index: 1;
}

.mk-cta h2 {
    font-weight: 800;
    margin-bottom: 26px;
    font-size: 1.8rem;
}

.mk-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    margin: 8px;
    border: 0;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.mk-btn:hover {
    transform: translateY(-2px);
}

.mk-btn-primary {
    background: linear-gradient(135deg, var(--mk-accent) 0%, var(--mk-accent-2) 100%);
    color: #fff;
    box-shadow: 0 14px 30px rgba(248, 84, 31, .35);
}

.mk-btn-primary:hover {
    color: #fff;
    opacity: 0.95;
}

.mk-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.mk-btn-secondary:hover {
    color: #fff;
    border-color: #fff;
}

/* ---------- Download / Beta hero (was invisible: white logo on a white page bg) ---------- */
.mk-download-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 80px 0 64px;
}

.mk-download-hero-bg {
    position: absolute;
    inset: -4%;
    background-image: url('https://picsum.photos/id/1060/1600/900');
    background-size: cover;
    background-position: center;
    animation: mkKenBurns 26s ease-in-out infinite alternate;
}

.mk-download-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(17, 8, 26, .92) 0%, rgba(12, 12, 12, .5) 100%);
}

.mk-download-hero .container {
    position: relative;
    z-index: 1;
}

.mk-download-hero h1 {
    font-weight: 800;
    margin: 6px 0 8px;
}

.mk-download-hero p {
    color: rgba(255, 255, 255, .85);
}

.mk-download-platforms {
    padding-top: 56px;
    padding-bottom: 72px;
}

.mk-download-card {
    text-align: center;
    padding: 36px 20px;
    border-radius: 18px;
    background: #fafafa;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

.mk-download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(20, 10, 30, .10);
}

.mk-qr {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 10px 26px rgba(20, 10, 30, .12);
}

.mk-coming-soon {
    font-weight: 700;
    color: #999;
    padding: 60px 0;
}

.mk-beta-footnote {
    padding-bottom: 56px;
}

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
    .mk-phone {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .mk-hero {
        min-height: 82vh;
        padding: 56px 0 48px;
    }

    .mk-hero-tagline {
        font-size: 2rem;
    }

    .mk-logo {
        width: 190px;
    }

    .mk-btn {
        display: block;
        margin: 8px auto;
        max-width: 280px;
    }

    .mk-step-photo {
        margin-bottom: -18px;
        height: 150px;
    }

    .mk-section {
        padding: 48px 0;
    }
}
