* {
  box-sizing: border-box;
}

:root {
  --accent: #F96C09;
  --background: #07101a;
  --panel: #101b29;
  --text: #f4f7fb;
  --muted: #99a8ba;
  --line: rgba(255, 255, 255, 0.09);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}


/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #060c14;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
}

.gadgetfpv-logo {
  display: block;
  width: 64px;
  height: auto;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 26px;
}

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


/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(249, 108, 9, 0.15),
      transparent 30%
    ),
    linear-gradient(
      #08111d,
      #0a1420
    );
}

.grid-bg {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px
    );

  background-size: 56px 56px;
}

.hero-grid {
  position: relative;
  min-height: 590px;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;

  padding: 90px 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 14px 0 22px;

  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.04;
}

.hero p,
.products p,
.about p {
  color: var(--muted);
}

.hero-copy > p {
  max-width: 720px;
  font-size: 18px;
}


/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.btn,
.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 21px;

  border-radius: 12px;

  font-weight: 800;
}

.btn {
  background: linear-gradient(
    145deg,
    var(--accent),
    #ef7000
  );

  color: #160d06;
}

.btn:hover {
  filter: brightness(1.06);
}

.ghost {
  border: 1px solid var(--line);
  color: #8391a1;
}


/* ------------------------------------------------------------
   Product overview panel
   ------------------------------------------------------------ */

.panel,
.product-card {
  border: 1px solid var(--line);
  border-radius: 20px;

  background: linear-gradient(
    #162235,
    #0d1724
  );
}

.panel {
  padding: 16px 24px;
}

.panel div {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 22px 0;

  border-bottom: 1px solid var(--line);
}

.panel div:last-child {
  border-bottom: 0;
}

.panel span {
  color: var(--muted);
}


/* ------------------------------------------------------------
   Products
   ------------------------------------------------------------ */

.products,
.about {
  padding: 90px 0;
}

.products h2,
.about h2 {
  margin: 12px 0 34px;

  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.05;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.product-card {
  min-height: 360px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 34px;
}

.product-card-featured {
  border-color: rgba(249, 108, 9, 0.35);
}

.product-card b {
  color: var(--accent);

  font-size: 10px;
  letter-spacing: 0.15em;
}

.product-card h3 {
  margin: 16px 0;

  font-size: 36px;
  line-height: 1.05;
}

.product-card .btn,
.product-card .ghost {
  margin-top: auto;
}


/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */

.about {
  background: #08111b;
  border-top: 1px solid var(--line);
}


/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.footer {
  background: #060c14;
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer small {
  color: var(--muted);
}


/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 850px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 26px, 1160px);
  }

  .gadgetfpv-logo {
    width: 70px;
  }

  .hero-grid {
    padding: 65px 0;
  }

  .hero h1 {
    font-size: 42px;
  }

  .footer-inner {
    padding: 18px 0;
  }
}
