:root {
    --primary: #0f766e;
    --primary-dark: #0b5f59;
    --accent: #f97316;
    --bg: #f7fbfa;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --card: #ffffff;
    --radius: 22px;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--dark);
    background: var(--bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 251, 250, 0.90);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #22c55e);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(15, 118, 110, 0.25);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 15px;
}

.btn-primary {
    background: var(--dark);
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #020617;
}

.btn-outline {
    background: #fff;
    color: var(--dark);
    border: 1px solid var(--light-gray);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-menu {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.hero {
    position: relative;
    padding: 88px 0 70px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 620px;
    height: 620px;
    right: -160px;
    top: -180px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.36), transparent 65%);
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    left: -180px;
    bottom: -180px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 65%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 60px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 24px;
}

.badge span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

h1 {
    font-size: clamp(44px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -3px;
    margin-bottom: 26px;
}

.hero p {
    font-size: 20px;
    color: var(--gray);
    max-width: 620px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 34px;
}

.hero-stats {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
    color: var(--gray);
    font-size: 14px;
}

.hero-stats strong {
    display: block;
    color: var(--dark);
    font-size: 24px;
    line-height: 1.2;
}

.dashboard {
    position: relative;
    background: #fff;
    border-radius: 32px;
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf2f7;
}

.window-dots {
    display: flex;
    gap: 7px;
}

.window-dots i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: block;
}

.window-dots i:nth-child(1) { background: #f87171; }
.window-dots i:nth-child(2) { background: #fbbf24; }
.window-dots i:nth-child(3) { background: #34d399; }

.status-pill {
    padding: 8px 12px;
    background: #ecfdf5;
    color: #047857;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.payment-card {
    margin-top: 22px;
    border-radius: 26px;
    padding: 26px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.22), transparent 32%),
        linear-gradient(135deg, #0f766e, #064e3b);
    min-height: 230px;
    position: relative;
    overflow: hidden;
}

.payment-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 35px solid rgba(255, 255, 255, 0.12);
}

.payment-card small {
    opacity: 0.8;
    font-weight: 600;
}

.payment-card h3 {
    margin-top: 20px;
    font-size: 42px;
    letter-spacing: -1px;
}

.payment-card .card-row {
    margin-top: 34px;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.txn-list {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.txn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-radius: 18px;
    background: #f8fafc;
}

.txn-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.txn-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #ecfdf5;
    color: var(--primary);
    font-weight: 800;
}

.txn strong {
    font-size: 14px;
}

.txn span {
    display: block;
    font-size: 12px;
    color: var(--gray);
}

section {
    padding: 86px 0;
}

.section-head {
    max-width: 720px;
    margin-bottom: 42px;
}

.eyebrow {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 12px;
}

h2 {
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.section-head p {
    color: var(--gray);
    font-size: 18px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 16px 50px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.05);
    transition: 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #ecfdf5;
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.feature-card p {
    color: var(--gray);
}

.developer {
    background: #0f172a;
    color: #fff;
    border-radius: 42px;
    padding: 54px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.developer::before {
    content: "";
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    right: -170px;
    top: -160px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 65%);
}

.developer p {
    color: #cbd5e1;
    margin-bottom: 28px;
    font-size: 18px;
}

.code-box {
    position: relative;
    z-index: 2;
    background: #020617;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
}

.code-head {
    height: 46px;
    background: #111827;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 7px;
}

.code-head i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
}

pre {
    padding: 24px;
    overflow-x: auto;
    font-size: 14px;
    color: #d1fae5;
    line-height: 1.7;
}

.keyword { color: #93c5fd; }
.string { color: #fcd34d; }
.comment { color: #64748b; }

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step {
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    margin-bottom: 18px;
}

.step h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.step p {
    color: var(--gray);
    font-size: 15px;
}

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.price-card {
    background: #fff;
    border-radius: 28px;
    padding: 34px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 14px 45px rgba(15, 23, 42, 0.05);
}

.price-card.featured {
    background: var(--dark);
    color: #fff;
    transform: scale(1.03);
}

.price-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price-card p {
    color: var(--gray);
    margin-bottom: 24px;
}

.price-card.featured p {
    color: #cbd5e1;
}

.price {
    font-size: 44px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.price small {
    font-size: 15px;
    color: var(--gray);
}

.price-card.featured .price small {
    color: #cbd5e1;
}

.price-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.price-card li {
    color: #334155;
}

.price-card.featured li {
    color: #e2e8f0;
}

.price-card li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 900;
    margin-right: 10px;
}

.testimonial-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 36px;
    align-items: stretch;
}

.quote-card {
    background: #fff;
    border-radius: 32px;
    padding: 36px;
    box-shadow: var(--shadow);
}

.quote {
    font-size: 24px;
    line-height: 1.45;
    letter-spacing: -0.5px;
    margin-bottom: 28px;
}

.person {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.logos {
    background: #fff;
    border-radius: 32px;
    padding: 36px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.logo-tile {
    height: 88px;
    border-radius: 20px;
    background: #f8fafc;
    display: grid;
    place-items: center;
    color: #64748b;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.cta {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 30%),
        linear-gradient(135deg, #0f766e, #022c22);
    color: #fff;
    border-radius: 42px;
    padding: 64px;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.cta h2 {
    max-width: 780px;
    margin: 0 auto 18px;
}

.cta p {
    color: #d1fae5;
    font-size: 18px;
    max-width: 660px;
    margin: 0 auto 32px;
}

.legal-page {
    padding: 70px 0;
}

.legal-box {
    background: #fff;
    border-radius: 30px;
    padding: 46px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.legal-box h1 {
    font-size: clamp(36px, 4vw, 56px);
}

.legal-box h2 {
    font-size: 26px;
    margin-top: 34px;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.legal-box p,
.legal-box li {
    color: var(--gray);
}

.legal-box ul {
    padding-left: 22px;
}

.notice {
    margin: 24px 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

.info-table th,
.info-table td {
    border: 1px solid #e2e8f0;
    padding: 15px 16px;
    text-align: left;
    vertical-align: top;
}

.info-table th {
    width: 240px;
    background: #f8fafc;
    color: #0f172a;
}

footer {
    padding: 70px 0 36px;
    background: #020617;
    color: #cbd5e1;
    margin-top: 86px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 34px;
    margin-bottom: 50px;
}

footer h4 {
    color: #fff;
    margin-bottom: 16px;
}

footer a {
    display: block;
    color: #94a3b8;
    margin-bottom: 10px;
    font-size: 14px;
}

footer a:hover {
    color: #fff;
}

.footer-brand p {
    margin-top: 16px;
    color: #94a3b8;
    max-width: 340px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    font-size: 14px;
    color: #94a3b8;
}

.floating-card {
    position: absolute;
    right: -20px;
    top: 120px;
    width: 190px;
    background: #fff;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    animation: float 4s ease-in-out infinite;
}

.floating-card strong {
    font-size: 22px;
    display: block;
}

.floating-card span {
    color: var(--gray);
    font-size: 13px;
}

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

@media (max-width: 1100px) {
    .nav-links {
        gap: 14px;
        font-size: 13px;
    }
}

@media (max-width: 980px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-grid,
    .developer,
    .testimonial-wrap {
        grid-template-columns: 1fr;
    }

    .features,
    .pricing {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .price-card.featured {
        transform: none;
    }

    .floating-card {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .hero {
        padding-top: 54px;
    }

    h1 {
        letter-spacing: -2px;
    }

    .dashboard,
    .developer,
    .cta {
        border-radius: 26px;
        padding: 24px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .logos {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .copyright {
        flex-direction: column;
    }

    .legal-box {
        padding: 26px;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
}
