/* ============================================================
   APWAY Website — Main Styles
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body { cursor: none; }
a, button, [role="button"] { cursor: none; }

#cursor-glow {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 0, 0.18) 0%, rgba(255, 61, 0, 0.06) 35%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
}

#cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF3D00;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px 2px rgba(255, 61, 0, 0.8);
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

#root {
  position: relative;
  z-index: 2;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--fg-1);
  background: #0D0D0D;
  overflow-x: hidden;
  line-height: 1.5;
}

/* ── Navigation ──────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(28px) saturate(180%) brightness(0.6);
  -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.site-nav.scrolled {
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(32px) saturate(200%) brightness(0.55);
  -webkit-backdrop-filter: blur(32px) saturate(200%) brightness(0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05), 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--fg-1);
  text-decoration: none;
  text-transform: uppercase;
}
.nav-logo span { color: #FF3D00; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-300);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg-1); }

.nav-cta {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  color: #FF3D00 !important;
  background: transparent;
  padding: 7px 22px;
  border-radius: 6px;
  border: 1px solid rgba(255, 61, 0, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.nav-cta:hover {
  color: #fff !important;
  border-color: #FF3D00;
  box-shadow: 0 0 18px rgba(255, 61, 0, 0.28);
  transform: translateY(-1px);
}

/* ── Hero Section ────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  overflow: hidden;
  background: transparent;
}

.hero-animation {
  position: relative;
  width: 100%;
  max-width: 1280px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
}

.hero-text {
  text-align: left;
  padding: 48px 48px 64px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--fg-1);
  margin-bottom: 16px;
}
.hero-text h1 span { color: #FF3D00; }
.hero-text h1 .h1-line1,
.hero-text h1 .h1-line2 {
  display: block;
  color: var(--fg-1);
}
.hero-text h1 .h1-line1 { font-size: clamp(32px, 5vw, 64px); }
.hero-text h1 .h1-line2 {
  font-size: clamp(22px, 3.2vw, 44px);
  font-weight: 700;
  color: var(--ink-300);
  margin-top: 4px;
}
.hero-text h1 .accent { color: #FF3D00; }

.hero-text p {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--ink-300);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: #FF3D00;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #FF3D00;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

/* ── Section Layout ──────────────────────────────── */
.section {
  padding: 120px 48px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Alternating section backgrounds for rhythm */
section:not(#hero):not(.india-banner-wrap):not(.cta-wrap) {
  position: relative;
}
section:nth-of-type(even) .section {
  /* subtle shift handled via wrapper below */
}

.section-eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #FF3D00;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--fg-1);
  margin-bottom: 20px;
}

.section-desc {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink-300);
  line-height: 1.65;
  max-width: 600px;
}

/* ── Made in India Banner ─────────────────────────── */
.india-banner {
  background: #0D0D0D;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 48px;
  text-align: center;
}

.india-banner h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(24px, 4vw, 48px);
  text-transform: uppercase;
  color: var(--fg-1);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.india-banner h2 span { color: #FF3D00; }

.india-banner p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink-300);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Specs Grid ──────────────────────────────────── */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.spec-card {
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.spec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    180px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 61, 0, 0.18) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.spec-card:hover::before { opacity: 1; }
.spec-card:hover { border-color: rgba(255, 61, 0, 0.25); }
.spec-card > * { position: relative; z-index: 1; }

.spec-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 42px;
  color: #FF3D00;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.spec-number span {
  font-size: 18px;
  color: var(--ink-400);
  font-weight: 500;
}

.spec-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-1);
  margin-bottom: 8px;
}

.spec-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-400);
  line-height: 1.5;
}

/* ── Features Grid ───────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF3D00;
  font-size: 22px;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--fg-1);
  margin-bottom: 6px;
}

.feature-content p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-400);
  line-height: 1.55;
}

/* ── CTA Section ─────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 120px 48px;
  background: transparent;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 40px;
  background: transparent;
  color: #FF3D00;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 61, 0, 0.55);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.cta-button:hover {
  color: #fff;
  border-color: #FF3D00;
  box-shadow: 0 0 28px rgba(255, 61, 0, 0.3);
  transform: translateY(-2px);
}

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  padding: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 18px;
  color: var(--fg-1);
  text-transform: uppercase;
}
.footer-logo span { color: #FF3D00; }

.footer-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-400);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-400);
  opacity: 0.5;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-links { gap: 16px; }
  .section { padding: 80px 20px; }
  .india-banner { padding: 60px 20px; }
  .hero-animation { border-radius: 8px; margin: 0 12px; }
  .hero-text { padding: 32px 16px 48px; }
  .cta-section { padding: 80px 20px; }
  .site-footer { flex-direction: column; gap: 12px; text-align: center; padding: 32px 20px; }
}
