:root {
    /* Color Palette - Dark (Default) */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-glass: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #6366f1;
    --accent-secondary: #22d3ee;
    --gradient: linear-gradient(135deg, #6366f1, #22d3ee);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

body.light {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-glass: rgba(0, 0, 0, 0.03);
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --accent-primary: #4f46e5;
    --accent-secondary: #0891b2;
    --gradient: linear-gradient(135deg, #4f46e5, #0891b2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, .logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.15) 0%, transparent 40%);
    filter: blur(80px);
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
    backdrop-filter: blur(12px);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-glass);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

#theme-toggle {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

#theme-toggle:hover {
    transform: scale(1.1);
    background: var(--border-glass);
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-secondary);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gradient-text {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: var(--border-glass);
    transform: translateY(-2px);
}

/* Product Preview Grid */
.products-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    padding: 2.5rem;
    border-radius: 24px;
    text-align: left;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
}

body.light .product-card:hover {
    background: rgba(0, 0, 0, 0.05);
}

.product-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.badge.mini {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    margin: 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.7rem;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-glass);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero { padding: 60px 0 40px; }
    .cta-group { flex-direction: column; width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }
}
