/* ============ VARIABLES ============ */
:root {
  --blue: #4A90C4;
  --blue-dark: #2d6fa3;
  --blue-light: #e8f3fb;
  --gray-900: #1a1a2e;
  --gray-800: #2d2d3f;
  --gray-700: #4a4a5a;
  --gray-500: #8888a0;
  --gray-200: #e8e8f0;
  --gray-100: #f5f5fa;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(74, 144, 196, 0.12);
  --shadow-lg: 0 12px 40px rgba(74, 144, 196, 0.18);
  --transition: 0.25s ease;
  --font: 'Inter', system-ui, sans-serif;
}

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============ UTILITIES ============ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 144, 196, 0.35);
}
.btn--ghost {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--ghost:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--lg { padding: 15px 32px; font-size: 16px; border-radius: 14px; }
.btn--full { width: 100%; }

.section-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.section-badge--light {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }
.section-subtitle {
  font-size: 17px;
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto;
}
.section-subtitle--light { color: rgba(255,255,255,0.8); }

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}
.header__logo img { height: 96px; width: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav__link:hover { color: var(--blue); background: var(--blue-light); }
.nav__link--cta {
  background: var(--blue);
  color: var(--white) !important;
  font-weight: 600;
}
.nav__link--cta:hover {
  background: var(--blue-dark);
  color: var(--white) !important;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--gray-900) 0%, #16213e 100%);
  padding: 100px 0 80px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234A90C4' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 144, 196, 0.2);
  border: 1px solid rgba(74, 144, 196, 0.4);
  color: #90c8f0;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title em {
  font-style: normal;
  color: var(--blue);
}
.hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero__actions .btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.hero__actions .btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}
.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
}
.hero__stat strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero__stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 380px;
}
.hero__blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(74,144,196,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}
.hero__card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  animation: float 3s ease-in-out infinite;
}
.hero__card--1 {
  top: 60px;
  right: 20px;
  animation-delay: 0s;
}
.hero__card--2 {
  bottom: 80px;
  left: 20px;
  animation-delay: 1.5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero__card-icon { font-size: 32px; }
.hero__card strong { display: block; font-size: 22px; font-weight: 800; }
.hero__card p { font-size: 12px; opacity: 0.7; margin: 0; }

/* ============ SERVICES ============ */
.services {
  padding: 100px 0;
  background: var(--gray-100);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}
.service-card--google {
  border-top: 4px solid #4285F4;
}
.service-card--google:hover { border-color: #4285F4; }
.service-card--meta {
  border-top: 4px solid #0082FB;
}
.service-card--meta:hover { border-color: #0082FB; }
.service-card__brand {
  height: 38px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}
.service-card__brand svg { height: 100%; width: auto; }
.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__icon--blue {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: 14px;
  padding: 14px;
  color: var(--blue);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.service-card__list li {
  font-size: 13px;
  opacity: 0.7;
  padding-left: 16px;
  position: relative;
  font-weight: 500;
}
.service-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  opacity: 0.6;
}

/* ============ WHY US ============ */
.why {
  padding: 100px 0;
  background: var(--white);
}
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why__content .section-title { text-align: left; }
.why__lead {
  font-size: 16px;
  color: var(--gray-700);
  margin-bottom: 36px;
  line-height: 1.7;
}
.why__features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.why__feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why__feature-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.why__feature strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.why__feature p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.6;
}
.why__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.why__number-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.why__number-card:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  transform: translateY(-2px);
}
.why__number-card strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.why__number-card span {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.3;
}

/* ============ CONTACT ============ */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--gray-900) 0%, #16213e 100%);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74,144,196,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.contact__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,144,196,0.15);
  background: var(--white);
}
.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error {
  font-size: 12px;
  color: #e74c3c;
  min-height: 16px;
  display: block;
}
.form-success {
  background: #d4edda;
  color: #155724;
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
}
.g-recaptcha { transform-origin: left; }

/* Contact info */
.contact__info { color: var(--white); }
.contact__info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  opacity: 0.9;
}
.contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}
.contact__item:hover { color: var(--white); }
.contact__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--blue);
}
.contact__tagline {
  margin-top: 32px;
}
.contact__logo-box {
  display: inline-block;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 20px;
  margin-bottom: 12px;
}
.contact__logo-box img { display: block; }
.contact__tagline p {
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.65);
}

/* ============ FOOTER ============ */
.footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer p {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer a { color: rgba(255,255,255,0.6); }
.footer a:hover { color: var(--blue); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 60px; }
  .services { padding: 72px 0; }
  .why { padding: 72px 0; }
  .contact { padding: 72px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .why__numbers { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 20px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .contact-form { padding: 24px; }
  .footer__inner { flex-direction: column; text-align: center; }

  /* Mobile nav */
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav__toggle { display: flex; }
  .header { position: relative; }
}
