:root {
  --bg: #050509;
  --bg-alt: #101018;
  --card: #171722;
  --accent: #4ade80;
  --accent-soft: rgba(74, 222, 128, 0.15);
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #272733;
  --danger: #f97373;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 50%, #02040a 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.06),
    rgba(15, 23, 42, 0.4)
  );
}

.section h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.section-intro {
  color: var(--muted);
  max-width: 640px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
      to bottom,
      rgba(2, 6, 23, 0.92),
      rgba(2, 6, 23, 0.75),
      transparent
    );
  border-bottom: 1px solid rgba(75, 85, 99, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  background: radial-gradient(circle at 20% 0, #22c55e, #16a34a, #047857);
  border-radius: 999px;
  padding: 0.25rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45);
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background 0.12s ease, border-color 0.12s ease;
}

.btn.primary {
  background: radial-gradient(circle at 0 0, #4ade80, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 45px rgba(34, 197, 94, 0.55);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(148, 163, 184, 0.55);
  color: var(--text);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: rgba(156, 163, 175, 0.85);
  transform: translateY(-1px);
}

.btn.tertiary {
  background: transparent;
  border-color: rgba(74, 222, 128, 0.4);
  color: var(--accent);
}

.btn.tertiary:hover {
  border-color: rgba(74, 222, 128, 0.8);
  color: #d1fae5;
  transform: translateY(-1px);
}

/* Cards / grids */

.hero-card {
  background: radial-gradient(circle at top, #111827, #020617);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
  font-size: 0.95rem;
}

.hero-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.hero-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.grid-4,
.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.95);
  padding: 1.25rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.card p {
  margin-top: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.tagline {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--accent);
}

/* Products */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: rgba(8, 12, 24, 0.9);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.1);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.product-card img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 0.9rem;
  border: 1px solid rgba(74, 222, 128, 0.1);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.product-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-card h3 {
  margin: 0;
}

.badge {
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-features {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-features li::before {
  content: "▹";
  color: var(--accent);
  margin-right: 0.35rem;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}

.price-range {
  font-weight: 600;
  color: var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.6);
  background: rgba(8, 13, 20, 0.9);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
}

.gallery-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.gallery-card figcaption {
  padding: 1.1rem 1.3rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.chip-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip-list li {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.15);
  color: var(--accent);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 100;
}

.lightbox img {
  max-width: min(90vw, 960px);
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
}

.lightbox-caption {
  max-width: 700px;
  text-align: center;
  color: var(--muted);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  color: var(--text);
  cursor: pointer;
}

.modal-open {
  overflow: hidden;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.capability-card {
  background: rgba(8, 12, 24, 0.92);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.15);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.capability-card h3 {
  margin-top: 0;
}

.capability-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.proof-grid article {
  background: rgba(15, 23, 42, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(74, 222, 128, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.proof-grid h3 {
  margin: 0 0 0.4rem;
  color: var(--accent);
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
  padding: 1rem 1.2rem;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact form */

.contact-form {
  margin-top: 1.5rem;
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-xl);
  padding: 1.6rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-group {
  flex: 1;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}

label {
  font-size: 0.85rem;
  color: var(--muted);
}

input,
select,
textarea {
  border-radius: 0.65rem;
  border: 1px solid rgba(75, 85, 99, 0.95);
  padding: 0.55rem 0.7rem;
  background: rgba(17, 24, 39, 0.95);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.35);
}

.small-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hidden-field {
  display: none;
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status.success {
  color: var(--accent);
}

.form-status.error {
  color: var(--danger);
}

/* Footer */

.site-footer {
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  background: radial-gradient(circle at bottom, #020617, #000);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-note {
  font-style: italic;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 3.5rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .contact-form {
    padding: 1.2rem;
  }
}
