:root {
  --bg: #050b16;
  --bg-alt: #071621;
  --panel: #0b1d2a;
  --accent: #37b882;
  --accent-soft: rgba(55, 184, 130, 0.14);
  --text-main: #f4f7fb;
  --text-muted: #9aa7c0;
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-lg: 18px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.7);
}

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

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(circle at top right, #12373a 0, #050b16 45%, #02030a 100%);
  color: var(--text-main);
}

body.no-scroll {
  overflow: hidden;
}

/* Layout */

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(5, 11, 22, 0.96), rgba(5, 11, 22, 0.86));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
}

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

.logo img {
  height: 32px;
  display: block;
}

.main-nav {
  display: flex;
  gap: 18px;
  font-size: 0.95rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text-main);
  border-color: var(--accent);
}

/* === HERO === */
/*.hero-title {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: clamp(3.5rem, 7vw, 6rem);
    margin: 0 0 6px;
    font-weight: 200;
    background: linear-gradient(
            to bottom,
            var(--accent) 0%,
            var(--accent) 20%,
            rgba(55, 184, 130, 0.5) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    white-space: nowrap;
    background: linear-gradient(
            to bottom,
            var(--accent) 0%,
            var(--accent) 20%,
            rgba(55, 184, 130, 0.5) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(20px);
    opacity: 0.4;
    pointer-events: none;
}*/

/* === HERO === */

.hero {
    padding: 88px 0 72px;
}

/* Desktop / default layout: 2 columns */
.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
    gap: 40px;
    align-items: center;
}

.hero-copy {
    text-align: left;
}

.hero-title {
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: clamp(3.5rem, 7vw, 6rem);
    margin: 0 0 6px;
    font-weight: 200;
    background: linear-gradient(
            to bottom,
            var(--accent) 0%,
            var(--accent) 20%,
            rgba(55, 184, 130, 0.5) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    white-space: nowrap;
    background: linear-gradient(
            to bottom,
            var(--accent) 0%,
            var(--accent) 20%,
            rgba(55, 184, 130, 0.5) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(20px);
    opacity: 0.4;
    pointer-events: none;
}

.hero-copy h1 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin: 0 0 16px;
}

.hero-subtitle {
    margin: 0 0 28px;
    max-width: 520px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Oval / logo container */
.hero-accent {
    position: relative;
    height: 260px;
    border-radius: 999px;
    background:
            radial-gradient(circle at 0 50%, rgba(55, 184, 130, 0.4), transparent 60%),
            radial-gradient(circle at 80% 0, rgba(55, 184, 130, 0.2), transparent 70%);
    box-shadow: var(--shadow-soft);
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* keep logo inside the oval */
}

.hero-accent img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
}

/* === HERO: responsive === */

@media (max-width: 900px) {
    /* Stack text above logo */
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        text-align: center;
    }

    .hero-copy {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-accent {
        height: 200px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-accent img {
        max-width: 80%;
        max-height: 80%;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 64px 0 56px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 10vw, 3.4rem);
    }
}

/* Subtle hero entrance animation on page load */
.hero-inner {
    opacity: 0;
    transform: translateY(16px);
    animation: heroFadeIn 0.6s ease-out forwards;
}

.hero-accent {
    transform: scale(0.92);
    animation: heroAccentIn 0.6s ease-out forwards;
    animation-delay: 0.08s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroAccentIn {
    to {
        transform: scale(1);
    }
}


/* Sections */

.section {
  padding: 64px 0;
}

.section-alt {
  background: linear-gradient(to bottom, rgba(11, 29, 42, 0.96), rgba(7, 22, 33, 0.96));
}

.section-inner {
  max-width: 880px;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  margin: 0 0 10px;
}

.section-description {
  margin: 0;
  color: var(--text-muted);
}

h2 {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.lead {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Product Grid */

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

.product-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 16px 16px 18px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9);
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  display: block;
  margin-bottom: 12px;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.product-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Expanded card overlay */

.card-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 14, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}

.card-overlay.active {
  display: flex;
}

.card-overlay .product-card-expanded {
  width: min(640px, 90vw);
  max-height: 90vh;
  overflow: auto;
}

/* Team */

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

.team-member {
  background: var(--panel);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.team-member h3 {
  margin: 0 0 4px;
}

.team-member .role {
  margin: 0 0 10px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.team-member p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* Contact */

.contact-form {
  margin-top: 28px;
  max-width: 480px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}

.form-row label {
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(5, 11, 22, 0.85);
  color: var(--text-main);
  padding: 9px 11px;
  font-size: 0.95rem;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

/* Checkbox row */

.form-row-checkboxes {
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.form-row-checkboxes label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.form-row-checkboxes input[type="checkbox"] {
  width: auto;
}

/* Form status */

.form-status {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Buttons */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), #3cf2a0);
  color: #021014;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.9);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 18px 0 26px;
  background: #03070e;
}

.footer-inner {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Responsive */

@media (max-width: 768px) {
    .hero-accent {
        height: 180px;
    }

    .hero-accent img {
        max-width: 70%;
        max-height: 70%;
    }


  .main-nav {
    gap: 12px;
    font-size: 0.85rem;
  }

  .contact-form {
    max-width: 100%;
  }
}
