/* ============================================================
   SieAgent website styles
   Dark, technical theme. No build step, no external fonts.
   ============================================================ */

:root {
  --bg: #0b1020;
  --bg-2: #0d1426;
  --surface: #121a2e;
  --surface-2: #16203a;
  --border: #243049;
  --text: #e6ebf5;
  --muted: #9aa7bd;
  --accent: #22d3ee;
  --accent-2: #3b82f6;
  --warn-bg: #2a1f06;
  --warn-border: #8a5a13;
  --warn-text: #ffce7a;
  --ok: #34d399;
  --err: #f87171;
  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --shadow: 0 14px 40px rgba(0, 0, 0, .4);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Segoe UI Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: transform .08s ease, opacity .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #04121f; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn.is-disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.4); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 16, 32, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-logo { border-radius: 8px; }
.brand-name { font-size: 19px; letter-spacing: .2px; }
.brand-tag {
  font-size: 11px; font-weight: 600; color: var(--warn-text);
  background: var(--warn-bg); border: 1px solid var(--warn-border);
  padding: 2px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px;
}
.nav-menu { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-menu > a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-menu > a:hover { color: var(--text); text-decoration: none; }
.lang-toggle {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: 8px; padding: 6px 12px; font-size: 13px; font-weight: 700; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; margin-left: auto; }
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 5px auto; width: 24px; border-radius: 2px; transition: .2s; }

/* ===== Banner ===== */
.banner {
  background: var(--warn-bg); border-bottom: 1px solid var(--warn-border); color: var(--warn-text);
  font-size: 14px; font-weight: 500;
}
.banner .container { display: flex; align-items: center; gap: 10px; padding-top: 11px; padding-bottom: 11px; }
.banner-icon { font-size: 17px; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 96px 0 86px; text-align: center;
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(34, 211, 238, .14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero-inner { position: relative; z-index: 2; }
.hero-title { font-size: clamp(46px, 9vw, 92px); font-weight: 800; margin: 10px 0 6px; letter-spacing: -1.5px;
  background: linear-gradient(120deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-subtitle { font-size: clamp(18px, 3.4vw, 26px); font-weight: 600; color: var(--text); margin: 0 0 16px; }
.hero-desc { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-glow { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(700px 360px at 50% 0%, #000 30%, transparent 75%); }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kicker { color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 8px; }
.kicker-warn { color: var(--warn-text); }
.section-title { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin: 0 0 22px; letter-spacing: -.5px; }
.prose { max-width: 720px; color: var(--muted); font-size: 17px; }
.prose p { margin: 0 0 14px; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--accent); transform: translateY(-3px); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ===== Gallery ===== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-2); }
.shot figcaption { padding: 12px 16px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }

/* ===== Video ===== */
.video-wrap { margin-top: 28px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background:
    radial-gradient(600px 300px at 50% 40%, rgba(34,211,238,.12), transparent 60%), var(--surface); display: grid; place-items: center; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-play { display: inline-flex; align-items: center; gap: 12px; background: rgba(0,0,0,.35); color: #fff;
  border: 1px solid rgba(255,255,255,.25); padding: 14px 24px; border-radius: 999px; cursor: pointer; font-size: 16px; font-weight: 600; }
.video-play:hover { background: rgba(34,211,238,.25); border-color: var(--accent); }
.play-icon { font-size: 14px; }
.video-link { margin-top: 14px; }

/* ===== Steps ===== */
.steps { list-style: none; counter-reset: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; max-width: 820px; }
.step { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 20px; }
.step h3 { margin: 0 0 6px; font-size: 17px; color: var(--text); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Download ===== */
.download-box { margin-top: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; max-width: 640px; box-shadow: var(--shadow); }
.req { color: var(--text); font-weight: 600; font-size: 15px; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.ack { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; margin-bottom: 20px; cursor: pointer; }
.ack input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.ack.flash { color: var(--warn-text); }
.soon { margin: 6px 0 0; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600;
  color: var(--warn-text); background: var(--warn-bg); border: 1px solid var(--warn-border); }

/* ===== Trial form ===== */
.trial-form { margin-top: 28px; max-width: 460px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input { width: 100%; padding: 13px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 16px; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34,211,238,.18); }
.trial-form .btn { width: 100%; }
.trial-consent { color: var(--muted); font-size: 12.5px; margin: 14px 0 0; }
.status { margin: 14px 0 0; font-size: 14.5px; font-weight: 600; min-height: 20px; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== Status section ===== */
.status-section { background:
  linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--warn-border); }
.status-section .prose { max-width: 760px; }

/* ===== Footer ===== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 50px 0 26px; margin-top: 10px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer-brand img { display: inline-block; vertical-align: middle; border-radius: 7px; }
.footer-brand strong { font-size: 18px; margin-left: 8px; vertical-align: middle; }
.footer-brand p { color: var(--muted); font-size: 14px; margin: 12px 0 0; max-width: 280px; }
.site-footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 0 0 12px; }
.site-footer a { display: block; color: var(--text); font-size: 15px; margin-bottom: 8px; }
.site-footer a.footer-mail { color: var(--accent); }
.site-footer p { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; }
.footer-disclaimer { color: var(--warn-text) !important; }

/* ===== Verified page ===== */
.verify-main { min-height: 70vh; display: grid; place-items: center; padding: 60px 0; }
.verify-card { max-width: 520px; margin: 0 auto; text-align: center; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 44px 34px; box-shadow: var(--shadow); }
.verify-card h1 { font-size: 26px; margin: 8px 0 12px; }
.verify-card p { color: var(--muted); margin: 0 0 26px; }
.vstate { display: none; }
.vstate.show { display: block; }
.vicon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; margin: 0 auto 6px; }
.vicon-ok { background: rgba(52, 211, 153, .15); color: var(--ok); border: 1px solid var(--ok); }
.vicon-warn { background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-border); }
.vicon-err { background: rgba(248, 113, 113, .12); color: var(--err); border: 1px solid var(--err); }

/* ===== Responsive ===== */
@media (max-width: 880px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 8px 22px 18px;
    transform: translateY(-130%); transition: transform .25s ease; max-height: calc(100vh - 64px); overflow: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu > a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-menu .lang-toggle { margin: 12px 0; align-self: flex-start; }
  .nav-menu .btn { margin-top: 8px; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .section { padding: 56px 0; }
}
