/* ── ARION PUBLIC SITE: shared styles (matches dashboard design language) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg:      #080808; --bg1: #0f0f0f; --bg2: #161616; --bg3: #1e1e1e;
  --border:  #262626; --border2: #333333;
  --text:    #f0f0f0; --text2: #a0a0a0; --text3: #505050;
  --danger:  #e05555; --warn: #e0a055; --success: #55c97a;
  --mono: 'Geist Mono', monospace; --sans: 'Geist', sans-serif;
}
html { scroll-behavior: smooth; }
html, body { min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; line-height: 1.5; }
::-webkit-scrollbar { width: 4px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
a { color: inherit; }

/* ── MOTION ── */
:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.site-bg {
  min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.025) 0%, transparent 60%), var(--bg);
}

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 28px; border-bottom: 1px solid var(--border);
  background: rgba(8,8,8,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  flex-wrap: wrap;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; flex-shrink: 0; }
.nav-brand-wrap { display: flex; flex-direction: column; }
.nav-brand-name { font-size: 12px; font-weight: 600; white-space: nowrap; }
.nav-brand-sub  { font-family: var(--mono); font-size: 9px; color: var(--text3); letter-spacing: 1.5px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-link {
  padding: 7px 12px; border-radius: 7px; font-size: 13px; color: var(--text2);
  text-decoration: none; transition: background .12s, color .12s; user-select: none;
}
.nav-link:hover { background: var(--bg2); color: var(--text); }
.nav-link.active { background: var(--bg2); color: var(--text); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 16px; border-radius: 7px; font-family: var(--sans); font-size: 13px;
  font-weight: 500; cursor: pointer; transition: opacity .15s, background .15s, border-color .15s;
  border: none; outline: none; white-space: nowrap; text-decoration: none;
}
.btn { transition: opacity .2s ease, background .2s ease, border-color .2s ease, transform .25s var(--ease-out); }
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--text); color: var(--bg); } .btn-primary:hover { opacity: .85; }
.btn-ghost { background: transparent; color: var(--text2); border: 1px solid var(--border); } .btn-ghost:hover { border-color: var(--border2); color: var(--text); }
.btn-sm { padding: 7px 13px; font-size: 12px; }
.btn-lg { padding: 12px 22px; font-size: 14px; }

/* ── PAGE SHELL ── */
.site-main { flex: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.section-label { font-family: var(--mono); font-size: 9px; color: var(--text3); letter-spacing: 2px; text-transform: uppercase; }
.page-head { padding: 56px 0 32px; }
.page-head h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.3px; margin-top: 10px; }
.page-head p  { font-size: 14px; color: var(--text2); margin-top: 8px; max-width: 560px; }

/* ── HERO (landing) ── */
.hero { padding: 72px 0 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.5px; line-height: 1.2; }
.hero p  { font-size: 15px; color: var(--text2); margin-top: 14px; max-width: 480px; }
.hero-actions { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; justify-content: flex-start; }
.hero-sub { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }

/* ── PRODUCT SHOWCASE (3D tilt) ── */
.showcase-section { perspective: 1100px; min-width: 0; }
.tilt-inner {
  position: relative; transform-style: preserve-3d; will-change: transform;
  transition: transform .3s var(--ease-out), box-shadow .3s ease;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  background: var(--bg1); box-shadow: 0 30px 60px -35px rgba(0,0,0,.85);
}
.showcase-section.tilting .tilt-inner { box-shadow: 0 40px 80px -35px rgba(0,0,0,.9); }
.tilt-inner img { display: block; width: 100%; height: auto; }
.tilt-glare { position: absolute; inset: 0; pointer-events: none; transition: opacity .4s ease; opacity: 0; }
.showcase-section.tilting .tilt-glare { opacity: 1; }
.showcase-caption {
  font-family: var(--mono); font-size: 9px; color: var(--text3);
  letter-spacing: 2px; text-transform: uppercase; text-align: center; margin-top: 16px;
}

/* ── FEATURE CARDS ── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px 0 48px; }
.feature-card {
  background: var(--bg1); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
  transition: border-color .25s ease, transform .35s var(--ease-out);
}
.feature-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.feature-icon { width: 20px; height: 20px; color: var(--text2); margin-bottom: 12px; }
.feature-icon svg { width: 100%; height: 100%; display: block; }
.feature-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.feature-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }

/* ── DISCORD CARD ── */
.discord-section { padding: 8px 0 64px; }
.discord-card {
  background: var(--bg1); border: 1px solid var(--border); border-radius: 14px;
  padding: 26px 28px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-top: 14px;
}
.discord-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.discord-server-name { font-size: 16px; font-weight: 600; }
.discord-desc { font-size: 13px; color: var(--text2); max-width: 420px; }
.discord-presence { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.online-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; animation: blink 2s infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.online-count { font-family: var(--mono); font-size: 11px; color: var(--success); letter-spacing: .5px; }
.discord-avatars { display: flex; margin-top: 10px; }
.discord-avatar { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bg1); margin-right: -7px; background: var(--bg3); object-fit: cover; animation: avatarIn .5s var(--ease-out) backwards; }
@keyframes avatarIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
.discord-avatar-more {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--bg1); background: var(--bg3);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 8px; color: var(--text3);
}

/* ── PRODUCTS ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding-bottom: 56px; }
.product-card {
  background: var(--bg1); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s ease, transform .35s var(--ease-out);
}
.product-card:hover { border-color: var(--border2); transform: translateY(-2px); }
.product-name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.product-price { font-family: var(--mono); font-size: 13px; color: var(--success); }
.product-price .cur { font-size: 10px; color: var(--text3); margin-right: 4px; letter-spacing: 1px; }
.product-buy {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 12px; border-radius: 7px; border: 1px solid var(--border);
  font-size: 12px; color: var(--text2); text-decoration: none; transition: border-color .12s, color .12s;
}
.product-buy:hover { border-color: var(--border2); color: var(--text); }
.products-note { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: .5px; padding-bottom: 28px; }
.loading-state, .empty-state { padding: 60px 20px; text-align: center; color: var(--text3); font-family: var(--mono); font-size: 11px; letter-spacing: 1px; }

.ext-icon { width: 12px; height: 12px; flex-shrink: 0; opacity: .65; }

/* ── CUSTOM ORDERS ── */
.co-section { padding-bottom: 36px; }
.co-section h2 { font-size: 15px; font-weight: 600; margin: 10px 0 14px; }
.policy-list { display: flex; flex-direction: column; gap: 8px; }
.policy-item { background: var(--bg1); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.policy-title { font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.policy-desc { font-size: 13px; color: var(--text2); line-height: 1.6; }
.co-callout {
  background: rgba(224,160,85,.06); border: 1px solid rgba(224,160,85,.25);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 36px;
}
.co-callout .policy-title { color: var(--warn); display: flex; align-items: center; gap: 7px; }
.co-callout .policy-title svg { width: 14px; height: 14px; flex-shrink: 0; }
.co-callout .policy-desc { color: var(--text2); }
.co-cta {
  background: var(--bg1); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; text-align: center; display: flex; flex-direction: column;
  align-items: center; gap: 14px; margin-bottom: 56px;
}
.co-cta-title { font-size: 16px; font-weight: 600; }
.co-cta-desc { font-size: 13px; color: var(--text2); max-width: 440px; }

/* ── FAQ ── */
.faq-item { background: var(--bg1); border: 1px solid var(--border); border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 13px; font-weight: 600; user-select: none; transition: background .12s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bg2); }
.faq-chevron { width: 14px; height: 14px; color: var(--text3); flex-shrink: 0; transition: transform .4s var(--ease-out); }
.faq-item[open]:not(.js-anim) .faq-chevron, .faq-item.expanded .faq-chevron { transform: rotate(180deg); }
.faq-item.js-anim .faq-answer-outer {
  height: 0; overflow: hidden; opacity: 0; transform: translateY(-4px);
  transition: height .45s var(--ease-out), opacity .35s ease, transform .45s var(--ease-out);
}
.faq-item.js-anim.expanded .faq-answer-outer { opacity: 1; transform: none; }
.faq-answer { padding: 2px 16px 16px; font-size: 13px; color: var(--text2); line-height: 1.7; display: flex; flex-direction: column; gap: 10px; }
.faq-answer ol, .faq-answer ul { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.faq-answer a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border2); transition: text-decoration-color .12s; }
.faq-answer a:hover { text-decoration-color: var(--text2); }
.faq-answer code { font-family: var(--mono); background: var(--bg2); border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; font-size: 11px; color: var(--text); }
.faq-answer strong { color: var(--text); font-weight: 600; }
.faq-subhead { font-size: 12px; font-weight: 600; color: var(--text); margin-top: 4px; }
.faq-note { font-size: 12px; color: var(--text3); border-left: 2px solid var(--border2); padding-left: 10px; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border); padding: 18px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.footer-copy { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: .5px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text3); text-decoration: none; transition: color .12s; }
.footer-links a:hover { color: var(--text2); }

@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { align-items: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero .showcase-section { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 700px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 26px; }
  .site-nav { padding: 12px 16px; }
  .site-main { padding: 0 16px; }
}
