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

:root {
    --pink: #FF006E;
    --purple: #8338EC;
    --blue: #3A86FF;
    --orange: #FF6B35;
    --yellow: #FFBE0B;
    --dark: #0a0a0a;
    --card-bg: rgba(255,255,255,0.06);
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--dark);
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* SCREENS */
.screen {
    display: none;
    min-height: 100vh;
    width: 100%;
}
.screen.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HUB LANDING ===== */
.hub-content {
    text-align: center;
    padding: 2rem;
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Landing content (module pages) */
.landing-content {
    text-align: center;
    padding: 2rem;
    max-width: 560px;
}

.back-to-hub {
    display: inline-block;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}
.back-to-hub:hover {
    color: #fff;
}

/* Slide icon display */
.slide-icon-display {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: lowercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2rem;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

/* Module Grid */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.2rem 0.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.module-card:hover {
    transform: translateY(-2px);
}

.module-live {
    border-color: var(--pink);
    background: rgba(255,0,110,0.08);
}
.module-live:hover {
    box-shadow: 0 4px 20px rgba(255,0,110,0.25);
}

.module-soon {
    opacity: 0.7;
}
.module-soon:hover {
    opacity: 1;
    border-color: rgba(255,255,255,0.2);
}

.module-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.module-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
}

.module-badge {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge-live {
    background: var(--pink);
    color: #fff;
}

.badge-soon {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.45);
}

/* Privacy Banner */
.privacy-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.privacy-icon {
    font-size: 1rem;
}

/* ===== COMING SOON MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover {
    color: #fff;
}

.modal-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.modal-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-form .form-input {
    text-align: center;
}

.modal-form .btn-primary {
    max-width: none;
}

.modal-note {
    margin-top: 1rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 320px;
    min-height: 48px;
}
.btn-primary:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(255,0,110,0.3);
}
.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--card-bg);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 48px;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* ===== FORM ===== */
.form-container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin-bottom: 3rem;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0%;
}

.form-step {
    display: none;
    animation: fadeUp 0.4s ease;
}
.form-step.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.form-hint {
    color: rgba(255,255,255,0.4);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    font-size: 1.2rem;
    font-family: 'DM Sans', sans-serif;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
    min-height: 48px;
}
.form-input:focus {
    border-color: var(--pink);
}
.form-input::placeholder {
    color: rgba(255,255,255,0.2);
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.checkbox-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.2rem;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 1rem;
    min-height: 48px;
}
.checkbox-card:hover {
    background: rgba(255,255,255,0.08);
}
.checkbox-card input {
    accent-color: var(--pink);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.checkbox-card:has(input:checked) {
    border-color: var(--pink);
    background: rgba(255,0,110,0.1);
}

.form-nav {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}
.form-nav .btn-primary,
.form-nav .btn-secondary {
    flex: 1;
    max-width: none;
}

/* ===== LOGIN FORM ===== */
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

.login-form .form-input {
    text-align: center;
}

.login-form .btn-primary {
    max-width: none;
    width: 100%;
}

/* ===== LOADING SCREEN ===== */
.loading-content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--pink);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.loading-sub {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2rem;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    max-width: 260px;
    margin: 0 auto;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.25);
    transition: color 0.3s;
}

.loading-step.active {
    color: #fff;
}

.loading-step.done {
    color: rgba(255,255,255,0.4);
}

.loading-step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: inline-block;
    flex-shrink: 0;
    transition: background 0.3s;
}

.loading-step.active .loading-step-dot {
    background: var(--pink);
    box-shadow: 0 0 8px rgba(255,0,110,0.5);
}

.loading-step.done .loading-step-dot {
    background: rgba(255,255,255,0.3);
}

/* ===== ERROR SCREEN ===== */
.error-content {
    text-align: center;
    padding: 2rem;
    max-width: 400px;
}

.error-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.error-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.error-content .btn-primary {
    max-width: 240px;
    margin: 0 auto;
}

/* ===== SLIDES ===== */
.slide {
    display: none;
    width: 100%;
    min-height: 100vh;
}
.slide.active {
    display: flex;
}

/* Exit/Enter animations handled by GSAP */

.slide-inner {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- HIDE TAP TO CONTINUE BUTTONS GLOBALLY ---- */
.s-next { display: none !important; }

/* ---- ANIMATED BACKGROUND SYSTEM ---- */
/* Morphing gradient blobs behind content */
.slide-inner::after {
    content: '';
    position: absolute;
    inset: -50%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(131,56,236,0.6), transparent 70%),
        radial-gradient(ellipse 50% 60% at 80% 70%, rgba(255,0,110,0.5), transparent 70%),
        radial-gradient(ellipse 55% 45% at 50% 50%, rgba(58,134,255,0.4), transparent 70%);
    animation: blobMorph 6s ease-in-out infinite alternate, blobSpin 12s linear infinite;
}

@keyframes blobMorph {
    0% { transform: scale(1) translate(0, 0); filter: blur(40px); }
    25% { transform: scale(1.1) translate(5%, -8%); filter: blur(50px); }
    50% { transform: scale(0.95) translate(-5%, 5%); filter: blur(35px); }
    75% { transform: scale(1.15) translate(8%, 3%); filter: blur(55px); }
    100% { transform: scale(1) translate(-3%, -5%); filter: blur(45px); }
}

@keyframes blobSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating particle layer */
.slide-inner .scene::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.6), transparent),
        radial-gradient(3px 3px at 60% 20%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 80% 50%, rgba(255,255,255,0.5), transparent),
        radial-gradient(2px 2px at 10% 80%, rgba(255,255,255,0.6), transparent),
        radial-gradient(3px 3px at 70% 90%, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 35% 45%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 85% 15%, rgba(255,255,255,0.5), transparent),
        radial-gradient(3px 3px at 15% 55%, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 55% 85%, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 95% 35%, rgba(255,255,255,0.5), transparent),
        radial-gradient(3px 3px at 45% 10%, rgba(255,255,255,0.7), transparent);
    background-size: 200px 200px;
    animation: particleDrift 20s linear infinite;
}

@keyframes particleDrift {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -30px); }
    100% { transform: translate(0, 0); }
}

/* Color pulse overlay — subtle breathing color */
.slide.active .slide-inner {
    animation: gradientShift 8s ease infinite, colorPulse 4s ease-in-out infinite alternate;
}

@keyframes colorPulse {
    0% { filter: brightness(1) saturate(1); }
    50% { filter: brightness(1.05) saturate(1.15); }
    100% { filter: brightness(0.98) saturate(1.05); }
}

/* Subtle grain/noise overlay */
.slide-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.slide-watermark {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.25);
}

/* Gradient backgrounds */
.gradient-bg-1 { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.gradient-bg-2 { background: linear-gradient(135deg, #2d1b69, #11998e); }
.gradient-bg-3 { background: linear-gradient(135deg, #e63946, #1d3557); }
.gradient-bg-4 { background: linear-gradient(135deg, #0f0c29, #302b63, #24243e); }
.gradient-bg-5 { background: linear-gradient(135deg, #fc466b, #3f5efb); }
.gradient-bg-6 { background: linear-gradient(135deg, #c31432, #240b36); }
.gradient-bg-7 { background: linear-gradient(135deg, #8338EC, #FF006E, #3A86FF); }

.slide-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}

.slide-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slide-big-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    max-width: 380px;
    line-height: 1.4;
}

.slide-caption {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.5rem;
}

.slide-roast {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1.5rem;
    max-width: 340px;
    line-height: 1.5;
    font-style: italic;
}

.stat-giant {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(4rem, 15vw, 8rem);
    font-weight: 700;
    line-height: 1;
}

.stat-giant-small {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 700;
    line-height: 1;
}

.stat-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}
.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}
.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Ghost Report */
.ghost-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 1rem;
}
.ghost-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}
.ghost-emoji {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.ghost-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

/* Red Flag */
.redflag-display {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Texting / Swipe Time / Worst Date icons */
.texting-icon,
.clock-icon,
.worstdate-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

/* ===== FUNNEL ===== */
.funnel-container {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
}

.funnel-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.funnel-bar-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
}

.funnel-bar {
    height: 28px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    border-radius: 6px;
    transition: width 0.6s ease;
    min-width: 30px;
}

.funnel-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.funnel-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.funnel-name {
    color: rgba(255,255,255,0.5);
}

/* ===== PERSONA (Final Slide / Shareable Card) ===== */
.persona-slide {
    aspect-ratio: 9 / 16;
    max-height: 100vh;
}

.persona-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 7vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.persona-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 360px;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

/* Key stats on persona card */
.persona-key-stats {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.key-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    min-width: 60px;
}

.key-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.key-stat-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.persona-stats-mini {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.persona-watermark-url {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.slide-share-cta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.btn-slide-next {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    margin-top: 2rem;
    padding: 0.75rem 1.5rem;
    transition: color 0.2s;
    min-height: 48px;
}
.btn-slide-next:hover {
    color: #fff;
}

.btn-download {
    margin-bottom: 0.75rem;
    max-width: 280px;
}
.btn-restart {
    max-width: 280px;
    width: 100%;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 480px) {
    .hub-content {
        padding: 1.5rem 1rem;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .module-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .module-card {
        padding: 0.9rem 0.3rem;
        border-radius: 12px;
    }

    .module-icon {
        font-size: 1.4rem;
    }

    .module-name {
        font-size: 0.72rem;
    }

    .module-badge {
        font-size: 0.55rem;
        padding: 0.1rem 0.35rem;
    }

    .form-container {
        padding: 1.5rem 1rem;
    }

    .form-label {
        font-size: 1.3rem;
    }

    .stat-row {
        gap: 1rem;
    }

    .ghost-stats {
        gap: 2rem;
    }

    .slide-inner {
        padding: 2rem 1.5rem;
    }

    .funnel-container {
        max-width: 300px;
    }

    .persona-key-stats {
        gap: 0.6rem;
    }

    .key-stat {
        padding: 0.4rem 0.6rem;
        min-width: 55px;
    }

    .key-stat-num {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .module-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .ghost-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}
