:root {
    --bg-dark: #0a0a0a;
    --card-pink: #d896a6;
    --card-pink-dark: #c07a8b;
    --text-white: #ffffff;
    --text-black: #1a1a1a;
    --accent-red: #ff4d4d;
    --btn-dark: #1f1f1f;
    --font-heading: 'Rubik', sans-serif;
    --font-body: 'Rubik', sans-serif;
    --font-hand: 'Caveat', cursive;

    /* New Colors for Fatigue Card */
    --card-white: #f8f5f2;
    --pill-green: #a8d586;
    --pill-red: #b35665;
    --pill-teal: #78c9b6;
    --pill-purple: #968bc2;
    --fatigue-pink-bg: #d28a9c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Changed from center to allow scrolling */
    overflow-x: hidden;
    padding-top: 40px;
    padding-bottom: 40px;
}

.app-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    gap: 40px;
}

/* Background Texture Effect */
.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
}

/* Logo Styles */
.logo-container {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.lobster-logo {
    position: relative;
    display: inline-block;
    padding: 5px 15px;
    margin-bottom: 5px;
    transform: rotate(-2deg);
}

.logo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e6a4b4;
    transform: skew(-5deg);
    border-radius: 4px;
    z-index: -1;
    box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    color: white;
    font-size: 1.8rem;
    line-height: 0.9;
    text-transform: lowercase;
    font-weight: 900;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.tm {
    font-size: 0.4rem;
    vertical-align: top;
    position: relative;
    top: 2px;
}

.tagline {
    font-family: var(--font-hand);
    color: #e6a4b4;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transform: rotate(-2deg);
    margin-top: -5px;
}

/* Main Card */
.card {
    background: linear-gradient(160deg, #e6a4b4 0%, #d896a6 40%, #c48292 100%);
    width: 100%;
    border-radius: 35px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-height: 520px;
    /* Reduced min-height slightly */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Card Background Patterns (Swirls) */
.card-bg-patterns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.15;
}

.circle {
    position: absolute;
    border: 12px solid white;
    border-radius: 50%;
}

.c1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: 20%;
}

.c2 {
    width: 150px;
    height: 150px;
    bottom: 100px;
    right: -40px;
    border-color: rgba(255, 255, 255, 0.6);
}

.c3 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -50px;
    border-width: 20px;
}

/* Content */
.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 55px;
    line-height: 0.75em;
    letter-spacing: -1.7px;
    margin-bottom: 10px;
    animation: slideUp 0.8s ease-out;
}

.white-text {
    color: var(--text-white);
    display: block;
}

.black-text {
    color: var(--text-black);
    display: block;
}

.description {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    max-width: 95%;
}

/* Status Bar */
.status-bar {
    background: rgba(168, 88, 106, 0.4);
    backdrop-filter: blur(5px);
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: white;
    margin-bottom: auto;
    width: fit-content;
}

.online-indicator {
    width: 8px;
    height: 8px;
    background-color: #4cd964;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 5px #4cd964;
}

/* Action Area */
.action-area {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.btn-signup {
    background-color: var(--btn-dark);
    color: white;
    border: none;
    padding: 16px 40px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-signup:active {
    transform: translateY(1px);
}

.handwritten-text {
    font-family: var(--font-hand);
    font-size: 1.6rem;
    color: #a64d64;
    transform: rotate(-10deg);
    line-height: 1;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2);
    position: absolute;
    right: 10px;
    bottom: 15px;
    pointer-events: none;
}

/* ========================================= */
/* FATIGUE CARD SECTION */
/* ========================================= */

.fatigue-card {
    width: 100%;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

.card-top {
    background-color: var(--card-white);
    padding: 40px 30px 20px 30px;
    color: var(--text-black);
    position: relative;
}

.arrow-doodle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    opacity: 0.8;
    transform: rotate(-10deg);
}

.fatigue-heading {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.fatigue-quote {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #664d55;
    font-weight: 500;
}

/* Divider Shape */
.card-divider {
    background-color: var(--fatigue-pink-bg);
    line-height: 0;
    /* Remove gap */
    position: relative;
    z-index: 5;
}

.card-divider svg {
    width: 100%;
    height: 25px;
    /* Height of the pointer dip */
    display: block;
}

.card-bottom {
    background-color: var(--fatigue-pink-bg);
    padding: 10px 30px 50px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Pills */
.pills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
}

.pill {
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.pill:hover {
    transform: scale(1.05) !important;
    z-index: 10;
}

.pill .icon {
    font-size: 1.1rem;
    margin-right: 8px;
    opacity: 0.8;
}

.pill-green {
    background-color: var(--pill-green);
    border-color: #8db570;
}

.pill-red {
    background-color: var(--pill-red);
    color: rgba(0, 0, 0, 0.6);
    border-color: #964855;
}

.pill-teal {
    background-color: var(--pill-teal);
    border-color: #63a696;
}

.pill-purple {
    background-color: var(--pill-purple);
    border-color: #7b72a3;
    width: 100%;
    /* Bots pill is often wide or last row */
    justify-content: center;
}

/* Rotation Classes */
/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatPill {

    0%,
    100% {
        transform: translateY(0) rotate(var(--rotate-val));
    }

    50% {
        transform: translateY(-5px) rotate(var(--rotate-val));
    }
}

.pill {
    /* ... existing styles ... */
    animation: floatPill 3s ease-in-out infinite;
    --rotate-val: 0deg;
    /* Default value */
}

/* Update rotation classes to use variable for animation compatibility */
.rotate-neg {
    --rotate-val: -8deg;
    animation-delay: 0s;
    margin-right: auto;
}

.rotate-pos {
    --rotate-val: 5deg;
    animation-delay: 0.5s;
    margin-left: -20px;
    margin-top: 10px;
    z-index: 2;
}

.rotate-neg-sm {
    --rotate-val: -3deg;
    animation-delay: 1s;
    margin-left: auto;
    margin-top: -5px;
}

.rotate-pos-sm {
    --rotate-val: 2deg;
    animation-delay: 1.5s;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 380px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .btn-signup {
        padding: 15px 35px;
        font-size: 1.4rem;
    }

    .handwritten-text {
        font-size: 1.5rem;
        right: 0;
    }

    .fatigue-heading {
        font-size: 1.5rem;
    }

    .pill {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
}

/* ========================================= */
/* WELCOME SECTION */
/* ========================================= */

.welcome-section {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 20px;
}

.welcome-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 25px;
    padding: 0 10px;
}

.welcome-text-group {
    flex: 1;
}

.welcome-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.lobster-purple {
    font-family: var(--font-heading);
    color: #a584f2;
    font-size: 2.2rem;
    line-height: 0.9;
    font-weight: 900;
    margin: 5px 0 15px 0;
}

.invite-only-text {
    font-size: 0.95rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    max-width: 250px;
}

.heart-icon-circle {
    background-color: #a584f2;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(165, 132, 242, 0.4);
    transform: rotate(10deg);
}

.heart-doodle {
    width: 70px;
    height: 70px;
}

/* Torn Paper Effect */
.torn-paper-wrapper {
    width: 110%;
    background-color: #e0d4fc;
    color: #333;
    padding: 30px 20px;
    position: relative;
    /* Jagged clip path for torn effect */
    clip-path: polygon(0% 5%, 2% 2%, 5% 5%, 8% 2%, 12% 5%, 15% 1%, 18% 5%, 22% 2%, 25% 6%, 28% 1%, 32% 5%, 35% 2%, 39% 5%, 42% 1%, 45% 5%, 49% 2%, 52% 5%, 55% 1%, 58% 6%, 62% 2%, 65% 5%, 69% 1%, 72% 5%, 75% 2%, 78% 6%, 82% 2%, 85% 5%, 88% 1%, 92% 5%, 95% 2%, 98% 5%, 100% 2%,
            100% 95%, 98% 98%, 95% 95%, 92% 99%, 88% 95%, 85% 98%, 82% 94%, 78% 98%, 75% 95%, 72% 99%, 69% 95%, 65% 98%, 62% 94%, 58% 98%, 55% 95%, 52% 99%, 49% 95%, 45% 98%, 42% 95%, 39% 99%, 35% 95%, 32% 98%, 28% 95%, 25% 99%, 22% 95%, 18% 98%, 15% 95%, 12% 98%, 8% 95%, 5% 99%, 2% 95%, 0% 98%);
    margin: 20px 0 40px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: rotate(1deg);
}

.torn-paper-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.15'/%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

.torn-paper-content {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a3b69;
    text-align: center;
}

.stats-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    width: 100%;
    height: 120px;
    overflow: hidden;
    /* Hide scrollbars for auto-scroll */
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.stats-scroll-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Adjust gap as needed */
    align-items: center;
    animation: scrollVertical 10s linear infinite;
}

@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.stat-item {
    font-family: var(--font-heading);
    color: #a584f2;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
    /* Keep items on single line */
}

.stat-label {
    color: rgba(74, 59, 105, 0.7);
    font-weight: 700;
    font-size: 1.2rem;
    margin-left: 8px;
    font-family: var(--font-body);
}

.btn-join {
    background-color: #f5f0ff;
    color: #a584f2;
    border: none;
    padding: 18px 40px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 5px 20px rgba(165, 132, 242, 0.3);
    width: 100%;
    margin-bottom: 30px;
}

.btn-join:hover {
    transform: translateY(-2px);
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(165, 132, 242, 0.5);
}

.bottom-decoration svg {
    width: 250px;
    height: auto;
    opacity: 0.8;
}

@media (max-width: 380px) {
    .lobster-purple {
        font-size: 1.8rem;
    }

    .heart-icon-circle {
        width: 55px;
        height: 55px;
    }

    .heart-doodle {
        width: 30px;
        height: 30px;
    }

    .torn-paper-content {
        font-size: 0.85rem;
    }

    .btn-join {
        font-size: 1.4rem;
        padding: 15px 30px;
    }
}

/* ========================================= */
/* WHY US SECTION */
/* ========================================= */

.why-us-section {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 50px;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-align: center;
}

.accent-red {
    color: var(--accent-red);
}

.section-subheading {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 320px;
    margin-bottom: 40px;
    line-height: 1.5;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.feature-card {
    border-radius: 25px;
    padding: 30px 25px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 200px;
    overflow: visible;
    color: white;
}

.f-content {
    flex: 1;
    z-index: 2;
    padding-right: 10px;
}

.f-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.1;
}

.f-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.f-visual {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

/* Image Circles */
.img-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
}

.right-overlap .img-circle {
    right: -35px;
    top: 50%;
    transform: translateY(-50%);
}

.right-overlap {
    margin-right: -10px;
}

.left-overlap .img-circle {
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
}

.left-overlap {
    margin-left: -10px;
}

/* Icon Badges */
.icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
    z-index: 5;
    font-size: 1.2rem;
}

.right-overlap .icon-badge {
    left: -10px;
}

.left-overlap .icon-badge {
    right: -10px;
}

/* Reverse Layout for alternate cards */
.reverse-layout {
    flex-direction: row-reverse;
}

.reverse-layout .f-content {
    padding-right: 0;
    padding-left: 20px;
    text-align: right;
}

/* Colors */
.bg-red {
    background-color: #ff6b6b;
}

.bg-purple {
    background-color: #a55eea;
}

.bg-teal {
    background: linear-gradient(135deg, #2bcbba, #26de81);
}

.bg-brown {
    background: #5d4037;
}

.badge-dark {
    background-color: #3e2723;
    color: white;
}

.badge-purple {
    background-color: #4a148c;
    color: white;
}

.badge-teal {
    background-color: #00695c;
    color: white;
}

.badge-brown {
    background-color: #3e2723;
    color: white;
}

@media (max-width: 380px) {
    .feature-card {
        padding: 25px 15px;
    }

    .f-content h3 {
        font-size: 1.3rem;
    }

    .img-circle {
        width: 90px;
        height: 90px;
    }
}

/* ========================================= */
/* HOW TO JOIN SECTION */
/* ========================================= */

.how-to-join-section {
    width: 100%;
    margin-top: 30px;
    background-color: #fff9f0;
    border-radius: 35px;
    padding: 50px 20px 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    color: #4a3b32;
    overflow: hidden;
    transition: transform 0.3s;
}

.join-header {
    position: relative;
    margin-bottom: 25px;
    text-align: center;
}

.sketch-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    line-height: 0.9;
    color: #3d2b1f;
    text-shadow: 2px 2px 0px white;
    -webkit-text-stroke: 1px #3d2b1f;
    -webkit-text-fill-color: white;
    letter-spacing: 1px;
}

.underline-doodle {
    width: 150px;
    height: 20px;
    display: block;
    margin: 5px auto 0 auto;
}

.join-subtext {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #5d4037;
    margin-bottom: 40px;
    /* Reduced from 60px */
    font-weight: 500;
}

/* Featured Step Card */
.step-card-container {
    position: relative;
    width: 100%;
    height: 160px;
    /* Fixed height to accommodate absolute children */
    margin-bottom: 80px;
    /* Increased to account for circles */
}

.step-card {
    background-color: #ff003c;
    color: white;
    width: 100%;
    border-radius: 20px;
    padding: 30px;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
    transform: scale(0.95);
    pointer-events: none;
}

.step-card.active {
    opacity: 1;
    z-index: 10;
    transform: scale(1);
    pointer-events: auto;
}

/* Dynamic Step Backgrounds */
.step-card[data-step="1"] {
    background-color: #1a237e;
}

.step-card[data-step="2"] {
    background-color: #fbc02d;
    color: #3d2b1f;
}

.step-card[data-step="3"] {
    background-color: #ff003c;
}

.step-card[data-step="4"] {
    background-color: #00bfa5;
}

/* Num Circle Active State */
.num-circle {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    filter: grayscale(0.2);
}

.num-circle.active {
    filter: grayscale(0);
    transform: scale(1.2) translateY(-30px) !important;
    /* Pop up */
    z-index: 20 !important;
    border-color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.step-content h3 {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
    max-width: 80%;
}

.step-number-bg {
    position: absolute;
    right: -10px;
    top: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.1);
    font-family: var(--font-heading);
    pointer-events: none;
}

/* Number Circles Track */
.circles-track {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 120%;
    position: absolute;
    bottom: -30px;
    height: 150px;
}

.num-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 -10px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff9f0;
}

.num-circle .num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.num-circle .pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.4;
    z-index: 1;
}

/* Circle Colors & Positions */
.c-1 {
    background-color: #1a237e;
    transform: translateY(10px) rotate(-10deg);
}

.c-2 {
    background-color: #fbc02d;
    transform: translateY(-20px) rotate(5deg);
    z-index: 2;
}

.c-3 {
    background-color: #ff003c;
    width: 120px;
    height: 120px;
    transform: translateY(-40px);
    z-index: 3;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.2);
}

.c-4 {
    background-color: #00bfa5;
    transform: translateY(0px) rotate(10deg);
}

@media (max-width: 380px) {
    .sketch-title {
        font-size: 2.5rem;
    }

    .num-circle {
        width: 80px;
        height: 80px;
    }

    .c-3 {
        width: 100px;
        height: 100px;
    }

    .c-3 {
        width: 100px;
        height: 100px;
    }
}

/* ========================================= */
/* TESTIMONIALS SECTION */
/* ========================================= */

.testimonials-section {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 30px;
}

.glow-heading {
    font-family: var(--font-hand);
    font-size: 2rem;
    color: #ffd700;
    /* Gold */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Carousel Styles */
.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 33.333%;
    /* 3 items visible */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
}

.polaroid {
    background-color: white;
    padding: 10px 10px 30px 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 180px;
    /* Slightly larger for carousel */
    transform-origin: center;
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
    transform: rotate(-2deg);
    /* Subtle default rotation */
}

/* Add some variation to carousel items if desired, or keep uniform */
.carousel-slide:nth-child(even) .polaroid {
    transform: rotate(2deg);
}

.polaroid:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.polaroid-visual {
    width: 100%;
    height: 150px;
    /* Taller visual */
    background-color: #eee;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    filter: sepia(0.2) contrast(1.1);
}

.play-btn {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    font-size: 1rem;
    padding-left: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.polaroid-text {
    text-align: center;
    font-family: var(--font-heading);
    color: #333;
    line-height: 1.2;
}

.polaroid-text strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 2px;
}

.polaroid-text span {
    font-size: 0.7rem;
    color: #666;
    font-family: var(--font-hand);
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #333;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-slide {
        flex: 0 0 50%;
        /* 2 items on tablet */
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        flex: 0 0 100%;
        /* 1 item on mobile */
    }

    .carousel-wrapper {
        padding: 0 30px;
        /* Space for buttons */
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }
}


/* ========================================= */
/* FAQ SECTION */
/* ========================================= */

.faq-section {
    width: 100%;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 60px;
}

.section-heading.white {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.faq-item {
    width: 100%;
    margin-bottom: 15px;
    /* Spacing between items */
}

.faq-question {
    background-color: #d896a6;
    color: #1a1a1a;
    border: none;
    padding: 18px 25px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s, border-radius 0.2s;
    /* Smooth radius change */
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    /* Flex to align text and icon */
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #e6a4b4;
}

/* Open State for Question Button */
.faq-item.active .faq-question {
    background-color: #e6a4b4;
    border-radius: 15px 15px 0 0;
    /* Flat bottom when open */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: rgba(216, 150, 166, 0.2);
    /* Lighter version of the button color */
    border-radius: 0 0 15px 15px;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 25px;
    /* Hidden padding initially */
}

/* Open State for Answer */
.faq-item.active .faq-answer {
    max-height: 200px;
    /* Or enough to fit content */
    padding: 20px 25px;
    border: 1px solid rgba(216, 150, 166, 0.3);
    border-top: none;
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.toggle-icon {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
    /* Turn + to x */
}

.final-squiggle {
    margin-top: 40px;
    opacity: 0.6;
}

@media (max-width: 380px) {
    .polaroid {
        width: 120px;
    }

    .faq-btn {
        font-size: 0.85rem;
        padding: 15px 20px;
    }
}

/* ========================================= */
/* FOOTER CTA SECTION */
/* ========================================= */

.footer-cta-section {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    color: white;
    /* Or slightly off-white '#e0e0e0' */
    margin-bottom: 15px;
}

.footer-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-accent-text {
    font-family: var(--font-heading);
    /* Or distinct serif if desired */
    color: #d896a6;
    /* Pink accent */
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 40px;
}

.btn-footer-signup {
    background-color: #d9d9d9;
    color: #7b5dc6;
    /* Button text purple */
    border: none;
    padding: 15px 50px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 50px;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-footer-signup:hover {
    transform: translateY(-2px);
    background-color: white;
}

.footer-social {
    margin-bottom: 30px;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: background-color 0.2s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 380px) {
    .footer-heading {
        font-size: 2.2rem;
    }
}

/* ========================================= */
/* SIGNUP MODAL */
/* ========================================= */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* Fallback for flex centering */
    margin: 0;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    animation: modalSlideUp 0.4s ease forwards;
}

@keyframes modalSlideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 15px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header h2 {
    font-family: var(--font-heading);
    color: #3d2b1f;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #d896a6;
    outline: none;
}

/* Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 10px;
}

.country-code {
    width: 35% !important;
}

.btn-submit {
    background-color: #d896a6;
    color: white;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #c07a8b;
}

/* Tablet/Desktop Tweaks */
@media (min-width: 600px) {
    .modal-content {
        padding: 40px;
    }
}

/* Video Modal Specifics */
.video-modal-content {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 90vh;
    /* Constrain by height mainly for vertical videos */
    width: auto;
    display: flex;
    justify-content: center;
    position: relative;
    margin: auto;
}

.video-wrapper {
    position: relative;
    width: auto;
    height: auto;
    max-height: 80vh;
    max-width: 90vw;
    background-color: black;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-wrapper video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    /* Ensure no stretching */
    display: block;
}

.video-close {
    color: white;
    right: -40px;
    /* Move outside */
    top: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.2);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    backdrop-filter: blur(4px);
}

.video-close:hover {
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 600px) {
    .video-close {
        right: 0;
        top: -40px;
    }

    .video-wrapper {
        max-width: 95vw;
    }
}

/* Mobile Responsiveness for Hero Title */
@media (max-width: 480px) {
    .hero-title {
        font-size: 38px;
        /* Reduced from 55px */
        line-height: 1.1em;
        letter-spacing: -1px;
    }

    .status-bar {
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .description {
        font-size: 1rem;
    }
}