/* ═══════════════════════════════════════════════
   SECTIONS
   Layout and styling for each page section
   ═══════════════════════════════════════════════ */

/* ─── Hero ──────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow-strong) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  width: min(420px, 80vw);
  margin-bottom: 2rem;
  opacity: 0;
  transform: scale(0.9);
  animation: heroLogoIn 1.2s var(--ease-out-expo) 0.3s forwards;
  filter: drop-shadow(0 0 40px rgba(0, 200, 255, 0.08));
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  max-width: 540px;
  margin: 0 auto 3rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 0.7s forwards;
}
.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out-expo) 1s forwards;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out-expo) 1.1s forwards;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out-expo) 1.6s forwards;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ─── About ─────────────────────────────────────── */
.about {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3.5rem;
  align-items: start;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.02rem;
}
.about-text p strong {
  color: var(--text-primary);
  font-weight: 500;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ─── Stats ─────────────────────────────────────── */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 3.5rem 2rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item {
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem; top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-subtle);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ─── Products ──────────────────────────────────── */
.product-card {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.product-card:hover {
  border-color: var(--border-medium);
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--accent-glow);
}
.product-card + .product-card {
  margin-top: 2.5rem;
}

.product-visual {
  background: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.product-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(0, 200, 255, 0.06) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(100, 68, 255, 0.05) 0%, transparent 50%);
}

.product-mockup { position: relative; z-index: 1; }

.phone-frame {
  width: 180px;
  height: 360px;
  border-radius: 28px;
  border: 2px solid var(--border-medium);
  background: linear-gradient(180deg, #151520 0%, #0f0f18 100%);
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 50px; height: 5px;
  background: var(--border-subtle);
  border-radius: 4px;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 18px;
  background: linear-gradient(180deg, #1c1a2e 0%, #14121f 30%, #0f0e18 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
}
.phone-screen .app-icon { font-size: 2rem; }
.phone-screen .app-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.phone-screen .app-tagline {
  font-size: 0.5rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-align: center;
}
.phone-screen .app-cards {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-top: 8px;
}
.app-card-mini {
  height: 22px;
  border-radius: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}
.app-card-mini:nth-child(1) { width: 100%; }
.app-card-mini:nth-child(2) { width: 85%; }
.app-card-mini:nth-child(3) { width: 70%; opacity: 0.6; }

.product-info {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0, 200, 255, 0.2);
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
  margin-bottom: 1.2rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.product-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.product-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* ─── Contact ───────────────────────────────────── */
.contact {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3.5rem;
}
.contact-info h3,
.contact-form-wrapper h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* ─── Social Links ──────────────────────────────── */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.social-link:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
  opacity: 1;
}
.social-link svg {
  width: 18px; height: 18px;
  fill: currentColor;
}

/* ─── Footer ────────────────────────────────────── */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.footer-brand .accent { color: var(--accent); }
.footer-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 1.5rem;
}
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--text-secondary); opacity: 1; }
