/* Base & Variables */
:root {
    --bg-main: #F2F7FB; /* Inspired by banner1.jpeg soft blue */
    --bg-alt: #FFFFFF;
    
    --primary: #0284C7; /* Deep Sky Blue */
    --primary-light: #38BDF8; /* Light Sky */
    --secondary: #0EA5E9; /* Bright Blue */
    --accent: #F59E0B; /* Amber/Orange for highlight */
    
    --text-main: #0F172A; /* Dark Slate */
    --text-muted: #475569; /* Medium Slate */
    --text-light: #64748B;
    
    --surface: #FFFFFF;
    --surface-hover: #F8FAFC;
    --surface-border: #E2E8F0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Background Effects */
@keyframes gradientHero {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: floatUp 8s infinite linear;
    filter: blur(2px);
}

.p1 { width: 40px; height: 40px; left: 10%; animation-duration: 6s; }
.p2 { width: 80px; height: 80px; left: 30%; animation-duration: 9s; animation-delay: 2s; opacity: 0.2; }
.p3 { width: 30px; height: 30px; left: 70%; animation-duration: 5s; animation-delay: 1s; }
.p4 { width: 60px; height: 60px; left: 85%; animation-duration: 10s; animation-delay: 3s; opacity: 0.3; }
.p5 { width: 20px; height: 20px; left: 50%; animation-duration: 7s; animation-delay: 0.5s; }

@keyframes floatUp {
    0% { transform: translateY(100vh) scale(0.5); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-20vh) scale(1.5); opacity: 0; }
}

.ocean {
    height: 180px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.wave {
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23F2F7FB" fill-opacity="1" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,144C672,139,768,181,864,197.3C960,213,1056,203,1152,176C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: 1440px 180px;
    position: absolute;
    width: 200%;
    height: 100%;
    bottom: 0;
    transform: translate3d(0, 0, 0);
}

.wave1 {
    animation: wave 4s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    opacity: 1;
    z-index: 4;
}

.wave2 {
    animation: wave 5s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 3s ease -1.25s infinite;
    opacity: 0.6;
    z-index: 3;
    bottom: 10px;
}

.wave3 {
    animation: wave 6s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.25s infinite, swell 4s ease -1.25s infinite;
    opacity: 0.4;
    z-index: 2;
    bottom: 20px;
}

.wave4 {
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -.35s infinite, swell 5s ease -1.25s infinite;
    opacity: 0.2;
    z-index: 1;
    bottom: 30px;
}

@keyframes wave {
    0% { margin-left: 0; }
    100% { margin-left: -1440px; }
}

@keyframes swell {
    0%, 100% { transform: translate3d(0,-15px,0); }
    50% { transform: translate3d(0,10px,0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--primary-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--surface-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
}

.logo-image {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(-45deg, #0284C7, #0EA5E9, #38BDF8, #7DD3FC);
    background-size: 400% 400%;
    animation: gradientHero 5s ease infinite;
    display: flex;
    align-items: center;
    color: white;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 100px;
    display: flex;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    color: white;
}
.hero-subtitle {
    color: #E0F2FE;
}
.stat-item h4 {
    color: #0284C7;
}

.hero .text-gradient {
    background: linear-gradient(135deg, #FFF, #E0F2FE);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 10px #FFFFFF;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--surface-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.stat-item h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--surface-border);
}

/* Hero Visual & Mockup */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-mockup {
    width: 320px;
    height: 650px;
    background: #FFFFFF;
    border-radius: 40px;
    border: 8px solid #F1F5F9;
    box-shadow: 
        0 25px 50px -12px rgba(2, 132, 199, 0.25),
        0 0 0 1px rgba(0,0,0,0.05);
    padding: 24px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.app-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #F1F5F9;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.mockup-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-border);
    overflow: hidden;
}

.mockup-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mockup-icons {
    color: var(--text-main);
    background: #F1F5F9;
    padding: 8px;
    border-radius: 50%;
    display: flex;
}

.mockup-balance {
    margin-bottom: 30px;
}

.mockup-balance p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 4px;
    font-weight: 500;
}

.mockup-balance h2 {
    font-size: 2.2rem;
    color: var(--text-main);
    font-weight: 800;
}

.mockup-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.m-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.m-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.m-action:hover .m-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2);
}

.m-action span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.mockup-transactions {
    background: #F8FAFC;
    border-radius: 24px;
    padding: 20px;
    flex: 1;
    border: 1px solid #E2E8F0;
}

.t-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.t-item:last-child {
    margin-bottom: 0;
}

.t-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-green { background: #D1FAE5; color: #10B981; }
.bg-purple { background: #E0E7FF; color: #6366F1; }

.t-info { flex: 1; }
.t-info p { font-size: 0.875rem; font-weight: 700; color: var(--text-main); }
.t-info span { font-size: 0.75rem; color: var(--text-muted); font-weight: 500;}

.t-amount { font-size: 0.875rem; font-weight: 700; color: var(--text-main); }
.t-amount.positive { color: #10b981; }

.float-card {
    position: absolute;
    background: #FFFFFF;
    border: 1px solid var(--surface-border);
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    z-index: 20;
    animation: float 6s infinite alternate;
}

.float-card.card-1 {
    top: 20%;
    right: -20px;
}

.float-card.card-1 i { color: #10b981; }

.float-card.card-2 {
    bottom: 25%;
    left: -40px;
    animation-delay: -3s;
}

.float-card.card-2 i { color: var(--primary); }

/* Promo Banners Section */
.promo {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.banner-scroll-container {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 24px;
    scrollbar-width: none; /* Firefox */
}

.banner-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.banner-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.promo-banner {
    height: 180px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid var(--surface-border);
    cursor: pointer;
}

.promo-banner:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.15);
}

@media (max-width: 768px) {
    .promo-banner {
        height: 140px;
    }
}

/* Features Section */
.section {
    padding: 100px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #FFFFFF;
    border: 1px solid rgba(2, 132, 199, 0.08);
    padding: 32px;
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 4px;
    background: linear-gradient(90deg, #0EA5E9, #38BDF8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(2, 132, 199, 0.2);
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.12);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.icon-blue { background: #E0F2FE; color: #0284C7; }
.icon-purple { background: #F3E8FF; color: #9333EA; }
.icon-green { background: #D1FAE5; color: #059669; }
.icon-orange { background: #FFEDD5; color: #EA580C; }
.icon-pink { background: #FCE7F3; color: #DB2777; }
.icon-teal { background: #CCFBF1; color: #0D9488; }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-container {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.2);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    color: white;
}
.cta-content .text-gradient {
    background: linear-gradient(135deg, #FFF, #E0F2FE);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-store {
    background: white;
    color: var(--text-main);
    border-radius: 16px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transition: var(--transition);
    text-decoration: none;
}

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

.btn-store i {
    width: 32px;
    height: 32px;
    color: var(--text-main);
}

.btn-store .btn-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-store .btn-text strong {
    display: block;
    font-size: 1.125rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

/* Footer */
.footer {
    border-top: 1px solid var(--surface-border);
    padding: 80px 24px 40px;
    background: #FFFFFF;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 24px 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    border: 1px solid var(--surface-border);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--text-main);
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(-2deg); }
}

/* Reveal Animations */
.hidden-onload {
    opacity: 0;
    transform: translateY(30px);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    animation: fadeUp 0.8s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; transition-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
        padding-bottom: 120px;
    }
    
    .hero-content {
        margin-bottom: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .app-mockup {
        transform: scale(0.85);
        transform-origin: top center;
        margin-bottom: -60px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .stat-divider {
        width: 100%;
        height: 1px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .floating-wa {
        bottom: 90px;
        right: 20px;
    }
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

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