/* SCTech — corporate site. Monochrome, DJI-style product page. */
:root {
  --black: #0a0a0b;
  --ink: #111113;
  --white: #ffffff;
  --paper: #f5f5f7;
  --line: #e3e3e8;
  --line-dark: #2a2a2e;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --muted-dark: #a1a1a6;
  --ok: #1f9d4c;
  --radius: 18px;
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); color: var(--black); padding: 8px 12px; border-radius: 8px; z-index: 100; }

/* ── Header ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 11, 0.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--muted-dark); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--white); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }

/* ── Buttons ────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; font-family: inherit; }
.btn:active { transform: scale(.98); }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: #e8e8ed; }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #2a2a2e; }
.btn-ghost-light { border-color: rgba(255, 255, 255, 0.28); color: var(--white); }
.btn-ghost-light:hover { border-color: var(--white); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--white); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ── Hero ───────────────────────────────────────────── */
.hero { background: radial-gradient(1200px 600px at 70% 30%, #1d1d22 0%, var(--black) 60%); color: var(--white); overflow: hidden; }
section.hero { padding: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 80px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 76, .2); }
.compat { display: inline-flex; align-items: center; gap: 14px; padding: 10px 18px 10px 16px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.04); font-size: 14px; font-weight: 600; color: #d1d1d6; }
.compat img { height: 18px; width: auto; }
.compat .sep { width: 1px; height: 18px; background: rgba(255, 255, 255, 0.22); }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; margin: 22px 0 20px; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted-dark); max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero .trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px; color: var(--muted-dark); font-size: 14px; }
.hero .trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-visual { position: relative; max-width: 620px; justify-self: center; width: 100%; }
.hero-visual .glow { position: absolute; inset: -10% 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .13), transparent); filter: blur(8px); }
.hero-visual img { position: relative; width: 122%; max-width: none; margin-left: -11%; height: auto; animation: hover 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
@keyframes hover { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-visual img { animation: none; } html { scroll-behavior: auto; } }

/* ── Sections ───────────────────────────────────────── */
section { padding: 104px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--black); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.section-dark .kicker { color: var(--muted-dark); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section-dark .section-head p { color: var(--muted-dark); }

/* Features */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section-alt .card { border-color: transparent; }
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--black); color: var(--white); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-4 .card { padding: 24px; }

/* App showcase */
.devices { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; max-width: 1040px; margin: 0 auto; }
.devices figure { margin: 0; text-align: center; }
.devices img { width: 100%; height: auto; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .18)); }
.devices figcaption { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 14px; font-weight: 700; color: var(--muted-dark); margin-bottom: 18px; letter-spacing: .08em; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted-dark); font-size: 15px; }

/* Compatibility */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--paper); }
tr:last-child td { border-bottom: 0; }
.yes { color: var(--ok); font-weight: 600; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Pricing */
.price-card { max-width: 520px; margin: 0 auto; background: var(--white); color: var(--text); border-radius: 24px; padding: 40px; }
.price-card .plan { font-size: 15px; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 6px; }
.price strong { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; }
.price span { color: var(--muted); font-size: 16px; }
.price-card ul { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.price-card li svg { flex: none; margin-top: 3px; color: var(--ok); }
.price-card .btn { width: 100%; height: 54px; font-size: 16px; }
.price-card .fine { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); font-size: 16px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact a.card { text-decoration: none; display: flex; gap: 18px; align-items: center; transition: border-color .15s; }
.contact a.card:hover { border-color: var(--text); }
.contact .card .icon { margin: 0; flex: none; }
.contact .card strong { display: block; font-size: 18px; }
.contact .card span { color: var(--muted); font-size: 15px; }

/* Footer */
.site-footer { background: var(--black); color: var(--muted-dark); padding: 56px 0 40px; font-size: 14px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line-dark); }
.site-footer .brand img { height: 20px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { color: var(--white); }
.site-footer .legal { padding-top: 24px; display: grid; gap: 8px; font-size: 13px; }

/* Content pages (legal, license lookup) */
.page-hero { background: var(--black); color: var(--white); padding: 72px 0 56px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.page-hero p { margin-top: 12px; color: var(--muted-dark); font-size: 17px; max-width: 640px; }
.prose { max-width: 780px; padding-top: 56px; padding-bottom: 96px; }
.prose h2 { font-size: 22px; margin: 40px 0 12px; }
.prose p, .prose li { color: #3a3a3c; font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.updated { font-size: 14px; color: var(--muted); }

.lookup { max-width: 520px; padding-top: 56px; padding-bottom: 96px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { height: 52px; border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; background: var(--white); color: var(--text); }
.field input:focus { outline: 2px solid var(--black); outline-offset: 1px; border-color: var(--black); }
.result { margin-top: 24px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); display: none; }
.result.show { display: block; }
.result.ok { border-color: var(--ok); background: #f1faf4; }
.result.err { border-color: #e5484d; background: #fdf3f3; color: #a12a2e; }
.license-code { font-family: ui-monospace, Consolas, monospace; font-size: 24px; font-weight: 700; letter-spacing: .04em; margin: 8px 0 14px; word-break: break-all; }

/* Installation guide */
.guide { max-width: 820px; padding-top: 56px; padding-bottom: 96px; }
.guide .need { background: var(--paper); border-radius: var(--radius); padding: 28px; margin-bottom: 40px; }
.guide .need h2 { font-size: 20px; margin-bottom: 12px; }
.guide .need ul { margin: 0 0 22px; padding-left: 20px; color: #3a3a3c; }
.guide .need p { color: #3a3a3c; }
.guide-steps { list-style: none; padding: 0; margin: 0 0 40px; counter-reset: g; }
.guide-steps li { position: relative; padding: 0 0 32px 64px; border-left: 1px solid var(--line); margin-left: 20px; }
.guide-steps li:last-child { border-left-color: transparent; }
.guide-steps li::before { counter-increment: g; content: counter(g); position: absolute; left: -20px; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; font-weight: 700; }
.guide-steps h3 { font-size: 19px; margin: 4px 0 8px; }
.guide-steps p { color: #3a3a3c; }
.guide-steps p + p { margin-top: 8px; }
.guide-steps .tip { font-size: 14px; color: var(--muted); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; padding-top: 48px; padding-bottom: 64px; }
  .hero-visual { max-width: 480px; }
  .hero-visual img { width: 100%; margin-left: 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--black); flex-direction: column; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 16px; }
  .menu-btn { display: block; }
  .site-header .header-cta { display: none; }
  section { padding: 72px 0; }
  .grid-3, .grid-4, .steps, .contact, .devices { grid-template-columns: 1fr; }
  .devices { gap: 40px; }
  .devices figure:last-child img { max-width: 80%; margin: 0 auto; }
  .price-card { padding: 28px; }
  .price strong { font-size: 46px; }
  .hero-visual { max-width: 100%; }
  .wrap { padding: 0 16px; }
}
