:root {
    --bg: #0f172a;
    /* slate-900 */
    --bg-2: #0b1220;
    /* darker slate */
    --text: #ffffff;
    --muted: #cbd5e1;
    /* slate-300 */
    --brand: #facc15;
    /* amber-400 */
    --brand-700: #ca8a04;
    /* amber-600 */
    --surface: #111827;
    /* gray-900 */
    --card: #0b1324;
    --border: #1f2937;
    /* gray-800 */
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    position: relative;
    background:
        radial-gradient(1000px 600px at 10% 8%, rgba(34, 197, 94, 0.12), transparent 42%),
        radial-gradient(900px 700px at 92% 12%, rgba(59, 130, 246, 0.10), transparent 44%),
        radial-gradient(700px 500px at 18% 80%, rgba(244, 63, 94, 0.10), transparent 48%),
        linear-gradient(180deg, #0b1220 0%, #0f172a 60%, #0b1220 100%);
}

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

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

.glass-gradient::before,
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0.06) 0%,
            rgba(255, 255, 255, 0.00) 35%,
            rgba(255, 255, 255, 0.08) 58%,
            rgba(255, 255, 255, 0.00) 85%);
    mix-blend-mode: screen;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

/* Extra horizontal + vertical spacing for header */
.site-header .container {
    padding: 10px 24px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    color: var(--muted);
}

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

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

select#langSelect {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 10px;
    border-radius: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn-lg {
    padding: 14px 20px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--brand);
    color: #0f172a;
}

.btn-primary:hover {
    background: var(--brand-700);
    color: #0b1220;
}

.btn-secondary {
    background: transparent;
    color: var(--brand);
    border-color: var(--brand);
}

.btn-secondary:hover {
    background: var(--brand);
    color: #0f172a;
    border-color: var(--brand-700);
}

/* Hero */
.hero {
    padding: 72px 0 36px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    margin: 0 0 12px;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-media img {
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Brands */
.brands {
    padding: 12px 0 24px;
}

.eyebrow {
    color: var(--muted);
    text-align: center;
    margin-bottom: 14px;
}

.brand-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: center;
}

.brand-row img {
    opacity: 0.9;
    filter: saturate(0.9);
}

/* Products */
.products {
    padding: 24px 0 24px;
}

.products h2 {
    margin: 0 0 16px;
}

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

.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.product-card img {
    aspect-ratio: 16/10;
    object-fit: cover;
}

.product-info {
    padding: 14px;
}

.product-info h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
}

.product-info p {
    margin: 0 0 12px;
    color: var(--muted);
}

/* Features */
.features {
    padding: 24px 0 24px;
}

.features h2 {
    margin-bottom: 12px;
}

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

.feature {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.4);
    margin-bottom: 8px;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--brand);
    fill: none;
}

.feature h3 {
    margin: 0 0 6px;
}

.feature p {
    margin: 0;
    color: var(--muted);
}

/* Contact */
.contact {
    padding: 24px 0 48px;
}

.contact-card {
    background: rgba(11, 19, 36, 0.55);
    backdrop-filter: saturate(140%) blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}

.contact-intro {
    color: var(--muted);
    margin-top: 4px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    display: grid;
    gap: 10px;
}

.contact-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.4);
}

.contact-item:hover {
    border-color: var(--brand);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-details .label {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-link {
    color: var(--text);
    font-weight: 600;
}

.contact-email {
    color: var(--brand);
    font-weight: 600;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 18px 0;
    background: rgba(11, 19, 36, 0.6);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--text);
}

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

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

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

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

    /* Hide topbar "Shop" button on tablet and below */
    .site-header .actions a.btn.btn-primary {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .header-content {
        flex-wrap: wrap;
        align-items: center;
    }

    /* Keep logo + nav in one row, move actions to next line */
    .nav {
        width: auto;
        justify-content: flex-start;
    }

    .actions {
        flex-basis: 100%;
        justify-content: flex-end;
        margin-top: 8px;
    }

    .footer-content {
        flex-direction: column;
        gap: 8px;
    }

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

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