:root {
    --lp-primary: #6366f1;
    --lp-primary-dark: #4f46e5;
    --lp-accent: #8b5cf6;
    --lp-dark: #0f172a;
    --lp-text: #1e293b;
    --lp-muted: #64748b;
    --lp-light: #f8fafc;
    --lp-border: #e2e8f0;
    --lp-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --lp-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
    --lp-radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.landing-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--lp-text);
    background: #fff;
    overflow-x: hidden;
}

/* ── Navigation ── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.35s ease;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgb(0 0 0 / 0.08);
    padding: 0.65rem 0;
}

.landing-nav.scrolled .nav-link { color: var(--lp-text); }
.landing-nav.scrolled .nav-brand { color: var(--lp-dark); }
.landing-nav.scrolled .nav-toggle span { background: var(--lp-dark); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.brand-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-gradient);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.25s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.landing-nav.scrolled .nav-link:hover,
.landing-nav.scrolled .nav-link.active {
    color: var(--lp-primary);
    background: rgba(99, 102, 241, 0.08);
}

.btn-nav-signin {
    margin-left: 0.5rem;
    padding: 0.55rem 1.35rem;
    background: #fff;
    color: var(--lp-primary-dark) !important;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s;
    box-shadow: 0 4px 14px rgb(0 0 0 / 0.12);
}

.btn-nav-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.18);
    color: var(--lp-primary-dark) !important;
}

.landing-nav.scrolled .btn-nav-signin {
    background: var(--lp-gradient);
    color: #fff !important;
}

.landing-nav.scrolled .btn-nav-signin:hover {
    color: #fff !important;
    opacity: 0.95;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--lp-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(99, 102, 241, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 60% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-hero-primary {
    padding: 0.85rem 1.75rem;
    background: var(--lp-gradient);
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.btn-hero-outline {
    padding: 0.85rem 1.75rem;
    background: transparent;
    color: #fff;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.hero-stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Hero visual cards */
.hero-visual {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
}

.hero-card-stack {
    position: relative;
    height: 420px;
    max-width: 400px;
    margin: 0 auto;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: var(--lp-radius);
    padding: 1.25rem;
    box-shadow: var(--lp-shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.card-wallet {
    top: 0;
    left: 0;
    width: 220px;
    animation-delay: 0s;
}

.card-qr {
    top: 120px;
    right: 0;
    width: 160px;
    text-align: center;
    animation-delay: -2s;
}

.card-reward {
    bottom: 20px;
    left: 40px;
    width: 240px;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.fc-header {
    font-size: 0.8rem;
    color: var(--lp-muted);
    margin-bottom: 0.35rem;
}

.fc-header i { color: var(--lp-primary); margin-right: 0.35rem; }

.fc-points {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--lp-dark);
}

.fc-points small { font-size: 0.9rem; font-weight: 600; color: var(--lp-muted); }

.fc-tier {
    font-size: 0.85rem;
    color: var(--lp-muted);
    margin-top: 0.25rem;
}

.tier-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.35rem;
}

.tier-dot.gold { background: #f59e0b; }

.fc-qr-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    background: var(--lp-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--lp-primary);
}

.fc-label { font-weight: 600; font-size: 0.9rem; color: var(--lp-dark); }

.fc-reward {
    font-weight: 700;
    color: var(--lp-primary-dark);
    font-size: 1.05rem;
}

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

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

/* ── Sections ── */
.section {
    padding: 5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lp-primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--lp-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--lp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-text {
    color: var(--lp-muted);
    line-height: 1.75;
    font-size: 1.05rem;
}

.section-subtitle {
    color: var(--lp-muted);
    max-width: 560px;
    font-size: 1.05rem;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--lp-text);
    font-weight: 500;
}

.about-list i { color: #22c55e; }

.about-visual {
    display: grid;
    gap: 1rem;
}

.about-card {
    background: var(--lp-light);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 1.5rem;
    transition: all 0.3s;
}

.about-card:hover {
    transform: translateX(8px);
    box-shadow: var(--lp-shadow);
}

.about-card.accent {
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.08) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.about-icon {
    width: 44px;
    height: 44px;
    background: var(--lp-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.about-card h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.about-card p {
    color: var(--lp-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Services */
.services-section {
    background: var(--lp-light);
}

.service-card {
    background: #fff;
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius);
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: all 0.35s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lp-shadow);
    border-color: transparent;
}

.service-card.featured {
    border: 2px solid var(--lp-primary);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--lp-gradient);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
}

.service-icon.customer { background: rgba(99, 102, 241, 0.12); color: var(--lp-primary); }
.service-icon.merchant { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.service-icon.platform { background: rgba(168, 85, 247, 0.12); color: #9333ea; }

.service-card h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: var(--lp-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--lp-text);
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--lp-primary);
    font-weight: 700;
}

.service-link {
    color: var(--lp-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: gap 0.2s;
}

.service-link:hover { color: var(--lp-primary-dark); }
.service-link i { margin-left: 0.35rem; transition: transform 0.2s; }
.service-link:hover i { transform: translateX(4px); }

.step-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: var(--lp-radius);
    border: 1px solid var(--lp-border);
    height: 100%;
}

.step-num {
    width: 40px;
    height: 40px;
    background: var(--lp-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.step-card h6 {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

/* Contact */
.contact-section {
    background: #fff;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lp-primary);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.contact-item p {
    color: var(--lp-muted);
    margin: 0;
    font-size: 0.95rem;
}

.contact-form-card {
    background: var(--lp-light);
    border: 1px solid var(--lp-border);
    border-radius: 20px;
    padding: 2rem;
}

.contact-form .form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--lp-text);
}

.contact-form .form-control {
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form .form-control:focus {
    border-color: var(--lp-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.btn-contact-submit {
    padding: 0.85rem 2rem;
    background: var(--lp-gradient);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    transition: all 0.3s;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    color: #fff;
}

/* Footer */
.landing-footer {
    background: var(--lp-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-auth {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-footer-signin {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-footer-signin:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-footer-register {
    padding: 0.5rem 1.25rem;
    background: var(--lp-gradient);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-footer-register:hover {
    opacity: 0.9;
    color: #fff;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Mobile ── */
@media (max-width: 991.98px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85vw);
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 5rem 1.5rem 2rem;
        gap: 0.25rem;
        box-shadow: -10px 0 40px rgb(0 0 0 / 0.15);
        transition: right 0.35s ease;
    }

    .nav-menu.open { right: 0; }

    .nav-link {
        color: var(--lp-text);
        padding: 0.85rem 1rem;
        border-radius: 10px;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(99, 102, 241, 0.08);
        color: var(--lp-primary);
    }

    .btn-nav-signin {
        margin: 1rem 0 0;
        text-align: center;
        background: var(--lp-gradient);
        color: #fff !important;
    }

    .hero-visual { display: none; }

    .hero-content { text-align: center; padding-top: 6rem; }

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

    .hero-actions { justify-content: center; }

    .hero-stats { justify-content: center; }

    .footer-links { justify-content: flex-start; margin: 1rem 0; }

    .footer-auth { justify-content: flex-start; }
}

@media (max-width: 575.98px) {
    .hero-actions { flex-direction: column; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; text-align: center; }
}
