:root {
    --bg: #f9f9fb;
    --text: #121212;
    --muted: #555;
    --white: #fff;
    --blue: #50b2ff;
    --pink: #f6c2f8;
    --yellow: #fde6a6;
    --lilac: #c8c3ff;
    --cta: #50b2ff;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    --primary-dark: #022c22;
    --accent-green: #22c55e;
    --text-white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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

/* --- Navigation --- */
.floating-nav-wrapper {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: 90%;
    max-width: 900px;
}

.nav-header {
    background: var(--primary-dark);
    color: var(--text-white);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.logo {
    font-family: "Fredoka", "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    /* Reset previous styles if any conflict */
}

.logo span {
    color: var(--accent-green);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 8rem 1rem 6rem;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

.wave-1 {
    height: 70%;
    background: #86efac;
    border-top-left-radius: 100% 40%;
    border-top-right-radius: 20% 60%;
}

.wave-2 {
    height: 50%;
    background: #4ade80;
    border-top-left-radius: 30% 90%;
    border-top-right-radius: 100% 20%;
}

.wave-3 {
    height: 35%;
    background: #22c55e;
    border-top-right-radius: 50% 100%;
    border-top-left-radius: 50% 100%;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    color: #064e3b;
    margin-bottom: 1.5rem;
}

.hero-ticks {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-tick-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #065f46;
    font-weight: 600;
}

.hero-form {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 0.35rem 0.35rem 0.35rem 1.25rem;
    width: 100%;
    max-width: 450px;
}

.hero-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.95rem;
    color: #064e3b;
    background: transparent;
    padding: 0.5rem;
}

.hero-submit {
    background: white;
    color: #047857;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

/* --- About Section --- */
.about-section {
    padding: 4rem 2rem;
    background: white;
}

.about-header {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.about-title {
    flex: 1;
    font-size: 2.25rem;
    color: #064e3b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-desc {
    flex: 1.5;
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s;
}

.feature-card-1 {
    background: #10b981;
    color: white;
    transform: rotate(-3deg);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.feature-card-2 {
    background: #fef3c7;
    color: #1e293b;
    transform: rotate(2deg) translateY(-10px);
    box-shadow: 0 10px 15px -3px rgba(251, 191, 36, 0.2);
}

.feature-card-3 {
    background: #bae6fd;
    color: #0284c7;
    transform: rotate(-1deg);
    box-shadow: 0 10px 15px -3px rgba(56, 189, 248, 0.3);
}

.feature-icon-wrapper {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    border-radius: 50%;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

/* --- Steps Section --- */
.steps-section {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.steps-title {
    font-size: 2.25rem;
    color: #111;
    margin-bottom: 2rem;
    font-weight: 700;
}

.step-controls {
    display: inline-flex;
    background: #f3f4f6;
    padding: 0.35rem;
    border-radius: 50px;
    margin-bottom: 3rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.step-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.step-btn.active {
    background: #bae6fd;
    color: #0c4a6e;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 500px;
    /* Changed from fixed height to min-height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card {
    border-radius: 24px;
    width: 100%;
    height: auto;
    /* Allow auto height */
    min-height: 100%;
    display: flex;
    align-items: center;
    padding: 3rem;
    gap: 3rem;
    position: relative;
    z-index: 10;
}

.step-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-text-content {
    flex: 1;
    text-align: left;
}

.phone-mockup {
    width: 240px;
    height: 380px;
    border-radius: 24px;
    transform: rotate(-6deg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-icon-circle {
    width: 50px;
    height: 50px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.25rem;
}

.step-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.step-desc {
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
}

.deco-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    width: 100px;
    height: 90%;
    z-index: 0;
    opacity: 0.8;
}

.deco-left {
    left: -2%;
    border-radius: 24px 0 0 24px;
    background: #10b981;
}

.deco-right {
    right: -2%;
    border-radius: 0 24px 24px 0;
    background: #bae6fd;
}


/* --- Audience & CTA (Reuse existing classes or new ones) --- */
.pill {
    font-size: 2.25rem;
    color: #111;
    font-weight: 700;
    margin-bottom: 2rem;
}

.audience {
    padding: 4rem 2rem;
    text-align: center;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.aud-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cta {
    padding: 6rem 2rem;
    background: #bae6fd;
    text-align: center;
    border-radius: 0;
}

.cta h2 {
    margin-top: 0;
}

.btn.primary {
    display: inline-block;
    background: #111;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
}


/* --- RESPONSIVE QUERIES --- */

/* Tablet & Mobile ( < 768px ) */
@media (max-width: 768px) {
    .floating-nav-wrapper {
        top: 0;
        width: 100%;
        max-width: 100%;
        left: 0;
        transform: none;
    }

    .nav-header {
        border-radius: 0;
        padding: 0.75rem 1rem;
    }

    .hero-section {
        padding-top: 6rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .about-header {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-title {
        font-size: 1.75rem;
    }

    /* Steps as column */
    .step-card {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
        text-align: center;
    }

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

    .step-icon-circle {
        margin: 0 auto 1rem;
    }

    .deco-card {
        display: none;
    }

    /* Hide side decorations on mobile */
}

/* Mobile Small ( < 480px ) */
@media (max-width: 480px) {
    .hero-form {
        flex-direction: column;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 20px;
        padding: 1rem;
    }

    .hero-input {
        width: 100%;
        margin-bottom: 0.5rem;
        text-align: center;
    }

    .hero-submit {
        width: 100%;
    }

    .feature-card {
        transform: none !important;
        /* Remove rotation on mobile stack */
        margin-bottom: 1rem;
    }

    .step-controls {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .step-btn {
        width: 100%;
    }
}