/* AutoExchange — static site styles */

@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/noto-nastaliq-urdu-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/noto-nastaliq-urdu-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/noto-nastaliq-urdu-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/noto-nastaliq-urdu-arabic.woff2") format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/noto-nastaliq-urdu-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Noto Nastaliq Urdu';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/noto-nastaliq-urdu-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
::selection { background: #1FAE55; color: #0E0E0E; }

a { color: inherit; }

.ax-page {
  background: #0A0A0A;
  min-height: 100vh;
}
.ax-shell {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: #121212;
  color: #F3F4F4;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

/* Language-driven direction / alignment / font / line-height.
   .i18n-dir gets dir="ltr|rtl" set by JS; these rules key off that
   plus the shared .lang-ur class JS toggles on <body>. */
.i18n-dir { text-align: left; font-family: inherit; }
body.lang-ur .i18n-dir { text-align: right; font-family: 'Noto Nastaliq Urdu', serif; }
.i18n-heading { line-height: 1.15; }
body.lang-ur .i18n-heading { line-height: 2.1; }
.i18n-body { line-height: 1.5; }
body.lang-ur .i18n-body { line-height: 2.1; }

/* Header */
.ax-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #2E2E2E;
}
.ax-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ax-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.1px;
  text-decoration: none;
  color: #F3F4F4;
}
.ax-logo img { display: block; }
.ax-logo-sm { font-size: 16px; }

.ax-menu-btn {
  display: none;
  appearance: none;
  background: transparent;
  border: 1px solid #2E2E2E;
  border-radius: 6px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.ax-menu-btn span { width: 18px; height: 2px; background: #F3F4F4; display: block; }

.ax-desktop-nav { display: flex; }
.ax-nav-links { gap: 20px; flex-wrap: wrap; }
.ax-nav-links a, .ax-mobile-menu a.ax-nav-link {
  text-decoration: none;
  color: #9A9E9F;
  font-size: 14px;
}
.ax-nav-links a:hover, .ax-mobile-menu a.ax-nav-link:hover { color: #F3F4F4; }

.ax-header-actions { align-items: center; gap: 10px; flex-wrap: wrap; }

.ax-lang-toggle {
  display: flex;
  border: 1px solid #2E2E2E;
  border-radius: 20px;
  padding: 3px;
}
.ax-lang-btn {
  border: none;
  border-radius: 17px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: #9A9E9F;
}
.ax-lang-btn.is-active { background: #1FAE55; color: #0E0E0E; }
.ax-lang-btn.ax-lang-ur { font-family: 'Noto Nastaliq Urdu', serif; }

.ax-cta {
  background: #1FAE55;
  color: #0E0E0E;
  font-weight: 700;
  font-size: 14.5px;
  padding: 9px 18px;
  border-radius: 3px;
  text-decoration: none;
}
.ax-cta:hover { background: #178A43; }

.ax-mobile-menu {
  display: none;
  border-top: 1px solid #2E2E2E;
  padding: 16px 20px 20px;
  flex-direction: column;
  gap: 16px;
}
.ax-mobile-menu.is-open { display: flex; }
.ax-mobile-menu a.ax-nav-link { font-size: 15px; }
.ax-mobile-menu-row { display: flex; align-items: center; gap: 10px; }

.ax-hero-cta { gap: 14px; }
.ax-hero-cta-btn { font-size: 15.5px; padding: 0 24px; }

@media (max-width: 759px) {
  .ax-desktop-nav { display: none; }
  .ax-menu-btn { display: flex; }
  .ax-hero-cta { gap: 8px; }
  .ax-hero-cta-btn { font-size: 12.5px; padding: 0 12px; }
}

/* Hero */
.ax-hero {
  position: relative;
  padding: 76px 28px 88px;
  border-bottom: 1px solid #2E2E2E;
  overflow: hidden;
}
.ax-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: none;
  opacity: 0.07;
  filter: grayscale(1);
}
.ax-hero-bg img { width: 520px; max-width: 60vw; transform: translateX(18%) rotate(4deg); }
.ax-hero-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.ax-hero-crossfade { position: relative; overflow-x: hidden; display: grid; margin-bottom: 8px; }
.ax-hero-en, .ax-hero-ur { grid-area: 1 / 1; }
.ax-hero-ur { font-family: 'Noto Nastaliq Urdu', serif; text-align: right; }
.ax-hero-eyebrow { display: inline-block; font-size: 13.5px; color: #1FAE55; font-weight: 700; margin-bottom: 18px; letter-spacing: 0.2px; }
.ax-hero-en h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.15; letter-spacing: -0.5px; margin: 0 0 22px; font-weight: 800; }
.ax-hero-ur h1 { font-size: clamp(24px, 3.6vw, 40px); line-height: 1.9; letter-spacing: -0.5px; margin: 0 0 22px; font-weight: 800; }
.ax-hero-en p { font-size: 18px; color: #9A9E9F; max-width: 46ch; margin: 0 0 32px; line-height: 1.7; }
.ax-hero-ur p { font-size: 16px; color: #9A9E9F; max-width: none; margin: 0 0 32px; line-height: 2; }
.ax-hero-cta { display: flex; flex-wrap: nowrap; }
.ax-hero-cta.en { justify-content: flex-start; }
.ax-hero-cta.ur { justify-content: flex-end; }
.ax-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  box-sizing: border-box;
  font-weight: 700;
  line-height: 1;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
}
.ax-hero-cta-btn.primary { background: #1FAE55; color: #0E0E0E; }
.ax-hero-cta-btn.primary:hover { background: #178A43; }
.ax-hero-cta-btn.secondary { background: transparent; color: #F3F4F4; font-weight: 600; border: 1px solid #2E2E2E; }
.ax-hero-cta-btn.secondary:hover { border-color: #9A9E9F; }

.ax-store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.ax-store-badge {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  border: 1px solid #2E2E2E;
  border-radius: 8px;
  padding: 9px 16px;
  color: #9A9E9F;
  text-decoration: none;
  transition: border-color 0.15s;
}
.ax-store-badge:hover { border-color: #1FAE55; }
.ax-access-badges { margin-top: 24px; }
.ax-store-badge .label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px; }
.ax-store-badge .store { font-size: 13.5px; font-weight: 700; color: #F3F4F4; }

/* Sections */
.ax-section { padding: 80px 28px; border-bottom: 1px solid #2E2E2E; }
.ax-section-inner { max-width: 1120px; margin: 0 auto; }
.ax-heading { font-size: clamp(26px, 3vw, 34px); margin: 0 0 22px; font-weight: 800; letter-spacing: -0.3px; }
.ax-subhead { color: #9A9E9F; font-size: 16.5px; margin: 0; }

/* Problem section */
.ax-problem-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}
.ax-problem-grid p { color: #9A9E9F; font-size: 16px; margin: 0 0 16px; }
.ax-problem-grid p:last-child { margin: 0; }
.ax-problem-grid strong { color: #F3F4F4; }
.ax-chat { display: flex; flex-direction: column; gap: 8px; }
.ax-chat-bubble {
  background: #1C1C1C;
  border: 1px solid #2E2E2E;
  border-radius: 5px;
  padding: 11px 14px;
  font-size: 13.5px;
  max-width: 80%;
}
.ax-chat-bubble .sender { color: #1FAE55; font-weight: 700; font-size: 12px; display: block; margin-bottom: 3px; }

/* How it works */
.ax-how-head { max-width: 56ch; margin-bottom: 44px; }
.ax-how-head p { font-size: 16.5px; }
.ax-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.ax-step { border-top: 2px solid #1FAE55; padding-top: 18px; }
.ax-step-num { font-size: 13px; color: #9A9E9F; font-weight: 700; margin-bottom: 10px; }
.ax-step h3 { font-size: 19px; margin: 0 0 10px; font-weight: 700; }
.ax-step p { color: #9A9E9F; font-size: 15px; margin: 0; }

/* Access / form */
.ax-access { background: #1C1C1C; }
.ax-access-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
}
.ax-field { margin-bottom: 16px; }
.ax-field label { display: block; font-size: 13.5px; color: #9A9E9F; margin-bottom: 6px; }
.ax-field input {
  width: 100%;
  background: #121212;
  border: 1px solid #2E2E2E;
  border-radius: 3px;
  color: #F3F4F4;
  font-size: 15px;
  padding: 12px 14px;
  font-family: inherit;
}
body.lang-ur .ax-field input { text-align: right; }
.ax-field input:focus { outline: 1px solid #1FAE55; }
.ax-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ax-captcha-error { font-size: 12.5px; color: #E5533D; margin: 6px 0 0; }
.ax-submit {
  width: 100%;
  background: #1FAE55;
  color: #0E0E0E;
  font-weight: 700;
  font-size: 15.5px;
  padding: 14px 24px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
}
.ax-submit:hover { background: #178A43; }
.ax-form-note { font-size: 13px; color: #9A9E9F; margin-top: 14px; }

/* Footer */
.ax-footer { padding: 36px 28px; }
.ax-footer-inner { max-width: 1120px; margin: 0 auto; }
.ax-footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.ax-footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.ax-footer-links a { color: #9A9E9F; text-decoration: none; font-size: 13.5px; }
.ax-footer-links a:hover { color: #F3F4F4; }
.ax-footer-credit { color: #9A9E9F; font-size: 13px; margin-top: 22px; }
.ax-footer-credit a { color: #1FAE55; text-decoration: none; }
.ax-footer-credit a:hover { text-decoration: underline; }
.ax-footer-copyright { color: #6B6E6F; font-size: 13px; margin-top: 6px; }
