:root {
    --bg: #020617;
    --bg-elevated: rgba(15, 23, 42, 0.9);
    --bg-elevated-soft: rgba(15, 23, 42, 0.7);
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.2);
    --accent-strong: #22c55e;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --text-soft: #6b7280;
    --border-subtle: rgba(148, 163, 184, 0.3);
    --radius-lg: 18px;
    --radius-xl: 24px;
    --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.8);
    --blur-backdrop: 18px;
    --transition-fast: 0.18s ease-out;
    --transition-mid: 0.22s ease-out;
}

/* RESET */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.09), transparent 55%),
        var(--bg);
    color: var(--text-main);
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* LAYOUT */

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 16px 32px;
}

@media (min-width: 1024px) {
    .page {
        padding: 24px 24px 40px;
    }
}

/* HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.72));
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.header__left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 4px;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.logo__accent {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
    background: linear-gradient(120deg, #38bdf8, #22c55e);
    -webkit-background-clip: text;
    color: transparent;
}

.logo__sub {
    font-size: 13px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.nav {
    display: none;
    gap: 16px;
    font-size: 13px;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav__link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: color var(--transition-fast), border-color var(--transition-fast),
    background-color var(--transition-fast), transform var(--transition-fast);
}

.nav__link:hover {
    color: var(--text-main);
    border-color: rgba(148, 163, 184, 0.8);
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-1px);
}

/* BUTTONS */

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: #0b1120;
    background: linear-gradient(120deg, #38bdf8, #22c55e);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
    white-space: nowrap;
}

.primary-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 16px 40px rgba(56, 189, 248, 0.5);
}

.primary-btn--ghost {
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    border: 1px solid rgba(148, 163, 184, 0.5);
    box-shadow: none;
}

.primary-btn--ghost:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(148, 163, 184, 0.9);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.9);
}

.ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.ghost-btn:hover {
    background: rgba(15, 23, 42, 1);
    border-color: rgba(148, 163, 184, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.9);
}

/* HERO */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.6fr);
    gap: 24px;
    margin: 28px 0 40px;
    align-items: center;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

.hero__content {
    padding: 18px 20px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.8);
    color: var(--text-soft);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.hero__title {
    font-family: "Space Grotesk", system-ui, sans-serif;
    font-size: clamp(30px, 4vw, 40px);
    line-height: 1.05;
    margin: 0 0 12px;
}

.hero__gradient {
    display: block;
    background: linear-gradient(120deg, #38bdf8, #22c55e, #a855f7);
    -webkit-background-clip: text;
    color: transparent;
}

.hero__subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-stat {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.75);
}

.hero-stat__value {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

.hero-stat__label {
    display: block;
    font-size: 11px;
    color: var(--text-soft);
}

/* HERO CARD */

.hero__card {
    position: relative;
    border-radius: 24px;
    padding: 18px 18px 20px;
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.5);
    overflow: hidden;
    backdrop-filter: blur(var(--blur-backdrop));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border: 1px solid rgba(34, 197, 94, 0.8);
}

.hero-badge--top {
    background: rgba(22, 163, 74, 0.18);
    color: #bbf7d0;
}

.hero-card__title {
    margin-top: 16px;
    font-size: 18px;
    font-weight: 600;
}

.hero-card__chips {
    margin: 10px 0 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-card__price-line {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-card__price {
    font-size: 18px;
    font-weight: 600;
    color: #e0f2fe;
}

.hero-card__link {
    display: inline-flex;
    align-items: center;
    margin-top: 12px;
    font-size: 13px;
    color: #bae6fd;
    text-decoration: none;
    border-bottom: 1px dashed rgba(191, 219, 254, 0.8);
    padding-bottom: 2px;
    transition: color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.hero-card__link:hover {
    color: #e0f2fe;
    border-color: #e0f2fe;
    transform: translateY(-1px);
}

.hero-card__blur {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.9;
}

.hero-card__blur--1 {
    width: 120px;
    height: 120px;
    background: rgba(56, 189, 248, 0.6);
    top: -40px;
    right: -40px;
}

.hero-card__blur--2 {
    width: 140px;
    height: 140px;
    background: rgba(59, 130, 246, 0.5);
    bottom: -70px;
    left: -40px;
}

/* CHIP */

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.9);
}

.chip--filter {
    cursor: pointer;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 999px;
    transition: background-color var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.chip--filter:hover {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(148, 163, 184, 0.9);
    color: var(--text-main);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.9);
}

.chip--active {
    background: rgba(37, 99, 235, 0.2);
    border-color: rgba(59, 130, 246, 0.9);
    color: #dbeafe;
}

/* SECTIONS */

.section-title {
    font-size: 22px;
    margin: 0 0 4px;
}

.section-subtitle {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* CATALOG */

.catalog {
    margin-bottom: 40px;
}

.catalog__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
}

.catalog__controls {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .catalog__controls {
        flex-direction: column;
        gap: 12px;
    }
}

.catalog__search-wrap {
    width: 100%;
}

.catalog__search {
    width: 100%;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.85);
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background-color var(--transition-fast), transform var(--transition-fast);
}

.catalog__search::placeholder {
    color: var(--text-soft);
}

.catalog__search:focus {
    border-color: rgba(59, 130, 246, 0.9);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.9), 0 18px 40px rgba(15, 23, 42, 0.9);
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}

.catalog__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.catalog__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 auto;
}

.catalog__sort {
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog__sort-label {
    font-size: 12px;
    color: var(--text-soft);
}

.catalog__sort-select {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
    color: var(--text-main);
    font-size: 12px;
    outline: none;
}

/* TOGGLE */

.toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-soft);
}

.toggle__track {
    position: relative;
    width: 34px;
    height: 18px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.7);
    display: inline-flex;
    align-items: center;
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.toggle__thumb {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #e5e7eb;
    left: 2px;
    transition: transform var(--transition-fast), background-color var(--transition-fast),
    box-shadow var(--transition-fast);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.8);
}

.toggle input {
    display: none;
}

.toggle input:checked + .toggle__track {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.9);
}

.toggle input:checked + .toggle__track .toggle__thumb {
    transform: translateX(16px);
    background: #bbf7d0;
}

/* PRODUCTS GRID */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.08), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.08), transparent 55%),
    rgba(15, 23, 42, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 10px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform var(--transition-mid), box-shadow var(--transition-mid),
    border-color var(--transition-mid), background-color var(--transition-mid);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.9);
    border-color: rgba(59, 130, 246, 0.7);
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.16), transparent 55%),
    rgba(15, 23, 42, 0.98);
}

.product-card__image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
    margin-bottom: 10px;
}

.product-card__image {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: 8px;
    transition: transform var(--transition-mid), filter var(--transition-mid);
}

.product-card:hover .product-card__image {
    transform: scale(1.03);
    filter: saturate(1.08);
}

.product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(234, 179, 8, 0.92);
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(234, 179, 8, 0.45);
}

.product-card__category {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    background: rgba(15, 23, 42, 0.88);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.7);
}

.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card__title {
    margin: 0;
    font-size: 15px;
}

.product-card__desc {
    margin: 0;
    font-size: 12px;
    color: var(--text-soft);
    max-height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-card__bottom {
    margin-top: 6px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.product-card__price-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card__price {
    font-size: 16px;
    font-weight: 600;
}

.product-card__note {
    font-size: 11px;
    color: var(--text-soft);
}

.product-card__btn {
    font-size: 11px;
    padding-inline: 12px;
    flex-shrink: 0;
}

/* EMPTY STATE */

.empty-state {
    margin-top: 24px;
    padding: 18px 16px;
    border-radius: 18px;
    border: 1px dashed rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.9);
    text-align: left;
}

.empty-state__title {
    margin: 0 0 4px;
    font-weight: 600;
}

.empty-state__text {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* HOW */

.how {
    margin-bottom: 40px;
}

.how__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.step-card {
    position: relative;
    padding: 14px 14px 14px 40px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: var(--bg-elevated-soft);
    backdrop-filter: blur(var(--blur-backdrop));
}

.step-card__num {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: var(--text-soft);
}

.step-card__title {
    margin: 0 0 4px;
    font-size: 14px;
}

.step-card__text {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ */

.faq {
    margin-bottom: 32px;
}

.faq__grid {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.faq-item {
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.9);
    padding: 8px 10px;
}

.faq-item__summary {
    list-style: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    position: relative;
}

.faq-item__summary::marker,
.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__summary::after {
    content: "＋";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 12px;
    color: var(--text-soft);
}

.faq-item[open] .faq-item__summary::after {
    content: "−";
}

.faq-item__text {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* FOOTER */

.footer {
    border-top: 1px solid rgba(15, 23, 42, 0.9);
    margin-top: 24px;
    padding-top: 18px;
    color: var(--text-muted);
    font-size: 12px;
}

.footer__main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .footer__main {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer__logo {
    margin-bottom: 4px;
}

.footer__text {
    margin: 0;
    max-width: 260px;
}

.footer__cols {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col__title {
    margin: 0 0 6px;
    font-size: 12px;
    color: var(--text-main);
}

.footer-col__link {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 4px;
}

.footer-col__link:hover {
    color: var(--text-main);
}

.footer-col__tag {
    font-size: 11px;
    color: var(--text-soft);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(15, 23, 42, 1);
    padding-top: 10px;
}

.footer__badge {
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.9);
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1f2937;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5563;
}
