/* ============================================
   PROXYMEET — styles.css
   ============================================ */

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray-50: #f7f7f7;
    --gray-100: #f0f0f0;
    --gray-200: #e8e8e8;
    --gray-400: #aaaaaa;
    --gray-600: #666666;
    --gray-800: #333333;
    --font-display: 'Red Hat Display', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --side-pad: 40px;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* CONTAINER */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--side-pad);
}

@media (max-width: 768px) {
    :root {
        --side-pad: 20px;
    }
}

/* ============================================
   NAV
   ============================================ */
.nav {
    background-color: var(--black);
    height: 94px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--side-pad);
    max-width: 100%;
}

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

.nav-icon {
    width: 60px;
    height: 60px;
    border-radius: 7px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-wordmark {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.01em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-how-it-works {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 200ms ease;
}

.nav-how-it-works:hover {
    color: var(--white);
}

.nav-cta {
    background: var(--white);
    color: var(--black);
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-body);
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: opacity 200ms ease;
}

.nav-cta:hover {
    opacity: 0.88;
}

/* ============================================
   HERO
   ============================================ */
.hero-section-bg {
    background-color: var(--black);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hero {
    clip-path: none;
    padding: 100px var(--side-pad) 160px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 400px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-video-wrapper {
    width: 100%;
    aspect-ratio: 444 / 960;
    max-height: 500px;
    max-width: 500px;
    background: var(--black);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 200ms ease;
}

.hero-video-wrapper:hover {
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-thumb-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-thumb-label {
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Screenshot thumbnail */
.hero-thumb-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    display: block;
}

.hero-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-xl);
}

/* Old thumbnail styles (kept in case needed elsewhere) */
.hero-thumb-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-thumb-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-thumb-text {
    text-align: center;
}

.hero-thumb-title {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 4px;
}

.hero-thumb-sub {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 200ms ease;
}

.btn-primary:hover {
    opacity: 0.88;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 200ms ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #8b5cf6;
    border: 2px solid #8b5cf6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 200ms ease;
    z-index: 10;
}

.play-btn:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}


.play-icon {
    width: 0;
    height: 0;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid var(--white);
    margin-left: 4px;
}

.video-label {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 10;
}

/* ============================================
   WHAT IS PROXYMEET
   ============================================ */
.what-is {
    padding: 88px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.what-is-inner {
    max-width: 640px;
}

.what-is-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 18px;
    font-family: var(--font-body);
}

.what-is-headline {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 24px;
}

.what-is-divider {
    width: 40px;
    height: 3px;
    background: var(--black);
    margin-bottom: 28px;
    border-radius: 2px;
}

.what-is-body {
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.what-is-body strong {
    color: var(--black);
    font-weight: 600;
}

.what-is-cta {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    border-bottom: 2px solid var(--black);
    padding-bottom: 2px;
    transition: opacity 200ms ease;
}

.what-is-cta:hover {
    opacity: 0.55;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.pill {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-sub {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.65;
    max-width: 500px;
    margin: 0 auto;
}

/* Step eyebrow + heading */
.step-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.step-heading {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Numbered step list */
.step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.step-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    counter-increment: step-counter;
}

.step-list li::before {
    content: counter(step-counter);
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--black);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
    padding: 88px 0 80px;
    background: var(--white);
}

/* STEP 1 — side by side cards */
.step-block {
    margin-bottom: 64px;
    text-align: left;
}

.pin-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 8px;
}

.mode-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.mode-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.mode-image-wrapper {
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--gray-100);
}

.mode-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mode-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mode-body p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.65;
}

.example {
    font-size: 13px !important;
    color: var(--gray-400) !important;
    font-style: italic;
}

/* ZIGZAG STEPS */
.zigzag {
    display: flex;
    flex-direction: column;
}

.zrow {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
    gap: 48px;
    padding: 40px 0;
    border-top: 1px solid var(--gray-100);
    text-align: left;
}

.zrow:nth-child(even) {
    grid-template-columns: 1fr 1.6fr;
}

.zrow:nth-child(even) .zimg {
    order: 2;
}

.zrow:nth-child(even) .ztext {
    order: 1;
}

.zimg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -20px 0;
}

.zrow-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
}

.ztext {
    display: flex;
    flex-direction: column;
}

/* ============================================
   INSTALL SECTION
   ============================================ */
.install {
    background: var(--gray-50);
    padding: 88px 0;
}

.install-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.install-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.card-platform {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.platform-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-icon svg {
    width: 18px;
    height: 18px;
    fill: var(--white);
}

.platform-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--black);
    font-family: var(--font-display);
}

.platform-sub {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    margin-top: 2px;
}

.install-video-wrapper {
    background: var(--black);
    border-radius: var(--radius-md);
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: opacity 200ms ease;
}

.install-video-wrapper:hover {
    opacity: 0.88;
}

.install-thumb-icon {
    width: 28px;
    height: 28px;
    fill: var(--white);
}

.install-thumb-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.01em;
}

.install-play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #8b5cf6;
    border: 2px solid #8b5cf6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-play-btn:hover {
    background: #7c3aed;
    border-color: #7c3aed;
}

.install-play-icon {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid var(--white);
    margin-left: 2px;
}

/* Social nudge */
.social-nudge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-nudge-text {
    font-size: 13px;
    color: var(--gray-400);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color 200ms ease, background 200ms ease;
}

.social-link:hover {
    border-color: #cccccc;
    background: var(--gray-50);
}

.social-link svg {
    width: 15px;
    height: 15px;
    fill: var(--black);
    flex-shrink: 0;
}

.social-nudge-divider {
    width: 1px;
    height: 14px;
    background: var(--gray-200);
}

/* ============================================
   VIDEO MODAL
   ============================================ */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-inner {
    position: relative;
    width: 90vw;
    max-width: 480px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.video-modal-close-btn {
    width: 100%;
    padding: 14px;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: opacity 200ms ease;
    flex-shrink: 0;
}

.video-modal-close-btn:hover {
    opacity: 0.88;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--black);
}

.footer {
    background: var(--black);
    padding: 40px var(--side-pad) 24px;
    display: flex;
    flex-direction: column;
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    gap: 32px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
}

.footer-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.footer-social-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 200ms ease;
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.15);
}

.footer-social-icon svg {
    width: 14px;
    height: 14px;
    fill: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    font-weight: 500;
    transition: color 200ms ease;
}

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

.footer-divider {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {

    /* NAV */
    .nav-how-it-works {
        display: none;
    }

    .nav-icon {
        width: 44px;
        height: 44px;
    }

    /* HERO — stack vertically */
    .hero {
        grid-template-columns: 1fr;
        padding: 60px var(--side-pad) 120px;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-headline {
        font-size: 38px;
    }

    .hero-sub {
        max-width: 100%;
    }

    .hero-right {
        justify-content: center;
    }

    .hero-video-wrapper {
        max-width: 220px;
        max-height: 400px;
    }

    /* WHAT IS — mobile */
    .what-is-headline {
        font-size: 26px;
    }

    /* STEP 1 — stack mode cards */
    .pin-options {
        grid-template-columns: 1fr;
    }

    /* ZIGZAG — stack all rows, image always on top */
    .zrow {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
    }

    .zrow:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .zrow:nth-child(even) .zimg {
        order: 1;
    }

    .zrow:nth-child(even) .ztext {
        order: 2;
    }

    .zimg {
        margin: 0;
        justify-content: center;
    }

    .zrow-image {
        max-width: 260px;
        margin: 0 auto;
    }

    /* INSTALL — stack cards */
    .install-cards {
        grid-template-columns: 1fr;
    }

    /* SOCIAL NUDGE */
    .social-nudge {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .social-nudge-divider {
        display: none;
    }

    .nudge-arrow {
        display: none;
    }

    /* FOOTER — stack vertically */
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        gap: 14px;
    }
}