@font-face {
  font-family: "Space Grotesk";
  src: url(../fonts/SpaceGrotesk-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --bg: #f0f4fa;
  --surface: #ffffff;
  --primary: #0b1e33;
  --accent: #1e6df2;
  --accent-light: #6ea5ff;
  --text: #1a2b3c;
  --text-light: #2c4258;
  --border-radius-card: 24px;
  --border-radius-el: 16px;
  --shadow-sm: 0 10px 25px -5px rgba(0,35,70,0.08), 0 8px 10px -6px rgba(0,20,40,0.03);
  --shadow-md: 0 20px 30px -10px rgba(0,45,90,0.15);
  --glass-bg: rgba(255,255,255,0.75);
  --glass-border: 1px solid rgba(255,255,255,0.7);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
}
section {
  overflow: hidden;
}
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.header {
  padding: 16px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(30,109,242,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.logo a { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.5rem; font-family: var(--font-heading); color: var(--primary); }
.logo img { border-radius: 12px; }
.header__notice { font-size: 0.8rem; color: var(--text-light); background: #e6edf6; padding: 4px 12px; border-radius: 40px; margin-left: 20px; }
.nav__list { display: flex; gap: 32px; list-style: none; }
.nav__list a { font-weight: 500; transition: color 0.2s; }
.nav__list a:hover { color: var(--accent); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 10px; }
.burger span { width: 24px; height: 2px; background: var(--primary); }

/* Hero three‑column */
.hero--tech { padding: 60px 0 40px; }
.hero__grid--three {
  display: grid;
  grid-template-columns: 1fr 1.2fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.hero__media-left { position: relative; }
.hero__img-wrapper {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: perspective(800px) rotateY(-2deg);
  transition: transform 0.25s;
}
.hero__img-wrapper:hover { transform: perspective(800px) rotateY(0deg); }
.hero__floating-badge {
  position: absolute;
  bottom: 20px;
  left: -5px;
  background: rgba(11,30,51,0.8);
  backdrop-filter: blur(8px);
  color: white;
  padding: 8px 18px;
  border-radius: 40px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero__badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--primary);
}
.gradient-text {
  background: linear-gradient(145deg, #1e6df2, #3b8cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__desc { font-size: 1.1rem; color: var(--text-light); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 60px;
  font-weight: 600;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 20px -10px rgba(30,109,242,0.3);
}
.btn--primary { background: var(--accent); }
.btn--primary:hover { background: #0a4bc2; transform: scale(1.02); }
.btn--full { width: 100%; text-align: center; }

.hero__extra { }
.hero-specs {
  padding: 28px 22px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  border: 1px solid rgba(30,109,242,0.2);
}
.hero-specs__title {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
}
.hero-specs__list { list-style: none; }
.hero-specs__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.hero-specs__list i { color: var(--accent); width: 20px; }
.hero-specs__note {
  margin-top: 18px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 600;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: var(--glass-border);
  border-radius: var(--border-radius-card);
}

.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; color: var(--accent); font-weight: 700; }
.section-title { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 2.8rem); margin-top: 8px; font-weight: 700; color: var(--primary); }

.features { padding: 60px 0; }
.irregular-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card { background: var(--surface); padding: 32px 24px; border-radius: var(--border-radius-card); box-shadow: var(--shadow-sm); transition: all 0.25s; border: 1px solid rgba(30,109,242,0.08); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.feature-card--large { grid-column: span 2; background: linear-gradient(145deg, #fff, #eef3fc); }
.feature-icon { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.feature-card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 12px; }

.description-gallery { padding: 40px 0 80px; }
.desc-gallery-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: center; }
.desc-text { font-size: 1.1rem; margin: 20px 0; color: var(--text-light); }
.desc-list { list-style: none; margin-top: 24px; }
.desc-list li { margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.desc-list i { color: var(--accent); }
.gallery-main { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 16px; }
.gallery-thumbs { display: flex; gap: 12px; justify-content: center; }
.thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 12px; cursor: pointer; opacity: 0.6; border: 2px solid transparent; }
.thumb.active { opacity: 1; border-color: var(--accent); }
.gallery-hint { text-align: center; margin-top: 12px; }

.specs { padding: 60px 0; }
.specs-table { max-width: 800px; margin: 0 auto; padding: 32px; }
.spec-row { display: flex; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.spec-label { width: 40%; font-weight: 600; }
.spec-value { width: 60%; color: var(--text-light); }

.reviews { padding: 60px 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-card { background: var(--surface); padding: 32px; border-radius: 28px; box-shadow: var(--shadow-sm); border: 1px solid #e2eaf5; }
.review-stars { color: #f5b342; margin-bottom: 20px; }
.review-text { margin-bottom: 24px; font-style: italic; }
.author-name { font-weight: 700; }
.author-loc { font-size: 0.85rem; color: var(--text-light); }

.request-form { padding: 60px 0; }
.form-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 40px; }
.form-info h2 { margin-bottom: 16px; }
.form-benefits { margin-top: 24px; display: flex; gap: 24px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row input, .form-row select { width: 100%; padding: 16px 20px; border: 1px solid #cddae9; border-radius: 60px; background: white; }
.form-row--quantity { display: flex; align-items: center; gap: 16px; }
.form-row--quantity input { width: 100px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; }

.faq { padding: 40px 0 80px; }
.faq-grid { max-width: 900px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { background: white; border-radius: 20px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-weight: 600; cursor: pointer; }
.faq-answer { padding: 0 0 20px; display: none; color: var(--text-light); border-top: 1px solid #eee; }
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(45deg); }

/* Legal content styling */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0px;
  flex: 1;
  word-break: break-word;
}
.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: var(--primary);
}
.legal-content h2 { font-family: var(--font-heading); font-size: 1.8rem; margin: 30px 0 16px; }
.legal-content p { margin-bottom: 20px; line-height: 1.7; color: var(--text); }
.legal-content b { color: var(--primary); }
.legal-content a { color: var(--accent); text-decoration: underline; }

/* Footer */
.footer { background: #0b1a28; color: #e0edf5; padding: 60px 0 30px; margin-top: auto; }
.footer .logo span { color: white; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.footer__legal { display: flex; flex-direction: column; gap: 12px; }
.footer__legal a { color: #b8d1f0; }
.footer__contacts p { margin-bottom: 8px; font-size: 0.9rem; }
.footer__disclaimer { grid-column: span 2; font-size: 0.85rem; color: #a0bbd0; border-top: 1px solid #1e3b55; padding-top: 24px; }
.footer__copy { grid-column: span 2; text-align: right; border-top: 1px solid #1e3b55; padding-top: 20px; }

.back-to-top { position: fixed; bottom: 30px; right: 30px; background: var(--accent); color: white; width: 48px; height: 48px; border-radius: 30px; border: none; cursor: pointer; opacity: 0; visibility: hidden; box-shadow: var(--shadow-md); z-index: 99; }
.back-to-top.visible { opacity: 1; visibility: visible; }

/* Thanks page specific */
.thanks-main { flex: 1; display: flex; align-items: center; }
.thanks-container { text-align: center; padding: 60px 20px; }
.thanks-logo { margin: 0 auto 30px; border-radius: 16px; }
.thanks-message {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  padding: 40px;
  border-radius: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(30,109,242,0.15);
}
.thanks-message h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--primary);
}
.thanks-message p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text);
}

@media (max-width: 1000px) {
  .hero__grid--three { grid-template-columns: 1fr 1fr; }
  .hero__extra { grid-column: span 2; margin-top: 20px; }
  .irregular-grid { grid-template-columns: 1fr 1fr; }
  .feature-card--large { grid-column: span 1; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .nav { position: fixed; top: 80px; left: 0; right: 0; background: white; padding: 24px; transform: translateY(-150%); }
  .nav.active { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: center; }
  .burger { display: flex; }
  .hero__grid--three, .desc-gallery-grid, .form-wrapper, .footer__grid { grid-template-columns: 1fr; }
  .hero__extra { grid-column: span 1; }
}
@media (max-width: 500px) {
  .irregular-grid { grid-template-columns: 1fr; }
}