:root {
    --page: #f6f8f4;
    --page-soft: #eef5ec;
    --surface: #ffffff;
    --surface-muted: #edf3e9;
    --ink: #07110d;
    --ink-muted: #68736d;
    --ink-soft: #8a938e;
    --dark: #070b08;
    --dark-2: #111713;
    --dark-3: #1d2520;
    --on-dark: #ffffff;
    --on-dark-muted: rgba(255, 255, 255, 0.72);
    --accent: #a6f20f;
    --accent-pressed: #8bd30b;
    --teal: #00b894;
    --teal-dark: #008b73;
    --deposit: #16c766;
    --withdraw: #e33b45;
    --warning: #f5c518;
    --border: #dfe7dc;
    --border-strong: #c7d2c4;
    --shadow: rgba(7, 17, 13, 0.12);
    --shadow-strong: rgba(7, 17, 13, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(166, 242, 15, 0.18), transparent 28rem),
        linear-gradient(180deg, var(--page) 0%, var(--page-soft) 100%);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
}

img {
    max-width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 5%;
    background: rgba(246, 248, 244, 0.82);
    border-bottom: 1px solid rgba(223, 231, 220, 0.72);
    backdrop-filter: blur(18px);
    transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.navbar.scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 14px 35px rgba(7, 17, 13, 0.08);
}

.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 48px;
}

.logo img,
.footer-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 12px;
    background: var(--dark);
}

.logo img {
    transition: transform 0.25s ease;
}

.logo:hover img {
    transform: translateY(-2px) scale(1.04);
}

.logo-text {
    margin: 0;
    color: var(--ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.btn,
.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn-download:hover {
    transform: translateY(-2px);
}

.btn-text {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border);
    color: var(--ink);
}

.btn-text:hover {
    border-color: var(--teal);
    background: rgba(0, 184, 148, 0.1);
}

.btn-primary,
.btn-download {
    background: var(--accent);
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(166, 242, 15, 0.26);
}

.btn-primary:hover,
.btn-download:hover {
    background: var(--accent-pressed);
    box-shadow: 0 18px 38px rgba(166, 242, 15, 0.34);
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 88px;
    min-height: 92vh;
    padding: 126px 7% 72px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(7, 11, 8, 0.98) 0%, rgba(17, 29, 22, 0.98) 58%, rgba(32, 58, 47, 0.96) 100%),
        var(--dark);
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(166, 242, 15, 0.08), transparent 45%),
        radial-gradient(circle at 72% 18%, rgba(0, 184, 148, 0.22), transparent 24rem);
    pointer-events: none;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2;
}

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

.mobile-logo {
    display: none;
}

.hero-content h1,
.cta h2,
.feature-content h2 {
    margin: 0;
    letter-spacing: 0;
    line-height: 1.08;
}

.hero-content h1 {
    max-width: 680px;
    color: var(--on-dark);
    font-size: clamp(42px, 5.2vw, 74px);
    font-weight: 800;
    animation: slideInLeft 0.85s ease;
}

.hero-content h1::after {
    content: '';
    display: block;
    width: 84px;
    height: 6px;
    margin-top: 24px;
    border-radius: 999px;
    background: var(--accent);
}

.hero-content p {
    max-width: 600px;
    margin: 28px 0 36px;
    color: var(--on-dark-muted);
    font-size: 18px;
    line-height: 1.75;
    animation: slideInLeft 0.85s ease 0.14s backwards;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero .btn-download,
.cta .btn-download {
    min-height: 56px;
    padding: 18px 28px;
    border-radius: 16px;
    font-size: 16px;
}

.hero-image {
    flex: 0 1 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    background: rgba(166, 242, 15, 0.18);
    filter: blur(40px);
}

.hero-image img {
    position: relative;
    width: min(100%, 340px);
    height: auto;
    display: block;
    filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.36));
    animation: slideInRight 0.85s ease 0.1s backwards;
}

.blob {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    opacity: 0.28;
    filter: blur(70px);
}

.blob-teal {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -120px;
    background: var(--teal);
}

.blob-lime {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: -80px;
    background: var(--accent);
}

.features {
    position: relative;
    padding: 110px 20px 80px;
    background: transparent;
}

.feature-card {
    display: flex;
    align-items: center;
    gap: 64px;
    max-width: 1160px;
    margin: 0 auto 72px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 24px 70px rgba(7, 17, 13, 0.08);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-strong);
    box-shadow: 0 32px 90px rgba(7, 17, 13, 0.12);
}

.feature-card.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 0 1 410px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 20%, rgba(166, 242, 15, 0.22), transparent 16rem),
        linear-gradient(180deg, var(--surface-muted), var(--surface));
}

.reverse .feature-image {
    justify-content: center;
}

.feature-image img {
    max-width: 310px;
    height: auto;
    filter: drop-shadow(0 20px 34px rgba(7, 17, 13, 0.18));
    transition: transform 0.35s ease;
}

.feature-card:hover .feature-image img {
    transform: translateY(-6px) scale(1.03);
}

.feature-content {
    flex: 1;
    max-width: 520px;
}

.feature-content h2 {
    position: relative;
    color: var(--ink);
    font-size: 38px;
    font-weight: 800;
}

.feature-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 64px;
    height: 5px;
    border-radius: 999px;
    background: var(--teal);
}

.feature-content p {
    margin: 34px 0 0;
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1.82;
}

.cta {
    position: relative;
    overflow: hidden;
    margin: 20px 5% 0;
    padding: 96px 24px;
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 70% 10%, rgba(166, 242, 15, 0.2), transparent 22rem),
        linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    color: var(--on-dark);
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
}

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

.cta h2 {
    color: var(--on-dark);
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 800;
}

.cta p {
    max-width: 660px;
    margin: 22px auto 34px;
    color: var(--on-dark-muted);
    font-size: 18px;
    line-height: 1.75;
}

footer {
    padding: 54px 5%;
    background: transparent;
}

.footer-content {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.copyright {
    margin: 0;
    color: var(--ink-muted);
    font-size: 14px;
}

.footer-right,
.footer-links,
.social-links {
    display: flex;
    gap: 20px;
}

.footer-links {
    flex-direction: column;
}

.footer-links a,
.social-link {
    color: var(--ink-muted);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.social-link:hover {
    color: var(--teal-dark);
}

.social-link:hover {
    transform: translateY(-2px);
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-34px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(34px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
