/* ─── AXELARIO App Website — shared stylesheet ────────────────────────── */
/* Template v1.0 — do not inline styles in HTML pages; edit here only.     */

/* ─── Variables — dark theme (icon bg #100820, accent #C084FC) ───────────── */
:root {
  --accent:        #C084FC;
  --accent-dark:   #A370D6;
  --accent-light:  rgba(192,132,252,0.10);
  --accent-mid:    rgba(192,132,252,0.20);
  --text:          #EDE9FF;
  --secondary:     rgba(237,233,255,0.58);
  --tertiary:      rgba(237,233,255,0.32);
  --bg:            #0D0A1A;
  --surface:       #18132A;
  --border:        rgba(255,255,255,0.10);
  --dark-bg:       #060410;
  --dark-surface:  #0F0B1D;
  --dark-border:   rgba(255,255,255,0.07);
  --nav-glass:     rgba(13,10,26,0.90);
  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     20px;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.82; }
ul  { list-style: none; }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.container   { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.section     { padding: 96px 0; }
.section-sm  { padding: 72px 0; }
.text-center { text-align: center; }
.text-center .lead { margin: 0 auto; }

.label {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700; letter-spacing: -0.5px;
  line-height: 1.18; margin-bottom: 16px;
}
.lead {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--secondary); max-width: 560px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: var(--radius-md);
  transition: opacity .15s, transform .12s;
  cursor: pointer; text-decoration: none;
}
.btn:hover    { opacity: .88; transform: translateY(-1px); }
.btn-primary  { background: var(--accent); color: #fff; }
.btn-outline  { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }

/* App Store badge */
.appstore-btn { display: inline-block; transition: opacity .15s, transform .12s; }
.appstore-btn:hover { opacity: .88; transform: translateY(-1px); }
.appstore-btn img   { height: 44px; width: auto; }

/* ─── Navigation ─────────────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-glass);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 60px;
}
.brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 21px; font-weight: 700;
  letter-spacing: -0.3px; color: var(--text);
  text-decoration: none;
}
.brand-icon { width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.1); }
.brand em   { color: var(--accent); font-style: normal; }
.nav-links  { display: flex; gap: 28px; align-items: center; }
.nav-links a:not(.btn):not(.appstore-btn) {
  font-size: 14px; font-weight: 500;
  color: var(--secondary); text-decoration: none;
  transition: color .15s;
}
.nav-links a:not(.btn):not(.appstore-btn):hover { color: var(--text); }
.nav-links .nav-active { color: var(--accent) !important; font-weight: 600; }
.nav-download img { height: 32px; width: auto; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--dark-bg);
  color: rgba(255,255,255,0.4);
  padding: 48px 0;
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 700;
  color: rgba(255,255,255,0.85); text-decoration: none;
}
.footer-brand-icon { width: 24px; height: 24px; border-radius: 5px; flex-shrink: 0; border: 1px solid rgba(255, 255, 255, 0.1); }
.footer-brand em   { color: var(--accent); font-style: normal; }
.footer-links      { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a    { font-size: 13px; color: rgba(255,255,255,0.4); transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); opacity: 1; }
.footer-copy       { font-size: 12px; width: 100%; color: rgba(255,255,255,0.3); }

/* ─── Phone Mockup ───────────────────────────────────────────────────────── */
.phone-wrap {
  display: inline-block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.28))
          drop-shadow(0 6px 12px rgba(0,0,0,0.16));
}
.phone-frame {
  background: #1A1A1A; border-radius: 44px;
  padding: 14px 9px 10px; position: relative;
  border: 1px solid rgba(255,255,255,0.12);
}
.phone-frame::before {
  content: ''; position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 22px;
  background: #000; border-radius: 11px; z-index: 2;
}
.phone-screen { border-radius: 34px; overflow: hidden; line-height: 0; background: #000; }
.phone-screen img { width: 100%; height: auto; display: block; }
.phone-lg .phone-frame { width: 274px; }
.phone-md .phone-frame { width: 224px; }
.phone-sm .phone-frame { width: 170px; }

.phone-pair { display: flex; align-items: flex-start; }
.phone-pair .phone-wrap:first-child { transform: rotate(-4deg) translateY(30px); z-index: 1; }
.phone-pair .phone-wrap:last-child  { transform: rotate(4deg) translateX(-30px); z-index: 2; }

/* ─── iPad Mockup ────────────────────────────────────────────────────────── */
.ipad-wrap {
  display: inline-block;
  filter: drop-shadow(0 28px 56px rgba(0,0,0,0.22))
          drop-shadow(0 8px 16px rgba(0,0,0,0.12));
}
.ipad-frame {
  background: #1A1A1A; border-radius: 28px;
  padding: 18px 12px; position: relative;
  border: 1px solid rgba(255,255,255,0.12);
  width: 480px;
}
.ipad-screen { border-radius: 16px; overflow: hidden; line-height: 0; background: #000; }
.ipad-screen img { width: 100%; height: auto; display: block; }

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, var(--accent-light) 0%, var(--bg) 55%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-mid); color: var(--accent-dark);
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.08; margin-bottom: 22px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-sub   { font-size: clamp(16px, 2.2vw, 19px); color: var(--secondary); max-width: 460px; margin-bottom: 36px; }
.hero-ctas  { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust { margin-top: 36px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--secondary); }
.trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero-visual { display: flex; justify-content: center; padding-right: 16px; }

/* ─── Features grid ──────────────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.feat-card:hover { box-shadow: 0 8px 32px rgba(192,132,252,0.15); transform: translateY(-3px); }
.feat-icon  { font-size: 34px; line-height: 1; margin-bottom: 16px; }
.feat-card h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.feat-card p  { font-size: 14px; color: var(--secondary); line-height: 1.6; }

/* ─── How It Works ───────────────────────────────────────────────────────── */
.hiw-bg { background: var(--surface); }
.hiw-step {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
  padding: 72px 0; border-bottom: 1px solid var(--border);
}
.hiw-step:last-child { border-bottom: none; }
.hiw-step.reverse .hiw-text   { order: 2; }
.hiw-step.reverse .hiw-visual { order: 1; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700; border-radius: 50%; margin-bottom: 16px;
}
.hiw-text h3 { font-size: clamp(22px, 3.5vw, 30px); font-weight: 700; letter-spacing: -0.4px; margin-bottom: 14px; line-height: 1.2; }
.hiw-text p  { font-size: 16px; color: var(--secondary); margin-bottom: 10px; max-width: 420px; }
.hiw-text ul { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.hiw-text ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--secondary); }
.hiw-text ul li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.hiw-visual { display: flex; justify-content: center; }

/* ─── Screenshots gallery ────────────────────────────────────────────────── */
.gallery-scroll {
  display: flex; gap: 20px;
  overflow-x: auto; padding: 20px 28px 32px;
  scrollbar-width: none; -ms-overflow-style: none;
  justify-content: safe center;
}
.gallery-scroll::-webkit-scrollbar { display: none; }
.gallery-item   { flex-shrink: 0; }
.gallery-caption { text-align: center; font-size: 12px; color: var(--tertiary); margin-top: 12px; font-weight: 500; }

/* ─── Use cases ──────────────────────────────────────────────────────────── */
.usecases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.usecase-card  { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 22px; }
.usecase-emoji { font-size: 36px; margin-bottom: 14px; }
.usecase-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--accent); margin-bottom: 6px; }
.usecase-card h3 { font-size: 16px; font-weight: 650; margin-bottom: 10px; }
.usecase-card p  { font-size: 14px; color: var(--secondary); line-height: 1.55; }

/* ─── Privacy strip ──────────────────────────────────────────────────────── */
.privacy-section { background: var(--dark-bg); color: #fff; padding: 96px 0; }
.privacy-section .h2  { color: #fff; }
.privacy-section .lead { color: rgba(255,255,255,0.55); max-width: 540px; margin: 0 auto 56px; }
.privacy-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { background: var(--dark-surface); border: 1px solid var(--dark-border); border-radius: var(--radius-lg); padding: 28px 24px; }
.pillar-icon { font-size: 32px; margin-bottom: 14px; }
.pillar h3   { font-size: 17px; font-weight: 650; color: #fff; margin-bottom: 10px; }
.pillar p    { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.privacy-note {
  margin-top: 48px; padding: 20px 24px;
  background: rgba(192,132,252,0.12); border: 1px solid rgba(192,132,252,0.25);
  border-radius: var(--radius-md); font-size: 14px;
  color: rgba(255,255,255,0.6); text-align: center;
}
.privacy-note strong { color: rgba(255,255,255,0.9); }

/* ─── Platforms ──────────────────────────────────────────────────────────── */
.platforms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
  max-width: 860px; margin-left: auto; margin-right: auto;
}
.platform-card  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; }
.platform-icon  { font-size: 48px; margin-bottom: 14px; }
.platform-card h3 { font-size: 18px; font-weight: 650; margin-bottom: 6px; }
.platform-card p  { font-size: 14px; color: var(--secondary); }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-bg  { background: var(--surface); }
.faq-list { max-width: 720px; margin: 56px auto 0; display: flex; flex-direction: column; gap: 12px; }
details  { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
summary  {
  list-style: none; padding: 20px 24px;
  font-weight: 600; font-size: 16px;
  cursor: pointer; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--accent); flex-shrink: 0; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details[open] summary        { border-bottom: 1px solid var(--border); }
.faq-answer   { padding: 18px 24px 22px; font-size: 15px; color: var(--secondary); line-height: 1.65; }
.faq-answer a { color: var(--accent); font-weight: 500; }

/* ─── Download CTA ───────────────────────────────────────────────────────── */
.cta-section { background: linear-gradient(145deg, var(--accent-dark) 0%, var(--accent) 60%, #C996FC 100%); padding: 100px 0; text-align: center; color: #fff; }
.cta-section h2 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.cta-section p  { font-size: 18px; opacity: 0.8; max-width: 440px; margin: 0 auto 40px; }
.cta-note       { margin-top: 20px; font-size: 13px; opacity: 0.65; color: #fff; }
.cta-badge      { display: inline-block; transition: opacity .15s, transform .12s; }
.cta-badge:hover { opacity: .88; transform: scale(1.03); }
.cta-badge img  { height: 54px; width: auto; }

/* ─── Privacy page content ───────────────────────────────────────────────── */
.privacy-content { max-width: 720px; margin: 48px auto; padding: 0 24px 80px; }
.privacy-content h1 { font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.privacy-content .subtitle { color: var(--secondary); font-size: 14px; margin-bottom: 40px; }
.privacy-content h2 { font-size: 18px; font-weight: 600; margin-top: 40px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.privacy-content p  { margin-bottom: 14px; }
.privacy-content ul { margin: 10px 0 14px 24px; }
.privacy-content li { margin-bottom: 6px; }
.tl-dr { background: var(--accent-light); border-left: 4px solid var(--accent); padding: 16px 20px; border-radius: 6px; margin-bottom: 32px; font-size: 15px; }
.tl-dr strong { display: block; margin-bottom: 4px; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .usecases-grid  { grid-template-columns: 1fr 1fr; }
  .platforms-grid { grid-template-columns: 1fr 1fr; max-width: 600px; }
  .ipad-frame { width: 360px; }
}
@media (max-width: 768px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .section    { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .privacy-section, .cta-section { padding: 64px 0; }
  .hiw-step   { padding: 48px 0; gap: 32px; }

  .hero-inner  { grid-template-columns: 1fr; }
  .hero-visual { padding-right: 0; justify-content: center; order: -1; margin-bottom: 32px; }
  .hero        { padding: 48px 0 40px; }
  .hero-trust  { gap: 16px; }

  .features-grid { grid-template-columns: 1fr 1fr; }

  .hiw-step { grid-template-columns: 1fr; }
  .hiw-step.reverse .hiw-text, .hiw-step.reverse .hiw-visual { order: 0; }
  .hiw-text p { max-width: 100%; }
  .hiw-visual { justify-content: center; }
  .lead       { max-width: 100%; }

  .phone-pair { justify-content: center; }
  .phone-pair .phone-wrap:first-child { transform: none; }
  .phone-pair .phone-wrap:last-child  { display: none; }
  .phone-lg .phone-frame,
  .phone-md .phone-frame { width: min(200px, 58vw); }
  .phone-sm .phone-frame { width: min(145px, 42vw); }

  .ipad-frame { width: min(300px, 88vw); }

  .privacy-pillars { grid-template-columns: 1fr; }
  .platforms-grid  { grid-template-columns: 1fr; max-width: 340px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { gap: 16px; }

  .hide-mobile { display: none; }
}
@media (max-width: 500px) {
  .features-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  .phone-md .phone-frame { width: 54vw; }
  .phone-sm .phone-frame { width: 40vw; }
}
