@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1e2f5e;
  --primary-dark: #0f1c3a;
  --accent: #e6a020;
  --accent-light: #f3c26b;
  --gray-bg: #f6f8fc;
  --white: #ffffff;
  --shadow: 0 20px 35px -12px rgba(0,0,0,0.1);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255,255,255,0.5);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: clip; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--gray-bg);
  color: #1a2634;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}
main { flex: 1 0 auto; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn--primary { background: linear-gradient(95deg, var(--primary), #2c4880); }
.btn--primary:hover { transform: scale(1.03); box-shadow: 0 12px 24px -8px var(--primary); background: var(--primary-dark);}
.btn--full { width: 100%; }

/* header */
.header { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.03); position: sticky; top:0; z-index: 1000; backdrop-filter: blur(4px); background: rgba(255,255,255,0.9);}
.header__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 12px 0;}
.logo a { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 1.6rem; color: var(--primary); font-family: 'Space Grotesk';}
.logo img { width: 50px; height: 50px; object-fit: contain;}
.header__notice { font-size: 0.75rem; background: #f0f2f5; padding: 6px 12px; border-radius: 40px; color: #2e3b4e; min-width: 0;}

[data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-32px, 0, 0) !important;
}
[data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(32px, 0, 0) !important;
}
[data-aos="zoom-in"]:not(.aos-animate) {
  transform: translate3d(0, 24px, 0) scale(0.98) !important;
}

.hero__grid > *,
.features__grid > *,
.specs__grid > *,
.testimonials__grid > *,
.order__grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
}

/* hero */
.hero { padding: 60px 0 40px; background: linear-gradient(120deg, #eef2ff 0%, #ffffff 100%);}
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;}
.hero__title { font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px;}
.hero__subtitle { font-size: 1.2rem; margin-bottom: 28px; color: #2c3e50;}
.hero__mini-faq { display: flex; gap: 24px; margin-top: 30px; flex-wrap: wrap;}
.hero__mini-faq span i { color: var(--accent); margin-right: 6px;}
.hero__image img { border-radius: 36px; box-shadow: var(--shadow); transform: perspective(800px) rotateY(-4deg); transition: all 0.4s;}
.hero__image img:hover { transform: perspective(800px) rotateY(0deg);}

/* features grid irregular + glass */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 40px 0;}
.feature-card { padding: 32px 24px; border-radius: 28px; transition: all 0.25s; backdrop-filter: blur(2px); background: var(--glass-bg); border: 1px solid var(--glass-border); box-shadow: 0 6px 12px -6px rgba(0,0,0,0.05);}
.feature-card:hover { transform: translateY(-10px) scale(1.02); background: white; border-color: var(--accent);}
.feature-card__icon { font-size: 2.6rem; color: var(--accent); margin-bottom: 20px;}
.feature-card__title { font-size: 1.5rem; margin-bottom: 12px;}

/* steps overlapping */
.how-it-works { padding: 60px 0;}
.steps__list { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;}
.step { background: white; border-radius: 48px; padding: 28px 24px; flex: 1; min-width: 200px; position: relative; box-shadow: var(--shadow); transition: 0.2s; border-bottom: 4px solid var(--accent);}
.step--overlap { margin-top: 20px; margin-bottom: 20px;}
.step:hover { transform: translateY(-8px) rotate(1deg);}
.step__number { font-size: 3rem; font-weight: 800; color: var(--accent-light); opacity: 0.5; margin-bottom: 10px;}

/* gallery native */
.product-gallery { padding: 40px 0;}
.gallery-wrapper { max-width: 600px; margin: 0 auto;}
.gallery-main img { width: 100%; border-radius: 32px; box-shadow: var(--shadow); margin-bottom: 20px; background: #fff;}
.gallery-thumbs { display: flex; gap: 16px; justify-content: center;}
.thumb { width: 90px; height: 90px; object-fit: cover; border-radius: 24px; cursor: pointer; opacity: 0.6; transition: 0.2s; border: 2px solid transparent;}
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--accent); transform: scale(1.05);}

/* specs grid */
.specs { background: white; padding: 60px 0; margin: 20px 0;}
.specs__grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px; align-items: center;}
.specs-list li { list-style: none; margin: 18px 0; font-size: 1.1rem; display: flex; align-items: center; gap: 12px;}
.specs-list i { color: var(--accent); width: 28px;}
.specs__image img { border-radius: 40px; box-shadow: 20px 20px 0 rgba(230,160,32,0.2); transition: 0.3s;}
.specs__image img:hover { transform: scale(1.02);}

/* reviews + glassmorphism */
.testimonials { background: linear-gradient(145deg, #f3f6fc, #ffffff); padding: 60px 0;}
.testimonials__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px;}
.testimonial { padding: 28px; border-radius: 40px; background: rgba(255,255,255,0.7); backdrop-filter: blur(8px); box-shadow: 0 12px 28px -8px rgba(0,0,0,0.08); transition: 0.25s;}
.testimonial:hover { transform: scale(1.02) translateY(-6px); background: white;}

/* comparison table */
.table-wrapper { overflow-x: auto;}
.comparison-table { width: 100%; border-collapse: collapse; background: white; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow);}
.comparison-table th, .comparison-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid #e2e8f0;}
.comparison-table th { background: var(--primary); color: white;}
.comparison-table i.fa-check-circle { color: #2b9348;}
.comparison-table i.fa-times-circle { color: #b91c1c;}

/* faq accordion */
.faq-section { padding: 70px 0;}
.faq-item { margin-bottom: 16px; background: white; border-radius: 60px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.03);}
.faq-question { width: 100%; background: white; border: none; padding: 20px 32px; text-align: left; font-weight: 700; font-size: 1.2rem; display: flex; justify-content: space-between; cursor: pointer; transition: 0.2s;}
.faq-question i { transition: transform 0.2s; color: var(--accent);}
.faq-answer { display: none; padding: 0 32px 24px 32px; color: #2d3e50; line-height: 1.5; border-top: 1px solid #f0f0f0;}
.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question i { transform: rotate(180deg);}

/* order form + two checkboxes */
.order-section { padding: 60px 0; background: var(--white);}
.order__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px;}
.order__price { margin: 24px 0; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;}
.price-old { text-decoration: line-through; color: #7e8c8f; font-size: 1.3rem;}
.price-new { font-size: 2.4rem; font-weight: 800; color: var(--primary);}
.save { background: var(--accent); padding: 6px 14px; border-radius: 60px; font-weight: bold;}
.form { background: #f9fafc; padding: 32px; border-radius: 48px; box-shadow: var(--shadow);}
.form__field { margin-bottom: 20px;}
.form__field label { display: block; margin-bottom: 6px; font-weight: 500;}
.form__field input, .form__field select { width: 100%; max-width: 100%; padding: 14px 18px; border: 1px solid #ced4da; border-radius: 60px; font-size: 1rem;}
.checkbox-group { margin: 20px 0; display: flex; flex-direction: column; gap: 14px;}
.checkbox-label { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem;}
.checkbox-label a { color: var(--primary); text-decoration: none;}
.form-note { font-size: 0.75rem; text-align: center; margin-top: 20px;}

.form-note { font-size: 0.75rem; text-align: center; margin-top: 20px;}

.thanks-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  background: linear-gradient(120deg, #eef2ff 0%, #ffffff 100%);
}

.thanks-card {
  background: white;
  padding: 40px 32px;
  border-radius: 48px;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 560px;
  width: 100%;
}

.thanks-logo {
  margin: 0 auto 20px;
}

.thanks-card h1 {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin-bottom: 12px;
  color: var(--primary);
}

.thanks-subtitle {
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 16px;
  font-weight: 600;
}

.thanks-body {
  font-size: 1rem;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 24px;
}

.thanks-body strong {
  color: var(--accent);
}

.thanks-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 28px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.thanks-steps > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.thanks-steps i {
  color: var(--accent);
}

.footer { background: #0c1a2b; color: #cddae9; margin-top: auto; padding: 48px 0 24px;}
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; row-gap: 40px;}
.footer__logo a { color: white; text-decoration: none; display: flex; align-items: center; gap: 10px;}
.footer__contact p, .footer__legal a { color: #bfcfe0; margin-bottom: 8px; text-decoration: none; display: block;}
.footer__legal a:hover { color: var(--accent);}
.footer__disclaimer { flex: 1 1 100%; font-size: 0.8rem; margin-top: 20px; border-top: 1px solid #2a3b4e; padding-top: 24px;}
.footer__copy { width: 100%; text-align: center; margin-top: 20px; font-size: 0.8rem;}

.back-to-top { position: fixed; bottom: 30px; right: 30px; background: var(--primary); color: white; border: none; width: 48px; height: 48px; border-radius: 60px; cursor: pointer; opacity: 0; transition: 0.2s; pointer-events: none; z-index: 999;}
.back-to-top.show { opacity: 1; pointer-events: auto;}
@media (max-width: 860px) {
  .hero__grid, .order__grid, .specs__grid, .testimonials__grid, .features__grid { grid-template-columns: 1fr; gap: 32px;}
  .features__grid { grid-template-columns: 1fr;}
  .step { margin: 0;}
  .footer__inner { flex-direction: column;}
  .section-title { margin-bottom: 2rem;}
}

@media (max-width: 700px) {
  .table-wrapper {
    overflow-x: visible;
  }
  .comparison-table thead {
    display: none;
  }
  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block;
    width: 100%;
  }
  .comparison-table tr {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  .comparison-table td {
    padding: 8px 0;
    border: none;
    min-width: 0;
  }
  .comparison-table td:first-child {
    font-weight: 700;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
  }
}

@media (max-width: 640px) {
  .header__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .logo a {
    flex-direction: column;
    justify-content: center;
  }
  .header__notice {
    word-break: break-all;
    text-align: center;
    width: 100%;
  }
  .logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }
  .footer__contact,
  .footer__legal {
    word-break: break-all;
  }
  .thanks-card {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .form {
    padding: 24px 16px;
  }
  .hero {
    padding: 40px 0 32px;
  }
  .hero__title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
  .price-new {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

.legal-content {
  word-break: break-word;
  max-width: 800px;
  margin: 20px auto;
  padding: 40px 20px;
  background: var(--white, #fff);
  border-radius: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.legal-content h1 {
  font-size: 2rem;
  font-family: 'Space Grotesk', monospace;
  margin-bottom: 1.8rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent, #e6a020);
  display: inline-block;
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 1.8rem 0 1rem;
  font-weight: 600;
}

.legal-content h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.8rem;
  font-weight: 600;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.legal-content b, .legal-content strong {
  color: var(--primary, #1e2f5e);
  font-weight: 600;
}

.legal-content a {
  color: var(--primary, #1e2f5e);
  text-decoration: underline;
  word-break: break-word;
}

.legal-content a:hover {
  color: var(--accent, #e6a020);
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1rem 1.8rem;
  line-height: 1.6;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content hr {
  margin: 2rem 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent, #e6a020), transparent);
}

/* Responsive */
@media (max-width: 768px) {
  .legal-content {
    padding: 30px 16px;
  }
  .legal-content h1 {
    font-size: 1.8rem;
  }
  .legal-content h2 {
    font-size: 1.4rem;
  }
}