﻿/* =============================================================
   ClikSell — Landing Page
   Path: wwwroot/css/LandingPages/LandingPage.css
   ============================================================= */

/* -------------------------------------------------------------
   TOKENS
   ------------------------------------------------------------- */
:root {
    --ink: #0D1117;
    --ink-soft: #4B5563;
    --ink-faint: #9CA3AF;
    --gold: #C8A951;
    --gold-light: #E8D49A;
    --teal: #165B75;
    --teal-light: #1E7A9A;
    --surface: #FFFFFF;
    --off: #F8F7F4;
    --border: rgba(13, 17, 23, 0.09);
    --border-gold: rgba(200, 169, 81, 0.35);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-sm: 0 2px 12px rgba(13, 17, 23, 0.06);
    --shadow-md: 0 8px 32px rgba(13, 17, 23, 0.10);
    --shadow-lg: 0 24px 64px rgba(13, 17, 23, 0.13);
}

/* -------------------------------------------------------------
   LANDING PAGE WRAPPER
   The .content div in app.css is position:absolute with a fixed
   height — that clips everything. We override it only when the
   landing page is active by targeting .lp-page's parent chain.
   ------------------------------------------------------------- */

/* Force the shell to scroll instead of clip on the landing page */
.lp-page {
    display: block;
    width: 100%;
    background: #F8F7F4;
    color: #0D1117;
    /* Explicitly reset anything app.css might have broken */
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Ensure no pseudo-element or child is covering content */
/* removed blanket position:relative — was causing stacking/clipping chaos */

/* When .lp-page is present, the .content container must scroll */
.content:has(.lp-page) {
    height: auto !important;
    min-height: calc(100vh - var(--navbar-height, 80px));
    overflow-y: visible !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
}

.layout-shell:has(.lp-page) {
    height: auto !important;
    overflow: visible !important;
}

.lp-page a {
    color: inherit;
    text-decoration: none;
}

.lp-page button {
    border: none;
    background: none;
    font: inherit;
    cursor: pointer;
}


/* =============================================================
   HERO
   ============================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px clamp(1.5rem, 6vw, 6rem) 160px;
    overflow: hidden;
    background: var(--off);
}

    /* Radial glow */
    .hero::before {
        content: '';
        position: absolute;
        top: -10%;
        left: 50%;
        transform: translateX(-50%);
        width: 900px;
        height: 700px;
        background: radial-gradient(ellipse at center, rgba(200, 169, 81, 0.09) 0%, rgba(22, 91, 117, 0.06) 40%, transparent 70%);
        pointer-events: none;
    }

/* Decorative vertical lines */
.hero-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

    .hero-lines::before,
    .hero-lines::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 1px;
        background: linear-gradient(180deg, transparent, rgba(13, 17, 23, 0.07) 30%, rgba(13, 17, 23, 0.07) 70%, transparent);
    }

    .hero-lines::before {
        left: clamp(1.5rem, 8vw, 8rem);
    }

    .hero-lines::after {
        right: clamp(1.5rem, 8vw, 8rem);
    }

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
    animation: fadeUp 0.9s var(--ease-out) 0.1s both;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: var(--ink);
    text-align: center;
    max-width: 900px;
    animation: fadeUp 1s var(--ease-out) 0.25s both;
}

    .hero-headline em {
        font-style: italic;
        color: var(--teal);
    }

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.75;
    max-width: 540px;
    text-align: center;
    margin-top: 1.75rem;
    animation: fadeUp 1s var(--ease-out) 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeUp 1s var(--ease-out) 0.55s both;
}

.btn-large-primary {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    background: var(--ink);
    padding: 0.85rem 2.2rem;
    border-radius: 100px;
    letter-spacing: 0.01em;
    transition: background 0.25s, transform 0.25s;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

    .btn-large-primary:hover {
        background: var(--teal);
        transform: translateY(-2px);
    }

    .btn-large-primary i {
        font-size: 0.8rem;
    }

.btn-large-outline {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--ink-soft);
    padding: 0.85rem 2.2rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    letter-spacing: 0.01em;
    transition: border-color 0.25s, color 0.25s, transform 0.25s;
    background: var(--surface);
}

    .btn-large-outline:hover {
        border-color: var(--ink-soft);
        color: var(--ink);
        transform: translateY(-2px);
    }

/* Hero media strip */
.hero-media {
    position: relative;
    width: min(1100px, calc(100% - 3rem));
    margin-top: 5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: fadeUp 1.1s var(--ease-out) 0.75s both;
}

    .hero-media img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        display: block;
    }

.hero-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(13, 17, 23, 0.45));
}

/* Stat pills on hero image */
.hero-stats {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 100px;
    padding: 0.6rem 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
}

.stat-pill-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}

.stat-pill-label {
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-weight: 400;
}


/* =============================================================
   TRUST BAR / MARQUEE
   ============================================================= */
.trust-bar {
    background: var(--ink);
    padding: 1.1rem 0;
    overflow: hidden;
}

.trust-track {
    display: flex;
    gap: 3.5rem;
    animation: marquee 28s linear infinite;
    width: max-content;
}

.trust-bar:hover .trust-track {
    animation-play-state: paused;
}

.trust-item {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

    .trust-item::after {
        content: '·';
        color: var(--gold);
        font-size: 1.2rem;
        line-height: 1;
    }

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}


/* =============================================================
   SHARED SECTION UTILITIES
   ============================================================= */
.section-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--ink);
}

    .section-heading em {
        font-style: italic;
        color: var(--teal);
    }

.section-body {
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.8;
    max-width: 540px;
    margin-top: 1.25rem;
}


/* =============================================================
   FEATURES
   ============================================================= */
.features-section {
    background: #ffffff;
    padding: 7rem clamp(1.5rem, 4vw, 3rem);
}

.features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.features-cards {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.feature-card {
    flex: 1;
    background: #F8F7F4;
    border: 1px solid rgba(13,17,23,0.09);
    border-radius: 20px;
    padding: 2.75rem 2.5rem;
    cursor: default;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

    .feature-card:hover {
        background: #ffffff;
        box-shadow: 0 12px 40px rgba(13,17,23,0.10);
        transform: translateY(-4px);
    }

.feature-card-num {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-style: italic;
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(13,17,23,0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #165B75;
    margin-bottom: 1.5rem;
    transition: background 0.25s, color 0.25s;
}

.feature-card:hover .feature-card-icon {
    background: #165B75;
    color: #ffffff;
    border-color: #165B75;
}

.feature-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0D1117;
    margin: 0 0 0.75rem 0;
    line-height: 1.2;
}

.feature-card p {
    font-size: 0.9rem;
    font-weight: 300;
    color: #4B5563;
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 900px) {
    .features-cards {
        flex-direction: column;
    }

    .features-header {
        flex-direction: column;
        gap: 2rem;
    }
}


/* =============================================================
   ROLES
   ============================================================= */
.roles-section {
    background: var(--off);
}

.roles-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem clamp(1.5rem, 4vw, 3rem);
}

.roles-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.roles-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 380px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.role-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out), border-color 0.28s;
    position: relative;
    overflow: hidden;
    text-align: left;
    min-height: 220px;
}

    /* Teal-to-gold underline that sweeps in on hover */
    .role-card::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, var(--teal), var(--gold));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s var(--ease-out);
    }

    .role-card:hover::after,
    .role-card.expanded::after {
        transform: scaleX(1);
    }

    .role-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(22, 91, 117, 0.2);
    }

    .role-card.expanded {
        border-color: var(--gold);
        box-shadow: 0 16px 48px rgba(200, 169, 81, 0.15);
        transform: translateY(-4px);
    }

.role-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--off);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: var(--teal);
    margin-bottom: 1.5rem;
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.role-card:hover .role-icon,
.role-card.expanded .role-icon {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
}

.role-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
    line-height: 1.15;
}

.role-card p {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.7;
    flex: 1;
}

.role-arrow {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--teal);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s, transform 0.25s;
}

    .role-arrow i {
        font-size: 0.7rem;
    }

.role-card:hover .role-arrow,
.role-card.expanded .role-arrow {
    opacity: 1;
    transform: translateX(0);
}


/* =============================================================
   CTA BAND
   ============================================================= */
.cta-band {
    background: var(--ink);
    padding: 6rem clamp(1.5rem, 6vw, 6rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-band-left .section-label {
    color: var(--gold);
}

.cta-band-left .section-heading {
    color: #fff;
}

    .cta-band-left .section-heading em {
        color: var(--gold-light);
    }

.cta-band-left p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    line-height: 1.7;
    max-width: 480px;
    margin-top: 1rem;
}

.cta-band-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 220px;
}

.btn-gold {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    background: var(--gold);
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: background 0.25s, transform 0.25s;
    white-space: nowrap;
    align-self: flex-start;
}

    .btn-gold:hover {
        background: var(--gold-light);
        transform: translateY(-2px);
    }

.btn-outline-white {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: border-color 0.25s, color 0.25s, transform 0.25s;
    white-space: nowrap;
    align-self: flex-start;
}

    .btn-outline-white:hover {
        border-color: rgba(255, 255, 255, 0.5);
        color: #fff;
        transform: translateY(-2px);
    }


/* =============================================================
   NUMBERS / SOCIAL PROOF
   ============================================================= */
.numbers-section {
    background: var(--surface);
}

.numbers-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7rem clamp(1.5rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.numbers-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    margin-top: 3rem;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
    letter-spacing: -0.03em;
}

    .stat-num span {
        color: var(--gold);
    }

.stat-desc {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-top: 0.4rem;
}

.stat-divider {
    height: 1px;
    background: var(--border);
    margin-top: 1.25rem;
}

.testimonial-card {
    background: var(--off);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
}

    .testimonial-card::before {
        content: '\201C';
        font-family: var(--font-display);
        font-size: 5rem;
        line-height: 1;
        color: var(--gold);
        position: absolute;
        top: 1.5rem;
        left: 2.5rem;
        opacity: 0.4;
    }

.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    font-style: italic;
    color: var(--ink);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--gold));
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
}

.testimonial-role {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--ink-faint);
}



/* =============================================================
   SCROLL REVEAL
   ============================================================= */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}


/* =============================================================
   KEYFRAMES
   ============================================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1000px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 960px) {
    .roles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .features-header {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .numbers-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cta-band {
        flex-direction: column;
        align-items: flex-start;
        padding: 4rem 1.5rem;
    }
}

@media (max-width: 560px) {
    .roles-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }
}
