:root {
    --primary-pink: #e11d63;
    --primary-pink-hover: #c91756;
    --text-dark: #111827; /* Near black */
    --text-muted: #6b7280; /* Gray */
    --bg-page: #f9fafb; /* Very light gray */
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    position: relative;
}

/* Big curved white background */
.bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110vh;
    min-height: 700px;
    background-color: var(--bg-white);
    border-bottom-left-radius: 50% 120px;
    border-bottom-right-radius: 50% 120px;
    z-index: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

/* Floating Header */
.floating-header {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: 100;
}

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

.header-right-pill {
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 24px 8px 32px;
}

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

.logo-img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}

.nav-item:hover {
    opacity: 0.6;
}

.nav-item svg {
    margin-top: 2px;
    opacity: 0.5;
}

/* Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-link:hover {
    text-decoration: underline;
}

.btn-dark {
    text-decoration: none;
    background-color: var(--text-dark);
    color: white;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 100px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-dark:hover {
    background-color: #000;
    transform: scale(1.02);
}

/* Hero Section */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 180px; /* matched to taap.it's vertical centering */
    padding-bottom: 60px;
    min-height: 100vh;
}

.hero-centered {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: white;
    padding: 8px 16px;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px; /* tightened spacing */
    border: 1px solid rgba(0, 0, 0, 0.03);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: box-shadow 0.2s ease;
}

.hero-badge:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.badge-label {
    background-color: var(--bg-page);
    color: var(--text-dark);
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 100px;
    margin-right: 12px;
}

.badge-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-link svg {
    opacity: 0.5;
}

/* Hero Text */
.hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
    font-weight: 700;
    line-height: 1.15;
    color: #111827;
    margin-bottom: 16px; /* tightened spacing */
    letter-spacing: -1.5px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}



.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto 32px auto; /* tightened spacing */
    line-height: 1.6;
    text-wrap: balance;
}

/* Email Capture Form */
.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-email-form {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.hero-email-form:focus-within {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.15);
}

.hero-email-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 24px;
    font-size: 16px;
    color: #111827;
    font-family: inherit;
    outline: none;
    min-width: 0; /* Prevents overflow in flexbox */
}

.hero-email-form input::placeholder {
    color: #9ca3af;
}

.btn-pink {
    margin: 0;
    text-decoration: none;
    background-color: var(--primary-pink);
    color: white;
    font-weight: 600;
    font-size: 15px;
    padding: 12px 16px 12px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(225, 29, 99, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-pink:hover {
    background-color: var(--primary-pink-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(225, 29, 99, 0.4);
}

.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    margin-left: 8px;
}

.btn-icon-wrapper svg {
    width: 16px;
    height: 16px;
}

.btn-pink:hover .btn-icon-wrapper svg {
    animation: flyUpRight 0.4s ease-in-out forwards;
}

.hero-cta-subtext {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin-top: 16px;
    font-weight: 400;
}

.btn-icon-wrapper {
    display: inline-flex;
    overflow: hidden;
    position: relative;
    width: 16px;
    height: 16px;
}

@keyframes flyUpRight {
    0% { transform: translate(0, 0); }
    49% { transform: translate(24px, -24px); }
    50% { transform: translate(-24px, 24px); }
    100% { transform: translate(0, 0); }
}

/* Hero Mockup */
/* Removed hero iPhone */

@keyframes float-iphone {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
    100% { transform: translateY(0px); }
}

/* Interactive Scroll Features Section */
.scroll-features {
    position: relative;
    height: 400vh; /* 4 steps */
    background-color: transparent;
    z-index: 10;
}

.scroll-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.scroll-box {
    background: linear-gradient(135deg, #ffffff, #fff0f6);
    border: 1px solid rgba(255, 192, 203, calc(0.3 * (1 - var(--expand-ratio, 0))));
    border-radius: calc(40px * (1 - var(--expand-ratio, 0)));
    width: calc( (100% - 32px) + 32px * var(--expand-ratio, 0) );
    max-width: calc(1400px + (100vw - 1400px) * var(--expand-ratio, 0));
    height: calc( 75vh + 15vh * var(--expand-ratio, 0) );
    margin-top: 60px; /* Descend le bloc pour ne pas coller en haut */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.sticky-content {
    display: grid;
    grid-template-columns: 1fr 450px 1fr;
    gap: calc(20px + 150px * var(--expand-ratio, 0));
    padding-left: calc(40px + 20px * var(--expand-ratio, 0));
    padding-right: calc(40px + 20px * var(--expand-ratio, 0));
    align-items: center;
    max-width: calc(1200px + 800px * var(--expand-ratio, 0));
    width: 100%;
}

.scroll-col {
    position: relative;
    height: 300px;
}

.scroll-center {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.scroll-iphone {
    position: absolute;
    height: 85vh; /* Huge, almost fills the screen */
    width: auto;
    object-fit: contain;
    margin-top: 40px; /* Pousse l'iPhone un peu plus bas */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.scroll-iphone.active {
    opacity: 1;
    visibility: visible;
}

.step-title-box {
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-desc-box {
    position: absolute;
    top: 40%;
    right: 0;
    width: 100%;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-title-box.active, .step-desc-box.active {
    transform: translateY(-50%);
    opacity: 1;
    visibility: visible;
}

.step-title-box h3 {
    font-size: clamp(28px, 3vw, 40px); /* reduced font size */
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-dark);
    letter-spacing: -1px;
    text-wrap: balance;
}

.step-desc-box p {
    font-size: 16px; /* reduced font size */
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 24px;
    text-wrap: pretty;
}

.step-desc-box .btn-pink {
    font-size: 14px;
    padding: 10px 20px;
    display: inline-flex;
    width: fit-content;
}

/* Section title removed in favor of hero bottom title */

/* Step Indicators Pagination */
.step-indicators {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 12px;
    opacity: var(--expand-ratio, 0);
    z-index: 20;
}

.step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: white;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}


