@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Poppins:wght@300;400;500;600&display=swap');

/* Base Variables */
:root {
    --primary-color: #021220;
    --primary-light: #062a4d;
    --text-light: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --accent-color: #00e676; /* Vivid green */
    --accent-hover: #00c853;
    --bg-light: #f9fafb;
    --card-bg: #ffffff;
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset & Global */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); scroll-behavior: smooth; }

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4 { color: var(--primary-color); font-weight: 800; font-family: var(--font-heading); }
a { text-decoration: none; color: inherit; }

/* Variables Classes */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary { background-color: var(--accent-color); color: var(--primary-color); border: 2px solid var(--accent-color); }
.btn-primary:hover { background-color: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,230,118,0.3); }

.btn-outline { background-color: transparent; color: var(--text-light); border: 2px solid var(--text-light); }
.btn-outline:hover { background-color: var(--text-light); color: var(--primary-color); }

.btn-outline-light { background-color: transparent; color: var(--text-light); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-light:hover { border-color: var(--text-light); transform: translateY(-2px); }

.btn-large { padding: 1rem 2.5rem; font-size: 1.125rem; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: rgba(2, 18, 32, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-container { display: flex; align-items: center; justify-content: center; z-index: 1002; flex: 1; }
.logo { height: 105px; object-fit: contain; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    align-items: center;
}

.nav-links a { color: #d1d5db; font-weight: 500; font-size: 0.88rem; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text-light); }
.nav-links a.btn-primary { color: var(--primary-color) !important; font-weight: 700; background-color: var(--accent-color); padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.nav-links a.btn-outline { color: var(--accent-color) !important; padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.nav-links a.btn-outline:hover { color: var(--primary-color) !important; }

/* Hamburger Menu (Mobile) */
.hamburger { display: none; cursor: pointer; z-index: 1001; }
.hamburger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; transition: all 0.3s ease; background-color: var(--text-light); }

/* Hero Section */
.hero {
    background: var(--primary-color);
    color: var(--text-light);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero h1 { font-size: 4.5rem; color: var(--text-light); line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; animation: slideUp 0.8s ease-out; }
.hero p { font-size: 1.25rem; color: #9ca3af; margin-bottom: 2.5rem; font-weight: 300; animation: slideUp 1s ease-out; }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; animation: slideUp 1.2s ease-out; flex-wrap: wrap; }

/* General Sections */
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; }

/* Features */
.features-section { padding: 6rem 5%; background-color: var(--bg-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto; }
.feature-card { background: var(--card-bg); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid #e5e7eb; text-align: center; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: rgba(0,230,118,0.3); }
.feature-card .icon { width: 68px; height: 68px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; background: #f0fdf4; border-radius: 16px; color: var(--accent-color); border: 1px solid rgba(0,230,118,0.15); transition: var(--transition); }
.feature-card:hover .icon { background: rgba(0,230,118,0.12); transform: scale(1.05); }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--primary-color); }
.feature-card p { color: var(--text-muted); }

/* Testimonials */
.testimonials-section { padding: 6rem 5%; background-color: #ffffff; }
.testimonials-container { display: flex; justify-content: center; align-items: center; max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial p { font-size: 1.5rem; font-style: italic; color: var(--text-dark); margin-bottom: 1.5rem; }
.testimonial h4 { color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Forms & Registration */
.register-section { padding: 6rem 5%; background-color: var(--bg-light); text-align: center; border-top: 1px solid #e5e7eb; }
.register-form-container { max-width: 500px; margin: 0 auto; background: var(--card-bg); padding: 3rem; border-radius: 16px; box-shadow: var(--shadow-sm); text-align: left; border: 1px solid #e5e7eb; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-dark); }
.form-control { width: 100%; padding: 0.9rem 1rem; border: 1px solid #d1d5db; border-radius: 8px; font-size: 1rem; transition: var(--transition); background-color: #f9fafb; }
.form-control:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(0,230,118,0.2); background-color: #ffffff; }

/* Footer */
.footer { background-color: var(--primary-color); color: var(--text-light); padding: 4rem 5% 2rem; border-top: 4px solid var(--accent-color); }
.footer-content { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3rem; max-width: 1200px; margin: 0 auto; }
.footer-col { flex: 1; min-width: 250px; }
.footer-logo { height: 65px; margin-bottom: 1rem; }
.footer-col h4 { color: var(--text-light); margin-bottom: 1.5rem; font-size: 1.2rem; position: relative; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 2px; background: var(--accent-color); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: #9ca3af; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,0.1); color: #6b7280; font-size: 0.9rem; }

@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ===== HERO ENHANCEMENTS ===== */

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}
.hero-blob-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(0,230,118,0.1) 0%, transparent 60%);
    top: -200px; right: -200px;
    animation: blobMove 12s ease-in-out infinite;
}
.hero-blob-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,42,77,0.8) 0%, transparent 60%);
    bottom: 0; left: -150px;
    animation: blobMove 16s ease-in-out infinite reverse;
}
.hero-blob-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(0,230,118,0.06) 0%, transparent 60%);
    top: 40%; left: 20%;
    animation: blobMove 20s ease-in-out infinite 5s;
}

@keyframes blobMove {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    25%  { transform: translate(30px, -40px) scale(1.05); }
    50%  { transform: translate(-20px, 30px) scale(0.95); }
    75%  { transform: translate(40px, 20px) scale(1.03); }
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

/* Split layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    text-align: left;
    padding: 0 5%;
    z-index: 10;
}

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

.hero-split .hero-text h1 { font-size: 3.6rem; text-align: left; }
.hero-split .hero-text h1 em { font-style: normal; color: var(--accent-color); }
.hero-split .hero-text > p { text-align: left; }
.hero-split .hero-buttons { justify-content: flex-start; }

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,230,118,0.1);
    border: 1px solid rgba(0,230,118,0.3);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: slideUp 0.6s ease-out;
}

.hero-badge-dot {
    width: 8px; height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

/* Social proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    animation: slideUp 1.4s ease-out;
}
.social-proof-avatars { display: flex; }
.sp-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(2,18,32,0.8);
    margin-left: -8px;
    font-size: 0.65rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sp-avatar:first-child { margin-left: 0; }
.social-proof-text { display: flex; flex-direction: column; gap: 0.1rem; font-size: 0.8rem; }
.social-proof-text .stars { color: #fbbf24; letter-spacing: 1px; }
.social-proof-text span:last-child { color: #9ca3af; }

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
    width: 260px;
    background: #0d1f33;
    border-radius: 32px;
    padding: 12px;
    box-shadow:
        0 0 0 2px rgba(255,255,255,0.08),
        0 40px 80px rgba(0,0,0,0.5),
        0 0 80px rgba(0,230,118,0.08);
    animation: floatPhone 6s ease-in-out infinite;
    position: relative;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-14px) rotate(-2deg); }
}

.phone-notch {
    width: 80px; height: 18px;
    background: #081524;
    border-radius: 10px;
    margin: 0 auto 10px;
}

.phone-screen {
    background: linear-gradient(160deg, #0a1929 0%, #0d2137 100%);
    border-radius: 22px;
    padding: 14px;
    overflow: hidden;
}

.app-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.app-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-color), #00c853); flex-shrink: 0; }
.app-greeting { font-size: 0.78rem; color: white; font-weight: 700; }
.app-subtext { font-size: 0.62rem; color: #6b7280; }

.app-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
}
.app-card-label { font-size: 0.58rem; color: var(--accent-color); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; font-weight: 700; }
.app-card-name { font-size: 0.82rem; color: white; font-weight: 700; margin-bottom: 8px; }
.app-progress-track { height: 5px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.app-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #00c853);
    border-radius: 3px;
    animation: progressFill 2s ease-out 0.5s both;
}
@keyframes progressFill { from { width: 0 !important; } }
.app-progress-text { font-size: 0.58rem; color: #9ca3af; text-align: right; }

.app-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.app-metric { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 7px 5px; text-align: center; }
.app-metric-val { font-size: 0.82rem; font-weight: 800; color: white; line-height: 1.2; }
.app-metric-val span { font-size: 0.58rem; color: #9ca3af; font-weight: 400; }
.app-metric-lab { font-size: 0.52rem; color: #6b7280; margin-top: 1px; }
.app-metric-green .app-metric-val { color: var(--accent-color); }

.chart-label { font-size: 0.58rem; color: #9ca3af; margin-bottom: 6px; }
.chart-bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.chart-bar { flex: 1; background: rgba(0,230,118,0.18); border-radius: 2px 2px 0 0; }
.chart-bar.active { background: var(--accent-color); }

/* Floating badges */
.float-badge {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    z-index: 20;
}
.float-badge-1 { top: 10px; right: -10px; animation: floatBadge 5s ease-in-out infinite; }
.float-badge-2 { bottom: 50px; left: -20px; animation: floatBadge 5s ease-in-out infinite 2.5s; }
@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== WAVE TRANSITION ===== */
.wave-dark-to-light { background: #021220; line-height: 0; margin-top: -2px; margin-bottom: -2px; overflow: hidden; }
.wave-dark-to-light svg { display: block; width: 100%; }

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--primary-color);
    padding: 3.5rem 5%;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.stat-item {
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.stat-item:last-child { border-right: none; }
.stat-number-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    margin-bottom: 0.5rem;
    line-height: 1;
}
.stat-number { font-size: 2.8rem; font-weight: 800; color: var(--accent-color); line-height: 1; }
.stat-suffix { font-size: 2rem; font-weight: 800; color: var(--accent-color); line-height: 1.2; }
.stat-label { color: #9ca3af; font-size: 0.82rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.12s; }
.animate-on-scroll.delay-2 { transition-delay: 0.24s; }
.animate-on-scroll.delay-3 { transition-delay: 0.36s; }

/* ===== TESTIMONIALS GRID ===== */
.testimonials-section { background: #ffffff; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.testimonial-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem; right: 1.5rem;
    font-size: 5rem;
    color: rgba(0,230,118,0.15);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.testimonial-stars { color: #fbbf24; font-size: 0.95rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.95rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.88rem; color: var(--text-dark); font-weight: 700; }
.testimonial-author span { font-size: 0.76rem; color: var(--text-muted); }

/* ===== HOW IT WORKS STEPS ===== */
.section-subtitle-text {
    text-align: center;
    color: var(--text-muted);
    margin-top: -1rem;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.step-item { text-align: center; padding: 1.5rem 1rem; position: relative; z-index: 1; }
.step-number {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 8px rgba(0,230,118,0.12);
}
.step-item h3 { color: var(--primary-color); margin-bottom: 0.75rem; font-size: 1.05rem; }
.step-item p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

/* ===== REGISTER SPLIT ===== */
.register-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
    text-align: left;
}
.register-benefits h3 { font-size: 1.4rem; margin-bottom: 1.75rem; color: var(--primary-color); }
.benefit-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.25rem; }
.benefit-icon {
    width: 36px; height: 36px;
    background: rgba(0,230,118,0.08);
    border: 1px solid rgba(0,230,118,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.benefit-text strong { display: block; font-size: 0.92rem; color: var(--text-dark); font-weight: 700; margin-bottom: 0.15rem; }
.benefit-text span { font-size: 0.83rem; color: var(--text-muted); }

/* Connecting dashed line between steps (desktop) */
@media (min-width: 901px) {
    .steps-grid::before {
        content: '';
        position: absolute;
        top: 31px;
        left: 15%;
        right: 15%;
        height: 2px;
        background: repeating-linear-gradient(
            90deg,
            rgba(0,230,118,0.4) 0px, rgba(0,230,118,0.4) 8px,
            transparent 8px, transparent 18px
        );
        z-index: 0;
    }
}

@media (max-width: 900px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed; left: -100%; top: 0; flex-direction: column; background: var(--primary-color);
        width: 100%; height: 100vh; justify-content: center; align-items: center; transition: 0.4s;
    }
    .nav-links.active { left: 0; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .hero h1 { font-size: 3rem; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .btn-large { width: 100%; }
}

@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-split .hero-text h1 { text-align: center; font-size: 2.6rem; }
    .hero-split .hero-text > p { text-align: center; }
    .hero-split .hero-buttons { justify-content: center; }
    .hero-social-proof { justify-content: center; }
    .hero-visual { display: none; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .stat-item:last-child { border-bottom: none; }
    .register-split { grid-template-columns: 1fr; gap: 2rem; }
    .register-benefits { text-align: center; }
    .benefit-item { text-align: left; }
}
