:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  background: var(--primary);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
nav ul { display: flex; list-style: none; gap: 32px; }
nav a { color: white; font-weight: 500; font-size: 0.95rem; }
nav a:hover { color: var(--accent); }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero with background image support */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 120px 0 100px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.1;
}
.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 32px;
  opacity: 0.95;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--accent-hover); color: white; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
  margin-left: 12px;
}
.btn-outline:hover { background: white; color: var(--primary); }

/* Sections */
section { padding: 80px 0; }
section h2 { font-size: 2.2rem; margin-bottom: 16px; color: var(--primary); }
.section-intro { color: var(--text-light); font-size: 1.1rem; max-width: 700px; margin-bottom: 48px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.2s;
  box-shadow: var(--shadow);
  color: inherit;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
  border-color: var(--accent);
}
.product-card h3 { font-size: 1.3rem; margin: 16px 0 8px; color: var(--primary); }
.product-card p { color: var(--text-light); font-size: 0.95rem; }
.product-card .icon { font-size: 2.5rem; margin-bottom: 8px; }

.product-section {
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.product-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.product-section img.product-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin: 16px 0 20px;
  box-shadow: var(--shadow);
}
.product-section h4 { font-size: 1.1rem; color: var(--primary); margin: 24px 0 12px; }
.specs {
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 16px;
}
.specs ul { list-style: none; padding-left: 0; }
.specs li { padding: 6px 0 6px 24px; position: relative; }
.specs li:before { content: "✓"; color: var(--accent); font-weight: bold; position: absolute; left: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 32px; }
.contact-info h3 { margin-bottom: 16px; color: var(--primary); }
.contact-info p { margin-bottom: 12px; color: var(--text-light); }
.contact-info strong { color: var(--text); }
.contact-form { background: var(--bg-alt); padding: 32px; border-radius: var(--radius); }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.9rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

footer {
  background: var(--primary);
  color: #cbd5e1;
  padding: 48px 0 24px;
  margin-top: 40px;
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
footer h4 { color: white; margin-bottom: 16px; }
footer a { color: #cbd5e1; display: block; margin-bottom: 8px; }
footer a:hover { color: var(--accent); }
.copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #334155;
  font-size: 0.85rem;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero { padding: 80px 0 60px; }
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
  nav ul.active { display: flex; }
  .mobile-toggle { display: block; }
  .contact-grid, .footer-inner { grid-template-columns: 1fr; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
}
