/* ===== VARIABLES ===== */
:root {
  --bg: #0c0f1d;
  --bg-card: rgba(255,255,255,0.05);
  --bg-card-hover: rgba(255,255,255,0.08);
  --bg-dark: #060810;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.7);
  --text-dim: rgba(255,255,255,0.5);
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --alice: #e8f0fe;
  --border: rgba(255,255,255,0.1);
  --max-w: 1200px;
  --nav-h: 72px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.25rem; }
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 640px; line-height: 1.75; }
.text-blue { color: var(--blue); }
.text-center { text-align: center; }
.highlight { color: var(--blue); font-weight: 600; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; }
.btn-full { width: 100%; text-align: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(12,15,29,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo img { height: 36px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-dropdown-trigger:hover { color: var(--text); }
.nav-dropdown-trigger svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: #111520;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(-6px);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: var(--bg-card); color: var(--text); }
.nav-cta { margin-left: 0.5rem; }
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg-dark);
  z-index: 99;
  padding: 2rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu .mobile-section {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-section {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-weight: 600;
  margin-top: 1rem;
}
.mobile-menu .mobile-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }
.mobile-menu .btn { margin-top: 1rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-video-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}
.hero-video-link:hover { color: var(--text); }
.hero-video-link .play-icon {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-video-link .play-icon svg { width: 12px; height: 12px; fill: currentColor; margin-left: 2px; }
.hero-image-wrapper { position: relative; }
.hero-image-wrapper img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

/* ===== HERO FORM (sidebar) ===== */
.hero-form-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.hero-form-card .form-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--text-muted); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: #111520; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success, .form-error { display: none; padding: 1rem; border-radius: 8px; font-size: 0.9rem; margin-top: 1rem; }
.form-success { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: #4ade80; }
.form-error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }

/* ===== CTA STRIP ===== */
.cta-strip { padding: 5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.cta-left { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 600; line-height: 1.3; }
.cta-right { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 5rem 0; position: relative; }
.testimonials-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 2rem;
}
.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide {
  min-width: 100%;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.testimonial-text {
  font-size: 1rem;
  color: var(--alice);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.testimonial-divider { height: 1px; background: var(--border); margin-bottom: 1.25rem; }
.testimonial-author-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-author-title { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.testimonial-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; }
.testimonial-arrows { display: flex; gap: 0.75rem; }
.testimonial-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: none;
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  font-size: 1rem;
}
.testimonial-btn:hover { background: var(--bg-card-hover); }
.testimonial-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.dot.active { background: var(--blue); }

/* ===== TRACK RECORD ===== */
.track-record { padding: 5rem 0; }
.logo-strip-wrapper {
  overflow: hidden;
  position: relative;
  margin-top: 3rem;
}
.logo-strip-wrapper::before, .logo-strip-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-strip-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.logo-strip-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }
.logo-strip {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1rem 0;
  animation: scroll-logos 20s linear infinite;
  width: max-content;
}
.logo-strip img { height: 32px; width: auto; opacity: 0.6; filter: brightness(0) invert(1); flex-shrink: 0; }
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== PROCESS ===== */
.process { padding: 5rem 0; background: linear-gradient(180deg, rgba(59,130,246,0.06) 0%, transparent 100%); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 auto 1rem;
}
.process-step-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; }
.process-step-body { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ===== SERVICES GRID ===== */
.services { padding: 5rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.service-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-3px); }
.service-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card-body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; }
.service-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}
.service-card-link:hover { gap: 0.6rem; }

/* ===== FORM SECTION ===== */
.form-section { padding: 5rem 0; border-top: 1px solid var(--border); }
.form-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.form-section-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.3; margin-bottom: 1rem; }
.form-section-body { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; }

/* ===== SERVICE PAGE HERO ===== */
.service-hero {
  min-height: 70vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(59,130,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.service-hero .container { position: relative; z-index: 1; }
.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}
.service-hero-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.15; margin-bottom: 1rem; }
.service-hero-sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.7; }

/* ===== SERVICE DETAIL ===== */
.service-detail { padding: 5rem 0; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.service-detail-image { border-radius: 16px; overflow: hidden; }
.service-detail-image img { width: 100%; }

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}
.benefit-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.75rem; }
.benefit-body { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ===== CONTACT PAGE ===== */
.contact-page { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 5rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.contact-info-label { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 0.15rem; }
.contact-info-value { font-size: 0.9rem; font-weight: 500; }
.contact-info-value a { transition: color 0.2s; }
.contact-info-value a:hover { color: var(--blue); }

/* ===== BLOG PAGE ===== */
.blog-page { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 5rem; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: rgba(59,130,246,0.4); transform: translateY(-3px); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-date { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 0.5rem; }
.blog-card-title { font-size: 0.95rem; font-weight: 600; line-height: 1.45; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.25rem; }
.footer-social { display: flex; align-items: center; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s;
  font-size: 0.9rem;
}
.footer-social a:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.footer-col-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; color: var(--text-dim); }
.footer-divider { height: 1px; background: var(--border); margin-bottom: 1rem; }
.footer-link {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-contact-item span { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.footer-contact-item span a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-image-wrapper { display: none; }
  .hero-form-card { max-width: 480px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .cta-strip .container { grid-template-columns: 1fr; gap: 2rem; }
  .form-section-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .benefits-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-grid { padding: 2.5rem 0; }
  .hero-form-card { max-width: 100%; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .process-grid { grid-template-columns: 1fr; }
}
