﻿:root {
    --primary-color: #18c98b;
    --primary-dark: #0b9f6e;
    --primary-soft: rgba(24, 201, 139, 0.16);
    --secondary-color: #1d5868;
    --accent-color: #37e2a5;
    --danger-color: #f04f5f;
    --warning-color: #ffb84d;

    --bg-darker: #05090c;
    --bg-dark: #090f13;
    --bg-panel: #0d151a;
    --bg-card: #101a20;
    --bg-card-hover: #14242c;
    --bg-elevated: #18262e;

    --text-primary: #e8f1f5;
    --text-secondary: #b9cbd3;
    --text-muted: #76909b;

    --border-color: #29404a;
    --border-soft: #20323a;
    --border-strong: #3d5a65;

    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.28);
    --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.38);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 0 1px rgba(24, 201, 139, 0.24), 0 18px 44px rgba(24, 201, 139, 0.16);
    --glow-secondary: 0 0 0 1px rgba(29, 88, 104, 0.36), 0 18px 44px rgba(29, 88, 104, 0.2);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: "IBM Plex Mono", Consolas, monospace;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    --radius-sm: 5px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 18px;

    --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    min-height: 100dvh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 16% 0%, rgba(24, 201, 139, 0.13), transparent 34rem),
        radial-gradient(circle at 88% 12%, rgba(29, 88, 104, 0.22), transparent 30rem),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 42%, var(--bg-darker) 100%);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 86%);
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.08;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 3px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.18), transparent 1px);
    background-size: 100% 3px, 19px 19px;
    mix-blend-mode: screen;
}

body.lightbox-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

h1 { font-size: clamp(2.55rem, 5.8vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
    color: var(--text-primary);
}

:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 1rem;
    z-index: 1300;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-md);
    background: var(--accent-color);
    color: #02130e;
    font-weight: 800;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 1rem;
}

.container {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
}

section {
    position: relative;
    padding: var(--spacing-xl) 0;
}

section:not(.hero):not(.blog-hero):not(.blog-post-header)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-top: 1px solid rgba(41, 64, 74, 0.7);
    background:
        linear-gradient(180deg, rgba(13, 21, 26, 0.92), rgba(9, 15, 19, 0.96)),
        radial-gradient(circle at 90% 0%, rgba(24, 201, 139, 0.06), transparent 28rem);
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: 74px;
    border-bottom: 1px solid rgba(41, 64, 74, 0.75);
    background: rgba(5, 9, 12, 0.86);
    backdrop-filter: blur(18px);
    transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    border-bottom-color: rgba(55, 226, 165, 0.22);
    background: rgba(5, 9, 12, 0.96);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
}

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

.logo,
.logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-primary);
    font-weight: 800;
}

.logo-icon {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    overflow: hidden;
    background: transparent;
    color: transparent;
    font-size: 0;
}

.logo-icon::before {
    content: none;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.logo-text {
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.05rem;
}

.nav-links a:not(.btn) {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 650;
}

.nav-links a:not(.btn):hover,
.nav-links a.active {
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-primary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 9, 12, 0.98);
    backdrop-filter: blur(16px);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a,
.mobile-menu .btn {
    width: 100%;
}

.mobile-menu a:not(.btn) {
    padding: 0.75rem 0.8rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 650;
}

.mobile-menu a:not(.btn):hover {
    border-color: var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
}

.btn {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.1rem;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
}

.btn:active {
    transform: translateY(1px) scale(0.99);
}

.btn-primary {
    border-color: rgba(55, 226, 165, 0.72);
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    color: #04120d;
    box-shadow: 0 12px 26px rgba(24, 201, 139, 0.24);
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #02110c;
    box-shadow: 0 18px 38px rgba(24, 201, 139, 0.3);
}

.btn-secondary {
    border-color: rgba(41, 64, 74, 0.95);
    background: rgba(17, 26, 32, 0.85);
    color: var(--text-primary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(55, 226, 165, 0.55);
    background: rgba(24, 201, 139, 0.1);
    color: var(--text-primary);
}

.btn-large {
    min-height: 52px;
    padding-inline: 1.45rem;
    font-size: 1.05rem;
}

.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 112px;
    padding-bottom: 64px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    background:
        linear-gradient(90deg, rgba(5, 9, 12, 0.98) 0%, rgba(9, 15, 19, 0.88) 48%, rgba(9, 15, 19, 0.68) 100%),
        radial-gradient(circle at 80% 16%, rgba(24, 201, 139, 0.18), transparent 28rem),
        var(--bg-darker);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 35%, rgba(24, 201, 139, 0.13), transparent 24rem),
        radial-gradient(circle at 82% 40%, rgba(29, 88, 104, 0.24), transparent 30rem),
        linear-gradient(180deg, rgba(5, 9, 12, 0.1), rgba(5, 9, 12, 0.92));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.hero-text {
    max-width: 680px;
}

.hero-text::before {
    content: "Windows desktop app for active CS2 buyers";
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-title {
    margin-bottom: 1.2rem;
    max-width: 12.5ch;
    background: linear-gradient(120deg, #ffffff 0%, #e8f1f5 44%, #37e2a5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 62ch;
    margin-bottom: 1.7rem;
    color: var(--text-secondary);
    font-size: clamp(1.03rem, 1.35vw, 1.2rem);
    line-height: 1.65;
}

.hero-subtitle strong {
    color: var(--accent-color);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.7rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.stat {
    min-height: 90px;
    padding: 0.85rem;
    border: 1px solid rgba(41, 64, 74, 0.9);
    border-radius: var(--radius-md);
    background: rgba(13, 21, 26, 0.82);
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.stat-number {
    margin-bottom: 0.2rem;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-image {
    position: relative;
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: -18px -18px auto auto;
    width: 58%;
    height: 44%;
    border: 1px solid rgba(55, 226, 165, 0.18);
    border-radius: var(--radius-xl);
    background: rgba(24, 201, 139, 0.08);
    filter: blur(1px);
    transform: rotate(2deg);
}

.app-screenshot-placeholder {
    position: relative;
}

.screenshot-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(55, 226, 165, 0.22);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--bg-elevated), var(--bg-card));
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.screenshot-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%);
}

.screenshot-header {
    display: flex;
    gap: 8px;
    padding: 0.85rem;
    border-bottom: 1px solid var(--border-color);
    background: #111a20;
}

.dot {
    width: 10px;
    height: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: var(--bg-elevated);
}

.dot:first-child { background: var(--danger-color); }
.dot:nth-child(2) { background: var(--warning-color); }
.dot:nth-child(3) { background: var(--primary-color); }

.screenshot-content {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg-darker);
}

.screenshot-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.js-zoomable {
    cursor: zoom-in;
}

.product-tour,
.supported-apis,
.features,
.benefits,
.how-it-works,
.pricing,
.faq,
.contact {
    background: transparent;
}

.section-header {
    max-width: 780px;
    margin: 0 auto var(--spacing-lg);
    text-align: center;
}

.section-title {
    margin-bottom: 0.85rem;
}

.section-description {
    max-width: 66ch;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.08rem;
}

.section-subtitle {
    margin-bottom: var(--spacing-md);
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.float-buy-callout {
    padding-top: 0;
}

.float-buy-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 2rem;
    align-items: center;
    padding: clamp(1.4rem, 3vw, 2.4rem);
    border: 1px solid rgba(24, 201, 139, 0.46);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(24, 201, 139, 0.12), transparent 56%),
        var(--bg-panel);
    box-shadow: var(--shadow-md);
}

.float-buy-copy .section-title {
    max-width: 25ch;
    margin-bottom: 0.9rem;
    font-size: clamp(1.8rem, 3.1vw, 2.65rem);
}

.float-buy-copy .section-description {
    max-width: 62ch;
    margin-inline: 0;
}

.float-buy-note,
.float-monitoring-note {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.float-buy-note {
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
}

.float-market-list {
    display: grid;
    gap: 0.55rem;
    list-style: none;
}

.float-market-list li {
    display: grid;
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    padding: 0.85rem 0.95rem 0.85rem 2.2rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: rgba(17, 26, 32, 0.76);
}

.float-market-list li::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 0.9rem;
    color: var(--accent-color);
    font-weight: 800;
    transform: translateY(-50%);
}

.float-market-list strong {
    color: var(--text-primary);
    font-size: 0.98rem;
}

.float-market-list span {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: right;
}

.float-monitoring-note {
    max-width: 76ch;
    margin: 0.75rem auto 0;
    text-align: center;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.9rem;
}

.tour-card {
    grid-column: span 4;
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(13, 21, 26, 0.9);
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.tour-card-featured {
    grid-column: span 8;
}

.tour-card:hover {
    transform: translateY(-4px);
    border-color: rgba(55, 226, 165, 0.55);
    background: rgba(17, 26, 32, 0.95);
    box-shadow: var(--glow-primary);
}

.tour-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
    border-bottom: 1px solid var(--border-soft);
    background: var(--bg-darker);
}

.tour-card-featured img {
    aspect-ratio: 16 / 8.6;
}

.tour-card-body {
    padding: 1rem;
}

.tour-card-body h3 {
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.tour-card-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.api-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

.supported-apis {
    position: relative;
    overflow: hidden;
    padding: clamp(3.2rem, 6vw, 5.1rem) 0 clamp(3.4rem, 6vw, 5.2rem);
    border-top: 1px solid rgba(61, 90, 101, 0.36);
    border-bottom: 1px solid rgba(61, 90, 101, 0.28);
    background:
        linear-gradient(90deg, rgba(24, 201, 139, 0.07), transparent 32%, transparent 68%, rgba(29, 88, 104, 0.11)),
        rgba(9, 15, 19, 0.72);
}

.supported-apis::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(55, 226, 165, 0.08), transparent);
    opacity: 0.55;
}

.api-section-header,
.api-logos,
.api-section-footer {
    position: relative;
    z-index: 1;
}

.api-section-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.65rem;
}

.api-section-heading .section-kicker {
    margin-bottom: 0.55rem;
}

.api-section-title {
    max-width: 17ch;
    margin-bottom: 0.55rem;
    color: var(--text-primary);
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.api-section-description {
    max-width: 58ch;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.api-section-meta {
    display: grid;
    gap: 0.45rem;
    min-width: 175px;
    padding: 0.75rem 0 0.75rem 1rem;
    border-left: 1px solid var(--border-strong);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-transform: uppercase;
}

.api-section-meta span:first-child {
    color: var(--text-primary);
}

.api-section-meta i {
    display: inline-block;
    width: 0.42rem;
    height: 0.42rem;
    margin-right: 0.42rem;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(55, 226, 165, 0.1);
    vertical-align: 1px;
}

.api-logo {
    min-height: 78px;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    gap: 0.72rem;
    align-items: center;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(17, 29, 35, 0.92), rgba(13, 21, 26, 0.68));
    color: var(--text-secondary);
    text-align: left;
    transition: transform var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.api-logo:hover {
    transform: translate3d(0, -3px, 0);
    border-color: rgba(55, 226, 165, 0.5);
    background: linear-gradient(135deg, rgba(24, 201, 139, 0.13), rgba(13, 21, 26, 0.78));
    color: var(--text-primary);
}

.api-logo-index {
    align-self: start;
    padding-top: 0.18rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
}

.api-logo-mark {
    display: grid;
    width: 2.45rem;
    height: 2.45rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(55, 226, 165, 0.25);
    border-radius: 0.7rem;
    background: rgba(5, 9, 12, 0.72);
}

.api-logo-mark img,
.api-logo-fallback {
    grid-area: 1 / 1;
}

.api-logo-mark img {
    width: 1.55rem;
    height: 1.55rem;
    object-fit: contain;
}

.api-logo-fallback {
    display: grid;
    width: 1.55rem;
    height: 1.55rem;
    place-items: center;
    border: 1px solid rgba(55, 226, 165, 0.42);
    border-radius: 0.42rem;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
}

.api-logo-fallback[hidden] {
    display: none;
}

.api-logo-copy {
    display: grid;
    min-width: 0;
    gap: 0.08rem;
}

.api-logo-name {
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.api-logo-detail,
.api-logo-domain {
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.69rem;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.api-logo-domain {
    color: rgba(118, 144, 155, 0.72);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.04em;
}

.api-logo-arrow {
    align-self: start;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    opacity: 0.45;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.api-logo:hover .api-logo-arrow {
    transform: translate3d(2px, -2px, 0);
    opacity: 1;
}

.api-section-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.1rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.03em;
}

.api-section-footer a {
    color: var(--accent-color);
    transition: color var(--transition-fast);
}

.api-section-footer a:hover {
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.85rem;
}

.feature-card {
    grid-column: span 4;
    min-height: 202px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.95rem;
    align-content: start;
    padding: 1.15rem;
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius-lg);
    background: rgba(13, 21, 26, 0.9);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:nth-child(3n + 1) { grid-column: span 5; }
.feature-card:nth-child(3n + 2) { grid-column: span 7; border-left-color: var(--accent-color); }
.feature-card:nth-child(3n + 3) { grid-column: span 4; border-left-color: var(--secondary-color); }

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(55, 226, 165, 0.42);
    background: rgba(17, 26, 32, 0.98);
    box-shadow: var(--shadow-md);
}

.feature-icon,
.benefit-icon {
    width: 2.35rem;
    height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.feature-card h3,
.benefit-card h3 {
    margin-bottom: 0.45rem;
    font-size: 1.08rem;
}

.feature-card p,
.benefit-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-footnote {
    max-width: 760px;
    margin: 1rem auto 0;
    padding: 0.8rem 1rem;
    border-left: 3px solid var(--secondary-color);
    border-radius: var(--radius-md);
    background: rgba(24, 201, 139, 0.07);
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.benefit-card {
    min-height: 190px;
    display: grid;
    align-content: start;
    gap: 0.95rem;
    padding: 1.15rem;
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--primary-color);
    border-radius: var(--radius-lg);
    background: rgba(13, 21, 26, 0.86);
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(55, 226, 165, 0.45);
    background: rgba(17, 26, 32, 0.95);
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: rgba(13, 21, 26, 0.9);
}

.step {
    position: relative;
    min-height: 190px;
    padding: 1.15rem;
    border-right: 1px solid var(--border-soft);
    text-align: left;
}

.step:last-child {
    border-right: 0;
}

.step-number {
    width: auto;
    height: auto;
    display: block;
    margin: 0 0 0.75rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
}

.step-number::before {
    content: "0";
}

.step-content h3 {
    margin-bottom: 0.45rem;
    font-size: 1.1rem;
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: minmax(280px, 500px);
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

#features,
#pricing,
#faq,
#contact {
    scroll-margin-top: 96px;
}

.payment-method-legend {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

.payment-method-pill,
.trust-item {
    padding: 0.78rem 0.9rem;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-md);
    background: rgba(13, 21, 26, 0.9);
}

.payment-method-pill.crypto { border-left: 3px solid var(--primary-color); }
.payment-method-pill.fiat { border-left: 3px solid var(--secondary-color); }

.payment-method-label {
    display: block;
    color: var(--text-primary);
    font-weight: 800;
}

.payment-method-description {
    display: block;
    color: var(--text-muted);
    font-size: 0.86rem;
}

.pricing-card {
    position: relative;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    border: 1px solid rgba(55, 226, 165, 0.35);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, rgba(24, 201, 139, 0.08), transparent 22%),
        rgba(13, 21, 26, 0.96);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.popular-badge {
    align-self: flex-start;
    margin-bottom: 0.85rem;
    padding: 0.34rem 0.52rem;
    border: 1px solid rgba(255, 184, 77, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 184, 77, 0.12);
    color: var(--warning-color);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 0.22rem;
    margin-bottom: 1rem;
}

.pricing-price-trial {
    display: grid;
    gap: 0.55rem;
    align-items: start;
    min-height: 106px;
}

.trial-price-line,
.recurring-price-line {
    display: flex;
    align-items: baseline;
    gap: 0.22rem;
}

.trial-price-line .price-period,
.recurring-label {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.trial-price-amount {
    font-size: 2.65rem;
}

.recurring-price {
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1.12rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.recurring-price span {
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.pricing-trial-note {
    min-height: 2.9rem;
    margin: -0.45rem 0 1rem;
    color: var(--text-muted);
    font-size: 0.84rem;
}

.pricing-status {
    max-width: 760px;
    margin: 1rem auto 0;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 184, 77, 0.35);
    border-left: 3px solid var(--warning-color);
    border-radius: var(--radius-md);
    background: rgba(255, 184, 77, 0.08);
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: left;
}

.pricing-status strong {
    color: var(--warning-color);
}

.price-currency,
.price-period,
.price-amount {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.price-currency,
.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-amount {
    color: var(--accent-color);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
}

.pricing-features {
    flex: 1;
    display: grid;
    gap: 0.52rem;
    margin-bottom: 1rem;
    list-style: none;
}

.pricing-features li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pricing-features li::before {
    content: "";
    width: 0.48rem;
    height: 0.48rem;
    margin-top: 0.48rem;
    border-radius: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(24, 201, 139, 0.35);
}

.checkout-header {
    margin-top: 0.35rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.checkout-options {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.btn-gateway {
    width: 100%;
    min-height: 58px;
    justify-content: space-between;
    padding: 0.68rem 0.75rem;
    text-align: left;
}

.btn-gateway:hover {
    transform: translateY(-1px);
}

.btn-gateway[data-unconfigured="true"] {
    opacity: 0.68;
    filter: grayscale(0.25);
}

.btn-gateway:disabled {
    cursor: not-allowed;
    transform: none;
}

.btn-gateway-crypto {
    border-color: rgba(24, 201, 139, 0.55);
    background: rgba(24, 201, 139, 0.14);
    color: var(--text-primary);
}

.btn-gateway-crypto:hover {
    box-shadow: 0 12px 26px rgba(24, 201, 139, 0.22);
}

.btn-gateway-fiat {
    border-color: rgba(29, 88, 104, 0.7);
    background: rgba(29, 88, 104, 0.22);
    color: var(--text-primary);
}

.btn-gateway-fiat:hover {
    box-shadow: 0 12px 26px rgba(29, 88, 104, 0.22);
}

.gateway-main {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.gateway-badge {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
}

.gateway-badge.has-icon .gateway-badge-text {
    display: none;
}

.gateway-badge.crypto { background: rgba(24, 201, 139, 0.2); }
.gateway-badge.fiat { background: rgba(29, 88, 104, 0.3); }

.gateway-badge-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.gateway-copy {
    display: inline-flex;
    flex-direction: column;
    gap: 0.05rem;
}

.gateway-provider {
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.2;
}

.gateway-subtitle {
    color: var(--text-muted);
    font-size: 0.76rem;
    line-height: 1.2;
}

.gateway-action {
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

.trust-item {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 650;
}

.faq-list {
    max-width: 900px;
    display: grid;
    gap: 0.65rem;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: rgba(13, 21, 26, 0.92);
    transition: border-color var(--transition-base), background var(--transition-base);
}

.faq-item:hover,
.faq-item.faq-open {
    border-color: rgba(55, 226, 165, 0.42);
    background: rgba(17, 26, 32, 0.96);
}

.faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 0;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.faq-question span:first-child {
    font-size: 1rem;
    font-weight: 800;
}

.faq-icon {
    width: 1.55rem;
    height: 1.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--accent-color);
    font-family: var(--font-mono);
    transition: transform var(--transition-base), background var(--transition-base);
}

.faq-item.faq-open .faq-icon {
    transform: rotate(45deg);
    background: rgba(24, 201, 139, 0.12);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-answer-content {
    padding: 0 1rem 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 480px);
    justify-content: center;
}

.contact-card {
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    background: rgba(13, 21, 26, 0.92);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.contact-icon {
    display: none;
}

.contact-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.32rem;
}

.contact-card p {
    overflow-wrap: anywhere;
}

.contact-response-note {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid var(--border-color);
    background: #05090c;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    margin-bottom: 0.65rem;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.footer-section p {
    max-width: 30ch;
}

.footer-section a {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.93rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 0.88rem;
    text-align: center;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: none;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.8rem;
    background: rgba(5, 9, 12, 0.94);
    backdrop-filter: blur(8px);
}

.image-lightbox.open {
    display: flex;
}

.image-lightbox-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 1;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-stage {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-darker);
}

.image-lightbox-stage img {
    display: block;
    width: 1400px;
    max-width: none;
    height: auto;
    cursor: zoom-in;
}

.image-lightbox-stage img.zoomed {
    cursor: zoom-out;
}

.image-lightbox-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 0.55s var(--transition-base), transform 0.55s var(--transition-base);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.fade-in,
.animate-fade-in,
.animate-fade-in-delay-1,
.animate-fade-in-delay-2,
.animate-fade-in-delay-3 {
    animation: fadeIn 0.65s var(--transition-base) forwards;
}

.animate-fade-in-delay-1 { animation-delay: 0.12s; opacity: 0; }
.animate-fade-in-delay-2 { animation-delay: 0.22s; opacity: 0; }
.animate-fade-in-delay-3 { animation-delay: 0.32s; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; transform: translate3d(0, 20px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }

@media (max-width: 1080px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-text {
        max-width: 780px;
    }

    .hero-title {
        max-width: 13ch;
    }

    .tour-card-featured,
    .tour-card,
    .feature-card,
    .feature-card:nth-child(3n + 1),
    .feature-card:nth-child(3n + 2),
    .feature-card:nth-child(3n + 3) {
        grid-column: span 6;
    }

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

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

@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4.25rem;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .hero {
        min-height: auto;
        padding-top: 116px;
    }

    .hero-content {
        gap: 2.2rem;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-large {
        width: 100%;
    }

    .hero-stats,
    .features-grid,
    .benefits-grid,
    .steps,
    .tour-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .tour-card-featured,
    .tour-card,
    .feature-card,
    .feature-card:nth-child(3n + 1),
    .feature-card:nth-child(3n + 2),
    .feature-card:nth-child(3n + 3) {
        grid-column: auto;
    }

    .feature-card {
        min-height: auto;
    }

    .step {
        border-right: 0;
        border-bottom: 1px solid var(--border-soft);
    }

    .step:last-child {
        border-bottom: 0;
    }

    .btn-gateway {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }

    .float-buy-panel {
        grid-template-columns: 1fr;
        padding: 1.15rem;
    }

    .float-market-list span {
        max-width: 13ch;
    }

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

@media (max-width: 480px) {
    .container {
        width: min(100% - 1.2rem, 1240px);
    }

    .stat {
        min-height: auto;
    }

    .screenshot-header {
        padding: 0.65rem;
    }

    .contact-card,
    .pricing-card {
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 900px) {
    .api-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .api-section-header {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .api-section-meta {
        display: flex;
        flex-wrap: wrap;
        min-width: 0;
        padding: 0;
        border-left: 0;
    }

    .api-section-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .api-logos {
        grid-template-columns: 1fr;
    }
}


