/* ============================================================
   NUTZI APP - LANDING PAGE
   ============================================================ */

:root {
    --primary:        #4a6fa5;
    --primary-dark:   #2d4a6e;
    --primary-darker: #1e3250;
    --primary-light:  #e8eff9;
    --accent:         #e8607a;
    --text:           #2c3e50;
    --text-muted:     #6c757d;
    --white:          #ffffff;
    --bg-light:       #f8f9fc;
    --radius:         16px;
    --shadow:         0 8px 30px rgba(74, 111, 165, 0.12);
    --shadow-lg:      0 20px 60px rgba(74, 111, 165, 0.18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

/* ===== NAVBAR ===== */
#navbar {
    background: transparent;
    transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
    padding-top: 18px;
    padding-bottom: 18px;
}

#navbar.scrolled {
    background: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding-top: 10px;
    padding-bottom: 10px;
}

#navbar .navbar-brand img {
    transition: height 0.3s;
}

#navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: opacity 0.2s;
}

#navbar .nav-link:hover { opacity: 0.8; }

#navbar .btn-outline-light {
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.2s;
}

#navbar .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-dark);
}

/* ===== HERO ===== */
#hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #5b85be 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.07) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content { color: var(--white); }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    padding: 6px 16px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--white);
}

.text-highlight {
    color: #f0c27f;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    max-width: 500px;
}

/* Store buttons */
.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--white);
    border-radius: 14px;
    padding: 12px 22px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.25s;
    backdrop-filter: blur(8px);
}

.btn-store:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-store i {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-store-text small {
    font-size: 0.68rem;
    opacity: 0.8;
    font-weight: 400;
}

.btn-store-text strong {
    font-size: 1rem;
    font-weight: 700;
}

.btn-store-light {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    color: var(--white);
}

.btn-store-light:hover {
    background: rgba(255,255,255,0.25);
    color: var(--white);
}

/* Hero image */
.hero-img-wrapper {
    position: relative;
    display: inline-block;
}

.hero-img {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.hero-badge-float {
    position: absolute;
    background: var(--white);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
}

.hero-badge-float-1 {
    bottom: 30px;
    left: -20px;
}

.hero-badge-float-2 {
    top: 40px;
    right: -10px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* ===== SECTION COMMONS ===== */
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 50px;
}

.section-badge-light {
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.9);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0.5rem auto 0;
    line-height: 1.7;
}

/* ===== FEATURES ===== */
.features-section {
    background: var(--bg-light);
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(74, 111, 165, 0.06);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: background 0.25s;
}

.feature-card:hover .feature-icon-wrap {
    background: var(--primary);
    color: var(--white);
}

.feature-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== ABOUT ===== */
.about-section {
    background: var(--white);
}

.about-img-wrap {
    position: relative;
    display: inline-block;
}

.about-img {
    width: 100%;
    max-width: 380px;
    border-radius: 24px;
    object-fit: cover;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -16px;
    right: -10px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 14px;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 8px 25px rgba(74, 111, 165, 0.4);
}

.about-section .section-title { color: var(--text); }

.about-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    color: var(--text);
}

.about-list-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 0.7rem;
    margin-top: 1px;
}

/* ===== STATS ===== */
.stats-section {
    background: var(--primary-light);
}

.stat-item {
    padding: 24px 16px;
}

.stat-number {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ===== DOWNLOAD ===== */
.download-section {
    background: var(--bg-light);
}

.download-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 24px;
    padding: 56px 48px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.download-card::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 280px;
    height: 280px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.download-card .section-title { color: var(--white); }

.text-white-75 { color: rgba(255,255,255,0.75) !important; }

.app-icon-wrap {
    position: relative;
    z-index: 1;
}

.app-icon {
    width: 140px;
    height: 140px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    background: var(--white);
    padding: 16px;
    object-fit: contain;
}

@media (max-width: 575px) {
    .download-card {
        padding: 36px 24px;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-darker);
}

.footer-link {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--white);
}

.footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 991px) {
    #hero { padding-bottom: 80px; }
    .hero-img { max-width: 320px; aspect-ratio: 1/1; }
    .hero-badge-float { display: none; }
}

@media (max-width: 767px) {
    .about-badge { right: 0; bottom: -20px; font-size: 0.72rem; padding: 10px 14px; }
    .about-img-wrap { margin-bottom: 24px; }
}
