@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0a1128;
  --bg-darker: #060b1a;
  --bg-royal: #4d66eb;
  --royal-dark: #2d3f9e;
  --accent: #ffb703;
  --accent-hover: #e6a503;
  --text: #ffffff;
  --text-muted: #b8c5e8;
  --border: rgba(255, 255, 255, 0.12);
  --card-bg: rgba(255, 255, 255, 0.04);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--text-muted); }
ul { color: var(--text-muted); }
.accent-word { color: var(--accent); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 5rem 0; position: relative; }
.section-royal { background: var(--bg-royal); }
.section-darker { background: var(--bg-darker); }
.section-label {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}
.section-title { color: var(--text); margin-bottom: 1rem; }
.section-desc { max-width: 640px; margin-bottom: 2.5rem; }

/* Network pattern */
.bg-pattern {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(77, 102, 235, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 183, 3, 0.08) 0%, transparent 45%),
    linear-gradient(rgba(77, 102, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 102, 235, 0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 17, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img, .logo-link svg { height: 42px; width: auto; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.25rem;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 0.6rem 0.9rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius);
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); background: rgba(255, 183, 3, 0.08); }
.cart-link { position: relative; }
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent);
  color: var(--bg-dark);
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--bg-royal); color: #fff; box-shadow: 0 4px 20px rgba(77, 102, 235, 0.4); }
.btn-primary:hover { background: var(--royal-dark); color: #fff; }
.btn-accent { background: var(--accent); color: var(--bg-dark); }
.btn-accent:hover { background: var(--accent-hover); color: var(--bg-dark); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.875rem; }

/* Hero */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
}
.hero h1 { max-width: 900px; margin-inline: auto 1.5rem; }
.hero .lead {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 1.25rem auto 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(255, 183, 3, 0.35); transform: translateY(-3px); }
.card-body { padding: 1.5rem; }
.card-img { aspect-ratio: 16/10; object-fit: cover; width: 100%; filter: saturate(0.85) hue-rotate(-10deg); }
.card-img-wrap { overflow: hidden; }
.icon-card {
  padding: 1.5rem;
  text-align: left;
}
.icon-card .icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.icon-card h4 { color: var(--text); margin-bottom: 0.5rem; font-size: 1.05rem; }
.icon-card p { font-size: 0.9rem; margin: 0; }

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--text-muted);
}
.check-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(255, 183, 3, 0.15);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Team */
.team-card {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
}
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: sepia(0.2) hue-rotate(180deg) saturate(1.2);
  margin-bottom: 1rem;
}
.team-card h4 { margin-bottom: 0.25rem; }
.team-card span { font-size: 0.85rem; color: var(--text-muted); }

/* Testimonial */
.testimonial-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--bg-royal);
  font-family: Georgia, serif;
}
.testimonial-block blockquote {
  font-size: 1.25rem;
  color: var(--text);
  margin: 1rem 0 1.5rem;
  font-style: italic;
}
.reviewer { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.reviewer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* Pricing */
.price-card { padding: 2rem 1.5rem; text-align: center; }
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow);
  transform: scale(1.02);
}
.price-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin: 1rem 0;
}
.price-card ul { text-align: left; list-style: none; padding: 0; margin: 1.5rem 0; }
.price-card li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }

/* FAQ Accordion */
.faq-layout { align-items: start; }
.accordion { border-top: 1px solid var(--border); }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.accordion-trigger .icon-toggle { color: var(--accent); font-size: 1.25rem; flex-shrink: 0; }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.accordion-panel-inner { padding-bottom: 1.25rem; color: var(--text-muted); font-size: 0.95rem; }
.accordion-item.is-open .accordion-panel { max-height: 400px; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--bg-royal);
  box-shadow: 0 0 0 3px rgba(77, 102, 235, 0.25);
}
.form-control.is-invalid { border-color: #e63946; }
.form-error {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
}
.form-control.is-invalid + .form-error,
.checkbox-field.is-invalid .form-error { display: block; }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { cursor: pointer; }

/* Checkbox — aligned row */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.checkbox-field input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0.2rem 0 0 0;
  flex-shrink: 0;
  accent-color: var(--bg-royal);
  cursor: pointer;
}
.checkbox-field label {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}
.checkbox-field label a { text-decoration: underline; }

.form-success {
  padding: 1rem 1.25rem;
  background: rgba(77, 102, 235, 0.2);
  border: 1px solid var(--bg-royal);
  border-radius: var(--radius);
  color: var(--text);
  margin-top: 1rem;
  display: none;
}
.form-success.is-visible { display: block; }

/* Page hero (inner) */
.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

/* Legal long content */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--text); }
.legal-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; color: var(--text); }
.legal-content p, .legal-content li { font-size: 0.95rem; }

/* 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(--accent); font-weight: 600; }
.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cart-qty button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
}
.cart-summary {
  max-width: 400px;
  margin-left: auto;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.cart-empty { text-align: center; padding: 3rem; }

/* Partner bar */
.partner-bar {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  opacity: 0.7;
}
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Image frame */
.img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.img-blue-tint { filter: sepia(0.15) hue-rotate(190deg) saturate(1.1); }

/* Footer */
.site-footer {
  background: var(--bg-darker);
  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-brand p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.footer-heading {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--accent); }
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}
.social-links a:hover { background: rgba(255, 183, 3, 0.1); border-color: var(--accent); }
.footer-newsletter .form-control { margin-bottom: 0.75rem; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-legal-inline { margin-top: 0.5rem; }
.footer-legal-inline a { color: var(--text-muted); margin: 0 0.5rem; font-size: 0.85rem; }
.footer-legal-inline a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
  }
  .main-nav.is-open { max-height: 480px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 1rem; }
  .main-nav a { padding: 0.85rem 1rem; }
  .grid-2, .grid-3, .grid-5 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 4rem 0 3rem; }
  .cart-table { font-size: 0.85rem; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}