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

/* ─── Variables ─────────────────────────────────────────────────────────── */
:root {
  --rose:        #C2697A;
  --rose-dark:   #A8566A;
  --rose-light:  #F7ECEE;
  --rose-mid:    #EDD5D9;
  --text:        #1C1C1E;
  --secondary:   #6C6C70;
  --tertiary:    #AEAEB2;
  --bg:          #FFFFFF;
  --surface:     #F9F9FB;
  --border:      #E5E5EA;
  --dark-bg:     #111113;
  --dark-surface:#1C1C1E;
  --dark-border: rgba(255,255,255,0.08);
  --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(--rose); 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(--rose); 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(--rose); color: #fff; }
.btn-outline     { background: transparent; color: var(--rose); border: 1.5px solid var(--rose); }

/* 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: rgba(255,255,255,0.88);
  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(--rose); 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(--rose) !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(--rose); 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(--rose-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(--rose-mid); color: var(--rose-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(--rose); 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(--rose); 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 24px rgba(0,0,0,0.06); 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(--rose); 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(--rose); 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(--rose); 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(194,105,122,0.12); border: 1px solid rgba(194,105,122,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: 1fr 1fr; gap: 24px; margin-top: 56px; max-width: 640px; 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(--rose); 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(--rose); font-weight: 500; }

/* ─── Download CTA ───────────────────────────────────────────────────────── */
.cta-section { background: linear-gradient(145deg, var(--rose-dark) 0%, var(--rose) 60%, #D4849A 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; list-style: disc; }
.privacy-content li { margin-bottom: 6px; }
.privacy-content a  { color: var(--rose); }
.tl-dr { background: #fff8f9; border-left: 4px solid var(--rose); padding: 16px 20px; border-radius: 6px; margin-bottom: 32px; font-size: 15px; }
.tl-dr strong { display: block; margin-bottom: 4px; }

/* ─── AI Comparison Table ────────────────────────────────────────────────── */
.ai-cmp-wrap { overflow-x: auto; margin-top: 48px; -webkit-overflow-scrolling: touch; }
.ai-cmp { width: 100%; border-collapse: collapse; min-width: 580px; font-size: 14px; }
.ai-cmp th, .ai-cmp td {
  padding: 14px 18px; text-align: center;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
.ai-cmp thead th {
  background: var(--surface); font-size: 13px;
  font-weight: 700; letter-spacing: 0.5px; color: var(--secondary);
}
.ai-cmp thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.ai-cmp thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.ai-cmp td:first-child { font-weight: 600; color: var(--text); white-space: nowrap; text-align: left; }
.ai-cmp td { color: var(--secondary); }
.ai-cmp tbody tr:last-child td { border-bottom: none; }
.ai-cmp tbody tr:hover { background: var(--rose-light); }
.prov-head { text-align: center; }
.prov-name { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: 0; text-transform: none; display: block; }
.prov-sub  { font-size: 11px; font-weight: 600; display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 20px; letter-spacing: 0; text-transform: none; }
.prov-sub.paid   { background: rgba(194,105,122,0.12); color: var(--rose-dark); }
.prov-sub.free   { background: rgba(52,199,89,0.12);  color: #1a8a37; }
.prov-sub.new    { background: rgba(0,122,255,0.10);  color: #0055d4; }
.ai-cmp .yes  { color: var(--rose); font-weight: 700; }
.ai-cmp .no   { color: var(--tertiary); }
.ai-cmp small { display: block; font-weight: 400; margin-top: 2px; font-size: 12px; }

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .usecases-grid { grid-template-columns: 1fr 1fr; }
}
@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: single column */
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-visual { padding-right: 0; justify-content: center; order: -1; margin-top: 0; margin-bottom: 32px; }
  .hero        { padding: 48px 0 40px; }
  .hero-trust  { gap: 16px; }

  /* Features: 2 columns */
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* HIW: single column */
  .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 pairs: collapse to single centred phone */
  .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); }

  /* Privacy pillars: single column */
  .privacy-pillars { grid-template-columns: 1fr; }

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

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