/* ── Variables ── */
:root {
    --yellow: #FFD027;
    --yellow-dark: #F5C518;
    --yellow-light: #FFF4C2;
    --cream: #FAF8F3;
    --black: #1A1A1A;
    --text: #2D2D2D;
    --text-muted: #666;
    --white: #FFFFFF;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-pill: 50px;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.1);
    --transition: 0.3s ease;
}

/* ── Reset ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-yellow {
    background: var(--yellow);
    color: var(--black);
    padding: 12px 28px;
    font-size: 15px;
}

.btn-yellow:hover {
    background: var(--yellow-dark);
}

.btn-black {
    background: var(--black);
    color: var(--white);
    padding: 14px 36px;
    font-size: 16px;
}

.btn-black:hover {
    background: #000;
}

.btn-lg {
    padding: 16px 44px;
    font-size: 16px;
}

/* ── Section titles ── */
.section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--black);
    letter-spacing: 1px;
    margin-bottom: 60px;
}

.pill {
    background: var(--black);
    color: var(--white);
    padding: 4px 18px;
    border-radius: var(--radius-pill);
    display: inline-block;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    transition: box-shadow var(--transition), background var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black);
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--black);
}

.nav-links a:hover::after {
    width: 100%;
}

.refer-btn {
    flex-shrink: 0;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--black);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--cream);
    display: flex;
    align-items: center;
}

.hero-stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 24px;
    opacity: 0.7;
}

.star-1 { top: 18%; left: 8%; width: 20px; }
.star-2 { top: 30%; right: 12%; width: 28px; }
.star-3 { top: 55%; left: 5%; width: 32px; }
.star-4 { bottom: 25%; right: 8%; width: 18px; }
.star-5 { top: 12%; right: 30%; width: 22px; }

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--yellow);
    display: inline;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-blob {
    position: absolute;
    width: 110%;
    max-width: 560px;
    z-index: 1;
    pointer-events: none;
}

.hero-character {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* ── How to Get Started ── */
.how-to-start {
    position: relative;
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.how-to-bg {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    pointer-events: none;
}

.how-to-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.how-to-start .container {
    position: relative;
    z-index: 2;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.step-text h3 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.3;
}

.text-yellow {
    color: var(--yellow);
}

.step-text p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 420px;
    line-height: 1.7;
}

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

.step-image img {
    max-width: 380px;
    width: 100%;
    transition: transform var(--transition);
}

.step-row:hover .step-image img {
    transform: scale(1.04);
}

/* ── Discover ── */
.discover {
    padding: 60px 0;
    background: var(--cream);
}

.discover-card {
    background: var(--yellow);
    border-radius: var(--radius-lg);
    padding: 50px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
    overflow: hidden;
}

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

.discover-phone {
    max-width: 420px;
    width: 100%;
    transform-origin: center center;
}

.discover-content {
    position: relative;
    padding-left: 20px;
}

.discover-arrow {
    position: absolute;
    top: -30px;
    left: -40px;
    width: 120px;
    opacity: 0.8;
    z-index: 1;
}

.discover-content h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

/* ── Features ── */
.features {
    padding: 100px 0;
    background: var(--cream);
}

.features-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: #F3EDE4;
    border-radius: var(--radius-md);
    padding: 24px;
    min-height: 300px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.3;
    z-index: 2;
}

/* Location card — map top, title bottom */
.feature-card--location {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature-card--location .feature-card__media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feature-card--location .feature-card__media img {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.feature-card--location h3 {
    text-align: left;
    padding-top: 8px;
}

/* Stall card — full image, no title */
.feature-card--stall {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EDE8DF;
}

.feature-card--stall .feature-card__media--full {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card--stall .feature-card__media--full img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

/* Refer & Analytics — split layout */
.feature-card__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 12px;
    height: 100%;
    min-height: 252px;
}

.feature-card__split--reverse {
    grid-template-columns: 1fr 1.1fr;
}

.feature-card--refer .feature-card__split h3 {
    align-self: center;
    padding-left: 8px;
}

.feature-card--analytics .feature-card__split h3 {
    align-self: start;
    padding-top: 12px;
    padding-left: 8px;
}

.feature-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card--refer .feature-card__media img {
    max-height: 220px;
    width: 100%;
    object-fit: contain;
}

.feature-card__media--peek {
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}

.feature-card--analytics .feature-card__media--peek img {
    max-height: 260px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: right bottom;
}

/* ── Footer ── */
.footer {
    background: #F5F5F5;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    padding-bottom: 50px;
    align-items: start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

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

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    transition: transform var(--transition), background var(--transition);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    transform: scale(1.1);
    background: var(--yellow-dark);
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
}

.footer-download-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    max-width: 220px;
    font-family: inherit;
    text-decoration: none;
    transition: transform var(--transition), background var(--transition);
}

.store-btn:hover {
    transform: translateY(-2px);
    background: #000;
}

.store-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
}

.store-btn span small {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.8;
}

.copyright-bar {
    background: var(--yellow);
    padding: 14px 24px;
    text-align: center;
}

.copyright-bar p {
    font-size: 13px;
    color: var(--black);
    font-weight: 500;
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: box-shadow var(--transition);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

.whatsapp-float:hover {
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .discover-card {
        padding: 40px;
    }

    .feature-card__split,
    .feature-card__split--reverse {
        grid-template-columns: 1fr;
        min-height: auto;
        text-align: center;
    }

    .feature-card--refer .feature-card__split h3,
    .feature-card--analytics .feature-card__split h3 {
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .mobile-toggle {
        display: flex;
    }

    .refer-btn {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        order: -1;
    }

    .hero-character {
        max-width: 320px;
    }

    .step-row,
    .step-row--text-left,
    .step-row--image-left {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .step-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .step-image img {
        max-width: 280px;
    }

    .discover-card {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        text-align: center;
    }

    .discover-content {
        padding-left: 0;
    }

    .discover-arrow {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .steps-list {
        gap: 40px;
    }
}
