/* ─────────────────────────────────────────
   AURALYNX PAY — Main Stylesheet
   ───────────────────────────────────────── */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:        #F7941D;
  --brand-light:  #FFA940;
  --brand-dark:   #D4791A;
  --accent:       #3CAB35;
  --accent2:      #1A4080;
  --navy:         #1A3E80;
  --bg:           #08090e;
  --bg2:          #0d0f18;
  --bg3:          #111420;
  --surface:      #151825;
  --surface2:     #1c2030;
  --border:       rgba(247, 148, 29, 0.16);
  --text:         #eaeaf0;
  --text-muted:   #8a8faa;
  --text-dim:     #505570;
  --radius:       16px;
  --radius-sm:    8px;
  --shadow:       0 4px 40px rgba(247, 148, 29, 0.12);
  --shadow-card:  0 2px 24px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-light); }

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }

/* Offset anchor targets so fixed navbar doesn't cover headings */
#about, #products, #contact, #cmd, #fitscan {
  scroll-margin-top: 80px;
}

/* ── Typography ── */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 60px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 60%, var(--navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ────────────────────────────────
   NAVBAR
──────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(8, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(8, 9, 14, 0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.1rem;
}
.logo-icon { display: none; }
.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(247,148,29,.25));
}
.logo-text { display: none; }
.logo-accent { color: var(--accent); }
.logo-img-footer { height: 52px; }

/* Text fallback when logo.png is missing */
.logo-text-fallback {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
}
.lt-auralynx { color: #F7941D; }
.lt-pay       { color: #3CAB35; }
.logo-text-fallback-lg { font-size: 1.35rem; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}

/* ────────────────────────────────
   HERO
──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(247,148,29,.55) 0%, transparent 70%);
  top: -150px; left: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(60,171,53,.45) 0%, transparent 70%);
  top: 40%; right: -80px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(26,62,128,.6) 0%, transparent 70%);
  bottom: 0; left: 40%;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247,148,29,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,62,128,.05) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 60px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(108,71,255,.08);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(1.4); }
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -.02em;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(247,148,29,.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(247,148,29,.55);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--brand);
  background: rgba(247,148,29,.06);
}
.btn-full { width: 100%; }

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: .5;
}
.scroll-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: scrollBounce 1.8s infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: .3; }
}

/* ────────────────────────────────
   ABOUT
──────────────────────────────── */
.about { background: var(--bg2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.about-text strong { color: var(--text); }
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.stat-card:hover { border-color: var(--brand); transform: translateX(4px); }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 56px;
}
.stat-label { color: var(--text-muted); font-size: .95rem; }

/* ────────────────────────────────
   PRODUCTS
──────────────────────────────── */
.products { background: var(--bg); }

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 60px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  margin-bottom: 40px;
  transition: border-color .3s, box-shadow .3s;
}
.product-card:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 60px rgba(247,148,29,.10);
}
.product-right { direction: ltr; }
.product-right .product-visual { order: 2; }
.product-right .product-info  { order: 1; }

.product-number {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--brand-light);
  margin-bottom: 10px;
}
.product-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -.01em;
}
.product-tagline {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.product-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}
.product-features { margin-bottom: 24px; }
.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: var(--text-muted);
  font-size: .95rem;
}
.product-features li:last-child { border-bottom: none; }
.feat-icon { font-size: 1rem; }
.product-tag {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(247,148,29,.10);
  border: 1px solid rgba(247,148,29,.25);
  color: var(--brand-light);
  font-size: .8rem;
  font-weight: 600;
}

/* ── Dashboard Mockup ── */
.product-mockup {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.mockup-dashboard {
  background: var(--bg3);
  border: 1px solid var(--border);
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff6b6b; }
.dot-y { background: #ffd93d; }
.dot-g { background: #6bff8e; }
.mockup-title-bar {
  font-size: .75rem;
  color: var(--text-dim);
  margin-left: 8px;
}
.mockup-body { display: flex; }
.mockup-sidebar {
  width: 100px;
  padding: 12px 8px;
  background: var(--surface);
  border-right: 1px solid var(--border);
}
.sidebar-item {
  font-size: .7rem;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--text-dim);
  margin-bottom: 2px;
  cursor: default;
}
.sidebar-item.active {
  background: rgba(247,148,29,.18);
  color: var(--brand-light);
}
.mockup-main { flex: 1; padding: 14px; }
.sync-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.sync-platform { font-size: .7rem; color: var(--text-muted); width: 52px; flex-shrink: 0; }
.sync-bar {
  flex: 1;
  height: 6px;
  background: var(--surface2);
  border-radius: 3px;
  overflow: hidden;
}
.sync-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 3px;
  animation: fillBar 1s ease-out both;
}
@keyframes fillBar {
  from { width: 0 !important; }
}
.sync-pct { font-size: .65rem; color: var(--accent); width: 28px; text-align: right; flex-shrink: 0; }
.status-chips { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.chip {
  font-size: .65rem;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 600;
}
.chip-green { background: rgba(107,255,142,.1); color: #6bff8e; }
.chip-yellow { background: rgba(255,217,61,.1); color: #ffd93d; }
.chip-red    { background: rgba(255,107,107,.1); color: #ff6b6b; }

/* ── Phone Mockup ── */
.mockup-phone { display: flex; justify-content: center; }
.phone-frame {
  width: 220px;
  background: var(--surface2);
  border-radius: 36px;
  border: 2px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow-card);
}
.phone-notch {
  width: 80px;
  height: 22px;
  background: var(--surface);
  border-radius: 0 0 12px 12px;
  margin: 0 auto 10px;
}
.phone-screen {
  background: var(--bg3);
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
}
.scan-ui { padding: 16px 14px; }
.scan-header {
  font-size: .85rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.scan-viewfinder {
  position: relative;
  height: 140px;
  background: rgba(60,171,53,.05);
  border-radius: 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.scan-corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
}
.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; border-radius: 3px 0 0 0; }
.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; border-radius: 0 3px 0 0; }
.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; border-radius: 0 0 0 3px; }
.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; border-radius: 0 0 3px 0; }
.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scanMove 2s ease-in-out infinite;
}
@keyframes scanMove {
  0%   { top: 20%; }
  50%  { top: 75%; }
  100% { top: 20%; }
}
.scan-label { font-size: .65rem; color: var(--text-dim); z-index: 1; }
.scan-result { }
.result-name {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.result-muscles { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.muscle-chip {
  font-size: .6rem;
  padding: 3px 7px;
  background: rgba(0,212,170,.1);
  color: var(--accent);
  border-radius: 100px;
  font-weight: 600;
}
.result-exercises { }
.exercise-item {
  font-size: .7rem;
  color: var(--text-muted);
  padding: 5px 8px;
  background: var(--surface2);
  border-radius: 6px;
  margin-bottom: 4px;
}

/* ────────────────────────────────
   WHY US
──────────────────────────────── */
.why { background: var(--bg2); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.why-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(247,148,29,.10);
}
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }

/* ────────────────────────────────
   CONTACT
──────────────────────────────── */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--text-muted); font-size: .9rem; }
.contact-item a:hover { color: var(--brand-light); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 500; color: var(--text-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(247,148,29,.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--surface2); }
.form-note { font-size: .85rem; color: var(--accent); min-height: 1.2em; }

/* ────────────────────────────────
   FOOTER
──────────────────────────────── */
.footer { background: var(--bg2); padding: 64px 0 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { color: var(--text-muted); font-size: .9rem; line-height: 1.6; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.footer-col a { font-size: .9rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p { color: var(--text-dim); font-size: .85rem; }

/* ────────────────────────────────
   REVEAL ANIMATION
──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 1024px) {
  .product-card { padding: 40px; gap: 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(7,7,15,.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }
  .hamburger { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: 1fr 1fr 1fr; }

  .product-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 32px;
  }
  .product-right .product-visual { order: 1; }
  .product-right .product-info  { order: 2; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-links { gap: 32px; }
}

@media (max-width: 540px) {
  .why-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 24px; }
}
