/* ===================================================
   VSM Global Technologies — Mobile App Development
   Theme: Light Blue & White | Professional Animations
   =================================================== */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500&display=swap');

/* ─── CSS Variables ─── */
:root {
  --blue-50:  #f0f7ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;

  --white:    #ffffff;
  --gray-50:  #f8faff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;

  --primary:        var(--blue-600);
  --primary-light:  var(--blue-400);
  --primary-dark:   var(--blue-700);

  --font-display: 'Jost', sans-serif;
  --font-body:    'Jost', sans-serif;

  --shadow-sm:  0 1px 4px rgba(37,99,235,.08);
  --shadow-md:  0 4px 20px rgba(37,99,235,.12);
  --shadow-lg:  0 12px 48px rgba(37,99,235,.18);
  --shadow-xl:  0 24px 64px rgba(37,99,235,.22);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;
  --radius-full: 9999px;

  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   600ms ease;
  --transition-spring: 400ms cubic-bezier(.34,1.56,.64,1);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Animated Background Grid Overlay ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%,100% { opacity: .5; }
  50%      { opacity: 1; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 50%, var(--blue-100) 100%);
  overflow: hidden;
  padding: 190px  80px;
}

/* Animated gradient orbs */
.hero-background { position: absolute; inset: 0; pointer-events: none; }

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: orbFadeIn var(--transition-slow) forwards, orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(96,165,250,.28) 0%, transparent 70%);
  top: -200px; left: -150px;
  animation-delay: 0s, .6s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(147,197,253,.22) 0%, transparent 70%);
  top: 40%; right: -100px;
  animation-delay: .2s, 1.2s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(219,234,254,.35) 0%, transparent 70%);
  bottom: -100px; left: 40%;
  animation-delay: .4s, 2s;
}

@keyframes orbFadeIn {
  to { opacity: 1; }
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0px) scale(1); }
  33%      { transform: translateY(-30px) scale(1.05); }
  66%      { transform: translateY(15px) scale(.97); }
}

/* Hero layout */
.hero-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: white;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: slideDown .6s .3s forwards;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(59,130,246,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(59,130,246,0); }
}

/* Hero title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--gray-800);
}

.title-line {
  display: block;
  opacity: 0;
  animation: slideUp .7s .5s forwards;
}

.title-highlight {
  display: block;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  animation: slideUp .7s .7s forwards;
  position: relative;
}

.title-highlight::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  border-radius: 2px;
  animation: underlineGrow .8s 1.2s ease-out forwards;
}

@keyframes underlineGrow { to { width: 100%; } }

.hero-description {
  font-size: 1.2rem;
  color: white;
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 36px;
  opacity: 0;
  animation: slideUp .7s .9s forwards;
}

/* CTA Buttons */
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp .7s 1.1s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-spring), box-shadow var(--transition-base), background var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform .4s ease;
}
.btn:hover::before { transform: translateX(110%) skewX(-12deg); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(37,99,235,.45);
}
.btn-primary:active { transform: translateY(0) scale(.99); }

.btn-secondary {
  background: var(--white);
  color: var(--blue-600);
  border: 1.5px solid var(--blue-200);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--blue-400);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Phone Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: slideLeft .8s 1s forwards;
}

.phone-mockup { position: relative; }

.phone-frame {
  width: 240px; height: 480px;
  background: linear-gradient(145deg, var(--white), var(--blue-50));
  border-radius: 40px;
  border: 2px solid var(--blue-200);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,.8);
  padding: 20px;
  position: relative;
  animation: phoneFloat 5s ease-in-out infinite 1.5s;
  overflow: hidden;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 6px;
  background: var(--blue-200);
  border-radius: 3px;
}

.phone-screen {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--blue-50) 0%, var(--white) 100%);
  border-radius: 28px;
  overflow: hidden;
  padding: 20px 16px;
}

.app-interface { width: 100%; height: 100%; }

.interface-bar {
  width: 100%; height: 28px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-400));
  border-radius: 8px;
  margin-bottom: 16px;
  animation: barShimmer 3s ease-in-out infinite;
}

.interface-content { display: flex; flex-direction: column; gap: 12px; }

.content-block {
  border-radius: 8px;
  animation: blockShimmer 3s ease-in-out infinite;
}
.block-1 { height: 72px; background: linear-gradient(90deg, var(--blue-100), var(--blue-200)); animation-delay: .3s; }
.block-2 { height: 52px; background: linear-gradient(90deg, var(--blue-50), var(--blue-100)); animation-delay: .6s; }
.block-3 { height: 90px; background: linear-gradient(90deg, var(--blue-100), var(--blue-50)); animation-delay: .9s; }

@keyframes barShimmer {
  0%,100% { opacity: 1; }
  50%      { opacity: .7; }
}
@keyframes blockShimmer {
  0%,100% { transform: scaleX(1); opacity: 1; }
  50%      { transform: scaleX(.97); opacity: .85; }
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0) rotate(1deg); }
  50%      { transform: translateY(-20px) rotate(-1deg); }
}

/* Decorative rings around phone */
.phone-mockup::before,
.phone-mockup::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,.15);
  animation: ringExpand 4s ease-out infinite;
}
.phone-mockup::before {
  width: 320px; height: 320px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.phone-mockup::after {
  width: 420px; height: 420px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation-delay: 1s;
}

@keyframes ringExpand {
  0%   { opacity: .4; transform: translate(-50%,-50%) scale(.9); }
  100% { opacity: 0;  transform: translate(-50%,-50%) scale(1.15); }
}

/* ===================================================
   COMMON SECTION STYLES
   =================================================== */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px;
  background: var(--blue-500);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-description {
  color: var(--gray-600);
  font-size: 1.2rem;
  line-height: 1.75;
  max-width: 560px;
}

.section-header.centered {
  text-align: center;
  margin-bottom: 56px;
}
.section-header.centered .section-label { padding-left: 0; }
.section-header.centered .section-label::before { display: none; }
.section-header.centered .section-description { margin: 0 auto; }

/* ===================================================
   TECHNOLOGIES SECTION
   =================================================== */
.tech-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.tech-section .section-header {
  text-align: center;
  margin-bottom: 56px;
}
.tech-section .section-header .section-label { padding-left: 0; }
.tech-section .section-header .section-label::before { display: none; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.tech-card {
  background: linear-gradient(145deg, var(--white), var(--blue-50));
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  cursor: default;
  transition: transform var(--transition-spring), box-shadow var(--transition-base), border-color var(--transition-base), background var(--transition-base);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp .6s forwards;
}

.tech-card:nth-child(1) { animation-delay: .1s; }
.tech-card:nth-child(2) { animation-delay: .2s; }
.tech-card:nth-child(3) { animation-delay: .3s; }
.tech-card:nth-child(4) { animation-delay: .4s; }
.tech-card:nth-child(5) { animation-delay: .5s; }
.tech-card:nth-child(6) { animation-delay: .6s; }

.tech-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,.08), rgba(147,197,253,.08));
  opacity: 0;
  transition: opacity var(--transition-base);
}
.tech-card:hover::before { opacity: 1; }

.tech-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-300);
}

.tech-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  transition: background var(--transition-base), transform var(--transition-spring);
}
/* .tech-card:hover .tech-icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: var(--white);
  transform: rotate(-6deg) scale(1.1);
} */

.tech-icon svg { width: 28px; height: 28px; }

.tech-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}
.tech-card p {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ===================================================
   FEATURES SECTION
   =================================================== */
.features-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
}
.features-header {
    text-align: center;
    transform: translateX(300px);
}
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  transition: transform var(--transition-spring), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: default;

}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-300);
}

.feature-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  transition: background var(--transition-base), transform var(--transition-spring);
}
/* .feature-item:hover .feature-icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: var(--white);
  transform: rotate(-8deg) scale(1.1);
} */
.feature-icon svg { width: 18px; height: 18px; }

.feature-text h4 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 2px;
}
.feature-text p {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Stats card */
.features-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 80px;
}

.features-card {
  background: linear-gradient(145deg, var(--white), var(--blue-50));
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.card-header {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.card-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--blue-200);
}
.card-dot:first-child { background: #fca5a5; }
.card-dot:nth-child(2) { background: #fde68a; }
.card-dot:last-child   { background: #86efac; }

.card-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.card-stat { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: .8rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ===================================================
   APP TYPES SECTION
   =================================================== */
.app-types-section {
  padding: 20px 0;
  background: var(--white);
}

.app-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-type-card {
  padding: 36px 28px;
  background: linear-gradient(145deg, var(--white), var(--blue-50));
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: transform var(--transition-spring), box-shadow var(--transition-base), border-color var(--transition-base);
  opacity: 0;
  animation: fadeInUp .6s forwards;
}

.app-type-card:nth-child(1) { animation-delay: .1s; }
.app-type-card:nth-child(2) { animation-delay: .2s; }
.app-type-card:nth-child(3) { animation-delay: .3s; }
.app-type-card:nth-child(4) { animation-delay: .4s; }
.app-type-card:nth-child(5) { animation-delay: .5s; }
.app-type-card:nth-child(6) { animation-delay: .6s; }

.app-type-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  border-radius: 0 0 0 0;
  transition: width var(--transition-base);
}
.app-type-card:hover::after { width: 100%; }
.app-type-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.card-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue-700);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition-base);
}
.app-type-card:hover .card-number { color: var(--blue-200); }

.app-type-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.app-type-card p {
  font-size: 1.2rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ===================================================
   PLATFORM SECTION
   =================================================== */
.platform-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--blue-50), var(--white));
}

.platform-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 24px;
  border: 1.5px solid var(--blue-200);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-600);
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
}
.tab-btn:hover {
  border-color: var(--blue-400);
  color: var(--blue-600);
  background: var(--blue-50);
}
.tab-btn.active {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}

.platform-panel { display: none; }
.platform-panel.active {
  display: block;
  animation: panelFade .4s ease;
}

@keyframes panelFade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--blue-100);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: var(--shadow-md);
}

.panel-text h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.panel-text p {
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 28px;
  font-size: 1.2rem;
}

.panel-meta { display: flex; flex-direction: column; gap: 12px; }

.meta-item {
  padding: 12px 16px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  color: var(--gray-600);
}
.meta-item strong { color: var(--blue-600); }

.panel-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.platform-icon-large {
  width: 160px; height: 160px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconPulse 4s ease-in-out infinite;
}
.platform-icon-large svg { width: 80px; height: 80px; }

@keyframes iconPulse {
  0%,100% { transform: scale(1) rotate(0deg); box-shadow: 0 0 0 0 rgba(59,130,246,.2); }
  50%      { transform: scale(1.05) rotate(2deg); box-shadow: 0 0 0 20px rgba(59,130,246,0); }
}

.android-theme    { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #16a34a; }
.ios-theme        { background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); color: var(--blue-600); }
.cross-theme      { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; }
.pwa-theme        { background: linear-gradient(135deg, #e0f2fe, #bae6fd); color: #0284c7; }
.enterprise-theme { background: linear-gradient(135deg, var(--blue-100), var(--blue-200)); color: var(--blue-700); }

/* ===================================================
   PROCESS SECTION
   =================================================== */
.process-section {
  padding: 100px 0;
  background: var(--white);
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* .process-timeline::before {
  content: '';
  position: absolute;
  top: 36px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-200), var(--blue-400), var(--blue-200));
  grid-column: 1 / -1;
  z-index: 0;
  animation: lineGlow 3s ease-in-out infinite;
} */

@keyframes lineGlow {
  0%,100% { opacity: .5; }
  50%      { opacity: 1; }
}

.process-step {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: fadeInUp .5s forwards;
}
.process-step:nth-child(1) { animation-delay: .1s; }
.process-step:nth-child(2) { animation-delay: .2s; }
.process-step:nth-child(3) { animation-delay: .3s; }
.process-step:nth-child(4) { animation-delay: .4s; }
.process-step:nth-child(5) { animation-delay: .5s; }
.process-step:nth-child(6) { animation-delay: .6s; }

.step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
  position: relative;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.process-step:hover .step-number {
  transform: scale(1.15);
  box-shadow: 0 8px 28px rgba(37,99,235,.45);
}

.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--blue-300);
  opacity: 0;
  animation: stepRing 2s ease-in-out infinite;
}
.process-step:nth-child(odd)  .step-number::after { animation-delay: 0s; }
.process-step:nth-child(even) .step-number::after { animation-delay: 1s; }

@keyframes stepRing {
  0%   { opacity: .6; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.4); }
}

.step-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
}
.step-content p {
  font-size: 1.2rem;
  color: var(--blue-600);
  line-height: 1.6;
}

/* ===================================================
   WHY VSM SECTION
   =================================================== */
.why-vsm-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 60%, var(--blue-100) 100%);
  position: relative;
  overflow: hidden;

}
.why-vsm-header{
    text-align: center;
    transform: translateX(300px);
}
.why-vsm-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  animation: orbFloat 10s ease-in-out infinite;
}

.why-vsm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.lead-text {
  color: var(--gray-600);
  font-size: 1.2rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.value-props { display: flex; flex-direction: column; gap: 20px; }

.value-prop {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--radius-md);
  transition: transform var(--transition-spring), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: default;
}
.value-prop:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-300);
}

.prop-icon {
  font-size: 1rem;
  color: var(--blue-500);
  width: 32px; height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-100), var(--blue-200));
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}
.value-prop:hover .prop-icon {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400));
  color: var(--white);
}

.prop-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}
.prop-content p {
  font-size: 1rem;
  color: var(--blue-600);
  line-height: 1.5;
}

/* Quote cards */
.why-vsm-quote {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 500px;
}

.quote-card {
  background: linear-gradient(145deg, var(--white), var(--blue-50));
  border: 1.5px solid var(--blue-200);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}
.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: var(--blue-800);
  line-height: .8;
  margin-bottom: 16px;
}

.quote-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gray-800);
  font-style: italic;
  line-height: 1.6;
}

/* ===================================================
   CTA SECTION
   =================================================== */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 50%, var(--blue-500) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  top: -100px; right: -50px;
  border-radius: 50%;
  animation: orbFloat 8s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
  bottom: -80px; left: 10%;
  border-radius: 50%;
  animation: orbFloat 10s ease-in-out infinite 2s;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: black;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(53, 53, 55, 0.75);
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--blue-600);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.cta-section .btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

/* ===================================================
   KEYFRAME UTILITIES
   =================================================== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   RESPONSIVE — TABLET
   =================================================== */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-section .container { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { order: -1; }
  .features-layout { grid-template-columns: 1fr; gap: 48px; }
  .why-vsm-grid { grid-template-columns: 1fr; gap: 48px; }
  .panel-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   RESPONSIVE — MOBILE
   =================================================== */
/* @media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero-section { padding: 80px 0 60px; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .app-types-grid { grid-template-columns: 1fr 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; }
  .process-timeline::before { display: none; }
  .panel-grid { padding: 32px 24px; }
  .tech-section,
  .features-section,
  .app-types-section,
  .platform-section,
  .process-section,
  .why-vsm-section { padding: 72px 0; }
} */
 /* ============================================================
   MOBILE APP DEVELOPMENT PAGE — MOBILE RESPONSIVE FIX
   Paste at the BOTTOM of mobile-app-development.css
   ============================================================ */

/* ── HERO ── */
@media (max-width: 1024px) {
  .hero-section {
    padding: 120px 0 60px;
    min-height: auto;
  }
  .hero-section .container {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }
  .hero-description { margin: 0 auto 28px; }
  .hero-cta { justify-content: center; }
  /* Show phone mockup on tablet/mobile — move it above content */
  .hero-visual { order: -1; }
}

@media (max-width: 768px) {
  .hero-section { padding: 100px 0 48px; }

  .hero-badge { font-size: 0.72rem; padding: 5px 14px; margin-bottom: 16px; }

  .hero-title {
    font-size: clamp(1.8rem, 7.5vw, 2.6rem) !important;
    margin-bottom: 14px;
  }

  .hero-description {
    font-size: 0.95rem !important;
    line-height: 1.75;
    margin-bottom: 24px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
  }

  .btn { justify-content: center; padding: 13px 20px; font-size: 0.9rem; }

  /* Phone mockup — smaller on mobile */
  .phone-frame {
    width: 180px !important;
    height: 360px !important;
    border-radius: 30px;
    padding: 16px;
  }

  .phone-frame::before {
    width: 44px;
    height: 5px;
    top: 14px;
  }

  .block-1 { height: 54px; }
  .block-2 { height: 40px; }
  .block-3 { height: 68px; }

  /* Hide decorative rings on mobile — they bleed outside */
  .phone-mockup::before,
  .phone-mockup::after { display: none; }
}

/* ── TECHNOLOGIES ── */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

@media (max-width: 768px) {
  .tech-section { padding: 52px 0; }
  .tech-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .tech-card { padding: 22px 14px; border-radius: 16px; }
  .tech-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px; }
  .tech-icon svg { width: 22px; height: 22px; }
  .tech-card h3 { font-size: 0.85rem; }
}

/* ── FEATURES ── */
@media (max-width: 1024px) {
  .features-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  /* Reset the desktop translateX hack */
  .features-header {
    transform: none !important;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .features-section { padding: 52px 0; }

  .features-header { text-align: center; margin-bottom: 20px; }

  .features-list {
    grid-template-columns: 1fr !important;
    gap: 12px;
    margin-top: 20px;
  }

  .feature-item { padding: 14px; gap: 10px; border-radius: 12px; }
  .feature-icon { width: 32px; height: 32px; min-width: 32px; border-radius: 8px; }
  .feature-icon svg { width: 16px; height: 16px; }
  .feature-text h4 { font-size: 0.83rem; }
  .feature-text p  { font-size: 0.8rem; }

  .features-visual { margin-top: 0; }

  .features-card { padding: 22px; border-radius: 20px; }
  .card-content { gap: 16px; }
  .stat-value { font-size: 2.2rem; }
  .stat-label { font-size: 0.72rem; }
}

@media (min-width: 480px) and (max-width: 768px) {
  .features-list { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── APP TYPES ── */
@media (max-width: 768px) {
  .app-types-section { padding: 52px 0; }

  .app-types-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .app-type-card { padding: 22px 16px; border-radius: 16px; }
  .card-number   { font-size: 2rem; margin-bottom: 10px; }
  .app-type-card h3 { font-size: 0.95rem; margin-bottom: 6px; }
  .app-type-card p  { font-size: 0.82rem; line-height: 1.5; }
}

@media (max-width: 380px) {
  .app-types-grid { grid-template-columns: 1fr !important; }
}

/* ── PLATFORM TABS ── */
@media (max-width: 768px) {
  .platform-section { padding: 52px 0; }

  .platform-tabs {
    gap: 6px;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap !important;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .platform-tabs::-webkit-scrollbar { display: none; }

  .tab-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .panel-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 24px 18px !important;
    border-radius: 16px;
  }

  .panel-text h3 { font-size: 1.3rem; margin-bottom: 10px; }
  .panel-text p  { font-size: 0.92rem; margin-bottom: 18px; }
  .meta-item     { font-size: 0.85rem; padding: 10px 12px; }

  .platform-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 28px;
    margin: 0 auto;
  }
  .platform-icon-large svg { width: 52px; height: 52px; }
}

/* ── PROCESS ── */
@media (max-width: 1024px) {
  .process-timeline { grid-template-columns: repeat(2, 1fr) !important; gap: 24px; }
}

@media (max-width: 768px) {
  .process-section { padding: 52px 0; }

  .process-timeline {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 0.9rem;
    margin-bottom: 14px;
  }

  .step-content h3 { font-size: 0.9rem; margin-bottom: 4px; }
  .step-content p  { font-size: 0.82rem; line-height: 1.5; }
}

@media (max-width: 380px) {
  .process-timeline { grid-template-columns: 1fr !important; }
}

/* ── WHY VSM ── */
@media (max-width: 1024px) {
  .why-vsm-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  /* Reset desktop translateX hack on header */
  .why-vsm-header {
    transform: none !important;
    text-align: center;
  }
  /* Remove the massive top padding on quote column */
  .why-vsm-quote { padding-top: 0 !important; }
}

@media (max-width: 768px) {
  .why-vsm-section { padding: 52px 0; }

  .lead-text { font-size: 0.93rem; margin-bottom: 24px; }

  .value-props { gap: 12px; }

  .value-prop {
    padding: 14px;
    gap: 12px;
    border-radius: 12px;
  }
  .prop-icon { width: 28px; height: 28px; min-width: 28px; font-size: 0.85rem; }
  .prop-content h4 { font-size: 0.9rem; }
  .prop-content p  { font-size: 0.85rem; }

  .why-vsm-quote { gap: 14px; }

  .quote-card { padding: 24px 20px; border-radius: 16px; }
  .quote-mark  { font-size: 3.5rem; margin-bottom: 10px; }
  .quote-text  { font-size: 1rem; }
}

/* ── CTA ── */
@media (max-width: 768px) {
  .cta-section { padding: 56px 0; }

  .cta-content h2 {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
    margin-bottom: 10px;
  }

  .cta-content p { font-size: 0.93rem; margin-bottom: 24px; }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
  }

  .cta-section .btn { justify-content: center; padding: 13px 20px; font-size: 0.9rem; }
}

/* ── SECTION SHARED ── */
@media (max-width: 768px) {
  .container { padding: 0 16px; }

  .section-label { font-size: 0.68rem; }

  .section-title {
    font-size: clamp(1.4rem, 6vw, 2rem) !important;
    margin-bottom: 10px;
  }

  .section-description { font-size: 0.9rem !important; line-height: 1.7; }

  .section-header.centered { margin-bottom: 32px; }
}

/* ============================================================
   PHONE MOCKUP — REAL IMAGE INSIDE (all screens)
   Replace the animated blocks with an actual app screenshot
   ============================================================ */

/* Hide the old animated blocks */
.interface-bar,
.interface-content,
.content-block {
  display: none;
}

/* Show real image inside phone screen */
.phone-screen {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 24px;
  background: none !important;
}

.phone-screen::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background:
    url('https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=400&q=85')
    center / cover no-repeat;
  border-radius: 24px;
  /* Subtle blue overlay to match brand */
  box-shadow: inset 0 0 0 2000px rgba(37, 99, 235, 0.08);
}

@media (max-width: 768px) {
  .phone-screen { border-radius: 20px; }
  .phone-screen::after { border-radius: 20px; }
}