/* ═══════════════════════════════════════════════════════
   OLDOWAN INNOVATIONS — Premium Landing Page Styles
   Theme: Light mode, clean white, Inter font, micro-animations
   ═══════════════════════════════════════════════════════ */

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

:root {
  --white: #FFFFFF;
  --bg: #FAFAFA;
  --bg-alt: #F3F4F6;
  --surface: #FFFFFF;
  --surface-hover: #F9FAFB;
  --border: #E5E7EB;
  --border-light: #F0F0F0;

  --text-primary: #0A0A0A;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;

  --accent: #0A0A0A;
  --accent-blue: #2563EB;
  --accent-blue-light: #3B82F6;
  --accent-blue-bg: rgba(37, 99, 235, 0.06);
  --accent-blue-border: rgba(37, 99, 235, 0.15);

  --section-slate: #F0F4F8;
  --section-ivory: #FAF8F5;
  --section-mist:  #EFF2F7;
  --section-pearl: #F5F3F0;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.10);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 72px;
  --container-max: 1200px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--accent-blue);
  color: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ─── Typography ────────────────────────────────────── */
.text-accent {
  background: linear-gradient(135deg, var(--accent-blue), #7C3AED);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Section Defaults ──────────────────────────────── */
/* ─── Section Dividers ────────────────────────────────── */
.section-divider {
  position: relative;
  margin-top: -2px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
  background: var(--white);
}

.section--hero + .section-divider { background: var(--white); }
.section--flow + .section-divider { background: var(--section-slate); }
.section--products + .section-divider { background: var(--white); }
.section--services + .section-divider { background: var(--section-ivory); }
.section--tech + .section-divider { background: var(--white); }
.section--contact + .section-divider,
.section-divider--dark { background: var(--section-mist); }

.section-divider__wave {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 768px) {
  .section-divider__wave {
    height: 80px;
  }
}

/* ─── Flowing Thread Line ────────────────────────────── */
.flow-thread {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.flow-thread__path {
  stroke-dasharray: var(--thread-length, 0);
  stroke-dashoffset: var(--thread-offset, 0);
  transition: none;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 60px;
  z-index: 2;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: var(--accent-blue-bg);
  border: 1px solid var(--accent-blue-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── Hero Entrance (CSS-only, no JS dependency) ────── */
.hero-animate {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Reveal Animation (scroll-triggered) ───────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition-base);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--text-primary);
  transition: width var(--transition-base);
}

.nav__link:hover {
  color: var(--text-primary);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta-btn {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--text-primary);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.nav__cta-btn:hover {
  background: #1a1a1a;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  width: 100%;
  text-align: center;
  transition: all var(--transition-fast);
}

.mobile-menu__link:hover {
  color: var(--text-primary);
  background: var(--bg-alt);
}

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.section--hero {
  padding-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  min-height: 100vh;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent-blue) 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--text-primary);
  color: var(--white);
}

.btn--primary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.hero__metrics {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero__metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__metric-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.hero__metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero Visual — 3D Monolith */
.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.hero__logo-anim {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo-img {
  width: 180px;
  height: 180px;
  position: relative;
  z-index: 3;
  animation: logo-float 6s ease-in-out infinite;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.08));
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__logo-glow {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.10) 0%, rgba(37, 99, 235, 0.03) 50%, transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}

.hero__logo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.08);
  pointer-events: none;
  z-index: 1;
  animation: ring-expand 4s ease-out infinite;
}

.hero__logo-ring--1 {
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.hero__logo-ring--2 {
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  animation-delay: 1.3s;
}

.hero__logo-ring--3 {
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  animation-delay: 2.6s;
}

@keyframes ring-expand {
  0% {
    width: 200px; height: 200px;
    opacity: 0.5;
    border-color: rgba(37, 99, 235, 0.15);
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    width: 200px; height: 200px;
    opacity: 0;
    border-color: rgba(37, 99, 235, 0);
    transform: translate(-50%, -50%) scale(2.5);
  }
}

.hero__orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(37, 99, 235, 0.15);
  animation: orbit-spin linear infinite;
}

.hero__orbit--1 {
  width: 340px;
  height: 340px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 12s;
}

.hero__orbit--2 {
  width: 420px;
  height: 420px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero__orbit--3 {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 25s;
}

@keyframes orbit-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero__orbit-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -48px;
  left: 0;
  width: 100%;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--text-primary));
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { top: -48px; }
  100% { top: 48px; }
}

/* ═══════════════════════════════════════════════════════
   EXECUTION FLOW SECTION
   ═══════════════════════════════════════════════════════ */
.section--flow {
  background: var(--section-slate);
}

.flow__stepper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.flow__line {
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.flow__line-progress {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--accent-blue), #7C3AED);
  transition: height 0.1s linear;
  border-radius: 2px;
}

.flow__step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}

.flow__step-dot {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
}

.flow__step.is-active .flow__step-dot {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.1);
}

.flow__step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.flow__step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   PRODUCTS SECTION
   ═══════════════════════════════════════════════════════ */
.section--products {
  background: var(--white);
}

.products__showcase {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.products__phones {
  display: flex;
  justify-content: center;
  gap: 24px;
  perspective: 1200px;
}

.products__phone {
  text-align: center;
}

.products__phone--1 { transform: rotateY(6deg); }
.products__phone--2 { transform: translateY(-16px) scale(1.04); z-index: 2; }
.products__phone--3 { transform: translateY(-16px) scale(1.04); z-index: 2; }
.products__phone--4 { transform: rotateY(-6deg); }

.products__phone-frame {
  width: 220px;
  height: 440px;
  background: var(--white);
  border-radius: 32px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.products__phone-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
}

.products__phone-notch {
  width: 100px;
  height: 28px;
  background: var(--text-primary);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.products__phone-screen {
  height: calc(100% - 28px);
  overflow: hidden;
  background: var(--bg);
}

.products__phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.products__phone-label {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-tertiary);
}

/* Product Feature Carousel */
.products__carousel {
  overflow: hidden;
  position: relative;
  margin: 0 -24px;
  padding: 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.products__carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
}

.products__carousel-track::-webkit-scrollbar { display: none; }

.products__feature-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  cursor: grab;
}

.products__feature-card:active { cursor: grabbing; }

.products__feature-card:hover {
  border-color: var(--accent-blue-border);
  background: var(--accent-blue-bg);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.products__feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.products__feature-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.products__feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.products__badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.products__badges a {
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.85;
}

.products__badges a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.contact__detail-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact__detail-link:hover {
  color: var(--accent-blue);
}

/* ═══════════════════════════════════════════════════════
   SERVICES SECTION
   ═══════════════════════════════════════════════════════ */
.section--services {
  background: var(--section-ivory);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.services__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.services__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), #7C3AED);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.services__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-blue-border);
}

.services__card:hover::before {
  opacity: 1;
}

.services__card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.services__card:hover .services__card-icon {
  background: var(--accent-blue-bg);
  border-color: var(--accent-blue-border);
  color: var(--accent-blue);
}

.services__card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.services__card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.services__card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ═══════════════════════════════════════════════════════
   TECH STACK SECTION
   ═══════════════════════════════════════════════════════ */
.section--tech {
  background: var(--white);
}

.tech__marquee-wrapper {
  margin-bottom: 56px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.tech__marquee {
  overflow: hidden;
}

.tech__marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tech__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity var(--transition-base);
  cursor: default;
}

.tech__logo:hover {
  opacity: 1;
}

.tech__logo-svg {
  width: 64px;
  height: 64px;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.tech__logo:hover .tech__logo-svg {
  color: var(--text-primary);
}

.tech__logo span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech__category {
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.tech__category h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.tech__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech__pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.tech__pill:hover {
  border-color: var(--accent-blue-border);
  color: var(--accent-blue);
  background: var(--accent-blue-bg);
}

/* ═══════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════ */
.section--contact {
  background: var(--section-mist);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact__detail svg {
  color: var(--text-tertiary);
}

.contact__form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact__form-group {
  margin-bottom: 20px;
}

.contact__form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact__form-group input,
.contact__form-group textarea,
.contact__form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--text-primary);
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.contact__form-group input:focus,
.contact__form-group textarea:focus,
.contact__form-group select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: var(--white);
}

.contact__form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact__form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.contact__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--text-primary);
  color: var(--white);
  padding: 64px 0 32px;
  position: relative;
  z-index: 2;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .nav__logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer .nav__logo-icon {
  color: var(--white);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 300px;
}

.footer__links {
  display: flex;
  gap: 64px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}

.footer__col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__phones {
    gap: 16px;
    flex-wrap: wrap;
  }

  .products__phone-frame {
    width: 170px;
    height: 360px;
  }
}

@media (max-width: 768px) {

  .section {
    padding: 100px 0 60px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .section--hero {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 120px;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__metrics {
    justify-content: center;
  }

  .hero__visual {
    height: 300px;
  }

  .hero__logo-anim {
    width: 260px;
    height: 260px;
  }

  .hero__logo-img {
    width: 140px;
    height: 140px;
  }

  .hero__orbit--1 { width: 240px; height: 240px; }
  .hero__orbit--2 { width: 300px; height: 300px; }
  .hero__orbit--3 { width: 360px; height: 360px; }

  .products__phones {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-items: center;
  }

  .products__phone--1,
  .products__phone--2,
  .products__phone--3,
  .products__phone--4 {
    transform: none;
  }

  .products__phone-frame {
    width: 100%;
    max-width: 200px;
    height: 400px;
  }

  .products__feature-card {
    flex: 0 0 240px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .tech__grid {
    grid-template-columns: 1fr;
  }

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

  .contact__form-row {
    grid-template-columns: 1fr;
  }

  .footer__top {
    flex-direction: column;
    gap: 36px;
  }

  .footer__links {
    gap: 36px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__metrics {
    flex-direction: column;
    gap: 16px;
  }

  .hero__metric-divider {
    width: 40px;
    height: 1px;
  }

  .contact__form {
    padding: 24px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ─── Smooth scroll performance ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
