/* ============================================
   RAJESH INFOTECH — Premium Agency Website
   Design System & Styles
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Colors — Navy (from logo) */
  --brand: #0e2a52;
  --brand-dark: #081b38;
  --brand-light: #1e4785;
  --brand-lighter: #3d63a8;
  --brand-50: #eef2f8;
  --brand-100: #dce4f0;
  --brand-600: #0e2a52;
  --brand-700: #081b38;

  /* Accent — Orange (from logo) */
  --accent: #e8620c;
  --accent-light: #ff8c3d;
  --accent-50: #fef2e8;
  --accent-dark: #c74e05;

  /* WhatsApp */
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5d;

  /* Neutrals */
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0f172a;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;

  /* Text */
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  /* Borders */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-strong: #cbd5e1;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

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

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 16px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.16), 0 12px 24px -6px rgba(15, 23, 42, 0.08);
  --shadow-brand: 0 8px 24px -4px rgba(14, 42, 82, 0.3);
  --shadow-accent: 0 8px 24px -4px rgba(232, 98, 12, 0.35);

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav height */
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 10000;
  background: var(--brand); color: #fff; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.875rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); }

/* ---------- Section ---------- */
.section { position: relative; }
.section-padded { padding: var(--space-3xl) 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- Section Header ---------- */
.section-header { text-align: center; max-width: 720px; margin: 0 auto var(--space-2xl); }
.section-eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 0.75rem;
  font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 1rem;
}
.section-lead {
  font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary);
  max-width: 640px; margin: 0 auto;
}

/* ---------- Text Gradient ---------- */
.text-gradient {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: var(--radius-full);
}
.badge-soft { background: var(--brand-50); color: var(--brand); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); position: relative; }
.badge .dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--brand); opacity: 0.3; animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: 0.3; } 75%, 100% { transform: scale(2); opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  transition: all 0.25s var(--ease); cursor: pointer; white-space: nowrap;
  border: 2px solid transparent; text-align: center;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -4px rgba(14, 42, 82, 0.4); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); transform: translateY(-1px); }

.btn-ghost { background: var(--surface-3); color: var(--text-secondary); }
.btn-ghost:hover { background: var(--brand-50); color: var(--brand); }

/* ---------- Navbar ---------- */
/* Note: backdrop-filter/blur lives on a ::before layer (not on .navbar itself),
   because a filter on .navbar would create a CSS containing block that traps
   the fixed-position mobile .nav-links panel inside the navbar's own box. */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.navbar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: background 0.3s var(--ease);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.navbar.scrolled::before { background: rgba(255, 255, 255, 0.95); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1rem; }

/* Brand */
.brand { display: flex; align-items: center; gap: 0.625rem; font-weight: 800; font-size: 1.125rem; color: var(--text); }
.brand-mark { color: var(--brand); display: flex; }
.brand-text { letter-spacing: -0.02em; font-family: var(--font-heading); }
.brand-accent { color: var(--accent); }
.brand-logo { height: 44px; width: auto; display: block; }
.brand-mark-chip {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: #fff; padding: 4px; flex-shrink: 0;
}
.brand-mark-chip img { width: 100%; height: 100%; object-fit: contain; }

/* Nav Links */
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: var(--text-secondary);
  padding: 0.5rem 0.875rem; border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--brand); background: var(--brand-50); }
.nav-link.active { font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 0.5rem; }
.whatsapp-nav svg { color: var(--whatsapp); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 0.5rem;
  border-radius: var(--radius-sm); transition: all 0.2s var(--ease);
}
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s var(--ease); transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 2rem) 0 4rem; position: relative; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14, 42, 82, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 42, 82, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 0%, transparent 70%);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; }
.hero-glow-1 { width: 500px; height: 500px; background: var(--brand); top: -100px; right: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: var(--accent); bottom: -50px; left: -50px; opacity: 0.2; }

.hero-container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; width: 100%; }

.hero-content { max-width: 600px; }
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--text); margin: 1.25rem 0 1.25rem;
}
.hero-subtitle { font-size: 1.125rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 2rem; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.875rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.hero-trust li { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 500; color: var(--text-secondary); }
.hero-trust svg { color: var(--whatsapp); }

/* Hero Visual — Dashboard Mockup */
.hero-visual { position: relative; }
.dashboard-mockup { position: relative; max-width: 520px; margin: 0 auto; }
.dm-window {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  overflow: hidden; border: 1px solid var(--border);
}
.dm-bar { display: flex; align-items: center; gap: 6px; padding: 0.75rem 1rem; background: var(--surface-3); border-bottom: 1px solid var(--border); }
.dm-dot { width: 10px; height: 10px; border-radius: 50%; }
.dm-dot-r { background: #ff5f57; } .dm-dot-y { background: #febc2e; } .dm-dot-g { background: #28c840; }
.dm-url { margin-left: 0.75rem; flex: 1; background: var(--surface); border-radius: var(--radius-full); padding: 0.3rem 0.875rem; font-size: 0.75rem; color: var(--text-muted); font-family: var(--font-mono); }
.dm-body { padding: 1.5rem; }
.dm-hero { background: linear-gradient(135deg, var(--brand-50), var(--accent-50)); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1rem; }
.dm-line { border-radius: 4px; margin-bottom: 0.6rem; }
.dm-line-lg { width: 70%; height: 14px; background: var(--brand); opacity: 0.8; }
.dm-line-md { width: 90%; height: 8px; background: var(--border-strong); }
.dm-line-sm { width: 50%; height: 8px; background: var(--border-strong); margin-bottom: 1rem; }
.dm-btn { width: 90px; height: 28px; background: var(--brand); border-radius: var(--radius-full); }
.dm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; margin-bottom: 1rem; }
.dm-card { height: 60px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.dm-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.625rem; }
.dm-stat { }
.dm-stat-bar { height: 32px; background: linear-gradient(180deg, var(--brand-lighter), var(--brand-50)); border-radius: 4px 4px 0 0; }
.dm-stat-line { height: 6px; background: var(--surface-3); border-radius: 0 0 4px 4px; }

.dm-badge {
  position: absolute; display: flex; align-items: center; gap: 0.625rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.625rem 0.875rem; box-shadow: var(--shadow-lg);
}
.dm-badge strong { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--text); }
.dm-badge small { font-size: 0.6875rem; color: var(--text-muted); }
.dm-badge svg { color: var(--brand); flex-shrink: 0; }
.dm-badge-1 { top: 15%; left: -30px; animation: float 4s var(--ease) infinite; }
.dm-badge-2 { bottom: 20%; right: -25px; animation: float 4s var(--ease) infinite 2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Reveal Animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Problem Section ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
.problem-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem; transition: all 0.3s var(--ease);
}
.problem-card:hover { border-color: var(--brand-lighter); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.problem-icon {
  width: 48px; height: 48px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  background: #fef2f2; color: #ef4444; margin-bottom: 1.25rem;
}
.problem-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.problem-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--text-secondary); }

/* Solution Band */
.solution-band {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius-xl); padding: 2.5rem 3rem; color: #fff;
}
.solution-content { max-width: 640px; }
.solution-content .section-eyebrow { color: var(--accent-light); }
.solution-content h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; margin-bottom: 0.75rem; }
.solution-content p { color: rgba(255,255,255,0.9); font-size: 1rem; line-height: 1.7; }
.solution-band .btn { background: #fff; color: var(--brand); flex-shrink: 0; }
.solution-band .btn:hover { background: var(--brand-50); transform: translateY(-2px); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; transition: all 0.35s var(--ease); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.service-card:hover { border-color: var(--brand-lighter); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 1.25rem; transition: all 0.3s var(--ease);
}
.service-card:hover .service-icon { background: var(--brand); color: #fff; transform: scale(1.08) rotate(-4deg); }
.service-card h3 { font-size: 1.1875rem; font-weight: 700; color: var(--text); margin-bottom: 0.625rem; }
.service-card p { font-size: 0.9375rem; line-height: 1.65; color: var(--text-secondary); margin-bottom: 1.25rem; }
.service-link {
  display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600;
  color: var(--brand); transition: gap 0.2s var(--ease);
}
.service-link:hover { gap: 0.625rem; }
.service-link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.service-link:hover svg { transform: translateX(2px); }

/* ---------- Portfolio ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all 0.35s var(--ease); display: flex; flex-direction: column;
}
.portfolio-card:hover { border-color: var(--brand-lighter); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.portfolio-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.portfolio-thumb-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.portfolio-thumb-bg svg { width: 40%; height: auto; opacity: 0.5; color: #fff; }
.portfolio-demo-label {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: rgba(15, 23, 42, 0.75); backdrop-filter: blur(8px);
  color: #fff; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 0.3rem 0.625rem; border-radius: var(--radius-full);
}
.portfolio-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.portfolio-body h3 { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.portfolio-body > p { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }
.portfolio-features { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.25rem; }
.portfolio-features li {
  font-size: 0.75rem; font-weight: 500; color: var(--text-secondary);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 0.25rem 0.625rem; border-radius: var(--radius-full);
}
.portfolio-note { text-align: center; margin-top: 2rem; font-size: 0.875rem; color: var(--text-muted); }
.portfolio-note strong { color: var(--text-secondary); }

/* ---------- Why Choose Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: all 0.3s var(--ease); }
.why-card:hover { border-color: var(--brand-lighter); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-check {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: var(--radius-sm); background: var(--brand-50); color: var(--brand); margin-bottom: 1rem;
}
.why-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--text-secondary); }

.why-statement {
  text-align: center; max-width: 720px; margin: 0 auto; padding: 2.5rem 1rem;
}
.why-statement p { font-size: clamp(1.25rem, 3vw, 1.625rem); font-weight: 700; line-height: 1.4; color: var(--text); letter-spacing: -0.02em; }

/* ---------- Process ---------- */
.process-timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 0; }
.process-line { position: absolute; left: 31px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(180deg, var(--brand), var(--accent)); opacity: 0.3; }
.process-step { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 2rem; position: relative; }
.process-step:last-child { margin-bottom: 0; }
.process-num {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 2px solid var(--brand); color: var(--brand);
  font-family: var(--font-mono); font-size: 1.125rem; font-weight: 600; z-index: 1;
  transition: all 0.3s var(--ease);
}
.process-step:hover .process-num { background: var(--brand); color: #fff; transform: scale(1.05); box-shadow: var(--shadow-brand); }
.process-card { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: all 0.3s var(--ease); }
.process-card:hover { border-color: var(--brand-lighter); box-shadow: var(--shadow-md); }
.process-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.process-card p { font-size: 0.9375rem; line-height: 1.6; color: var(--text-secondary); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 2rem; display: flex; flex-direction: column; position: relative; transition: all 0.3s var(--ease);
}
.pricing-card:hover { border-color: var(--brand-lighter); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.popular { border-color: var(--brand); border-width: 2px; box-shadow: var(--shadow-brand); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: 0.6875rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 0.3rem 0.875rem; border-radius: var(--radius-full);
  box-shadow: var(--shadow-brand); white-space: nowrap;
}
.pricing-name { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.5rem; }
.pricing-desc { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.pricing-price { margin-bottom: 1.5rem; }
.pricing-price .amount { font-size: 2rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.pricing-price .range { font-size: 0.875rem; color: var(--text-muted); }
.pricing-features { flex: 1; margin-bottom: 1.5rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 0.75rem; line-height: 1.5; }
.pricing-features svg { color: var(--whatsapp); flex-shrink: 0; margin-top: 3px; }
.pricing-card .btn { margin-top: auto; }
.pricing-card.popular .btn-primary { background: var(--brand); }

.pricing-custom {
  text-align: center; margin-top: 3rem; padding: 2rem;
  background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg);
}
.pricing-custom p { font-size: 1.0625rem; color: var(--text-secondary); margin-bottom: 1rem; }
.pricing-custom strong { color: var(--text); }

/* ---------- SEO Section ---------- */
.seo-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.seo-left .section-title { text-align: left; }
.seo-left .section-lead { margin-left: 0; }
.seo-note { font-size: 0.875rem; color: var(--text-muted); margin-top: 1rem; padding: 1rem; background: var(--surface-2); border-radius: var(--radius); border-left: 3px solid var(--accent); }
.seo-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
.seo-list li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.9375rem; font-weight: 500; color: var(--text); padding: 0.75rem 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all 0.2s var(--ease); }
.seo-list li:hover { border-color: var(--brand-lighter); background: var(--brand-50); }
.seo-list svg { color: var(--brand); flex-shrink: 0; }

/* ---------- Tech Section ---------- */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.875rem; max-width: 800px; margin: 0 auto; }
.tech-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 0.625rem 1.25rem; font-size: 0.9375rem; font-weight: 600; color: var(--text-secondary);
  transition: all 0.25s var(--ease);
}
.tech-pill:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tech-pill .tech-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.about-left .section-title { text-align: left; }
.about-left .section-lead { margin-left: 0; }
.about-left p { color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; }
.about-right { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: all 0.3s var(--ease); }
.value-card:hover { border-color: var(--brand-lighter); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: var(--brand-50); color: var(--brand); margin-bottom: 1rem; }
.value-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text); margin-bottom: 0.375rem; }
.value-card p { font-size: 0.875rem; line-height: 1.55; color: var(--text-secondary); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.2s var(--ease); }
.faq-item.open { border-color: var(--brand-lighter); box-shadow: var(--shadow-md); }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: 1.25rem 1.5rem; text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--text);
  transition: color 0.2s var(--ease);
}
.faq-question:hover { color: var(--brand); }
.faq-icon { flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand-50); color: var(--brand); transition: transform 0.3s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: 0.9375rem; line-height: 1.7; color: var(--text-secondary); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-left .section-title { text-align: left; }
.contact-left .section-lead { margin-left: 0; }
.contact-options { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.contact-option { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.25s var(--ease); }
.contact-option:hover { border-color: var(--brand-lighter); box-shadow: var(--shadow-md); transform: translateX(4px); }
.contact-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.contact-icon.whatsapp { background: #e7fbeF; color: var(--whatsapp); }
.contact-icon.email { background: var(--brand-50); color: var(--brand); }
.contact-option strong { display: block; font-size: 0.9375rem; font-weight: 700; color: var(--text); }
.contact-option small { font-size: 0.8125rem; color: var(--text-muted); }

/* Contact Form */
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.125rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.8125rem; font-weight: 600; color: var(--text); margin-bottom: 0.375rem; }
.form-group .req { color: #ef4444; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 0.875rem;
  font-size: 0.9375rem; color: var(--text); background: var(--surface);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 42, 82, 0.12); }
.form-group input.error, .form-group textarea.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-error { font-size: 0.75rem; color: #ef4444; margin-top: 0.25rem; min-height: 1em; }
.form-success {
  display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 1rem; padding: 1rem 1.25rem;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: var(--radius);
}
.form-success[hidden] { display: none; }
.form-success svg { color: #059669; flex-shrink: 0; margin-top: 2px; }
.form-success strong { display: block; font-size: 0.9375rem; color: #065f46; }
.form-success small { display: block; font-size: 0.8125rem; color: #047857; margin-top: 0.125rem; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .brand { color: #fff; margin-bottom: 0.75rem; }
.footer-brand .brand-accent { color: var(--accent-light); }
.footer-tagline { font-size: 0.9375rem; font-weight: 600; color: var(--accent-light); margin-bottom: 0.75rem; }
.footer-desc { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 0.875rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a { font-size: 0.9375rem; color: rgba(255,255,255,0.7); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.6); transition: color 0.2s var(--ease); }
.footer-legal a:hover { color: #fff; }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.whatsapp-float::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--whatsapp); opacity: 0.4; animation: ripple 2s var(--ease) infinite;
  z-index: -1;
}
@keyframes ripple { 0% { transform: scale(1); opacity: 0.4; } 100% { transform: scale(1.8); opacity: 0; } }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5); }
.whatsapp-float-label {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--bg-dark); color: #fff; font-size: 0.8125rem; font-weight: 500;
  padding: 0.5rem 0.875rem; border-radius: var(--radius-sm);
  opacity: 0; transform: translateX(10px); transition: all 0.25s var(--ease); pointer-events: none;
}
.whatsapp-float:hover .whatsapp-float-label { opacity: 1; transform: translateX(0); }

/* ---------- Scroll Top ---------- */
.scroll-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: all 0.3s var(--ease);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--brand); transform: translateY(-2px); }

/* ---------- Modals (Privacy / Terms) ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--surface); border-radius: var(--radius-xl);
  max-width: 640px; width: 100%; max-height: 80vh; overflow-y: auto;
  padding: 2.5rem; position: relative;
  box-shadow: var(--shadow-xl); transform: translateY(20px) scale(0.98);
  transition: transform 0.3s var(--ease-spring);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px;
  border-radius: 50%; background: var(--surface-3); color: var(--text);
  font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease);
}
.modal-close:hover { background: #ef4444; color: #fff; transform: rotate(90deg); }
.modal h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text); }
.modal h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 1.25rem 0 0.375rem; }
.modal p { font-size: 0.9375rem; line-height: 1.7; color: var(--text-secondary); margin-bottom: 0.5rem; }
.modal strong { color: var(--text); }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ---- Desktop Large (1440px+) ---- */
@media (min-width: 1440px) {
  :root { --container-max: 1280px; }
  body { font-size: 17px; }
}

/* ---- Tablet Landscape (max 1024px) ---- */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; max-width: 460px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-wrap, .about-wrap, .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .seo-left .section-title, .about-left .section-title, .contact-left .section-title { text-align: center; }
  .seo-left .section-lead, .about-left .section-lead, .contact-left .section-lead { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---- Tablet Portrait (max 768px) ---- */
@media (max-width: 768px) {
  :root { --nav-h: 64px; --space-3xl: 4rem; }

  /* Mobile Nav */
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    padding: 1rem 1.5rem; transform: translateX(100%);
    transition: transform 0.35s var(--ease); overflow-y: auto;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { padding: 1rem 0.5rem; font-size: 1rem; border-bottom: 1px solid var(--border-light); border-radius: 0; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-container { position: relative; }

  .hero { padding-top: calc(var(--nav-h) + 2rem); text-align: center; min-height: auto; padding-bottom: 3rem; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 100%; }
  .dm-badge-1 { left: -10px; } .dm-badge-2 { right: -10px; }

  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-right { grid-template-columns: 1fr; }
  .seo-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }

  .solution-band { flex-direction: column; text-align: center; padding: 2rem 1.5rem; gap: 1.5rem; }
  .why-statement { padding: 1.5rem 0.5rem; }

  .contact-form { padding: 1.5rem; }

  .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
  .scroll-top { bottom: 20px; left: 20px; }

  .section-padded { padding: var(--space-2xl) 0; }
}

/* ---- Mobile Small (max 375px) ---- */
@media (max-width: 375px) {
  body { font-size: 15px; }
  .container { padding: 0 1rem; }
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: 0.5rem 1rem; }
  .hero-trust li { font-size: 0.8125rem; }
  .section-title { font-size: 1.5rem; }
  .dm-badge { display: none; }
  .pricing-card { padding: 1.5rem; }
  .contact-form { padding: 1.25rem; }
  .whatsapp-float-label { display: none; }
}

/* ---- Mobile Extra Small (max 320px) ---- */
@media (max-width: 320px) {
  body { font-size: 14px; }
  .hero-title { font-size: 1.75rem; }
  .hero-trust li { font-size: 0.75rem; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .dm-badge { animation: none; }
  .whatsapp-float::after { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .navbar, .whatsapp-float, .scroll-top, .hamburger { display: none; }
  .reveal { opacity: 1; transform: none; }
  body { color: #000; background: #fff; }
  .section-alt { background: #fff; }
}
