*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --bg: #0f0f1a; --bg-elevated: #181828; --bg-card: #141422;
    --fg: #f0f0f5; --fg-muted: #a0a0b0; --fg-subtle: #6a6a7a;
    --accent: #00d4aa; --accent-hover: #00e8bb; --accent-dim: rgba(0, 212, 170, 0.15);
    --accent-2: #6366f1; --border: #2a2a3a; --border-light: #3a3a4a;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4); --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.5);
    --radius: 12px; --radius-sm: 8px; --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1280px; --header-h: 72px;
}
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--fg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: clamp(28px, 5vw, 40px); font-weight: 700; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--fg) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header p { color: var(--fg-muted); font-size: 18px; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 32px; font-size: 16px; font-weight: 600; border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3); }
.btn-secondary { background: transparent; color: var(--fg); border: 2px solid var(--border-light); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); background: rgba(15, 15, 26, 0.95); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); z-index: 1000; transition: var(--transition); }
.header.scrolled { background: rgba(15, 15, 26, 0.98); box-shadow: var(--shadow); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-text { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; background: linear-gradient(135deg, var(--fg) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.logo-sub { font-size: 10px; font-weight: 500; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.nav ul { display: flex; gap: 32px; }
.nav a { font-weight: 500; color: var(--fg-muted); transition: var(--transition); position: relative; }
.nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.nav a:hover { color: var(--fg); }
.nav a:hover::after { width: 100%; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-menu-btn span { width: 24px; height: 2px; background: var(--fg); border-radius: 2px; transition: var(--transition); }
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.hero { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 0 100px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 20%, rgba(0, 212, 170, 0.08) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%); pointer-events: none; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-title { font-size: clamp(36px, 7vw, 64px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero-title br { display: none; }
@media (min-width: 768px) { .hero-title br { display: block; } }
.hero-subtitle { font-size: clamp(16px, 2.5vw, 20px); color: var(--fg-muted); margin-bottom: 36px; max-width: 520px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image { position: relative; }
.hero-image img { width: 100%; max-width: 580px; margin: 0 auto; border-radius: 24px; box-shadow: var(--shadow-lg); transition: opacity 0.3s ease, transform 0.3s ease; }
.hero-image::before { content: ''; position: absolute; inset: -20px; border-radius: 32px; background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(99, 102, 241, 0.1) 100%); z-index: -1; filter: blur(60px); opacity: 0.5; animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.02); } }

.products { padding: 100px 0; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); opacity: 0; transform: translateY(20px); animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--accent-dim); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--bg); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.product-info { padding: 20px; }
.product-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.product-description { font-size: 14px; color: var(--fg-muted); margin-bottom: 16px; line-height: 1.5; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 18px; font-weight: 700; color: var(--accent); }
.product-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--fg-muted); transition: var(--transition); }
.product-link:hover { color: var(--accent); gap: 10px; }
.load-more-container { text-align: center; margin-top: 40px; }

.contact { padding: 100px 0; background: var(--bg-elevated); }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--fg); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--fg); font-size: 16px; transition: var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-primary { width: 100%; margin-top: 8px; }
.contact-info { display: grid; gap: 24px; }
.info-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.info-item h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.info-item p { color: var(--fg-muted); line-height: 1.8; }

.footer { background: var(--bg-elevated); border-top: 1px solid var(--border); padding: 80px 0 32px; }
.footer-content { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: var(--fg-muted); margin: 16px 0 24px; max-width: 300px; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: 50%; color: var(--fg-muted); transition: var(--transition); }
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); transform: translateY(-2px); }
.footer-column h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-subtle); margin-bottom: 20px; }
.footer-column ul { display: flex; flex-direction: column; gap: 12px; }
.footer-column a { color: var(--fg-muted); font-size: 15px; transition: var(--transition); }
.footer-column a:hover { color: var(--accent); }
.footer-bottom { padding-top: 32px; border-top: 1px solid var(--border); text-align: center; color: var(--fg-subtle); font-size: 14px; }

.call-float { position: fixed; bottom: 24px; right: 24px; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--bg); border-radius: 50%; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition); z-index: 999; }
.call-float.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.call-float:hover { background: var(--accent-hover); transform: translateY(-4px) scale(1.05); }
.call-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-title br { display: none; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .contact-content { grid-template-columns: 1fr; gap: 40px; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
    .nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 20px; flex-direction: column; gap: 16px; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: var(--transition); }
    .nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav ul { flex-direction: column; gap: 8px; width: 100%; }
    .nav a { display: block; padding: 12px; }
    .mobile-menu-btn { display: flex; }
    .products { padding: 60px 0; }
    .products-grid { grid-template-columns: 1fr; }
    .contact { padding: 60px 0; }
    .contact-form { padding: 24px; }
    .footer-content { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: span 1; }
}