/* ==========================================================================
   GetMoney — Design System & Landing Page
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS VARIABLES ── */
:root {
    --brand-primary:       #00E676;
    --brand-primary-hover: #00C853;
    --brand-secondary:     #2979FF;
    --accent-yellow:       #F59E0B;
    --danger:              #EF4444;

    /* Light Theme */
    --bg-main:       #FFFFFF;
    --bg-secondary:  #F8FAFC;
    --bg-tertiary:   #F1F5F9;
    --text-primary:  #0F172A;
    --text-secondary:#475569;
    --text-muted:    #94A3B8;
    --border-color:  #E2E8F0;

    --glass-bg:     rgba(255,255,255,0.75);
    --glass-border: rgba(255,255,255,0.6);
    --glass-blur:   blur(16px);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.14);

    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   18px;
    --radius-xl:   28px;
    --radius-full: 9999px;

    --transition: 0.25s ease;
    --navbar-h:   70px;
}

[data-theme="dark"] {
    --bg-main:       #0B0F19;
    --bg-secondary:  #111827;
    --bg-tertiary:   #1F2937;
    --text-primary:  #F8FAFC;
    --text-secondary:#CBD5E1;
    --text-muted:    #64748B;
    --border-color:  #1E293B;

    --glass-bg:     rgba(15,20,35,0.82);
    --glass-border: rgba(255,255,255,0.07);

    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
    --shadow-xl: 0 24px 72px rgba(0,0,0,0.6);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ── CONTAINER ── */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── GLASS PANEL ── */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--text-primary); }
.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary), #00b0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: -2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0.7rem 1.5rem;
    white-space: nowrap;
    font-family: inherit;
}
.btn-primary {
    background: var(--brand-primary);
    color: #0B0F19;
    border-color: var(--brand-primary);
}
.btn-primary:hover {
    background: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,230,118,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}
.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ── NAVBAR ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--navbar-h);
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}
.logo i { color: var(--brand-primary); font-size: 1.3rem; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--brand-primary); }
.nav-links .btn { font-size: 0.88rem; padding: 0.5rem 1.1rem; }

/* Hamburguer menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    z-index: 999;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}
.nav-mobile .btn { margin-top: 0.5rem; width: 100%; justify-content: center; }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--navbar-h);
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,230,118,0.08) 0%, transparent 70%),
                radial-gradient(ellipse 60% 50% at 90% 80%, rgba(41,121,255,0.07) 0%, transparent 70%);
}
[data-theme="dark"] .hero {
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,230,118,0.12) 0%, transparent 70%),
                radial-gradient(ellipse 60% 50% at 90% 80%, rgba(41,121,255,0.09) 0%, transparent 70%),
                #0B0F19;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding: 5rem 0 4rem;
}
.hero-text { z-index: 2; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0,230,118,0.12);
    color: var(--brand-primary);
    border: 1px solid rgba(0,230,118,0.25);
    border-radius: var(--radius-full);
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}
.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}
.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.hero-trust i { color: var(--brand-primary); }
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 80px rgba(0,230,118,0.15);
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Floating badges on hero */
.hero-badge {
    position: absolute;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}
.hero-badge.badge-left  { left: -1rem; top: 30%; animation-delay: -2s; }
.hero-badge.badge-right { right: -1rem; bottom: 20%; }
.hero-badge i { color: var(--brand-primary); }

/* ── SECTIONS ── */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-secondary); }
.section-bordered {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* ── HOW IT WORKS ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}
.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    transition: all var(--transition);
    position: relative;
}
.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0,230,118,0.08);
}
.step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), #00b0ff);
    color: #0B0F19;
    font-size: 1.1rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.step-icon {
    font-size: 2rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.step-card p  { color: var(--text-secondary); font-size: 0.92rem; }
.step-connector {
    position: absolute;
    top: 3.5rem;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    opacity: 0.4;
}
.step-card:last-child .step-connector { display: none; }

/* ── FEATURES GRID ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.feature-item {
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.feature-item:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.feature-icon-wrap {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.feature-item h4 { font-size: 1rem; font-weight: 700; }
.feature-item p  { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; }

/* ── SHOWCASE (image + text) ── */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.showcase.reverse { direction: rtl; }
.showcase.reverse > * { direction: ltr; }
.showcase-img img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
}
.showcase-text { display: flex; flex-direction: column; gap: 1.25rem; }
.showcase-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.showcase-text p { color: var(--text-secondary); font-size: 0.95rem; }
.showcase-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.showcase-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}
.showcase-list li i { color: var(--brand-primary); width: 16px; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-main);
    position: relative;
    transition: all var(--transition);
}
.testimonial-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}
.testimonial-quote {
    color: var(--brand-primary);
    font-size: 2.5rem;
    opacity: 0.15;
    position: absolute;
    top: 1rem; right: 1.25rem;
    font-family: serif;
    line-height: 1;
}
.testimonial-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-style: italic;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author h5 { font-size: 0.9rem; margin: 0; }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }
.stars { color: var(--accent-yellow); font-size: 0.75rem; margin-bottom: 0.25rem; }

/* ── STATS ── */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    padding: 4rem 0;
}
.stat-item { text-align: center; }
.stat-item h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--brand-primary);
    letter-spacing: -0.05em;
    margin-bottom: 0.25rem;
}
.stat-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 600;
}

/* ── CTA ── */
.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0,230,118,0.3);
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,230,118,0.06) 0%, transparent 70%);
    max-width: 820px;
    margin: 0 auto;
}
.cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}
.cta-box p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-inline: auto;
    margin-bottom: 2rem;
}

/* ── FOOTER ── */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 0.75rem; max-width: 280px; }
.footer-col h5 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; color: var(--text-muted); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a { color: var(--text-secondary); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--brand-primary); }
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* ── THEME TOGGLE ── */
.theme-toggle-wrapper { position: fixed; bottom: 2rem; right: 2rem; z-index: 1000; }
.theme-toggle-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 48px; height: 48px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    font-size: 1.15rem;
    font-family: inherit;
}
.theme-toggle-btn:hover { transform: scale(1.12); box-shadow: var(--shadow-lg); }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-inner { gap: 2.5rem; }
    .hero-badge { display: none; }
    .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --navbar-h: 62px; }

    /* Navbar mobile */
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }

    /* Hero mobile: single column */
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 0 3rem;
        gap: 2.5rem;
    }
    .hero-text { order: 1; }
    .hero-image { order: 2; }
    .hero-eyebrow { margin-inline: auto; }
    .hero-desc { margin-inline: auto; }
    .hero-actions { justify-content: center; flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 340px; }
    .hero-trust { justify-content: center; }
    .hero-image img { max-width: 320px; }

    /* Steps single column */
    .steps-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .step-connector { display: none; }

    /* Features: 1 column */
    .features-grid { grid-template-columns: 1fr; }

    /* Showcase: stack */
    .showcase, .showcase.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
        text-align: center;
    }
    .showcase-list li { justify-content: center; }

    /* Testimonials: 1 column */
    .testimonials-grid { grid-template-columns: 1fr; }

    /* Stats */
    .stats-row { gap: 2rem; }

    /* Section padding */
    .section { padding: 4rem 0; }
    .section-title { margin-bottom: 2rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-brand p { max-width: 100%; }

    /* CTA */
    .cta-box { padding: 3rem 1.25rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; }
    .btn-lg { font-size: 0.95rem; padding: 0.85rem 1.5rem; }
    .stats-row { flex-direction: column; gap: 1.5rem; }
}
