/* CSS Variables - Brand Colors */
:root {
    --color-gray: #757671;
    --color-orange: #d28327;
    --color-white: #fefefe;
    --color-black: #010102;
    --color-orange-light: #e09a4a;
    --color-gray-light: #f5f5f4;

    /* Theme colors (light mode default) */
    --bg-primary: #fefefe;
    --bg-secondary: #f5f5f4;
    --bg-dark: #010102;
    --text-primary: #010102;
    --text-secondary: #757671;
    --header-bg: rgba(254, 254, 254, 0.95);
    --card-shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-dark: #000000;
    --text-primary: #fefefe;
    --text-secondary: #a0a0a0;
    --header-bg: rgba(10, 10, 10, 0.95);
    --card-shadow: rgba(0, 0, 0, 0.3);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding: 16px 0;
    border-bottom: 1px solid rgba(117, 118, 113, 0.1);
    transition: background-color 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--color-orange);
}

/* Language Toggle Button */
.lang-toggle {
    background: none;
    border: 2px solid var(--text-secondary);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--color-orange);
    transform: rotate(15deg);
}

.theme-icon-light {
    display: block;
}

.theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block;
}

.nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

/* Button */
.btn {
    display: inline-block;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--color-orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(210, 131, 39, 0.3);
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    transition: background 0.3s ease;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px var(--card-shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Product Section */
.product {
    padding: 100px 0;
    background: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.product .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product-image img {
    width: 100%;
    border-radius: 16px;
}

.product-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
}

.product-features li {
    padding: 12px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(117, 118, 113, 0.15);
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: 700;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--color-black);
    text-align: center;
}

.contact h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 16px;
}

.contact>.container>p {
    color: var(--color-gray);
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-size: 1.125rem;
}

.contact-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--color-black);
    border-top: 1px solid rgba(117, 118, 113, 0.2);
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.footer p {
    color: var(--color-gray);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero .container,
    .product .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        order: -1;
    }

    .product-features li {
        text-align: left;
    }

    .contact-info {
        flex-direction: column;
        gap: 24px;
    }
}