/* AMTG — Apple-style design system */
:root {
  --bg: #ffffff;
  --bg-gray: #f5f5f7;
  --bg-dark: #000000;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --link: #0066cc;
  --border: #d2d2d7;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.container-wide { max-width: 1380px; margin: 0 auto; padding: 0 22px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-inner {
  max-width: 1024px; margin: 0 auto; padding: 0 22px;
  height: 52px; display: flex; align-items: center; gap: 28px;
}
.nav-logo { font-weight: 700; font-size: 19px; color: var(--text); letter-spacing: -0.02em; }
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text); font-size: 14px; opacity: .85; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-cta {
  background: #0071e3; color: #fff !important; opacity: 1 !important;
  padding: 6px 14px; border-radius: 980px; font-size: 14px;
}
.nav-cta:hover { background: #0077ed; }
.nav-links a.active { background: #0071e3; color: #fff !important; padding: 6px 14px; border-radius: 980px; opacity: 1; }
.nav-lang { font-size: 13px; color: var(--text-2); border-left: 1px solid var(--border); padding-left: 18px; }
.burger { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  text-align: center; padding: 90px 22px 70px;
  background: var(--bg);
}
.hero-dark { background: var(--bg-dark); color: #f5f5f7; }
.hero-dark .eyebrow { color: #a1a1a6; }
.eyebrow {
  font-size: 15px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05;
  max-width: 800px; margin: 0 auto 18px;
}
.hero .sub {
  font-size: clamp(19px, 2.6vw, 26px); color: var(--text-2);
  max-width: 700px; margin: 0 auto 30px; line-height: 1.4; font-weight: 400;
}
.hero-dark .sub { color: #a1a1a6; }
.hero-links { display: flex; gap: 26px; justify-content: center; font-size: 19px; margin-bottom: 50px; }
.hero-links a::after { content: " ›"; }
.hero-img {
  max-width: 1100px; margin: 0 auto; border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.12);
}
.hero-img img { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 90px 22px; }
.section-gray { background: var(--bg-gray); }
.section-gray > a { display: block; margin-bottom: 32px; }
.section-gray > a .feature { margin-bottom: 0; }
.section-dark { background: var(--bg-dark); color: #f5f5f7; }
.section-dark h2 { color: #f5f5f7; }
.section-dark .lead { color: #a1a1a6; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 700;
  letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 14px;
}
.lead { font-size: 21px; color: var(--text-2); line-height: 1.45; }

/* ---------- Product cards (Apple grid) ---------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px; max-width: 1200px; margin: 0 auto;
}
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column;
}
.section-gray .card { background: #fff; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.10); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: #e8e8ed; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.card-tag { font-size: 14px; color: var(--text-2); margin-bottom: 12px; }
.card-price { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.card-body p { font-size: 15px; color: var(--text-2); line-height: 1.5; flex: 1; }
.card-link { margin-top: 18px; font-size: 16px; }
.card-link::after { content: " ›"; }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1200px; margin: 0 auto 90px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip .feature-text { order: 2; }
.feature-text h3 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.feature-text p { color: var(--text-2); font-size: 18px; line-height: 1.5; }
.feature-img img { border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.10); }

/* ---------- Spec table ---------- */
.specs { max-width: 800px; margin: 0 auto; }
.spec-row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px;
}
.spec-row dt { color: var(--text-2); }
.spec-row dd { font-weight: 600; text-align: right; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 100px 22px; }
.cta h2 { font-size: clamp(32px, 4.5vw, 48px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 14px; }
.cta p { color: var(--text-2); font-size: 20px; max-width: 600px; margin: 0 auto 30px; }
.btn {
  display: inline-block; background: #0071e3; color: #fff;
  padding: 12px 28px; border-radius: 980px; font-size: 17px; font-weight: 500;
}
.btn:hover { background: #0077ed; text-decoration: none; }

/* ---------- Footer ---------- */
footer { background: var(--bg-gray); padding: 40px 22px; font-size: 13px; color: var(--text-2); }
.foot-grid { max-width: 1024px; margin: 0 auto 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.foot-grid h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.foot-grid a { display: block; color: var(--text-2); margin-bottom: 8px; font-size: 13px; }
.foot-bottom { max-width: 1024px; margin: 0 auto; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 52px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px 22px 24px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .nav-lang { border: none; padding: 0; }
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .feature-text { order: 0; }
  .section { padding: 60px 20px; }
  .hero { padding: 60px 20px 50px; }
}

a.card { display: flex; flex-direction: column; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.gallery img, .gallery video { width: 100%; height: auto; border-radius: 12px; background: #f5f5f7; }

.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.gallery-thumbs a { display: block; width: 200px; }
.gallery-thumbs img { width: 100%; height: 150px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.2s; }
.gallery-thumbs img:hover { transform: scale(1.03); }

.gallery-uniform img { height: 220px; object-fit: cover; }
