:root {
    /* Colors */
    --bg: #070b12;
    --fg: #e9eef7;
    --brand: #1e88ff;
    --brand-glow: rgba(30, 136, 255, 0.18);
    --success: #2bb673;
    --success-glow: rgba(43, 182, 115, 0.12);
    --muted: rgba(233, 238, 247, 0.6);
    --glass-bg: rgba(10, 14, 22, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Transitions & Shadows */
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --radius-lg: 20px;
    --radius-md: 12px;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #070b12;
    background-image: url('../DSilikon/background111.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    color: var(--fg);
    font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* Layout Components */
.container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }
}

/* Global Background Effects */
.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 15% 15%, var(--brand-glow), transparent 60%),
        radial-gradient(circle at 85% 25%, var(--success-glow), transparent 60%),
        rgba(7, 11, 18, 0.1);
    /* Reduced opacity for better background visibility */
    pointer-events: none;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 11, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

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

.brand__logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.brand__name {
    font-weight: 800;
    font-size: 1.1rem;
}

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

.nav__link {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav__link:hover,
.nav__link.is-active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--brand);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
}

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

.btn--primary {
    background: var(--brand);
    color: white;
    box-shadow: 0 10px 20px rgba(30, 136, 255, 0.2);
}

.btn--whatsapp {
    background: var(--success);
    color: white;
    box-shadow: 0 10px 20px rgba(43, 182, 115, 0.2);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--glass-border);
    color: white !important;
}

.btn--sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* Glass Card */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg), inset 0 0 20px rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

/* Product Cards Grid System */
.grid {
    display: grid !important;
    gap: 30px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

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

.grid--3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1100px) {
    .grid--3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 650px) {

    .grid,
    .grid--2,
    .grid--3 {
        grid-template-columns: 1fr !important;
    }
}

/* Base Card Component */
.card {
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    border-color: var(--brand);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.card__media {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.card__code {
    font-size: 0.7rem;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.card__title {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, var(--muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card__text {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Info Toggle State */
.card__info-content {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 5;
    background: rgba(7, 11, 18, 0.98);
    padding: 24px;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #fff;
    white-space: pre-line;
    overflow-y: auto;
}

.card--info .card__info-content {
    display: block;
}

.card--info .card__media img {
    opacity: 0;
}

/* Form Styles */
.form {
    display: grid;
    gap: 20px;
}

.form__input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.form__input:focus {
    border-color: var(--brand);
    background: rgba(255, 255, 255, 0.06);
}

textarea.form__input {
    min-height: 120px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero__lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--muted);
    margin-bottom: 30px;
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.chip {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.stat {
    padding: 15px;
    text-align: center;
}

.stat__val {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
}

.stat__label {
    font-size: 0.75rem;
    color: var(--muted);
}

/* FAQ */
.faq {
    display: grid;
    gap: 15px;
}

.faq__item {
    padding: 20px;
}

.faq__q {
    font-weight: 700;
    margin-bottom: 5px;
}

.faq__a {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Language Dropdown */
.dropdown {
    position: relative;
}

.dropdown__menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    min-width: 120px;
    background: #0d121d;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px;
    display: none;
    z-index: 2000;
}

.dropdown.is-open .dropdown__menu {
    display: block;
}

.dropdown__item {
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

.dropdown__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
}

@media (max-width: 850px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(300px, 80%);
        height: 100vh;
        background: #070b12;
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: 0.4s ease;
        z-index: 1500;
    }

    .nav.is-open {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        z-index: 1600;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: white;
        transition: 0.3s;
    }

    .brand__name {
        font-size: 1rem;
    }

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

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

@media (max-width: 480px) {
    .brand__name {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}