:root {
  --navy: #0a1128;
  --navy-light: #111b3a;
  --royal: #3f51b5;
  --royal-bright: #4a6cf7;
  --gold: #ffcc00;
  --gold-dim: #e6b800;
  --white: #ffffff;
  --text: #b8c5d6;
  --text-muted: #8899b0;
  --border: rgba(255, 255, 255, 0.08);
  --card: #121d3d;
  --section-blue: #1e2d6e;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--royal-bright);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 1rem;
}

.highlight {
  color: var(--gold);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--white);
  font-weight: 600;
}

.cart-count {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  text-align: center;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-bright), var(--royal));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(74, 108, 247, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(74, 108, 247, 0.45);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--royal-bright);
}

.btn-outline:hover {
  background: var(--royal-bright);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-dim);
  color: var(--navy);
}

/* Hero */
.hero {
  position: relative;
  padding: 6rem 0 5rem;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 20%, rgba(63, 81, 181, 0.25), transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(255, 204, 0, 0.08), transparent 40%),
    var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge strong {
  display: block;
  color: var(--gold);
  font-size: 1.5rem;
}

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

/* Logo bar */
.logo-bar {
  padding: 2rem 0;
  background: var(--navy-light);
  border-block: 1px solid var(--border);
}

.logo-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0.7;
}

.logo-bar-item {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Service grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--gold);
}

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

.service-card a {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Split sections */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-section.reverse .split-visual {
  order: 2;
}

.split-section.reverse .split-content {
  order: 1;
}

.split-visual img {
  border-radius: 12px;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  background: rgba(255, 204, 0, 0.15);
  color: var(--gold);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Team */
.section-blue {
  background: linear-gradient(160deg, var(--section-blue), var(--royal));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}

.team-card h4 {
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.social-links a {
  color: var(--white);
  opacity: 0.8;
  font-size: 0.85rem;
}

/* Stats tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.5rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
}

.tab-btn.active {
  background: var(--royal);
  border-color: var(--royal);
  color: var(--white);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Testimonial */
.testimonial {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial blockquote {
  font-size: 1.35rem;
  color: var(--white);
  font-style: italic;
  margin: 0 0 2rem;
  border: none;
  padding: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* Blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-card h3 {
  font-size: 1.05rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.accordion-trigger::after {
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 300;
}

.accordion-item.open .accordion-trigger::after {
  content: "−";
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.open .accordion-panel {
  max-height: 400px;
  padding-bottom: 1.25rem;
}

/* Footer */
.site-footer {
  background: #060b1a;
  border-top: 1px solid var(--border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-grid h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-grid p {
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text);
  font-size: 0.9rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid var(--border);
}

.footer-social a:hover {
  background: var(--royal);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-legal a {
  color: var(--text-muted);
}

/* Page hero */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--navy-light), var(--navy));
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.product-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-price {
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Forms */
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 640px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--royal-bright);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.2);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-error {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.invalid .form-error {
  display: block;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.checkbox-row input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--royal-bright);
  cursor: pointer;
}

.checkbox-row label {
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.5;
}

.form-success {
  display: none;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid #2ecc71;
  color: #2ecc71;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.form-success.visible {
  display: block;
}

/* Cart */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.cart-table th,
.cart-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cart-table th {
  color: var(--gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cart-qty {
  width: 70px;
  padding: 0.4rem;
  background: var(--navy);
  border: 1px solid var(--border);
  color: var(--white);
  border-radius: 4px;
}

.cart-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.cart-summary {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 400px;
  margin-left: auto;
}

/* Legal */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text);
}

.legal-content ul {
  padding-left: 1.25rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.15);
}

.pricing-card .price {
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--royal), var(--royal-bright));
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 1rem;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin: 0 auto 1rem;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-detail img {
  border-radius: 12px;
  border: 1px solid var(--border);
}

/* Mobile */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 992px) {
  .hero-grid,
  .split-section,
  .faq-layout,
  .product-detail,
  .footer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .split-visual,
  .split-section.reverse .split-content {
    order: unset;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .header-actions .btn {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cart-table {
    font-size: 0.85rem;
  }

  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) {
    display: none;
  }
}