/* ============================================
   ANVEXA TECHNOLOGY - Premium Tech Company Site
   Design: Stripe / Vercel / Linear inspired
   ============================================ */

:root {
  /* Light theme (default) */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --accent-soft: rgba(59, 130, 246, 0.12);
  --gradient-start: #6366f1;
  --gradient-end: #3b82f6;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 50px -12px rgba(99, 102, 241, 0.2), 0 12px 24px -8px rgba(0, 0, 0, 0.1);
  --neon: #06b6d4;
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #60a5fa;
  --accent-hover: #93c5fd;
  --accent-soft: rgba(96, 165, 250, 0.15);
  --gradient-start: #818cf8;
  --gradient-end: #60a5fa;
  --border: #334155;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 25px 50px -12px rgba(96, 165, 250, 0.15), 0 12px 24px -8px rgba(0, 0, 0, 0.25);
  --neon: #22d3ee;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 1s ease, color 1s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

/* ========== Header & Nav ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.85);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.logo-accent {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--accent);
}

.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.theme-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.theme-icon {
  font-size: 1.2rem;
}

.theme-icon.moon { display: none; }
[data-theme="dark"] .theme-icon.sun { display: none; }
[data-theme="dark"] .theme-icon.moon { display: inline; }

/* View mode: Desktop | Mobile */
.view-mode-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-right: 0.5rem;
}

.view-mode-toggle {
  display: inline-flex;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 3px;
  gap: 0;
}

.view-mode-btn {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.view-mode-btn:hover {
  color: var(--text-primary);
}

.view-mode-btn.active {
  background: var(--bg-primary);
  color: var(--accent);
  box-shadow: var(--shadow);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent-soft);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

.btn-whatsapp {
  background: #25d366;
  color: white !important;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: white !important;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Growth graph background animation */
.growth-graph {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

[data-theme="dark"] .growth-graph {
  opacity: 0.35;
}

.growth-graph__svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.growth-graph__grid {
  stroke: var(--gradient-start);
  stroke-opacity: 0.08;
  stroke-width: 0.5;
  stroke-dasharray: 4 8;
  animation: gridDash 20s linear infinite;
}

@keyframes gridDash {
  to { stroke-dashoffset: -24; }
}

.growth-graph__area {
  fill: url(#growthGradient);
  opacity: 0;
  animation: areaReveal 2.5s ease-out 0.8s forwards;
}

@keyframes areaReveal {
  to { opacity: 1; }
}

.growth-graph__line {
  fill: none;
  stroke: url(#growthLineGradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: lineDraw 2.5s ease-out 0.8s forwards;
}

.growth-graph__line--secondary {
  stroke: var(--neon);
  stroke-opacity: 0.45;
  stroke-width: 1.5;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: lineDraw 2s ease-out 1.5s forwards;
}

@keyframes lineDraw {
  to { stroke-dashoffset: 0; }
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 15s ease-in-out infinite;
}

.gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.gradient-orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--neon), var(--gradient-end));
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero__badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px var(--accent-soft);
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  min-height: 1.2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.05em;
}

.hero__title-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-cursor {
  display: inline-block;
  color: var(--gradient-end);
  font-weight: 300;
  animation: cursorBlink 0.9s step-end infinite;
  vertical-align: baseline;
}

.hero__title.typing-done .hero__title-cursor {
  animation: cursorBlink 1.2s step-end infinite;
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Sections ========== */
.section {
  padding: 5rem 0;
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section__badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

/* ========== Services ========== */
.services {
  background: var(--bg-secondary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

[data-theme="dark"] .service-card::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.service-card:hover::before {
  opacity: 1;
  animation: shine 0.7s ease forwards;
}

@keyframes shine {
  to { left: 100%; }
}

.service-card--coming {
  opacity: 0.85;
}

.service-card--coming:hover {
  transform: none;
  border-color: var(--border);
}

.service-card--coming:hover::before {
  opacity: 0;
  animation: none;
}

.coming-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border-radius: 6px;
}

.service-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-card ul {
  list-style: none;
  margin-bottom: 1rem;
}

.service-card li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding-left: 1.25rem;
  position: relative;
}

.service-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-card__link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: gap 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-card__link:hover {
  gap: 0.5rem;
}

.service-card__disabled {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ========== Features (Why Choose Us) ========== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 0 0 16px 16px;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.feature:hover::after {
  transform: scaleX(1);
}

.feature__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* ========== Process ========== */
.process {
  background: var(--bg-secondary);
}

.process__timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.process__step {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--bg-primary);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
}

.process__step:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.process__step:hover .process__number {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.process__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  font-weight: 700;
  border-radius: 12px;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process__step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.process__step p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ========== Portfolio ========== */
.portfolio__filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.filter-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portfolio-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.portfolio-card:hover .portfolio-card__image {
  filter: brightness(1.08);
}

.portfolio-card.hide {
  display: none;
}

.portfolio-card__image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.4s ease;
}

.placeholder-img {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 1.125rem;
}

.portfolio-card__content {
  padding: 1.25rem;
}

.portfolio-card__content h3 {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.portfolio-card__content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ========== Testimonials ========== */
.testimonials {
  background: var(--bg-secondary);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  position: relative;
}

.testimonial:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.testimonial::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
  border-radius: 16px 0 0 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial:hover::before {
  opacity: 1;
}

.testimonial p {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial strong {
  color: var(--text-primary);
}

.testimonial span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ========== Pricing ========== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--accent-soft) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.pricing-card:hover::before {
  opacity: 1;
}

.pricing-card--featured {
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-secondary) 100%);
  border-color: var(--accent);
  transform: scale(1.02);
}

.pricing-card--featured:hover {
  transform: scale(1.02) translateY(-2px);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.pricing-card__price {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.pricing-card li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  padding-left: 1.5rem;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ========== About ========== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about__content .section__badge {
  margin-bottom: 0.75rem;
}

.about__content .section__title {
  text-align: left;
  margin-bottom: 1.25rem;
}

.about__content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about__visual {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about__card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  min-width: 160px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.about__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-hover);
}

.about__stat {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.about__card span:last-child {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ========== CTA ========== */
.cta__box {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.cta__box:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.4);
}

.cta__box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta__box p {
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.cta__box .btn-primary {
  background: white;
  color: var(--gradient-start);
}

.cta__box .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--gradient-start);
}

/* ========== FAQ ========== */
.faq {
  background: var(--bg-secondary);
}

.faq__list {
  max-width: 700px;
  margin: 0 auto;
}

.faq__item {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.faq__item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.faq__item[open] {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--accent-soft);
}

.faq__item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ========== Contact ========== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact__item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.contact__item a:hover {
  text-decoration: underline;
}

.contact__social {
  display: flex;
  gap: 1rem;
}

.contact__social a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.contact__social a:hover {
  color: var(--accent);
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand .nav__logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer__brand p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  max-width: 280px;
}

.footer__links h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer__links ul {
  list-style: none;
}

.footer__links a {
  display: block;
  padding: 0.25rem 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer__bottom p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ========== View mode: force Mobile layout (Desktop → Mobile) ========== */
@media (min-width: 769px) {
  body.view-mobile .site-wrapper {
    max-width: 375px;
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 0 0 0 1px var(--border), 0 24px 48px rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    overflow: hidden;
    transition: max-width 0.35s ease, box-shadow 0.35s ease;
  }

  body.view-mobile .header {
    max-width: 375px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 24px 24px;
  }

  body.view-mobile .header.scrolled {
    border-radius: 0 0 24px 24px;
  }
}

/* When Mobile view is ON: apply mobile layout everywhere */
body.view-mobile .nav__menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 1.5rem;
  gap: 1rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

body.view-mobile .nav__menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (min-width: 769px) {
  body.view-mobile .nav__menu {
    left: 50%;
    width: 100%;
    max-width: 375px;
    transform: translateX(-50%) translateY(-100%);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow-lg);
  }

  body.view-mobile .nav__menu.active {
    transform: translateX(-50%) translateY(0);
  }
}

body.view-mobile .nav__toggle {
  display: flex;
}

body.view-mobile .hero__stats {
  gap: 2rem;
}

body.view-mobile .services__grid {
  grid-template-columns: 1fr;
}

body.view-mobile .features__grid {
  grid-template-columns: 1fr;
}

body.view-mobile .process__timeline {
  grid-template-columns: 1fr;
}

body.view-mobile .portfolio__grid {
  grid-template-columns: 1fr;
}

body.view-mobile .testimonials__grid {
  grid-template-columns: 1fr;
}

body.view-mobile .pricing__grid {
  grid-template-columns: 1fr;
}

body.view-mobile .pricing-card--featured {
  transform: none;
}

body.view-mobile .pricing-card--featured:hover {
  transform: translateY(-2px);
}

body.view-mobile .about__grid {
  grid-template-columns: 1fr;
}

body.view-mobile .contact__grid {
  grid-template-columns: 1fr;
}

body.view-mobile .footer__grid {
  grid-template-columns: 1fr;
  text-align: center;
}

body.view-mobile .footer__brand p {
  max-width: none;
}

body.view-mobile .hero__cta {
  flex-direction: column;
}

body.view-mobile .hero__cta .btn {
  width: 100%;
}

/* On small screens, view-mobile = no extra constraint (already narrow) */
@media (max-width: 768px) {
  body.view-mobile .site-wrapper {
    max-width: 100%;
  }

  body.view-mobile .header {
    max-width: 100%;
    left: 0;
    transform: none;
  }
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .nav__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__toggle {
    display: flex;
  }

  .hero__stats {
    gap: 2rem;
  }

  .process__timeline {
    grid-template-columns: 1fr 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .process__timeline {
    grid-template-columns: 1fr;
  }

  .pricing-card--featured {
    transform: none;
  }

  .pricing-card--featured:hover {
    transform: translateY(-2px);
  }
}



/* .hero-video{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
overflow:hidden;
z-index:1;
}

.hero-video video{
width:100%;
height:100%;
object-fit:cover;
}

.hero__content{
position:relative;
z-index:3;
} */

.hero-video {
  width: 100%;
  line-height: 0; /* removes bottom gap */
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== PREMIUM DEMO SECTION ===== */
.demo {
  background: var(--bg-secondary);
  overflow: hidden;
}

.demo-carousel {
  overflow: hidden;
  position: relative;
}

.demo-track {
  display: flex;
  gap: 20px;
  animation: scrollDemo 25s linear infinite;
}

.demo-card {
  min-width: 280px;
  height: 180px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.demo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Overlay */
.demo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.demo-overlay h3 {
  color: white;
  font-size: 1.2rem;
}

/* Hover Animation */
.demo-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.demo-card:hover img {
  transform: scale(1.1);
}

/* Auto Scroll */
@keyframes scrollDemo {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause on hover */
.demo-carousel:hover .demo-track {
  animation-play-state: paused;
}

/* Mobile swipe */
@media (max-width: 768px) {
  .demo-track {
    animation: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .demo-card {
    scroll-snap-align: start;
  }
}



/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width: 768px) {

  /* HERO */
  .hero {
    padding: 5rem 1rem 3rem;
    min-height: auto;
  }

  .hero__title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .hero__cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__cta .btn {
    width: 100%;
  }

  /* NAVBAR */
  .nav__menu {
    position: fixed;
    top: 72px;
    right: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    transform: translateX(100%);
    transition: 0.3s;
  }

  .nav__menu.active {
    transform: translateX(0);
  }

  /* GRIDS */
  .services__grid,
  .features__grid,
  .portfolio__grid,
  .pricing__grid,
  .process__timeline {
    grid-template-columns: 1fr;
  }

  /* ABOUT */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__content .section__title {
    text-align: center;
  }

  /* CONTACT */
  .contact__grid {
    grid-template-columns: 1fr;
  }

  /* DEMO SECTION */
  .demo-track {
    animation: none;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 10px;
  }

  .demo-card {
    min-width: 85%;
  }

  /* GLOBAL SPACING */
  .section {
    padding: 3rem 0;
  }

  .section__title {
    font-size: 1.6rem;
  }

  .section__subtitle {
    font-size: 0.95rem;
  }
     }
