/* ======================================
   Base
====================================== */

:root {
  --bg-page: #020307;
  --bg-section: #041428;
  --bg-section-soft: #071b33;
  --bg-section-bright:#013169;
  --bg-cta: #05152b;

  --accent: #ff9f40;
  --accent-soft: #D4872D;

  --text-main: #f7f7ff;
  --text-muted: #a9b7d9;
  --border-soft: rgba(255, 255, 255, 0.07);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);

  --radius-card: 18px;
  --radius-pill: 999px;
  --nav-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font: 16px;
}

body {
  min-height: 100vh;
  font-family: "Rethink Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top, #06265a, #020818 55%) fixed;
  color: var(--text-main);
}

/* Simple container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography helpers */

.section-eyebrow {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.section-title span {
  display: block;
}

.section-title.center {
  text-align: center;
}

.section-subtitle {
  margin: 0 auto 32px;
  max-width: 620px;
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.section-body {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-primary {
  background: #D4872D;
  color: #ffffff;
}

.btn-primary:hover {
  background: #e9993e;
  transform: translateY(-1px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.7);
}

.btn-ghost {
  background: rgba(5, 20, 47, 0.5);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  background: rgba(9, 38, 88, 0.9);
}

.btn-outline {
  background: #D4872D;
  color: #ffffff;
}

.btn-outline:hover {
  background: #e9993e;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-top: 10px;
}

.btn-link::after {
  content: "›";
  font-size: 1rem;
}

/* ======================================
   Header / Nav
====================================== */

/* Header transitions */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);

  background-color: transparent;
  transition: background-color 1.4s ease;
}

.site-header.nav-open {
  background-color: var(--bg-page);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  padding-block: 1rem;   /* small breathing room above/below */
}

.brand img {
  width: 140px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
}

.nav-link.active,
.nav-link:hover {
  color: var(--accent);
}

.nav-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-arrow {
  width: 6px;
  height: 6px;
  border-left: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg) translateY(-1px);
}

/* Burger button with same transition */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 6px;
  cursor: pointer;
  border-radius: 999px;

  transition:
    background-color 1.4s ease,
    border-color 1.4s ease;
}



.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

/* when menu open, burger gets same solid background as header */
.nav-toggle.nav-open {
  background-color: var(--bg-page);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ======================================
   Mobile header/nav behaviour
====================================== */
@media (max-width: 992px) {
  /* Header bar */
  .nav-bar {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 24px 16px;
  }

  /* Logo centered */
  .brand {
    margin: 0 auto;
  }

  /* Burger button – top-right */
  .nav-toggle {
    display: inline-flex;
    position: absolute;
    top: 10px;
    right: 16px;
  }

  .nav-toggle span {
    transition: transform 0.2s ease;
  }

  .nav-toggle.nav-open span:nth-child(1) {
    transform: translateY(3px) rotate(45deg);
  }

  .nav-toggle.nav-open span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }

  /* Menu (links) – hidden by default */
  .main-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  /* Make sure link color is visible on dark bg */
  .main-nav .nav-link {
    color: var(--text-main);
    text-decoration: none;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    color: var(--accent);
  }

  /* Contact button – also hidden by default */
  .nav-contact {
    display: none;
    width: 100%;
    max-width: 260px;
    margin-top: 4px;
    justify-content: center;
    text-align: center;
  }

  .nav-contact.btn {
    padding: 10px 16px;
  }

  /* When header has .nav-open, show menu + contact */
  .site-header.nav-open .main-nav {
    display: flex;
  }

  .site-header.nav-open .nav-contact {
    display: inline-flex;
  }
}



/* ======================================
   Hero
====================================== */

.hero {
  position: relative;
  padding: 64px 0 140px;
  overflow: hidden;
}

.hero-bg-waves {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  pointer-events: none;
}

.hero-bg-waves img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding-top: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid #ffffff30;
  background: #ffffff0f;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-title {
  font-size: 50px;
  line-height: 1.15;
  margin: 0 0 18px;
  font-weight: 700;
}

.hero-title span {
  color: #ffffff;
}

.hero-text {
  max-width: 520px;
  margin: 0 0 28px;
  color: white;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Center hero content */
.hero-inner {
  margin: 0 auto;          /* Center container */
  text-align: center;      /* Center text inside */
}

/* Center the paragraph width instead of left-floating it */
.hero-text {
  margin-left: auto;
  margin-right: auto;
}

/* Center the button row */
.hero-actions {
  justify-content: center;
}


/* ======================================
   Sections
====================================== */

.section {
  padding: 80px 0;
  position: relative;
  background: var(--bg-page);
}

/* About */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.about-media {
  display: flex;
  justify-content: flex-end;
}

.card-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

@media(max-width: 992px) {
  .about-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* Products / Services */

.products {
  background: linear-gradient(215deg, var(--bg-section-bright), var(--bg-page));
}

.products .container {
  justify-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 32px;
}

@media(max-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.service-card {
  background: rgba(5, 18, 43, 0.95);
  border-radius: var(--radius-card);
  padding: 22px 22px 20px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  opacity: 0;
  background: radial-gradient(circle at top right, rgba(46, 143, 255, 0.2), transparent 55%);
  transition: opacity 0.2s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(46, 143, 255, 0.35), rgba(3, 10, 30, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.service-icon img {
  max-width: 22px;
  max-height: 22px;
}

.service-title {
  font-size: 1rem;
  margin: 0 0 8px;
  color: #ffffff;
}

.service-body {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Why Choose Us */

.why-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}

@media(max-width: 992px) {
  .why-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.why-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.why-list img {
  width: 18px;
  height: 18px;
}

/* CTA */

.cta {
  content: "";
  inset: 0;
  background-image: url("../images/bg-ready-to-start.png");
  background-size: cover;
  background-position: center;
  opacity: 0.95;
}

.cta-inner {
  text-align: center;
}

/* Footer */

.site-footer {
  background: #020716;
  color: var(--text-main);
  padding-top: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgb(255, 255, 255);
}

.footer-logo {
  width: 128px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 7px;
}

.footer-col a {
  color: var(--text-main);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-contact li {
  font-size: 0.86rem;
}

.footer-bottom {
  padding: 14px 0 22px;
}

.footer-bottom-inner {
  font-size: 1rem;
  text-align: center;
  color: #6b7693;
}

/* ======================================
   Utility layout helpers
====================================== */

.grid {
  display: grid;
}

/* Generic pill row layout */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flex-row {
  display: flex;
  align-items: center;
}

/* ======================================
   ABOUT PAGE – SPECIFIC STYLES
   (Only for about.html layout)
====================================== */

.section.about-hero {
  background: #050608;
  padding-top: 96px;
  padding-bottom: 96px;
}

.about-hero-text .section-title {
  margin-bottom: 18px;
}

.about-hero-text .section-body {
  max-width: 520px;
}

.center-eyebrow {
  text-align: center;
}

.products-about {
  padding-top: 72px;
  padding-bottom: 80px;
}

.about-card-btn {
  margin-top: 18px;
  padding-inline: 22px;
  font-size: 0.82rem;
}

.cta-about {
  padding-top: 80px;
  padding-bottom: 96px;
}

/* ======================================
   Responsive
====================================== */




@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-bg-waves img {
    transform: translateY(-40px) scale(1.15);
  }

  .section-title {
    font-size: 1.9rem;
  }

  .footer-top {
    gap: 28px;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
  }

  .section.about-hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* ======================================
   CONTACT PAGE – SPECIFIC STYLES
   (Used only on contact.html)
====================================== */

/* Hero / heading */

.section.contact-hero {
  background: #050608;
  padding-top: 96px;
  padding-bottom: 64px;
}

/* Full-width inside container so cards line up
   with form + map panels */

.contact-title {
  margin-bottom: 12px;
}

.contact-subtitle {
  margin-bottom: 40px;
}

/* Top contact info cards */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.contact-card {
  background: #050e1e;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px 20px;
  text-align: center;
}

.contact-card-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(46, 143, 255, 0.25), rgba(4, 10, 27, 0.95));
}

.contact-card-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.contact-card-title {
  font-size: 0.98rem;
  margin: 0 0 6px;
  color: #ffffff;
}

.contact-card-text {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Contact form block */

.contact-form-section {
  background: #020814;
  padding-top: 40px;
  padding-bottom: 40px;
}

.contact-form-wrapper {
  background: #020b1a;
  border-radius: 26px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 28px 30px 26px;
}

.contact-form {
  width: 100%;
}

.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #d3def7;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #082441;
  background: #020712;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #4d5b74;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #246bff;
  box-shadow: 0 0 0 1px rgba(36, 107, 255, 0.45);
  background: #040c1b;
}

/* Checkbox / captcha row */

.contact-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
}

.contact-checkbox-group {
  display: flex;
  align-items: center;
}

.contact-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-main);
  cursor: pointer;
}

.contact-checkbox input {
  display: none;
}

.contact-checkbox .checkmark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #4d5b74;
  background: #020712;
  position: relative;
}

.contact-checkbox input:checked + .checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #ffbe6a;
  border-bottom: 2px solid #ffbe6a;
  transform: rotate(35deg);
}

.checkbox-label {
  color: #d3def7;
}

.contact-captcha-placeholder {
  justify-self: end;
  text-align: right;
  font-size: 1rem;
  color: #9aa6c7;
}

.contact-captcha-placeholder span:first-child {
  display: block;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.captcha-meta {
  opacity: 0.7;
}

/* Submit button strip */

.contact-submit-wrap {
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
}

.contact-submit-btn {
  width: 100%;
  border-radius: 999px;
  border: none;
  background: #D4872D;
  color: var(--text-main)
}

.contact-submit-btn:hover{
  background: #e9993e;
}

/* Map section – panel aligned with form/cards */

.contact-map-section {
  background: #020814;
  padding-top: 40px;
  padding-bottom: 64px;
}

/* Wrapper gives same rounded panel as form */
.map-wrapper {
  background: #050e1e;
  border-radius: 26px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

/* Override iframe attributes so it fills the panel */
.map-wrapper iframe {
  display: block;
  width: 100% !important;
  height: 420px;
  border: 0;
  border-radius: 18px;
}

/* CTA variation on contact page */

.cta.cta-contact {
  padding-top: 80px;
  padding-bottom: 96px;
}

/* ======================================
   CONTACT PAGE – RESPONSIVE TWEAKS
====================================== */

@media (max-width: 992px) {
  .contact-form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-captcha-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }

  .contact-captcha-placeholder {
    justify-self: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .section.contact-hero {
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .contact-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-wrapper {
    padding: 22px 18px 22px;
  }

  .contact-submit-wrap {
    max-width: 100%;
  }

  .contact-map-section {
    padding-bottom: 56px;
  }

  .map-wrapper iframe {
    height: 340px;
  }
}

/* ======================================
   PRODUCT PAGE – SPECIFIC STYLES
   (Used only on products.html)
====================================== */

/* Hero section */

.products-hero {
  background:
      /* vertical column highlight */
      linear-gradient(
        90deg,
        var(--bg-page) 0%,
        var(--bg-section-soft) 35%,
        var(--bg-section-bright) 50%,
        var(--bg-section-soft) 65%,
        var(--bg-page) 100%
      );
  padding-top: 96px;
  padding-bottom: 80px;
}

.products-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.products-hero-text .section-body {
  max-width: 520px;
}

.products-hero-media {
  display: flex;
  justify-content: flex-end;
}

.products-hero-image {
  max-width: 420px;
}

/* Product tabs + feature */

.products-main {
  padding-top: 72px;
  padding-bottom: 80px;
  background: var(--bg-page);
}

.product-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 26px auto 40px;
  max-width: 840px;
}

.product-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 18px;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(5, 18, 43, 0.9);
}

.product-pill.active {
  background: linear-gradient(135deg, var(--accent), #ffbe6a);
  color: #111111;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

.product-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.product-feature-image {
  max-width: 420px;
}

.product-feature-copy {
  max-width: 520px;
}

.product-feature-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.product-feature-body {
  margin: 0 0 22px;
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.product-feature-cta {
  padding-inline: 24px;
}

.product-feature-inner {
  transition: opacity 0.35s ease;
}
.product-feature-inner.updating {
  opacity: 0.3;
}

/* ======================================
   Product tabs + feature
====================================== */

.products-main {
  padding-top: 72px;
  padding-bottom: 80px;
}

/* Hidden radio state */
.product-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Pills row */
.product-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 26px auto 40px;
  max-width: 840px;
}

.product-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 18px;
  background: transparent;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.product-pill:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(5, 18, 43, 0.9);
}

/* Active pill state driven by :checked radios */
#product-tab-1:checked ~ .product-pill-row label[for="product-tab-1"],
#product-tab-2:checked ~ .product-pill-row label[for="product-tab-2"],
#product-tab-3:checked ~ .product-pill-row label[for="product-tab-3"],
#product-tab-4:checked ~ .product-pill-row label[for="product-tab-4"] {
  background: linear-gradient(135deg, var(--accent), #ffbe6a);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

/* Panels container – normal flow (no absolute stacking) */
.product-feature-panels {
  margin-top: 8px;
}

/* Base layout for each panel – hidden by default */
.product-feature-inner {
  display: none;
  opacity: 0;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

/* Simple fade/slide-in animation */
@keyframes productFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Show the currently selected panel */
#product-tab-1:checked ~ .product-feature-panels .product-panel-1,
#product-tab-2:checked ~ .product-feature-panels .product-panel-2,
#product-tab-3:checked ~ .product-feature-panels .product-panel-3,
#product-tab-4:checked ~ .product-feature-panels .product-panel-4 {
  display: grid;
  animation: productFadeIn 0.35s ease forwards;
}

/* Content layout inside panel */
.product-feature-image {
  max-width: 420px;
}

.product-feature-copy {
  max-width: 520px;
}

.product-feature-title {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.product-feature-body {
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.product-feature-cta {
  padding-inline: 24px;
}

/* Responsive – stack media/text on narrow screens */
@media (max-width: 768px) {
  .product-feature-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}


/* Why products section */

.why-products {
  background: #050608;
}

.why-products-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.why-products-text .section-title {
  margin-bottom: 12px;
}

.why-products-text .section-body {
  margin-bottom: 22px;
}

.why-products-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.why-products-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-main);
}

.why-products-list img {
  width: 18px;
  height: 18px;
}

.why-products-media {
  display: flex;
  justify-content: flex-end;
}

.why-products-image {
  max-width: 420px;
}

/* Waves CTA strip */

.waves-cta {
  position: relative;
  padding: 36px 0;
  background: #020818;
}

.waves-cta::before {
  background: var(bg-page);
}

.waves-cta-inner {
  content: "";
  inset: 0;
  background-image: url("../images/Main_blue_purple_waves.png");
  background-size: cover;
  background-position: center;
  opacity: 0.95;
  padding: 1.4rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #ffffff;
}

.waves-cta-text {
  max-width: 560px;
}

.waves-cta-eyebrow {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.waves-cta-body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

.waves-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.waves-cta-btn {
  font-size: 1rem;
}

.waves-cta-btn.transparent-btn {
  border-color: var(--accent);
  background: transparent;
  color: var(--accent);
}

/* ======================================
   PRODUCT PAGE – RESPONSIVE
====================================== */

@media (max-width: 992px) {
  .products-hero-inner,
  .product-feature-inner,
  .why-products-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .products-hero-media,
  .why-products-media,
  .product-feature-media {
    justify-content: center;
  }

  .products-hero-image,
  .product-feature-image,
  .why-products-image {
    max-width: 460px;
  }

  .products-hero-text {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .products-hero {
    padding-top: 80px;
    padding-bottom: 64px;
  }

  .product-pill-row {
    justify-content: flex-start;
  }

  .waves-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ======================================
   DOWNLOAD PAGE – SPECIFIC STYLES
   (Used only on download.html)
====================================== */

/* Hero */

.dl-hero {
  background: var(--bg-page);
  padding-top: 96px;
  padding-bottom: 48px;
}

.dl-hero-title {
  margin-bottom: 40px;
}

/* Top info cards */

.dl-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dl-info-card {
  background: #050e1e;
  border-radius: 24px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 22px 24px 20px;
  text-align: center;
}

.dl-info-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(46, 143, 255, 0.25), rgba(4, 10, 27, 0.95));
}

.dl-info-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.dl-info-title {
  font-size: 1rem;
  margin: 0 0 6px;
  color: #ffffff;
}

.dl-info-text {
  margin: 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Form block */

.dl-form-section {
  background: #020814;
  padding-top: 40px;
  padding-bottom: 40px;
}

.dl-form-wrapper {
  background: #020b1a;
  border-radius: 26px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 28px 30px 26px;
}

.dl-form {
  width: 100%;
}

.dl-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dl-field {
  margin-bottom: 18px;
}

.dl-field label {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #d3def7;
}

.dl-field input,
.dl-field select,
.dl-field textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid #082441;
  background: #020712;
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.dl-field textarea {
  resize: vertical;
  min-height: 140px;
}

.dl-field input::placeholder,
.dl-field textarea::placeholder {
  color: #4d5b74;
}

.dl-field input:focus,
.dl-field select:focus,
.dl-field textarea:focus {
  border-color: #246bff;
  box-shadow: 0 0 0 1px rgba(36, 107, 255, 0.45);
  background: #040c1b;
}

/* Checkbox / captcha row */

.dl-captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
}

.dl-checkbox-group {
  display: flex;
  align-items: center;
}

.dl-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
}

.dl-checkbox input {
  display: none;
}

.dl-checkmark {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid #4d5b74;
  background: #020712;
  position: relative;
}

.dl-checkbox input:checked + .dl-checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #ffbe6a;
  border-bottom: 2px solid #ffbe6a;
  transform: rotate(35deg);
}

.dl-checkbox-label {
  color: #d3def7;
}

.dl-captcha-placeholder {
  justify-self: end;
  text-align: right;
  font-size: 1rem;
  color: #9aa6c7;
}

.dl-captcha-placeholder span:first-child {
  display: block;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.dl-captcha-meta {
  opacity: 0.7;
}

/* Submit bar */

.dl-submit-wrap {
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
}

.dl-submit-btn {
  width: 100%;
  border-radius: 999px;
  border: none;
  background: #D4872D;
  color: var(--text-main)
}

.dl-submit-btn:hover{
  background: #e9993e;
}

/* ======================================
   GLOBAL – CAROUSEL CONTROLS
====================================== */

.products-header, .products-inner { width:100%;}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;   /* Ensures right alignment on all pages */
  gap: 12px;
  padding-bottom: 4px;        /* Matches screenshot baseline */
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.07); /* Muted blue/gray */
  color: rgba(255, 255, 255, 0.85);      /* White arrow but softened */
  font-size: 1.4rem;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  transition: background 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

/* Hover / active — orange highlight */
.carousel-btn:hover {
  background: var(--accent);
  color: #111111;  /* black arrow on orange, matches screenshot */
  transform: translateY(-2px);
}

/* Optional: “current” button look if needed */
.carousel-btn.active {
  background: var(--accent);
  color: #111111;
}

.carousel-prev:hover {
  opacity: 1;
}

/* ======================================
   DOWNLOAD PAGE – RESPONSIVE
====================================== */

@media (max-width: 992px) {
  .dl-info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-captcha-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }

  .dl-captcha-placeholder {
    justify-self: flex-start;
    text-align: left;
  }

  .dl-product-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .dl-hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .dl-form-wrapper {
    padding: 22px 18px 22px;
  }

  .dl-submit-wrap {
    max-width: 100%;
  }
}
