/* Kvaro Gear - Redesigned with energy */
:root {
  --bg: #050508;
  --bg-card: #0c0c12;
  --bg-elevated: #12121a;
  --text: #fff;
  --text-muted: #9ca3af;
  --text-dim: #4b5563;
  --accent: #6366f1;
  --accent2: #a855f7;
  --accent3: #ec4899;
  --cyan: #06b6d4;
  --border: #1e1e2e;
  --glow: rgba(99, 102, 241, 0.15);
  --radius: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* Utility */
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 100px 0; position: relative; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* Typography */
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
.subtitle { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(5,5,8,0.8); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.15em; background: linear-gradient(135deg, #fff 0%, #a78bfa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before { content: ''; position: absolute; top: -20%; left: 10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%); animation: float1 8s ease-in-out infinite; }
.hero-bg::after { content: ''; position: absolute; bottom: -10%; right: 5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 70%); animation: float2 10s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.1); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-20px,30px) scale(1.15); } }
.hero-content { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); border-radius: 100px; font-size: 0.75rem; font-weight: 600; color: #a78bfa; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #6366f1; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero h1 { margin-bottom: 20px; }
.hero h1 .gradient { background: linear-gradient(135deg, #6366f1 0%, #a855f7 40%, #ec4899 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero .desc { font-size: 1.15rem; color: var(--text-muted); max-width: 520px; line-height: 1.7; margin-bottom: 36px; }

/* Keyboard visual placeholder (hero) */
.hero-visual { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; }
.hero-keyboard { width: 100%; max-width: 560px; aspect-ratio: 4/3; background: linear-gradient(145deg, #0c0c14 0%, #16162a 100%); border: 1px solid rgba(99,102,241,0.15); border-radius: 16px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-keyboard::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(168,85,247,0.05) 50%, rgba(236,72,153,0.08) 100%); animation: rgb-shift 6s ease-in-out infinite; }
@keyframes rgb-shift { 0%,100% { opacity: 0.5; } 33% { opacity: 1; } 66% { opacity: 0.7; } }
.hero-keyboard .placeholder-text { position: relative; z-index: 1; color: var(--text-dim); font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; }
.hero-keyboard .glow-edge { position: absolute; bottom: 0; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, #6366f1, #a855f7, #ec4899, transparent); animation: glow-pulse 3s ease-in-out infinite; }
@keyframes glow-pulse { 0%,100% { opacity: 0.6; } 50% { opacity: 1; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; border: none; border-radius: 10px; cursor: pointer; transition: all 0.3s; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; box-shadow: 0 4px 24px rgba(99,102,241,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99,102,241,0.4); }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.15); }
.btn-outline:hover { border-color: rgba(99,102,241,0.5); background: rgba(99,102,241,0.05); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-muted); border: 1px solid transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* Product Cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94); position: relative; }
.product-card::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px; background: linear-gradient(135deg, rgba(99,102,241,0), rgba(99,102,241,0)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: background 0.4s; pointer-events: none; z-index: 1; }
.product-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 20px 60px rgba(99,102,241,0.1); }
.product-card:hover::before { background: linear-gradient(135deg, rgba(99,102,241,0.5), rgba(168,85,247,0.5)); }
.product-card-img { width: 100%; aspect-ratio: 16/10; background: linear-gradient(145deg, #0a0a14, #12121f); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.product-card-img::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, rgba(99,102,241,0.3), transparent); }
.product-card-img span { color: var(--text-dim); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; position: relative; z-index: 1; }
.product-card-body { padding: 24px; position: relative; z-index: 2; }
.product-card-tag { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.tag-aluminum { color: #a78bfa; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); }
.tag-essential { color: #06b6d4; background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.2); }
.tag-smart { color: #f472b6; background: rgba(236,72,153,0.1); border: 1px solid rgba(236,72,153,0.2); }
.tag-fullsize { color: #34d399; background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.2); }
.tag-kit { color: #fbbf24; background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.2); }
.product-card-name { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.product-card-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }
.product-card-specs { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product-card-specs li { font-size: 0.8rem; color: var(--text-muted); padding: 0; }
.product-card-specs strong { color: #d1d5db; font-weight: 500; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.spec-table th { color: var(--text-dim); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; }
.spec-table td { color: var(--text-muted); }
.spec-table td strong { color: var(--text); font-weight: 500; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.feature-item { background: var(--bg-card); padding: 36px 28px; transition: background 0.3s; }
.feature-item:hover { background: var(--bg-elevated); }
.feature-icon { font-size: 1.5rem; margin-bottom: 12px; }
.feature-item h3 { margin-bottom: 6px; font-size: 1rem; }
.feature-item p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; }

/* B2B Section */
.b2b-section { background: linear-gradient(180deg, var(--bg) 0%, rgba(99,102,241,0.03) 50%, var(--bg) 100%); }
.b2b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.b2b-benefits { list-style: none; }
.b2b-benefits li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.04); display: flex; gap: 14px; align-items: flex-start; }
.b2b-benefits .icon { width: 28px; height: 28px; border-radius: 8px; background: rgba(99,102,241,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.8rem; }
.b2b-benefits .text strong { display: block; color: #fff; font-size: 0.9rem; margin-bottom: 2px; }
.b2b-benefits .text span { color: var(--text-dim); font-size: 0.82rem; }

/* Form */
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 10px; color: #fff; font-size: 0.9rem; font-family: var(--font); transition: all 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.1); }
.form-group textarea { min-height: 100px; resize: vertical; }

/* Stats bar */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-item { background: var(--bg-card); padding: 32px 24px; text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, #6366f1, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; font-weight: 600; }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.04); padding: 48px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { font-weight: 800; letter-spacing: 0.15em; font-size: 0.9rem; background: linear-gradient(135deg, #fff, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { color: var(--text-dim); font-size: 0.78rem; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy { color: var(--text-dim); font-size: 0.75rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-visual { display: none; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(5,5,8,0.98); padding: 20px 32px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-specs { grid-template-columns: 1fr; }
  .b2b-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; text-align: center; }
  .section { padding: 60px 0; }
}
