/* ===== ROOT VARIABLES ===== */
:root {
  --cyan: #00f5ff;
  --pink: #ff2d78;
  --dark: #02030a;
  --dark2: #060a14;
  --dark3: #0a0f20;
  --mid: #111827;
  --border: rgba(0,245,255,0.15);
  --text: #c8d6e5;
  --text-dim: #5a6a7e;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: crosshair;
}

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

/* ===== CANVAS PARTICLES ===== */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ===== GRID OVERLAY ===== */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0,245,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,245,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: linear-gradient(180deg, rgba(2,3,10,0.95) 0%, rgba(2,3,10,0.6) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.nav-logo { cursor: pointer; }
.logo-svg { display: block; }

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--cyan); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 8px #00ff88;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 4rem 4rem;
  gap: 4rem;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 680px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
  display: block;
  opacity: 0;
  animation: slideInLeft 0.8s forwards;
}
.hero-title .line-1 { animation-delay: 0.4s; color: #fff; }
.hero-title .line-2 { animation-delay: 0.6s; color: #fff; }
.hero-title .line-3 { animation-delay: 0.8s; color: var(--text-dim); -webkit-text-stroke: 1px var(--border); }

.hero-title em {
  font-style: normal;
  color: var(--cyan);
  text-shadow: 0 0 40px rgba(0,245,255,0.4);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-dim);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s 1s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 0.8s 1.2s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s 1.4s forwards;
}
.stat { text-align: left; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
  flex: 0 0 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.5s 1s forwards;
}

.orb-container {
  position: relative;
  width: 400px;
  height: 400px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.orb-1 {
  width: 180px; height: 180px;
  background: radial-gradient(circle at 35% 35%, rgba(0,245,255,0.25), rgba(0,50,80,0.4));
  border: 1px solid rgba(0,245,255,0.3);
  box-shadow: inset 0 0 60px rgba(0,245,255,0.1), 0 0 80px rgba(0,245,255,0.2);
  animation: orb-breathe 4s ease-in-out infinite;
}
.orb-2 {
  width: 120px; height: 120px;
  background: radial-gradient(circle at 40% 40%, rgba(255,45,120,0.3), transparent);
  animation: orb-breathe 3s ease-in-out infinite reverse;
}
.orb-3 {
  width: 60px; height: 60px;
  background: rgba(0,245,255,0.15);
  border: 1px solid rgba(0,245,255,0.5);
  animation: orb-breathe 2s ease-in-out infinite;
}

@keyframes orb-breathe {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.08); }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  border: 1px solid rgba(0,245,255,0.2);
  transform-origin: center;
}
.ring-1 {
  width: 240px; height: 240px;
  margin: -120px 0 0 -120px;
  animation: spin 12s linear infinite;
  border-style: dashed;
}
.ring-2 {
  width: 320px; height: 320px;
  margin: -160px 0 0 -160px;
  animation: spin 20s linear infinite reverse;
}
.ring-3 {
  width: 380px; height: 380px;
  margin: -190px 0 0 -190px;
  animation: spin 30s linear infinite;
  border-color: rgba(255,45,120,0.15);
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.orbit-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  top: 50%; left: 50%;
}
.dot-1 {
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: orbit-dot-1 12s linear infinite;
}
.dot-2 {
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
  width: 6px; height: 6px;
  animation: orbit-dot-2 20s linear infinite reverse;
}
.dot-3 {
  background: #fff;
  box-shadow: 0 0 8px #fff;
  width: 4px; height: 4px;
  animation: orbit-dot-3 30s linear infinite;
}

@keyframes orbit-dot-1 {
  from { transform: rotate(0deg) translateX(120px) translate(-50%,-50%); }
  to   { transform: rotate(360deg) translateX(120px) translate(-50%,-50%); }
}
@keyframes orbit-dot-2 {
  from { transform: rotate(0deg) translateX(160px) translate(-50%,-50%); }
  to   { transform: rotate(360deg) translateX(160px) translate(-50%,-50%); }
}
@keyframes orbit-dot-3 {
  from { transform: rotate(0deg) translateX(190px) translate(-50%,-50%); }
  to   { transform: rotate(360deg) translateX(190px) translate(-50%,-50%); }
}

.center-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: orb-breathe 4s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  padding: 0.9rem 2.2rem;
  background: var(--cyan);
  color: var(--dark);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 30px rgba(0,245,255,0.5);
  transform: translateY(-2px);
}
.btn-primary.large {
  font-size: 1rem;
  padding: 1.2rem 3rem;
}

.btn-ghost {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text);
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--cyan); }

/* ===== MONO TEXT ===== */
.mono {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview {
  position: relative;
  z-index: 1;
  padding: 6rem 4rem;
}

.section-header {
  margin-bottom: 4rem;
}
.section-tag {
  color: var(--cyan);
  margin-bottom: 0.8rem;
  letter-spacing: 0.1em;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.accent { color: var(--cyan); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  display: block;
  background: var(--dark2);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s, transform 0.2s;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: transparent;
  transition: background 0.3s;
}
.service-card:hover::before { background: var(--cyan); }
.service-card:hover {
  background: var(--dark3);
  transform: translateY(-4px);
}
.service-card.featured { background: rgba(0,245,255,0.04); }
.service-card.featured::before { background: var(--cyan); }

.card-icon {
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 1.2rem;
  opacity: 0.7;
}
.service-card.featured .card-icon { color: var(--pink); opacity: 1; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.8rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}
.card-arrow {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  font-size: 1.2rem;
  color: var(--cyan);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s;
}
.service-card:hover .card-arrow { opacity: 1; transform: translateX(0); }

.services-cta {
  margin-top: 3rem;
  text-align: center;
}

/* ===== TICKER ===== */
.ticker-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,245,255,0.03);
  padding: 1rem 0;
}
.ticker {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}
.ticker-dot { color: var(--cyan); }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 8rem 4rem;
  text-align: center;
  overflow: hidden;
}
.cta-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-display);
  font-size: 20vw;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,245,255,0.05);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.cta-inner {
  position: relative;
  z-index: 2;
}
.cta-tag {
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.5rem;
  letter-spacing: -0.02em;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 4rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.footer-logo span { color: var(--cyan); }
.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 10rem 4rem 5rem;
  border-bottom: 1px solid var(--border);
}
.page-hero-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 0.95;
}
.page-hero p {
  max-width: 600px;
  color: var(--text-dim);
  margin-top: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ===== SERVICES PAGE ===== */
.services-section {
  position: relative;
  z-index: 1;
  padding: 5rem 4rem;
}
.service-full {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-full:last-child { border-bottom: none; }
.service-full-icon {
  font-size: 4rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  border: 1px solid var(--border);
  background: var(--dark2);
}
.service-full h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.service-full p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

/* ===== ABOUT PAGE ===== */
.about-section {
  position: relative;
  z-index: 1;
  padding: 5rem 4rem;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 5rem;
}
.about-grid h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.about-grid p {
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
}
.value-card {
  background: var(--dark2);
  padding: 2rem;
}
.value-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.value-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.6; }

/* ===== CONTACT PAGE ===== */
.contact-section {
  position: relative;
  z-index: 1;
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.contact-info p { color: var(--text-dim); line-height: 1.8; margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.detail-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  min-width: 80px;
}
.detail-val { color: var(--text); font-size: 0.95rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ===== TERMS PAGE ===== */
.terms-section {
  position: relative;
  z-index: 1;
  padding: 5rem 4rem;
  max-width: 900px;
}
.terms-warning {
  background: rgba(255,45,120,0.1);
  border: 1px solid rgba(255,45,120,0.4);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
}
.terms-warning h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 0.5rem;
}
.terms-warning p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; }
.terms-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.terms-block:last-child { border-bottom: none; }
.terms-block h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.terms-block p {
  color: var(--text-dim);
  line-height: 1.9;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== SCAN LINE EFFECT ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,0.03) 0px,
    rgba(0,0,0,0.03) 1px,
    transparent 1px,
    transparent 2px
  );
}

/* ===== HAMBURGER MENU ===== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: all 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(2,3,10,0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  transition: color 0.2s;
  text-transform: uppercase;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--cyan); }
.mobile-menu-footer {
  position: absolute;
  bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

/* ===== RESPONSIVE — LARGE TABLET (≤1100px) ===== */
@media (max-width: 1100px) {
  .hero { padding: 7rem 3rem 4rem; gap: 2rem; }
  .hero-visual { flex: 0 0 360px; }
  .orb-container { width: 320px; height: 320px; }
  .ring-3 { width: 310px; height: 310px; margin: -155px 0 0 -155px; }
  .ring-2 { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .ring-1 { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
  .nav { padding: 1rem 2.5rem; }
  .nav-links { gap: 1.5rem; }
  .services-preview, .services-section { padding: 5rem 3rem; }
  .about-section, .contact-section, .terms-section { padding: 4rem 3rem; }
  .page-hero { padding: 9rem 3rem 4rem; }
  .cta-section { padding: 6rem 3rem; }
  .footer { padding: 2.5rem 3rem; }
}

/* ===== RESPONSIVE — TABLET (≤900px) ===== */
@media (max-width: 900px) {
  /* Nav */
  .nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-status { display: none; }
  .nav-hamburger { display: flex; }

  /* Mobile menu */
  .mobile-menu { display: flex; }

  /* Hero */
  .hero {
    flex-direction: column;
    padding: 7rem 1.5rem 3rem;
    min-height: auto;
    gap: 3rem;
    text-align: center;
    align-items: center;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .hero-stats { justify-content: center; }
  .hero-desc { margin: 0 auto 2.5rem; }

  /* Show orbital on tablet */
  .hero-visual {
    flex: 0 0 auto;
    width: 280px;
    height: 280px;
  }
  .orb-container { width: 280px; height: 280px; }
  .orb-1 { width: 130px; height: 130px; }
  .orb-2 { width: 90px; height: 90px; }
  .orb-3 { width: 50px; height: 50px; }
  .ring-1 { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .ring-2 { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .ring-3 { width: 270px; height: 270px; margin: -135px 0 0 -135px; }
  @keyframes orbit-dot-1 {
    from { transform: rotate(0deg) translateX(85px) translate(-50%,-50%); }
    to   { transform: rotate(360deg) translateX(85px) translate(-50%,-50%); }
  }
  @keyframes orbit-dot-2 {
    from { transform: rotate(0deg) translateX(110px) translate(-50%,-50%); }
    to   { transform: rotate(360deg) translateX(110px) translate(-50%,-50%); }
  }
  @keyframes orbit-dot-3 {
    from { transform: rotate(0deg) translateX(135px) translate(-50%,-50%); }
    to   { transform: rotate(360deg) translateX(135px) translate(-50%,-50%); }
  }

  /* Sections */
  .services-preview, .services-section { padding: 4rem 1.5rem; }
  .about-section, .terms-section { padding: 4rem 1.5rem; }
  .contact-section {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-full { grid-template-columns: 1fr; gap: 2rem; }
  .service-full-icon { height: 80px; font-size: 2.5rem; }

  /* Page hero */
  .page-hero { padding: 8rem 1.5rem 3rem; }

  /* CTA */
  .cta-section { padding: 5rem 1.5rem; }

  /* Footer */
  .footer { padding: 2rem 1.5rem; }
  .footer-links { gap: 1rem; font-size: 0.8rem; }

  /* Form row */
  .form-row { grid-template-columns: 1fr !important; }

  /* Section header */
  .section-header h2 { font-size: 2.2rem; }
}

/* ===== RESPONSIVE — MOBILE (≤600px) ===== */
@media (max-width: 600px) {
  /* Nav */
  .nav { padding: 0.9rem 1rem; }
  .nav-logo svg { width: 100px; height: 34px; }

  /* Hero */
  .hero { padding: 6rem 1rem 2.5rem; gap: 2rem; }
  .hero-visual { width: 240px; height: 240px; }
  .orb-container { width: 240px; height: 240px; }
  .orb-1 { width: 110px; height: 110px; }
  .orb-2 { width: 75px; height: 75px; }
  .orb-3 { width: 40px; height: 40px; }
  .ring-1 { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .ring-2 { width: 190px; height: 190px; margin: -95px 0 0 -95px; }
  .ring-3 { width: 230px; height: 230px; margin: -115px 0 0 -115px; }

  .hero-eyebrow { font-size: 0.65rem; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; text-align: center; }
  .hero-stats { gap: 1.2rem; }
  .stat-num { font-size: 1.7rem; }

  /* Sections */
  .services-preview, .services-section { padding: 3rem 1rem; }
  .about-section, .terms-section { padding: 3rem 1rem; }
  .contact-section { padding: 3rem 1rem; }
  .page-hero { padding: 7rem 1rem 2.5rem; }
  .cta-section { padding: 4rem 1rem; }
  .footer { padding: 2rem 1rem; }

  /* Services grid: single column on small phones */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.8rem; }

  /* Values grid */
  .values-grid { grid-template-columns: 1fr; }

  /* Terms */
  .terms-section { max-width: 100%; }
  .terms-warning { padding: 1rem 1.2rem; }

  /* CTA bg text */
  .cta-bg-text { font-size: 30vw; }

  /* Section headers */
  .section-header h2 { font-size: 2rem; }
  .page-hero h1 { font-size: clamp(2.2rem, 9vw, 3.5rem); }

  /* About metrics grid */
  [style*="grid-template-columns: repeat(auto-fill, minmax(200px, 1fr))"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Mobile menu links bigger tap targets */
  .mobile-menu a { font-size: 1.6rem; padding: 0.5rem; }
}

/* ===== RESPONSIVE — SMALL PHONE (≤380px) ===== */
@media (max-width: 380px) {
  .hero { padding: 5.5rem 0.8rem 2rem; }
  .hero-visual { width: 200px; height: 200px; display: none; }
  .stat-num { font-size: 1.5rem; }
  .hero-stats { gap: 0.8rem; }
  .stat-div { height: 30px; }
  .page-hero h1 { font-size: 2rem; }
  .mobile-menu a { font-size: 1.4rem; }
  .btn-primary.large { font-size: 0.9rem; padding: 1rem 2rem; }
  .footer-links { flex-direction: column; align-items: center; gap: 0.6rem; }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) {
  /* Remove cursor trail on touch devices */
  body { cursor: auto; }
  /* Make buttons easier to tap */
  .btn-primary, .nav-link, .service-card, .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .service-card { display: block; }
  /* Remove hover states that don't make sense on touch */
  .service-card:hover { transform: none; }
}

/* ===== LANDSCAPE PHONE ===== */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding: 5rem 2rem 2rem; flex-direction: row; }
  .hero-visual { display: flex; flex: 0 0 200px; }
  .orb-container { width: 180px; height: 180px; }
  .page-hero { padding: 5rem 2rem 2rem; }
  .nav { padding: 0.7rem 1.5rem; }
}
