* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1E40AF;
    --primary-dark: #1E3A8A;
    --secondary: #3B82F6;
    --accent: #60A5FA;
    --dark: #0F172A;
    --light: #EFF6FF;
    --text-primary: #0F172A;
    --text-secondary: #64748B;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.language-dropdown {
    padding: 10px 15px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: white;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231E40AF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.language-dropdown:hover {
    border-color: var(--secondary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
}

.demo-box-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 2%;
    background: white;
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    flex-wrap: wrap;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.demo-logo { width: auto; max-width: 120px; max-height: 60px; height: auto; object-fit: contain; }
.demo-label {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.3rem;
    background: linear-gradient(90deg, #0d1b2a 0%, #1e3a8a 50%, #0d1b2a 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientSweep 4s linear infinite;
}

@keyframes gradientSweep {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.demo-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    padding: 100px 5%;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: slideUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    padding: 15px 45px;
    background: white;
    color: #1E40AF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    margin-left: 1rem;
}

.cta-button.secondary:hover {
    background: white;
    color: #1E40AF;
}

/* Featured Section */
.featured {
    padding: 80px 5%;
    background: linear-gradient(to bottom, var(--light), white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.1);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #60A5FA 0%, #1E40AF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.product-info { padding: 1.5rem; }

.product-category {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--text-primary);
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.add-to-cart {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.4);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    color: white;
    padding: 60px 5%;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.stat-item p { opacity: 0.9; font-size: 1rem; }

/* Newsletter */
.newsletter {
    background: linear-gradient(to right, var(--light), white);
    padding: 60px 5%;
    text-align: center;
}

.newsletter-content { max-width: 600px; margin: 0 auto; }
.newsletter h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--text-primary); }
.newsletter p { color: var(--text-secondary); margin-bottom: 2rem; }

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 64, 175, 0.3);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 50px 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-section h4 { margin-bottom: 1rem; font-size: 1.1rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-section a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover { color: var(--accent); }

.social-links { display: flex; gap: 1rem; }
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover { background: var(--primary); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: #9CA3AF;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero { padding: 60px 4%; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .section-title { font-size: 2rem; }
    .cta-button.secondary { margin-left: 0; margin-top: 1rem; }
    .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .products-grid { grid-template-columns: 1fr; }
}
