:root {
    --bg-body: #0a0b0d;
    --bg-card: #131418;
    --bg-card-hover: #191b20;
    --text-main: #f2f2f0;
    --text-muted: #8b8d93;
    --primary-color: #3b6fe0;
    --primary-hover: #2f5bc4;
    --primary-soft: rgba(59, 111, 224, 0.08);
    --border-color: #222429;
    --navbar-bg: rgba(10, 11, 13, 0.85);
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    line-height: 1.7;
}

a {
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

/* Navbar */
.navbar {
    background-color: var(--navbar-bg) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-main) !important;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    margin: 0 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main) !important;
}

/* Buttons */
.btn {
    border-radius: 6px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: #ffffff;
}

.btn-outline-light {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--bg-card);
    border-color: #3a3d45;
    color: var(--text-main);
}

/* Hero Section */
.hero-section {
    padding: 7rem 0 5rem;
    border-bottom: 1px solid var(--border-color);
}

.hero-eyebrow {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    display: block;
}

.hero-title {
    font-size: 3.25rem;
    line-height: 1.08;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    max-width: 780px;
}

.hero-subtitle {
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

.hero-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.75rem;
    padding: 0.7rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-demo .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
}

.hero-demo strong {
    color: var(--text-main);
    font-weight: 600;
}

/* How it works */
.steps-row {
    counter-reset: step;
}

.step-item {
    position: relative;
    padding-left: 3.25rem;
}

.step-item::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item h5 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.step-item p {
    font-size: 0.92rem;
    margin-bottom: 0;
}

/* Cards (Categories & Products) */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
}

.custom-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    height: 100%;
}

.custom-card:hover {
    border-color: #33363d;
    background-color: var(--bg-card-hover);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 1.25rem 0;
}

.product-price small {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4.5rem 0;
}

.cta-eyebrow {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.8rem;
}

/* Footer */
footer {
    background-color: #060708;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0 !important;
}

footer p {
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-section {
        padding: 4.5rem 0 3.5rem;
    }
}

/* Background image support for cards */
.custom-card-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.custom-card-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 11, 13, 0.95), rgba(10, 11, 13, 0.75));
    z-index: -1;
    transition: opacity 0.3s ease;
}

.custom-card-bg:hover::before {
    background: linear-gradient(to top, rgba(10, 11, 13, 0.9), rgba(10, 11, 13, 0.5));
}

.custom-card-bg * {
    z-index: 2;
    position: relative;
}
