/* ============================================================
   VWS Digital — Main Stylesheet
   ============================================================ */

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

:root {
  --bg:        #07070f;
  --bg2:       #0d0d1a;
  --bg3:       #12121f;
  --card:      rgba(255,255,255,0.04);
  --card-b:    rgba(255,255,255,0.08);
  --indigo:    #6366f1;
  --purple:    #8b5cf6;
  --cyan:      #06b6d4;
  --pink:      #ec4899;
  --grad:      linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  --grad2:     linear-gradient(135deg, #8b5cf6, #ec4899);
  --text:      #f1f5f9;
  --muted:     #94a3b8;
  --border:    rgba(255,255,255,0.08);
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 4px 32px rgba(99,102,241,0.15);
  --shadow-lg: 0 8px 64px rgba(99,102,241,0.25);
  --font:      system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h:     72px;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
a, button, .filter-btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

/* ---------- Typography ------------------------------------ */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
.display {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
}
.section-sub {
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin: 0.75rem auto 0;
  font-size: 1.05rem;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-2 {
  background: var(--grad2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Utility --------------------------------------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }
.flex { display: flex; }
.grid { display: grid; }
.center { text-align: center; }
.tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.tag-indigo {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.35);
  color: #a5b4fc;
}
.tag-purple {
  background: rgba(139,92,246,0.15);
  border-color: rgba(139,92,246,0.35);
  color: #c4b5fd;
}
.tag-cyan {
  background: rgba(6,182,212,0.15);
  border-color: rgba(6,182,212,0.35);
  color: #67e8f9;
}
.tag-ios {
  background: rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.3);
  color: #67e8f9;
}
.tag-android {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.3);
  color: #86efac;
}

/* ---------- Buttons --------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s;
}
.btn:hover::after { background: rgba(255,255,255,0.07); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(99,102,241,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.55);
}
.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: rgba(99,102,241,0.5);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* ---------- Nav ------------------------------------------ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-logo span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7,7,15,0.96);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-nav.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav a {
  color: var(--muted);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--text); }
.mobile-nav a:last-of-type { border-bottom: none; }

/* ---------- Hero ----------------------------------------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: float 8s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: rgba(99,102,241,0.2);
  top: -150px; left: -100px;
}
.orb-2 {
  width: 500px; height: 500px;
  background: rgba(139,92,246,0.15);
  top: 100px; right: -80px;
  animation-delay: -3s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: rgba(6,182,212,0.12);
  bottom: -80px; left: 30%;
  animation-delay: -5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 8px var(--cyan); }
  50% { box-shadow: 0 0 20px var(--cyan), 0 0 40px rgba(6,182,212,0.4); }
}
.hero-eyebrow-text { color: var(--cyan); font-size: 0.9rem; font-weight: 600; }

.hero h1 { margin-bottom: 1.5rem; }
.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Floating phone mockup */
.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 340px;
  display: none;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(calc(-50% - 20px)) rotate(2deg); }
}
.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--bg3);
  border: 2px solid var(--border);
  border-radius: 44px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 30px;
  background: var(--bg);
  border-radius: 0 0 20px 20px;
  z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}
.phone-app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  padding: 0 10px;
}
.phone-app-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat h3 {
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat p { font-size: 0.85rem; color: var(--muted); margin-top: 0.1rem; }

/* ---------- Cards / Glass --------------------------------- */
.glass-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
  border-color: rgba(99,102,241,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* ---------- Services Section ------------------------------ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.service-card {
  padding: 2rem;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.service-icon-ios { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(99,102,241,0.2)); }
.service-icon-android { background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(6,182,212,0.2)); }
.service-icon-web { background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(236,72,153,0.2)); }
.service-icon-design { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(236,72,153,0.2)); }

.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Featured Apps --------------------------------- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.app-card { padding: 1.75rem; }
.app-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.app-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.app-card-meta h3 { font-size: 1.15rem; font-weight: 700; }
.app-card-meta p { color: var(--muted); font-size: 0.85rem; margin-top: 0.2rem; }
.app-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 0.5rem; }
.app-card p { color: var(--muted); font-size: 0.93rem; margin-bottom: 1.25rem; }
.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

/* ---------- App Store Badge ------------------------------- */
.store-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
  color: var(--text);
}
.store-badge:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(99,102,241,0.4);
}
.store-badge svg { width: 16px; height: 16px; }

/* ---------- Process Section ------------------------------ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
  position: relative;
}
.process-step { text-align: center; padding: 2rem 1.5rem; }
.process-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  background: var(--grad);
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
}
.process-step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Testimonials / CTA band ---------------------- */
.cta-band {
  background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08), rgba(6,182,212,0.08));
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 2rem; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer --------------------------------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; max-width: 280px; margin: 0.75rem 0 1.5rem; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: var(--muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-socials { display: flex; gap: 1rem; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s;
  color: var(--muted);
}
.social-icon:hover {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
  color: var(--text);
}

/* ---------- Page Hero (inner pages) ---------------------- */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.page-hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(99,102,241,0.15);
  top: -200px; left: -100px;
}
.page-hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(6,182,212,0.1);
  top: -150px; right: -80px;
}
.page-hero .tag { margin-bottom: 1.25rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--muted); max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Apps Portfolio Page -------------------------- */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  background: var(--card);
}
.filter-btn:hover, .filter-btn.active {
  background: rgba(99,102,241,0.15);
  border-color: rgba(99,102,241,0.4);
  color: var(--text);
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.app-card-full {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.app-card-full .app-desc { color: var(--muted); font-size: 0.93rem; flex: 1; }
.app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.app-feature {
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--muted);
}
.app-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: #fbbf24;
  font-weight: 600;
}
.app-rating span { color: var(--muted); font-weight: 400; font-size: 0.8rem; }

/* ---------- About Page ----------------------------------- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-avatar {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}
.about-avatar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: var(--grad);
  z-index: -1;
}
.about-badge {
  position: absolute;
  bottom: -12px; right: -12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.about-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.about-content .tag { margin-bottom: 1.25rem; }
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.25rem; }
.about-content p { color: var(--muted); margin-bottom: 1rem; font-size: 0.98rem; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}
.skill-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.skill-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.skill-card h4 { font-size: 0.95rem; font-weight: 600; }
.skill-card p { font-size: 0.82rem; color: var(--muted); margin-top: 0.15rem; }

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.value-card { padding: 2rem; }
.value-card h3 { font-size: 1.1rem; margin: 1rem 0 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Contact Page --------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-method {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-method-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-method h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.contact-method p { color: var(--muted); font-size: 0.875rem; }
.contact-method a { color: var(--indigo); transition: opacity 0.2s; }
.contact-method a:hover { opacity: 0.8; }

/* Form */
.contact-form-card { padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
select option { background: var(--bg2); color: var(--text); }
textarea { resize: vertical; min-height: 140px; }
.form-submit { width: 100%; padding: 0.9rem; font-size: 1rem; border-radius: var(--radius-sm); }
.form-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin-top: 0.75rem; }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}
.form-success .success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}
.form-success h3 { margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Privacy Page --------------------------------- */
.privacy-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}
.privacy-nav {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.privacy-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--muted);
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.privacy-nav a:hover, .privacy-nav a.active {
  color: var(--text);
  background: rgba(99,102,241,0.1);
  border-left-color: var(--indigo);
}
.privacy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.privacy-content { padding: 0; }
.privacy-section { margin-bottom: 3rem; }
.privacy-section h2 { font-size: 1.4rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }
.privacy-section h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
.privacy-section p { color: var(--muted); font-size: 0.93rem; margin-bottom: 0.75rem; line-height: 1.7; }
.privacy-section ul { padding-left: 1.25rem; list-style: disc; display: flex; flex-direction: column; gap: 0.4rem; }
.privacy-section ul li { color: var(--muted); font-size: 0.93rem; }
.privacy-app-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  cursor: pointer;
}
.privacy-app-card:hover { border-color: rgba(99,102,241,0.3); }
.privacy-app-card h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.privacy-app-card p { color: var(--muted); font-size: 0.85rem; }

/* ---------- Coming Soon cards ---------------------------- */
.coming-soon-card { position: relative; }
.coming-soon-ribbon {
  position: absolute;
  top: 1rem; right: 1rem;
  background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(236,72,153,0.25));
  border: 1px solid rgba(245,158,11,0.45);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fcd34d;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
}
.coming-soon-card .app-icon { opacity: 0.85; }
.coming-soon-card .app-card-meta p { color: var(--muted); }
.store-coming {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fcd34d;
}

/* ---------- Scroll animations ---------------------------- */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.2s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Back to top ---------------------------------- */
#back-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 900;
  font-size: 1.1rem;
}
#back-top.show { opacity: 1; pointer-events: auto; }
#back-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ----------------------------------- */
@media (min-width: 900px) {
  .hero-visual { display: block; }
  .hero-content { max-width: 580px; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-sidebar { position: relative; top: auto; }
}

@media (max-width: 768px) {
  html { scroll-behavior: auto; }
  .container { padding: 0 1rem; }
  .display { font-size: clamp(2rem, 10vw, 2.8rem); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-bg,
  .page-hero-bg { display: none; }
  .hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }
  .hero-actions {
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats { gap: 1.5rem; }
  .services-grid,
  .featured-grid,
  .apps-grid,
  .skills-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-card,
  .app-card,
  .app-card-full,
  .value-card,
  .contact-form-card,
  .contact-method {
    padding: 1.25rem;
  }
  .app-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  input, select, textarea { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 2.5rem 1.5rem; }
  .hero-eyebrow-dot,
  .coming-soon-badge::before { animation: none; }
  .glass-card,
  .btn-primary,
  #back-top,
  .phone-frame { box-shadow: none; }
}

@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .btn { padding: 0.7rem 1.4rem; }
}

/* ---------- Coming Soon cards ---------------------------- */
.coming-soon-card { position: relative; overflow: hidden; }
.coming-soon-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,7,15,0.15);
  pointer-events: none;
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: linear-gradient(135deg,rgba(245,158,11,0.25),rgba(236,72,153,0.25));
  border: 1px solid rgba(245,158,11,0.4);
  color: #fcd34d;
}
.coming-soon-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fcd34d;
  box-shadow: 0 0 8px #fcd34d;
  animation: pulse 2s ease-in-out infinite;
}
.available-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

/* ============================================================
   MOBILE PERFORMANCE — removes GPU-heavy effects on phones
   ============================================================ */
@media (max-width: 768px) {

  /* --- #1 biggest win: kill backdrop-filter everywhere ---
     backdrop-filter: blur() forces a full compositing layer
     on every card. On mobile this destroys frame rate.       */
  .glass-card,
  .about-badge {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(15, 15, 28, 0.97);
  }
  .btn-ghost {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  #navbar.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 7, 15, 0.99);
  }
  .mobile-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(7, 7, 15, 0.99);
  }

  /* --- #2: Stop the continuously animating blurred orbs ---
     filter: blur(120px) + animation = constant GPU work     */
  .orb {
    animation: none;
    filter: blur(70px);
    opacity: 0.5;
  }
  .orb-1 { width: 280px; height: 280px; }
  .orb-2 { width: 240px; height: 240px; }
  .orb-3 { width: 200px; height: 200px; }

  .page-hero-orb {
    filter: blur(60px);
    opacity: 0.5;
  }
  .page-hero-orb-1 { width: 240px; height: 240px; }
  .page-hero-orb-2 { width: 200px; height: 200px; }

  /* --- #3: Disable hover transforms on touch screens ---
     These never trigger on mobile but the browser still
     keeps compositing layers ready for them               */
  .glass-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border);
  }
  .btn-primary:hover,
  .btn-ghost:hover {
    transform: none;
  }

  /* --- #4: Stop the floating phone animation ----------- */
  .hero-visual { animation: none; }

}

/* Respect "reduce motion" preference on any device */
@media (prefers-reduced-motion: reduce) {
  .orb, .hero-visual, .hero-eyebrow-dot,
  .coming-soon-badge::before { animation: none; }
  [data-reveal] { transition: opacity 0.2s ease; transform: none; }
  [data-reveal].revealed { opacity: 1; }
}
