*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #090909;
  --surface: #111;
  --border: #1e1e1e;
  --text: #ededed;
  --muted: #777;
  --accent: #4ecb8d;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* Nav */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
nav.scrolled {
  background: rgba(9,9,9,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 64px;
}
.logo { font-weight: 700; font-size: 1.25rem; color: var(--accent); letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-size: 0.8rem; font-weight: 600; color: #000; background: var(--accent);
  padding: 8px 22px; border-radius: 100px; border: none; cursor: pointer;
  transition: opacity 0.2s; display: inline-block;
}
.nav-cta:hover { opacity: 0.85; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 28px 80px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(78,203,141,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 720px; }
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: 1.05rem; color: var(--muted); max-width: 480px;
  margin: 0 auto 44px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn-primary {
  font-size: 0.875rem; font-weight: 600; color: #000; background: var(--accent);
  padding: 12px 32px; border-radius: 100px; border: none; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s; display: inline-block;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-secondary {
  font-size: 0.875rem; font-weight: 600; color: var(--text); background: transparent;
  padding: 12px 32px; border-radius: 100px; border: 1px solid var(--border);
  cursor: pointer; transition: border-color 0.2s, transform 0.2s; display: inline-block;
}
.btn-secondary:hover { border-color: #444; transform: translateY(-1px); }

/* Divider */
.divider {
  max-width: 1100px; margin: 0 auto;
  border: none; border-top: 1px solid var(--border);
}

/* Section */
.section { padding: 100px 28px; max-width: 1100px; margin: 0 auto; }

/* CTA section */
.cta-section { text-align: center; }
.cta-heading {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 16px;
}
.cta-sub {
  color: var(--muted); font-size: 1rem; max-width: 480px;
  margin: 0 auto 36px; line-height: 1.7;
}

/* Page header */
.page-header {
  padding: 140px 28px 60px;
  max-width: 1100px; margin: 0 auto;
}
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.1;
  margin-bottom: 16px;
}
.page-header p {
  color: var(--muted); font-size: 1rem; max-width: 520px; line-height: 1.7;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 36px 28px; transition: border-color 0.3s;
}
.card.clickable { cursor: pointer; }
.card:hover { border-color: #333; }
.card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }

/* Product layout */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px;
}
.product-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 24px; }
.product-visual {
  aspect-ratio: 4/3; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-visual .placeholder {
  color: var(--muted); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}

/* Spec list */
.spec-list {
  list-style: none; margin-bottom: 28px;
}
.spec-list li {
  font-size: 0.9rem; color: var(--muted); padding: 8px 0;
  border-bottom: 1px solid var(--border); line-height: 1.5;
}
.spec-list li span {
  color: var(--text); font-weight: 500;
}

/* Team grid */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 36px 28px; transition: border-color 0.3s;
}
.team-card:hover { border-color: #333; }
.team-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.team-card .role { font-size: 0.8rem; color: var(--accent); font-weight: 500; margin-bottom: 12px; }
.team-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

/* Contact form */
.contact-form {
  max-width: 540px;
}
.contact-form label {
  display: block; font-size: 0.8rem; font-weight: 500; color: var(--muted);
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em;
}
.contact-form input,
.contact-form textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 16px; color: var(--text);
  font-family: var(--font); font-size: 0.9rem;
  margin-bottom: 20px; outline: none; transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* Back link */
.back-link {
  display: inline-block; font-size: 0.85rem; color: var(--accent);
  margin-top: 28px; transition: opacity 0.2s;
}
.back-link:hover { opacity: 0.7; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 28px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-inner span,
.footer-logo { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a { font-size: 0.8rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* Fade animation */
.fade { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(9,9,9,0.95); backdrop-filter: blur(20px);
    padding: 24px 28px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .cards { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { justify-content: center; }
}
