/* ============================================
   ReSono Labs — Global Styles
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Brand Colors */
  --bg-deep:       #04080F;
  --bg-surface:    #07101F;
  --bg-card:       #0C1B33;
  --bg-card-alt:   #0F2240;
  --accent-cyan:   #00C2FF;
  --accent-blue:   #0077FF;
  --accent-green:  #00E5A0;
  --accent-purple: #7B61FF;

  /* Gradients */
  --grad-hero:     linear-gradient(135deg, #04080F 0%, #071525 40%, #0a1f38 100%);
  --grad-wave:     linear-gradient(90deg, #00C2FF 0%, #0077FF 45%, #00E5A0 100%);
  --grad-card:     linear-gradient(145deg, rgba(12,27,51,0.9) 0%, rgba(10,20,40,0.95) 100%);
  --grad-btn:      linear-gradient(90deg, #0077FF 0%, #00C2FF 100%);
  --grad-btn-hover:linear-gradient(90deg, #00C2FF 0%, #0077FF 100%);
  --grad-glow-cyan: linear-gradient(90deg, rgba(0,194,255,0.15) 0%, rgba(0,119,255,0.05) 100%);

  /* Typography */
  --font-main:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Borders */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-main);
  background: var(--bg-deep);
  color: #E8F4FF;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* ---------- Selection ---------- */
::selection { background: rgba(0, 194, 255, 0.3); color: #fff; }

/* ---------- Focus Styles ---------- */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Links ---------- */
a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { max-width: 68ch; }

.gradient-text {
  background: var(--grad-wave);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: 0;
}

/* ---------- Container ---------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 119, 255, 0.35);
}
.btn--primary:hover {
  background: var(--grad-btn-hover);
  box-shadow: 0 0 35px rgba(0, 194, 255, 0.55);
  transform: translateY(-2px);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--accent-cyan);
  border: 1.5px solid rgba(0, 194, 255, 0.4);
}
.btn--outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 194, 255, 0.08);
  color: var(--accent-cyan);
}

.btn--ghost {
  background: rgba(255,255,255,0.05);
  color: #E8F4FF;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.btn--sm {
  padding: 0.55rem 1.4rem;
  font-size: 0.85rem;
}

/* ---------- Glass Card ---------- */
.glass-card {
  background: var(--grad-card);
  border: 1px solid rgba(0, 194, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(0, 194, 255, 0.3);
  box-shadow: 0 8px 40px rgba(0, 119, 255, 0.12);
  transform: translateY(-3px);
}

/* ---------- Tag / Badge ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag--cyan  { background: rgba(0, 194, 255, 0.12); color: var(--accent-cyan); border: 1px solid rgba(0, 194, 255, 0.25); }
.tag--green { background: rgba(0, 229, 160, 0.12);  color: var(--accent-green); border: 1px solid rgba(0, 229, 160, 0.25); }
.tag--blue  { background: rgba(0, 119, 255, 0.12);  color: var(--accent-blue); border: 1px solid rgba(0, 119, 255, 0.25); }
.tag--purple{ background: rgba(123, 97, 255, 0.12); color: var(--accent-purple); border: 1px solid rgba(123, 97, 255, 0.25); }

/* ---------- Section Spacing ---------- */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, rgba(7,16,31,0.6) 0%, transparent 100%);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background: rgba(4, 8, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo img {
  height: 42px;
  width: auto;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.nav__logo-sub {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  opacity: 0.8;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav__links a {
  color: rgba(232, 244, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.nav__cta {
  margin-left: 1rem;
}

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #E8F4FF;
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(0, 119, 255, 0.12) 0%, rgba(0, 194, 255, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.hero__badge {
  margin-bottom: 1.5rem;
  display: inline-flex;
}

.hero__title {
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(232, 244, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(232, 244, 255, 0.35);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

/* ---------- Products Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-wave);
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover::before { opacity: 1; }

.product-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.product-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.product-card__desc {
  font-size: 0.9rem;
  color: rgba(232, 244, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  transition: gap var(--transition);
}

.product-card__link:hover { gap: 0.7rem; color: var(--accent-cyan); }

/* ---------- Why Section ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.why-item {
  padding: 2rem;
}

.why-item__number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(0, 194, 255, 0.2) 0%, rgba(0, 229, 160, 0.1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: block;
}

.why-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.why-item__desc {
  font-size: 0.88rem;
  color: rgba(232, 244, 255, 0.5);
  line-height: 1.65;
}

/* ---------- Features ---------- */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.95rem;
  color: rgba(232, 244, 255, 0.8);
}

.features-list li::before {
  content: '→';
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 194, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.feature-visual img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}

.stat-item {
  background: rgba(7, 16, 31, 0.9);
  padding: 2rem;
  text-align: center;
}

.stat-item__value {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--grad-wave);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(232, 244, 255, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Tech Stack ---------- */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tech-badge {
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(232, 244, 255, 0.6);
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 119, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(232, 244, 255, 0.55);
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 0 2rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__brand img {
  height: 32px;
  width: auto;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(232, 244, 255, 0.3);
  margin-top: 0.4rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(232, 244, 255, 0.4);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--accent-cyan); }

/* ---------- Page Header (inner pages) ---------- */
.page-hero {
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 119, 255, 0.1) 0%, transparent 65%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero__badge {
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  margin-bottom: 1rem;
  color: #fff;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(232, 244, 255, 0.55);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Feature Grid (3 col) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.feature-item {
  padding: 1.75rem;
}

.feature-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 194, 255, 0.1);
  border: 1px solid rgba(0, 194, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-item h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.88rem;
  color: rgba(232, 244, 255, 0.5);
  line-height: 1.65;
}

/* ---------- Info Block ---------- */
.info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.info-block__text h3 {
  margin-bottom: 1rem;
  color: #fff;
}

.info-block__text p {
  color: rgba(232, 244, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.info-block__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 194, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.info-block__visual img {
  width: 100%;
  display: block;
  opacity: 0.9;
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  margin-top: 2rem;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
  position: relative;
}

.process-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid rgba(0, 194, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: -1.5rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0, 194, 255, 0.3) 0%, transparent 100%);
}

.process-step:last-child::before { display: none; }

.process-step__content h4 {
  color: #fff;
  margin-bottom: 0.4rem;
  padding-top: 0.5rem;
}

.process-step__content p {
  font-size: 0.88rem;
  color: rgba(232, 244, 255, 0.5);
  line-height: 1.65;
}

/* ---------- Security Section ---------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.security-item {
  padding: 1.5rem;
  background: rgba(0, 229, 160, 0.04);
  border: 1px solid rgba(0, 229, 160, 0.12);
  border-radius: var(--radius-md);
}

.security-item h4 {
  color: var(--accent-green);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.security-item p {
  font-size: 0.82rem;
  color: rgba(232, 244, 255, 0.45);
  line-height: 1.6;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.4); }
  70%  { box-shadow: 0 0 0 16px rgba(0, 194, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 194, 255, 0); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.35s; }
.animate-delay-4 { animation-delay: 0.5s; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Divider ---------- */
.divider {
  width: 60px;
  height: 3px;
  background: var(--grad-wave);
  border-radius: 2px;
  margin: 1.5rem 0;
}

/* ---------- Section Label ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 1px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: clamp(2rem, 6vw, 3rem); }
  h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }

  .section { padding: 4rem 0; }
  .section-label { font-size: 0.7rem; }

  /* Reduce hero glow on tablet */
  .hero__glow { width: 600px; height: 400px; }

  /* Shrink feature visual containers */
  .info-block__visual,
  .info-block__visual[style] { padding: 1.5rem !important; }

  .feature-visual { margin-top: 0; }

  /* Process steps — tighter on tablet */
  .process-step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .process-step__num { width: 40px; height: 40px; font-size: 0.95rem; }
  .process-step::before { left: 20px; top: 40px; }
}

@media (max-width: 768px) {
  /* ---- Typography ---- */
  h1 { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1rem; }

  p  { font-size: 0.9rem; }

  /* ---- Section spacing ---- */
  .section   { padding: 3rem 0; }
  .section--alt { padding: 2.5rem 0; }

  .section-label { font-size: 0.68rem; }

  .divider { margin: 1rem 0; }

  /* ---- Page Hero — much tighter ---- */
  .page-hero { padding: 6rem 0 2.5rem; }
  .page-hero::before { background: radial-gradient(ellipse at 50% 0%, rgba(0, 119, 255, 0.08) 0%, transparent 60%); }
  .page-hero__subtitle { font-size: 0.95rem; }
  .page-hero__badge { margin-bottom: 1rem; }

  /* ---- Hero — compact on mobile ---- */
  .hero { min-height: auto; padding-top: 5rem; padding-bottom: 3rem; }
  .hero__glow { width: 320px; height: 240px; top: -5%; }
  .hero__grid { display: none; /* skip the background grid on mobile — it's visual noise */ }
  .hero__content { padding: 2rem 1rem; }
  .hero__title { margin-bottom: 1rem; }
  .hero__subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
  .hero__actions { width: 100%; gap: 0.75rem; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__scroll { display: none; }

  /* ---- Nav ---- */
  .nav { padding: 0.75rem 0; }
  .nav__links    { display: none; }
  .nav__cta      { display: none; }
  .nav__hamburger { display: flex; }

  /* Mobile drawer */
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: rgba(4, 8, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0.25rem;
    transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-left: 1px solid rgba(0, 194, 255, 0.1);
    z-index: 200;
  }
  .nav__links.nav--open { right: 0; display: flex; }
  .nav__links a {
    display: block;
    width: 100%;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    color: rgba(232, 244, 255, 0.75);
  }
  .nav__links a:hover { background: rgba(255,255,255,0.05); color: #fff; }
  .nav__links a.active { color: var(--accent-cyan); }

  /* Hamburger animation */
  .nav__hamburger { z-index: 201; }

  /* ---- Glass Card ---- */
  .glass-card { border-radius: var(--radius-md); }
  .glass-card:hover { transform: none; }

  /* ---- Products Grid — 1 col on mobile ---- */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }
  .product-card { padding: 1.5rem; }
  .product-card__desc { font-size: 0.88rem; }
  .product-card__tags { margin-bottom: 1rem; }

  /* ---- Why Grid — 1 col ---- */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }
  .why-item { padding: 1.25rem; }
  .why-item__number { font-size: 2.5rem; }

  /* ---- Feature Grid — 1 col ---- */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    margin-top: 1.5rem;
  }
  .feature-item { padding: 1.25rem; }
  .feature-item__icon { margin-bottom: 0.75rem; }
  .feature-item p { font-size: 0.85rem; }

  /* ---- Info Block — stacked ---- */
  .info-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }
  .info-block .info-block__text { order: 1; }
  .info-block .info-block__visual { order: 2; }

  .info-block__text p { font-size: 0.9rem; margin-bottom: 1rem; }
  .info-block__visual { padding: 1.25rem !important; }

  /* ---- Stats bar ---- */
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 2rem;
  }
  .stat-item { padding: 1.25rem 1rem; }
  .stat-item__value { font-size: 1.8rem; }
  .stat-item__label { font-size: 0.7rem; }

  /* ---- Process Steps ---- */
  .process-steps { margin-top: 1.5rem; }
  .process-step {
    grid-template-columns: 40px 1fr;
    gap: 0.875rem;
    align-items: start;
  }
  .process-step__num {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }
  .process-step::before { left: 19px; top: 38px; }
  .process-step__content h4 { font-size: 0.95rem; padding-top: 0.25rem; margin-bottom: 0.25rem; }
  .process-step__content p  { font-size: 0.83rem; }

  /* ---- Security Grid ---- */
  .security-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  .security-item { padding: 1rem; }

  /* ---- CTA ---- */
  .cta-section { padding: 3rem 0; }
  .cta-section::before { width: 400px; height: 200px; }
  .cta-section p { font-size: 0.95rem; margin-bottom: 2rem; }

  /* ---- Footer ---- */
  .footer { padding: 2rem 0 1.5rem; }
  .footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
  .footer__links { flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.25rem; }

  /* ---- Buttons — full width ---- */
  .btn { padding: 0.85rem 1.5rem; font-size: 0.9rem; }
  .btn--sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

  /* ---- Reveal — less dramatic on mobile ---- */
  .reveal { transform: translateY(16px); }

  /* ---- 8-step intake grid on mobile ---- */
  .info-block[style] > div:last-child {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  /* ---- Signal flow diagrams on mobile ---- */
  .info-block__visual[style*="padding: 2.5rem"] { padding: 1.25rem !important; }
  .info-block__visual div[style*="flex-direction: column"] { gap: 0.5rem !important; }
  .info-block__visual div[style*="flex-direction: column"] > div { padding: 0.6rem 0.75rem !important; font-size: 0.72rem !important; }

  /* ---- Tech badges ---- */
  .tech-stack { gap: 0.5rem; }
  .tech-badge { font-size: 0.72rem; padding: 0.3rem 0.75rem; }

  /* ---- Tag ---- */
  .tag { font-size: 0.68rem; padding: 0.25rem 0.7rem; }
}

@media (max-width: 480px) {
  .hero { padding-top: 4.5rem; }
  .page-hero { padding: 5.5rem 0 2rem; }

  .products-grid,
  .why-grid,
  .feature-grid { gap: 0.875rem; }

  .section   { padding: 2.5rem 0; }
  .section--alt { padding: 2rem 0; }

  .hero__title span:first-child {
    font-size: 0.48em !important;
    letter-spacing: 0.12em;
  }
}
