:root {
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --secondary: #ec4899;
    --cream: #fef3c7;
    --lavender: #f3e8ff;
    --blush: #fce7f3;
    --text-headline: #1f2937;
    --text-body: #6b7280;
    --text-muted: #9ca3af;
    --success: #10b981;
    --white: #ffffff;
    --radius: 14px;
    --container: 1100px;
}

/* Mobile scroll fix (all phones: iOS Safari, Android Chrome, Samsung Internet, etc.) */
/* Block horizontal scroll only; do NOT set height on html so the document can grow with content
   and scroll past the hero (fixes “wall” at “They stay engaged, move forward, tell others”). */
html {
    width: 100%;
    max-width: 100vw;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-body);
    line-height: 1.6;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: env(safe-area-inset-bottom, 0);
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
}

main {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-headline);
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    min-width: 0;
}

.centered-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Scrambled Inbox Section */
.scrambled-inbox {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.03) 0%, transparent 70%);
    overflow: hidden;
}

.scrambled-label {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.scrambled-messages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 100%;
    margin: 2rem auto 4rem;
    perspective: 1000px;
    overflow: hidden;
}

/* Ambient Bubbles */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    /* Low contrast */
    pointer-events: none;
}

.blob-1 {
    width: 800px;
    height: 800px;
    top: -300px;
    right: -200px;
    background: var(--lavender);
}

.blob-2 {
    width: 700px;
    height: 700px;
    top: 20%;
    left: -350px;
    background: var(--cream);
}

.blob-3 {
    width: 600px;
    height: 600px;
    bottom: -150px;
    right: -200px;
    background: var(--blush);
}

.blob-4 {
    width: 500px;
    height: 500px;
    top: 45%;
    right: -150px;
    background: var(--lavender);
}

.blob-5 {
    width: 550px;
    height: 550px;
    top: 60%;
    left: -200px;
    background: var(--blush);
}

.blob-6 {
    width: 400px;
    height: 400px;
    top: 30%;
    left: 30%;
    background: var(--cream);
    opacity: 0.15;
}

.blob-7 {
    width: 650px;
    height: 650px;
    bottom: 10%;
    left: -250px;
    background: var(--lavender);
}

.blob-8 {
    width: 480px;
    height: 480px;
    top: 75%;
    right: -180px;
    background: var(--cream);
}

.blob-9 {
    width: 350px;
    height: 350px;
    top: 55%;
    left: 50%;
    background: var(--blush);
    opacity: 0.2;
}

.blob-10 {
    width: 420px;
    height: 420px;
    top: 85%;
    right: 20%;
    background: var(--lavender);
    opacity: 0.25;
}

.blob-11 {
    width: 500px;
    height: 500px;
    top: 15%;
    right: 30%;
    background: var(--cream);
    opacity: 0.15;
}

/* Common Elements */
.cta-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 1.125rem;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

.gradient-text {
    color: var(--primary);
    display: inline-block;
}

.cta-button.large {
    padding: 1.25rem 3.5rem;
    font-size: 1.25rem;
}

.badge {
    display: inline-block;
    background-color: var(--blush);
    color: var(--secondary);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Sections: clip horizontal overflow without creating a scroll container (avoids mobile scroll “wall”) */
section {
    padding: 100px 0;
    max-width: 100%;
}

/* Navbar */
.navbar {
    padding: 0.75rem 0;
    padding-top: calc(0.75rem + env(safe-area-inset-top, 0));
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    /* All phones: own compositor layer so fixed bar doesn’t break scroll height (iOS + Android) */
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-headline);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    height: 48px;
    width: auto;
}

/* Hero Centered Section */
.hero-centered {
    padding-top: 120px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-centered h1 {
    font-size: clamp(1.75rem, 5vw + 0.5rem, 4.5rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-align: center;
}

.hero-subline {
    font-size: clamp(0.9375rem, 1.5vw + 0.5rem, 1.25rem);
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.55;
    text-align: center;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-body);
}

.step-icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon-box svg {
    width: 28px;
    height: 28px;
    color: var(--text-headline);
}

.step-arrow {
    color: #d1d5db;
    font-size: 1.25rem;
}

/* Scrambled messages */
.scrambled-msg {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    transform: rotate(var(--rotation)) translate(var(--x), var(--y));
    max-width: 320px;
    width: auto;
    flex-shrink: 0;
}

.scrambled-msg:hover {
    transform: rotate(0deg) scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    z-index: 10;
    border-color: rgba(124, 58, 237, 0.2);
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.msg-content {
    flex-grow: 1;
}

.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.msg-name {
    font-weight: 700;
    font-size: 0.8125rem;
}

.msg-time {
    font-size: 0.6875rem;
    color: rgba(0, 0, 0, 0.3);
}

.msg-text {
    font-size: 0.8125rem;
    color: var(--text-body);
    line-height: 1.3;
    margin: 0;
}

.scrambled-cta {
    font-size: 1.25rem;
    color: var(--text-headline);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.scrambled-cta strong {
    background: linear-gradient(135deg, #fef3c7 0%, #f3e8ff 50%, #fce7f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

/* Benefits */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.benefit-card {
    text-align: center;
}

.icon-circle {
    width: 96px;
    height: 96px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1.5rem;
}

.icon-circle svg {
    width: 48px;
    height: 48px;
}

.booking-section {
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.booking-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    min-width: 0;
}

.booking-content h2 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.booking-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-headline);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
}

.calendar-container {
    min-width: 0;
    max-width: 100%;
}

.calendar-placeholder {
    background: white;
    border-radius: 20px;
    min-height: 750px;
    min-width: 0;
    max-width: 100%;
    border: 1px solid #e5e7eb;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.calendar-header {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

/* Single scrollbar: let Calendly’s iframe handle scroll; no overflow here so we don’t get a second scrollbar */
.calendar-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    background-color: white;
    position: relative;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* Prevent Calendly widget from forcing page width */
.calendar-body .calendly-inline-widget {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

.calendar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 2rem;
    transition: all 0.5s ease;
}

.calendar-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.lock-icon {
    width: 60px;
    height: 60px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

#booking-success {
    display: none;
    text-align: center;
}

.success-icon {
    width: 50px;
    height: 50px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* ========== Large tablet / small laptop (1024px) ========== */
@media (max-width: 1024px) {
    .booking-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .booking-content h2 {
        font-size: 2.25rem;
    }

    .grid-3 {
        gap: 2rem;
    }
}

/* ========== Tablet (768px) ========== */
@media (max-width: 768px) {
    /* Fewer blobs + no blur on mobile = much smoother scroll (no GPU-heavy filter repaints) */
    .blob {
        display: none;
    }
    body {
        background-color: var(--white);
        background-image: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(243, 232, 255, 0.4), transparent),
                          radial-gradient(ellipse 60% 40% at 20% 80%, rgba(254, 243, 199, 0.3), transparent);
    }

    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 60px 0;
    }

    .navbar {
        padding: 0.5rem 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: none;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .nav-logo-img {
        height: 40px;
    }

    .hero-centered {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.5rem;
        width: 100%;
        padding: 0;
    }

    .cta-button {
        width: 100%;
        max-width: 340px;
        text-align: center;
        padding: 1rem 1.5rem;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0.5rem;
    }

    .scrambled-inbox {
        padding: 60px 0;
    }

    .scrambled-label {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .scrambled-messages {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin: 1.5rem auto 2.5rem;
    }

    .scrambled-msg {
        width: 100%;
        max-width: 380px;
        padding: 12px 14px;
        margin: 0 auto;
    }

    .scrambled-msg:nth-child(1) { transform: rotate(-1.5deg) translateX(-8px); }
    .scrambled-msg:nth-child(2) { transform: rotate(2deg) translateX(12px); }
    .scrambled-msg:nth-child(3) { transform: rotate(-2.5deg) translateX(-14px); }
    .scrambled-msg:nth-child(4) { transform: rotate(1.8deg) translateX(10px); }
    .scrambled-msg:nth-child(5) { transform: rotate(-1deg) translateX(-6px); }
    .scrambled-msg:nth-child(6) { transform: rotate(2.5deg) translateX(14px); }
    .scrambled-msg:nth-child(7) { transform: rotate(-2deg) translateX(-12px); }
    .scrambled-msg:nth-child(8) { transform: rotate(1.5deg) translateX(8px); }

    .scrambled-msg:hover {
        transform: rotate(0deg) translateX(0) scale(1.02);
    }

    .scrambled-cta {
        font-size: 1.0625rem;
        padding: 0 0.5rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .benefit-card {
        text-align: center;
    }

    .booking-section {
        padding: 60px 0 48px;
    }

    .booking-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .booking-content {
        text-align: center;
    }

    .booking-content h2 {
        font-size: clamp(1.5rem, 4vw + 0.5rem, 2.25rem);
    }

    .booking-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .booking-form {
        padding: 1.5rem;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .calendar-container {
        max-width: 480px;
        margin: 0 auto;
    }

    .calendar-placeholder {
        min-height: 700px;
    }

    .form-group input {
        min-height: 48px;
        padding: 0.875rem 1rem;
        font-size: 16px;
    }

    .cta-button.full-width {
        min-height: 52px;
        padding: 1rem;
    }
}

/* ========== Small mobile (480px) ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    section {
        padding: 48px 0;
    }

    .hero-centered {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero-subline {
        margin-bottom: 1.5rem;
    }

    .cta-button {
        max-width: none;
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }

    .scrambled-msg {
        max-width: 100%;
    }

    .msg-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .msg-name,
    .msg-text {
        font-size: 0.8125rem;
    }

    .msg-time {
        font-size: 0.625rem;
    }

    .icon-circle {
        width: 72px;
        height: 72px;
        margin-bottom: 1rem;
    }

    .icon-circle svg {
        width: 36px;
        height: 36px;
    }

    .benefit-card h3 {
        font-size: 1.125rem;
    }

    .benefit-card p {
        font-size: 0.9375rem;
        line-height: 1.5;
    }

    .booking-form {
        padding: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .calendar-placeholder {
        min-height: 680px;
    }

    .calendar-overlay {
        padding: 1.5rem;
    }

    .calendar-overlay h3 {
        font-size: 1.125rem;
    }

    .calendar-overlay p {
        font-size: 0.875rem;
    }
}

/* ========== Tiny phones (360px and below, e.g. iPhone SE, Galaxy S) ========== */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-centered {
        padding-top: 88px;
        padding-bottom: 32px;
    }

    .navbar {
        padding: 0.35rem 0;
    }

    .nav-logo {
        font-size: 1.125rem;
        gap: 6px;
    }

    .nav-logo-img {
        height: 36px;
    }

    .cta-button {
        font-size: 0.9375rem;
        padding: 0.75rem 1rem;
        min-height: 44px;
    }

    .process-steps {
        gap: 0.75rem;
    }

    .step span {
        font-size: 0.8125rem;
    }

    .scrambled-inbox {
        padding: 36px 0;
    }

    .scrambled-msg {
        padding: 8px 10px;
        gap: 8px;
    }

    .msg-avatar {
        width: 24px;
        height: 24px;
        font-size: 0.6875rem;
    }

    .msg-name,
    .msg-text {
        font-size: 0.75rem;
    }

    .scrambled-cta {
        font-size: 0.9375rem;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
    }

    .icon-circle svg {
        width: 28px;
        height: 28px;
    }

    .benefit-card h3 {
        font-size: 1rem;
    }

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

    .grid-3 {
        gap: 2rem;
    }

    .booking-form {
        padding: 1rem;
    }

    .form-group label {
        font-size: 0.8125rem;
    }

    .calendar-placeholder {
        min-height: 650px;
    }

    .lock-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .lock-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* Touch devices: disable sticky hover effects */
@media (hover: none) {
    .cta-button:hover {
        transform: none;
    }

    .scrambled-msg:hover {
        transform: none;
    }
}

/* Landscape phones: tighter hero so CTA is visible without scrolling */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-centered {
        padding-top: 80px;
        padding-bottom: 24px;
    }

    .hero-subline {
        margin-bottom: 1rem;
    }

    .cta-group {
        margin-bottom: 1.5rem;
    }

    .process-steps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .step-arrow {
        transform: none;
    }
}

