/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: #1c2536;
  background: #fafafa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0070e0;
  --primary-dark: #005bb5;
  --secondary: #1e2a3a;
  --secondary-light: #2a3a4e;
  --text: #1c2536;
  --text-muted: #5f6b7a;
  --bg: #fafafa;
  --card: #ffffff;
  --border: #dfe3e8;
  --muted-bg: #f0f2f5;
  --white: #ffffff;
  --max-w: 1200px;
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
}

/* ===== UTILITY ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.section { padding: 80px 0; }
.section-alt { padding: 80px 0; background: var(--muted-bg); }
.section-dark { padding: 80px 0; background: var(--secondary); color: #e8ecf0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.25rem; margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 10px; font-weight: 600;
  font-size: 1rem; transition: all 0.25s; cursor: pointer; border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.btn-outline { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.25); }
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.arrow::after { content: '→'; margin-left: 4px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s;
}
.site-header.transparent { background: transparent; }
.site-header.solid { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.header-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
  transition: all 0.2s;
}
.transparent .nav-links a { color: rgba(255,255,255,0.8); }
.transparent .nav-links a:hover { color: white; background: rgba(255,255,255,0.1); }
.transparent .nav-links a.active { background: var(--primary); color: white; }
.solid .nav-links a { color: var(--text-muted); }
.solid .nav-links a:hover { color: var(--text); background: var(--muted-bg); }
.solid .nav-links a.active { background: var(--primary); color: white; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle svg { width: 24px; height: 24px; }
.transparent .mobile-toggle svg { stroke: white; }
.solid .mobile-toggle svg { stroke: var(--text); }
.mobile-nav {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(12px);
  padding: 16px 24px; border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a {
  padding: 12px 16px; border-radius: 8px; font-size: 0.95rem; font-weight: 500;
  color: var(--text-muted); transition: all 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--text); background: var(--muted-bg); }
.mobile-nav a.active { background: var(--primary); color: white; }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 90vh; display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5), transparent);
}
.hero-content { position: relative; max-width: 640px; padding: 120px 0 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,112,224,0.2); border: 1px solid rgba(0,112,224,0.3);
  backdrop-filter: blur(8px); border-radius: 999px;
  padding: 8px 16px; margin-bottom: 20px;
}
.hero-badge span { font-size: 0.85rem; color: white; font-weight: 500; }
.hero h1 { font-size: 3.25rem; color: white; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; line-height: 1.7; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }

/* Page Hero (shorter) */
.page-hero {
  position: relative; padding: 140px 0 80px; overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero .hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.5), var(--bg)); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: 3rem; color: white; margin-bottom: 12px; }
.page-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 640px; line-height: 1.7; }
.page-hero-dark {
  padding: 140px 0 80px; background: var(--secondary); color: #e8ecf0;
}
.page-hero-dark .label { display: flex; align-items: center; gap: 8px; color: var(--primary); font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.page-hero-dark h1 { font-size: 3rem; margin-bottom: 12px; }
.page-hero-dark p { font-size: 1.15rem; color: rgba(232,236,240,0.7); max-width: 640px; line-height: 1.7; }

/* ===== CARDS ===== */
.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(223,227,232,0.5);
  transition: all 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-icon {
  width: 48px; height: 48px; background: rgba(0,112,224,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--primary); stroke: var(--primary); }
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* Service Card (larger) */
.service-card {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid rgba(223,227,232,0.5);
  transition: all 0.3s;
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card .card-top { display: flex; align-items: start; gap: 16px; margin-bottom: 16px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.service-card .desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.service-card ul { margin-top: 16px; }
.service-card li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: rgba(28,37,54,0.8); padding: 4px 0;
}
.service-card li::before { content: '›'; color: var(--primary); font-weight: 700; font-size: 1.1rem; }

/* ===== VIDEO SECTION ===== */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-card h3 { font-size: 1rem; font-weight: 600; margin: 12px 0 4px; }
.video-card p { font-size: 0.85rem; color: var(--text-muted); }
.video-wrapper {
  position: relative; padding-bottom: 56.25%; border-radius: var(--radius);
  overflow: hidden; background: #111;
}
.video-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* ===== CTA ===== */
.cta { text-align: center; }
.cta h2 { font-size: 2.25rem; margin-bottom: 12px; }
.cta p { font-size: 1.1rem; max-width: 540px; margin: 0 auto 28px; }
.section-dark .cta p { color: rgba(232,236,240,0.7); }

/* ===== TWO COLUMN ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.two-col .label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,112,224,0.1); border-radius: 999px;
  padding: 8px 16px; margin-bottom: 16px; font-size: 0.85rem;
  color: var(--primary); font-weight: 600;
}
.two-col h2 { font-size: 2rem; margin-bottom: 20px; }
.two-col p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; }

/* ===== TIMELINE ===== */
.timeline { max-width: 720px; margin: 0 auto; }
.timeline-item { display: flex; gap: 24px; margin-bottom: 28px; }
.timeline-dot {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: rgba(0,112,224,0.1); display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 0.85rem;
  color: var(--primary);
}
.timeline-content .year { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; color: var(--primary); font-weight: 600; }
.timeline-content p { margin-top: 4px; color: var(--text); }

/* ===== PROCESS STEPS ===== */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.process-step {
  background: var(--card); border-radius: var(--radius); padding: 24px; text-align: center;
  box-shadow: var(--shadow); border: 1px solid rgba(223,227,232,0.5);
}
.process-step .num { font-family: 'JetBrains Mono', monospace; font-size: 2rem; font-weight: 700; color: rgba(0,112,224,0.15); margin-bottom: 8px; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CASE STUDY ===== */
.client-info {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(223,227,232,0.5);
}
.client-info h3 { font-size: 1.25rem; margin-bottom: 16px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-grid .label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 2px; }
.info-grid .value { font-weight: 600; font-size: 0.95rem; }
.info-grid .full { grid-column: span 2; }

.challenge-card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(223,227,232,0.5);
}
.challenge-card .icon-wrap {
  width: 40px; height: 40px; background: rgba(220,38,38,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.challenge-card .icon-wrap svg { width: 20px; height: 20px; stroke: #dc2626; }
.challenge-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.challenge-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.phase-card {
  background: var(--card); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid rgba(223,227,232,0.5);
  display: flex; align-items: start; gap: 16px; margin-bottom: 16px;
}
.phase-num {
  width: 36px; height: 36px; background: var(--primary); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; flex-shrink: 0;
}
.phase-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.phase-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result-card {
  background: rgba(232,236,240,0.05); border: 1px solid rgba(232,236,240,0.1);
  border-radius: var(--radius); padding: 24px; text-align: center;
  backdrop-filter: blur(8px);
}
.result-card .metric { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.result-card .label { font-size: 0.9rem; color: rgba(232,236,240,0.7); }

.testimonial { max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial .quote-mark { font-size: 4rem; color: rgba(0,112,224,0.2); line-height: 1; }
.testimonial blockquote { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.35rem; line-height: 1.6; margin-bottom: 20px; }
.testimonial .author { font-weight: 600; }
.testimonial .role { font-size: 0.9rem; color: var(--text-muted); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.contact-info h2 { font-size: 1.5rem; margin-bottom: 24px; }
.contact-item { display: flex; align-items: start; gap: 16px; margin-bottom: 24px; }
.contact-item .icon-wrap {
  width: 40px; height: 40px; background: rgba(0,112,224,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item .icon-wrap svg { width: 20px; height: 20px; stroke: var(--primary); }
.contact-item .title { font-weight: 600; margin-bottom: 2px; }
.contact-item .detail { font-size: 0.9rem; color: var(--text-muted); }

.contact-form {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid rgba(223,227,232,0.5);
}
.contact-form h3 { font-size: 1.25rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.form-group label .req { color: #dc2626; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 16px; border: 1px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 0.9rem;
  background: var(--bg); color: var(--text); outline: none; transition: all 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,112,224,0.1);
}
.form-group textarea { resize: none; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 12px; }

/* ===== FOOTER ===== */
.site-footer { background: var(--secondary); color: #e8ecf0; padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
.footer-logo { height: 60px; width: auto; margin-bottom: 16px; }
.site-footer p { font-size: 0.9rem; color: rgba(232,236,240,0.7); max-width: 300px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.9rem; color: rgba(232,236,240,0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact p { font-size: 0.9rem; color: rgba(232,236,240,0.7); margin-bottom: 4px; }
.footer-bottom {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(232,236,240,0.1);
  text-align: center; font-size: 0.8rem; color: rgba(232,236,240,0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 2.25rem; }
  .page-hero h1, .page-hero-dark h1 { font-size: 2.25rem; }
  .section-header h2, .cta h2 { font-size: 1.75rem; }
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .full { grid-column: span 1; }
  .testimonial blockquote { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 1.85rem; }
  .process-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .result-card .metric { font-size: 2rem; }
}
