/* ============================================
   ThinkSwift Landing Page — Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens (aligned with Pipely style guide) --- */
:root {
    /* Brand Colors */
    --color-coconut: #F5EFE8;
    --color-orange: #FF6A00;
    --color-orange-hover: #E55E00;
    --color-blue: #1571D3;
    --color-blue-light: #dae8fd;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-grey-900: #131313;
    --color-grey-800: #1d1d1d;
    --color-grey-700: #4e4e4e;
    --color-grey-600: #535353;
    --color-grey-500: #aeaeae;
    --color-grey-400: #bfbebe;
    --color-grey-200: #D7D7D7;
    --color-grey-100: #F7F5F1;

    /* Pastel Accents (from Pipely) */
    --color-pink: #ffbdf5;
    --color-soft-yellow: #fcffa8;
    --color-lilac: #e0dbff;
    --color-pastel-green: #d4f5c4;

    /* Dark Section */
    --color-dark-bg: rgba(15, 15, 15, 0.8);
    --color-dark-border: rgba(255, 255, 255, 0.08);
    --color-dark-border-subtle: rgba(255, 255, 255, 0.12);

    /* Typography */
    --font-heading: 'Host Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    --space-section: 7rem;

    /* Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-hard: 0 12px 36px rgba(0, 0, 0, 0.10);

    /* Glassmorphism */
    --glass-bg: rgba(245, 239, 232, 0.45);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);
    --glass-blur: blur(14px);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.10);

    /* Max width */
    --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-coconut);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 100px;
    border: 4px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

/* --- Utility --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: clamp(2rem, 5vw, 4rem);
    margin: 0.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

@media (min-width: 768px) {
    .section {
        margin: 0.75rem;
        padding: clamp(3rem, 5vw, 4rem);
    }
}

@media (min-width: 1280px) {
    .section {
        margin: 1rem;
    }
}

.section>.container {
    padding: 0;
    max-width: 100%;
}

.section--dark {
    background: var(--color-dark-bg);
    border-color: var(--color-dark-border);
    color: var(--color-white);
}

.section--grey {
    background: rgba(247, 245, 241, 0.8);
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-grey-600);
}

.label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-grey-600);
    display: block;
    margin-bottom: var(--space-sm);
}

.section--dark .label {
    color: rgba(255, 255, 255, 0.5);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2.25rem;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.3);
}

.btn--primary:hover {
    background: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4);
}

.btn--secondary {
    background: transparent;
    color: var(--color-black);
    border: 2px solid var(--color-black);
}

.btn--secondary:hover {
    background: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-black);
}

.btn--white:hover {
    background: var(--color-grey-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn .arrow {
    transition: transform 0.3s ease;
    font-size: 1.1em;
}

.btn:hover .arrow {
    transform: translateX(4px);
}

/* --- Glass Card --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    padding: var(--space-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* --- Scroll Animation --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) {
    transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
    transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
    transition-delay: 0.3s;
}

/* ==============================================
   ANIMATED BACKGROUND
   ============================================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: var(--color-coconut);
    pointer-events: none;
}

.animated-bg .orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.animated-bg .orb-1 {
    width: 42vw;
    height: 42vw;
    background: var(--color-orange);
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.animated-bg .orb-2 {
    width: 35vw;
    height: 35vw;
    background: var(--color-blue);
    bottom: -10%;
    right: -10%;
    animation-direction: alternate-reverse;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10vw, 10vh) scale(1.1);
    }
}


/* ==============================================
   NAVBAR (BOTTOM DOCK)
   ============================================== */
.navbar {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: #1A1A1A;
    border-radius: 12px;
    padding: 4px;
    display: inline-flex;
    align-items: stretch;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: max-content;
    max-width: 95vw;
}

@media (max-width: 768px) {
    .navbar {
        display: none !important;
    }
}

.navbar.nav-hidden {
    transform: translate(-50%, calc(100% + 2rem));
}

.navbar__inner {
    display: flex;
    align-items: stretch;
    height: 3.5rem;
}

/* Icon links and segments */
.navbar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    color: var(--color-white);
    transition: background 0.3s ease, color 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar__icon:first-child {
    border-radius: 8px 0 0 8px;
}

.navbar__icon:hover {
    background: rgba(255, 255, 255, 0.08);
}

.navbar__icon--logo {
    color: var(--color-white);
}

.navbar__links {
    display: flex;
}

.navbar__btn {
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 0 8px 8px 0;
    padding: 0 1.75rem;
    margin: 0;
    height: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.3s ease;
    text-decoration: none;
}

.navbar__btn:hover {
    background: var(--color-orange-hover);
}

@media (max-width: 480px) {
    .navbar__icon {
        width: 2.75rem;
    }

    .navbar__btn {
        padding: 0 0.8rem;
        font-size: 0.75rem;
    }
}

/* ==============================================
   SECTION 1: HERO
   ============================================== */
.hero {
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: #000000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Removed the dark overlay to show the natural beauty of the image */
.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero__inner {
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    padding: clamp(2rem, 4vw, 4rem) 0;
}

.hero__content {
    max-width: 600px;
}

.hero h1 {
    font-size: clamp(4rem, 8vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
    font-weight: 600;
    color: var(--color-orange);
}

.hero h1 .accent {
    display: block;
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    font-weight: 500;
    margin-top: 0.1em;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    max-width: 500px;
    margin-bottom: var(--space-xl);
    color: var(--color-white);
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

.hero__actions .btn {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    padding: 0 2rem;
    height: 56px;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    font-weight: 500;
}

.hero__actions .btn--primary {
    background: var(--color-orange);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(255, 106, 0, 0.3);
}

.hero__actions .btn--primary:hover {
    background: var(--color-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4);
}

.hero__actions .btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.hero__actions .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
}

/* Hero Social Proof */
.hero__social-proof {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-coconut);
    object-fit: cover;
    margin-left: -16px;
    position: relative;
    background: var(--color-white);
}

.avatar:first-child {
    margin-left: 0;
}

.avatar--count {
    background: var(--color-black);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

.social-proof-text {
    font-size: 0.95rem;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.4;
}

.social-proof-logo {
    height: 1.3rem;
    margin-top: 0.25rem;
    filter: brightness(0) invert(1) opacity(0.9);
}

/* Hero mobile */
@media (max-width: 768px) {
    .hero {
        min-height: calc(100vh - 2rem);
        background-position: left center;
        align-items: center;
        margin: 1rem;
        border-radius: var(--radius-lg);
    }

    .hero::before {
        display: none;
    }

    .hero__inner {
        padding: var(--space-xl) var(--space-md);
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        margin-top: auto;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        height: 52px;
    }

    .social-proof-text {
        font-size: 0.85rem;
        margin-top: 0.25rem;
    }

    .hero__social-proof {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .hero h1 {
        font-size: 4rem;
        margin-bottom: var(--space-md);
        line-height: 1;
    }

    .hero h1 .accent {
        font-size: 2.5rem;
        margin-top: 0.2em;
    }

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

    .hero__content {
        max-width: 100%;
    }
}

/* ==============================================
   SECTION 2: PROBLEM
   ============================================== */
.problem__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (max-width: 992px) {
    .problem__top {
        flex-direction: column;
        gap: var(--space-lg);
    }
}

.problem__header {
    max-width: 650px;
}

.problem__header .label {
    color: var(--color-grey-600);
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.problem__header h2 {
    margin-top: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    color: var(--color-black);
}

.problem__logos {
    display: none;
    /* Hidden — placeholder logos, enable when real logos are available */
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .problem__grid {
        grid-template-columns: 1fr;
    }
}

.stat-card--modern {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card--modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.stat-card__top {
    margin-bottom: var(--space-lg);
}

.stat-card--modern .stat-card__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-grey-600);
    margin-bottom: var(--space-sm);
}

.stat-card--modern .stat-card__desc {
    font-size: 0.95rem;
    color: var(--color-grey-600);
    line-height: 1.5;
}

.stat-card--modern .stat-card__number {
    font-family: var(--font-body);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -0.02em;
}


/* ==============================================
   SECTION 3: SOLUTION
   ============================================== */
.solution__inner {
    display: grid;
    grid-template-columns: 1.25fr 2fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

@media (max-width: 992px) {
    .solution__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

.solution__header {
    position: sticky;
    top: 120px;
    max-width: 500px;
}

.solution__header .label {
    color: var(--color-grey-600);
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.solution__header h2 {
    margin-top: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.25;
    color: var(--color-black);
}

.solution__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.solution-card--modern {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card--modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.solution-card__top {
    margin-bottom: var(--space-md);
}

.solution-card__icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.solution-card--modern h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.2;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.02em;
}

.solution-card__info {
    margin-top: var(--space-sm);
}

.solution-card--modern p {
    font-size: 0.95rem;
    color: var(--color-grey-600);
    line-height: 1.5;
}


/* ==============================================
   SECTION 4: PROOF
   ============================================== */
.proof__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

#proof {
    background: var(--color-dark-bg);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-dark-border);
}

@media (max-width: 992px) {
    .proof__inner {
        grid-template-columns: 1fr;
    }

    #proof {
        padding: 4rem 1.5rem;
    }
}

.proof__text {
    max-width: 500px;
    position: sticky;
    top: 120px;
}

.proof__text .label {
    display: block;
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
}

.proof__text h2 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: var(--space-lg);
}

.proof__text p {
    color: rgba(255, 255, 255, 0.8);
}

.proof__stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.proof-stat {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-lg);
}

.proof-stat:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.proof-stat__value {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1;
    white-space: nowrap;
    min-width: 100px;
    flex-shrink: 0;
    text-align: right;
}

.section--dark .proof-stat__value {
    color: #FFFFFF;
}

.proof-stat__info h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.proof-stat__info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}


/* ==============================================
   SECTION 5: HOW IT WORKS
   ============================================== */
.how__header {
    text-align: left;
    max-width: none;
    margin-bottom: var(--space-xl);
}

.how__header .label {
    display: block;
    color: var(--color-grey-600);
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.how__header h2 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--color-black);
    letter-spacing: -0.02em;
    margin-top: 0;
}

.how__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    position: relative;
}

@media (max-width: 992px) {
    .how__steps {
        grid-template-columns: 1fr;
    }
}

/* Connecting line between steps */
.how__steps::before {
    display: none;
}

.step-card {
    text-align: left;
    padding: 18px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-card--pink {
    background-color: var(--color-pink);
}

.step-card--yellow {
    background-color: var(--color-soft-yellow);
}

.step-card--green {
    background-color: var(--color-pastel-green);
}

.step-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.step-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-card__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0.25rem 0.5rem 0.25rem;
}

.step-card__label {
    background: var(--color-white);
    color: var(--color-black);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.step-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.step-card p {
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.5;
    margin: 0;
}


/* ==============================================
   SECTION 6: WHO IT'S FOR
   ============================================== */
.who__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

@media (max-width: 992px) {
    .who__inner {
        grid-template-columns: 1fr;
    }

    .who__qualifier {
        padding: 2.5rem;
    }
}

.who__text {
    position: sticky;
    top: 120px;
}

.who__text h2 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--color-black);
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: var(--space-lg);
}

.who__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}

.who__list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-black);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    max-width: fit-content;
}

.who__list li .check {
    width: 16px;
    height: 16px;
    background: var(--color-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 0.6rem;
    flex-shrink: 0;
}

.who__qualifier {
    background: var(--color-dark-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-xl);
    padding: 4rem;
    color: var(--color-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    align-self: flex-end;
    max-width: 650px;
    margin-left: auto;
}

.who__qualifier h3 {
    color: var(--color-white);
    /* Changed to white */
    margin-bottom: var(--space-lg);
    font-size: 1.25rem;
    font-weight: 500;
    font-family: var(--font-body);
    margin-top: 0;
}

.qualifier-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.qualifier-list li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* slightly stronger divider */
    color: rgba(255, 255, 255, 0.85);
    /* slightly brighter text */
    font-size: 0.95rem;
    line-height: 1.5;
}

.qualifier-list li:first-child {
    padding-top: 0;
}

.qualifier-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.qualifier-icon {
    color: var(--color-white);
    flex-shrink: 0;
}


/* ==============================================
   SECTION 7: CTA / FORM
   ============================================== */
.cta {
    background: var(--color-dark-bg);
    backdrop-filter: blur(20px);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    border: none;
}

.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta__text h2 {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: var(--space-md);
}

.cta__text p {
    color: var(--color-grey-200);
    margin-bottom: var(--space-lg);
    max-width: 420px;
}

.cta__promise {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cta__promise span {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-grey-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta__promise span::before {
    content: '✓';
    color: var(--color-orange);
    font-weight: 700;
}

.cta__form-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: transparent;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-white);
    background: transparent;
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A8A8A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-group select option {
    background: var(--color-black);
    color: var(--color-white);
}

.cta__form-card .btn {
    width: 100%;
    margin-top: var(--space-sm);
    padding: 1.125rem;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    font-weight: 500;
}

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-grey-400);
    margin-top: var(--space-md);
}


.footer {
    background: var(--color-dark-bg);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    margin: 0.5rem;
    padding: clamp(2.5rem, 5vw, 4rem);
    border: 1px solid var(--color-dark-border);
}

@media (max-width: 768px) {
    .footer {
        padding-bottom: 6rem;
    }
}

@media (min-width: 768px) {
    .footer {
        margin: 0.75rem;
    }
}

@media (min-width: 1280px) {
    .footer {
        margin: 1rem;
    }
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-lg);
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--color-white);
}

.footer__logo span {
    color: var(--color-orange);
}

.footer__copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__right {
    display: flex;
    gap: var(--space-xl);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__links-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-xs);
}

.footer__links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

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

.footer__socials {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-dark-border);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.footer__social-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.footer__social-link svg {
    width: 18px;
    height: 18px;
}

/* Mobile footer */
@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .footer__right {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .footer__social-link {
        width: 44px;
        height: 44px;
    }

    .footer__social-link svg {
        width: 20px;
        height: 20px;
    }
}


/* ==============================================
   RESPONSIVE
   ============================================== */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
    .section {
        padding: clamp(2rem, 4vw, 3rem);
    }

    .hero__inner {
        gap: var(--space-xl);
    }

    .hero-image {
        max-height: 45vh;
    }

    .solution__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .solution__header {
        position: static;
    }

    .problem__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .how__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    /* Let the 3rd step card span full width on 2-col */
    .how__steps .step-card:last-child {
        grid-column: 1 / -1;
    }

    .proof__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .proof__text {
        position: static;
    }

    .proof-stat {
        gap: var(--space-lg);
    }

    .who__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .who__text {
        position: static;
    }

    .who__qualifier {
        padding: 2.5rem;
        max-width: 100%;
        margin-left: 0;
    }

    .cta__inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .stat-card--modern {
        padding: 2rem;
        min-height: 220px;
    }

    .stat-card--modern .stat-card__number {
        font-size: 2.5rem;
    }

    .step-card__image {
        aspect-ratio: 16 / 9;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    .section {
        padding: 1.5rem;
        margin: 0.375rem;
        border-radius: var(--radius-lg);
    }

    .container {
        padding: 0 var(--space-md);
    }

    .hero {
        min-height: auto;
    }

    h2 {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
    }

    p {
        font-size: 0.95rem;
    }

    .problem__top {
        margin-bottom: var(--space-lg);
    }

    .stat-card--modern {
        min-height: auto;
        padding: 1.5rem;
    }

    .stat-card--modern .stat-card__number {
        font-size: 2.25rem;
    }

    #proof {
        border-radius: var(--radius-lg);
    }

    .proof__inner {
        gap: var(--space-lg);
    }

    .proof__stats {
        gap: var(--space-lg);
    }

    .proof-stat {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .proof-stat__value {
        text-align: left;
        min-width: auto;
        font-size: 2.5rem;
    }

    .proof-stat__info h3 {
        font-size: 1.1rem;
    }

    .proof-stat__info p {
        font-size: 0.9rem;
    }

    .how__header {
        margin-bottom: var(--space-lg);
    }

    /* How It Works — stack to single column on mobile */
    .how__steps {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .how__steps .step-card:last-child {
        grid-column: auto;
    }

    .step-card {
        flex-direction: row;
        align-items: stretch;
        gap: 1rem;
        padding: 14px;
    }

    .step-card__image {
        width: 40%;
        min-width: 120px;
        flex-shrink: 0;
        aspect-ratio: 3 / 4;
    }

    .step-card__content {
        flex: 1;
        justify-content: center;
        padding: 0.25rem 0;
    }

    .step-card h3 {
        font-size: 1.1rem;
    }

    .step-card p {
        font-size: 0.875rem;
    }

    /* Hard Truth stat cards — horizontal layout on mobile */
    .problem__grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .stat-card--modern {
        flex-direction: row;
        align-items: center;
        gap: var(--space-lg);
        min-height: auto;
        padding: 1.25rem 1.5rem;
    }

    .stat-card__top {
        flex: 1;
        margin-bottom: 0;
    }

    .stat-card--modern .stat-card__number {
        font-size: 2.5rem;
        flex-shrink: 0;
        order: -1;
        min-width: 80px;
    }

    .who__qualifier {
        padding: 1.5rem;
    }

    .who__qualifier h3 {
        font-size: 1.1rem;
        margin-bottom: var(--space-md);
    }

    .qualifier-list li {
        font-size: 0.9rem;
    }

    .who__list li {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .cta__text h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .cta__form-card {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: var(--space-md);
    }

    .form-group input,
    .form-group select {
        padding: 0.875rem 0;
        font-size: 1rem;
    }

    .cta__form-card .btn {
        height: 52px;
        font-size: 0.75rem;
    }

    .footer {
        padding: 1.5rem;
        margin: 0.375rem;
        border-radius: var(--radius-lg);
    }

    /* Navbar mobile sizing */
    .navbar {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 1.5rem);
        max-width: 100%;
    }

    .navbar__btn {
        padding: 0 1rem;
        font-size: 0.75rem;
    }
}