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

/* ─── Variables ─────────────────────────────────────────────────────────── */
/* Icon bg: #0f3c22 (L≈48.6) → dark theme | Accent: #4ADE80                */
:root {
  --accent:        #4ADE80;
  --accent-dark:   #3FBD6D;
  --accent-light:  rgba(74,222,128,0.10);
  --accent-mid:    rgba(74,222,128,0.20);
  --text:          #F1FCF5;
  --secondary:     rgba(241,252,245,0.58);
  --tertiary:      rgba(241,252,245,0.32);
  --bg:            #0f3c22;
  --surface:       #185430;
  --border:        rgba(255,255,255,0.10);
  --dark-bg:       #0E361F;
  --dark-surface:  #154C2B;
  --dark-border:   rgba(255,255,255,0.07);
  --nav-glass:     rgba(15,60,34,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: #000; }
.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 { /* Dynamic Island */
  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; }

/* Rotated pair */
.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; }

/* ─── 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);
  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(74,222,128,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: #000;
  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; }
.hiw-icon-placeholder {
  width: 200px; height: 300px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
  border: 1px solid var(--border);
}

/* ─── 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(74,222,128,0.12); border: 1px solid rgba(74,222,128,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); }

/* ─── 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 ───────────────────────────────────────────────────────── */
.download-cta { background: linear-gradient(135deg, #3FBD6D 0%, #4ADE80 50%, #65E393 100%); padding: 96px 0; text-align: center; }
.download-cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #000; letter-spacing: -0.8px; margin-bottom: 12px; }
.download-cta p  { font-size: 18px; color: rgba(0,0,0,0.6); margin-bottom: 36px; }

/* ─── Privacy page ───────────────────────────────────────────────────────── */
.privacy-page { max-width: 720px; margin: 0 auto; padding: 80px 28px; }
.privacy-page h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 8px; }
.privacy-page .effective-date { font-size: 14px; color: var(--tertiary); margin-bottom: 48px; }
.privacy-page h2 { font-size: 20px; font-weight: 700; margin: 40px 0 12px; color: var(--text); }
.privacy-page p  { font-size: 15px; color: var(--secondary); line-height: 1.7; margin-bottom: 16px; }
.privacy-page ul { margin: 12px 0 16px; display: flex; flex-direction: column; gap: 8px; }
.privacy-page ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--secondary); }
.privacy-page ul li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.privacy-page a { color: var(--accent); }
.privacy-page hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner    { grid-template-columns: 1fr; text-align: center; }
  .hero-sub      { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-ctas     { justify-content: center; }
  .hero-trust    { justify-content: center; }
  .hero-visual   { padding-right: 0; margin-top: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-step      { grid-template-columns: 1fr; gap: 40px; }
  .hiw-step.reverse .hiw-text   { order: 1; }
  .hiw-step.reverse .hiw-visual { order: 2; }
  .hiw-text p    { max-width: 100%; }
  .privacy-pillars { grid-template-columns: 1fr; }
  .footer-inner  { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .container     { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-download) { display: none; }
  .phone-pair    { gap: 0; }
  .phone-pair .phone-wrap:first-child { display: none; }
}
