@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;800&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Shared ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 27px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.btn-pill--solid { background: #00c7ff; color: #ffffff; }
.btn-pill--solid:hover { background: #00b3e6; }
.btn-pill--outline { background: transparent; color: #ffffff; border: 1.5px solid rgba(255,255,255,0.6); }
.btn-pill--outline:hover { background: rgba(255,255,255,0.1); }
.btn-pill--lg { padding: 16px 32px; font-size: 16px; }

.section { padding: 80px 24px; max-width: 1280px; margin: 0 auto; }
.section--tinted { background: #f2f8fb; max-width: none; }
.section--tinted > * { max-width: 1280px; margin-left: auto; margin-right: auto; }

.section-title { font-size: 26px; font-weight: 800; text-align: center; color: #1a1a2e; }
.section-underline {
  width: 48px; height: 4px; background: #00c7ff; border-radius: 2px;
  margin: 16px auto 40px;
}

.icon-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: #e0f7ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
.icon-circle--lg { width: 64px; height: 64px; font-size: 26px; }

/* ---------- Navbar ---------- */
.navbar { background: #ffffff; border-bottom: 1px solid #efefef; position: relative; z-index: 50; }
.navbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 36px; height: 36px; }
.brand-name { font-size: 15px; font-weight: 700; color: #1a1a2e; }
.navbar-actions { display: none; align-items: center; gap: 24px; }
.lang-dropdown { position: relative; }
.lang-select {
  background: #f2f8fb; border: none; border-radius: 18px; padding: 8px 16px;
  font-size: 13px; font-weight: 500; color: #1a1a2e; cursor: pointer; font-family: inherit;
}
.lang-select:hover { background: #e6f3f9; }
.lang-options {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 160px;
  background: #ffffff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 6px; z-index: 60;
}
.lang-options[hidden] { display: none; }
.lang-options li {
  padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 500;
  color: #1a1a2e; cursor: pointer;
}
.lang-options li:hover { background: #f2f8fb; }
.navbar-mobile-menu .lang-options { left: 0; right: auto; }
.nav-link { font-size: 14px; font-weight: 500; color: rgba(26,26,46,0.85); }

.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a1a2e; color: #ffffff; padding: 12px 22px; border-radius: 24px;
  font-size: 13.5px; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.navbar-burger {
  background: none; border: none; font-size: 22px; cursor: pointer; color: #1a1a2e;
}
.navbar-mobile-menu {
  display: none; flex-direction: column; gap: 12px; padding: 16px 24px 24px;
  border-top: 1px solid #efefef;
}
.navbar-mobile-menu.open { display: flex; }
.navbar-mobile-menu .btn-pill { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #00c7ff 0%, #0090c7 100%);
  padding: 64px 24px 80px;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}
.hero-deco { position: absolute; border-radius: 50%; background: #ffffff; pointer-events: none; }
.hero-deco--1 { width: 280px; height: 280px; opacity: 0.06; top: -100px; right: -60px; }
.hero-deco--2 { width: 220px; height: 220px; opacity: 0.05; bottom: -60px; left: -80px; }
.hero-deco--3, .hero-deco--4, .hero-deco--5 { display: none; }

.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.16); border-radius: 16px;
  padding: 8px 18px; font-size: 12px; font-weight: 600; margin-bottom: 24px;
  position: relative; z-index: 1;
}
.hero-title {
  position: relative; z-index: 1;
  font-size: 30px; font-weight: 700; line-height: 1.25; margin-bottom: 20px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.hero-subtitle {
  position: relative; z-index: 1;
  font-size: 17px; font-weight: 400; opacity: 0.95;
  max-width: 600px; margin: 0 auto 40px;
  min-height: 3.2em;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hero-subtitle-fixed { display: block; }
.hero-subtitle-anim {
  display: inline-block; font-weight: 600; color: #ffffff;
  border-right: 2px solid rgba(255,255,255,0.85);
  padding-right: 4px;
  max-width: 100%;
  min-height: 1.3em;
}

.hero-ctas {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 14px; align-items: center;
  margin-bottom: 48px;
}
.hero-ctas .btn-pill { width: 100%; max-width: 320px; }

.hero-chips {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 16px;
  max-width: 360px; margin: 0 auto;
}
.hero-chip {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.14); border-radius: 14px; padding: 12px 16px;
  text-align: left;
}
.hero-chip-icon { font-size: 20px; }
.hero-chip-title { display: block; font-size: 13px; font-weight: 600; opacity: 0.95; }
.hero-chip-sub { display: block; font-size: 10.5px; opacity: 0.6; margin-top: 2px; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.card { background: #fafcfd; border-radius: 20px; padding: 32px 24px; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.card-desc { font-size: 13px; color: #888888; margin-bottom: 16px; line-height: 1.5; }
.check-list li {
  font-size: 12px; color: #555555; padding-left: 20px; position: relative; margin-bottom: 8px;
}
.check-list li::before {
  content: '✓'; color: #00c7ff; font-weight: 700; position: absolute; left: 0;
}

/* ---------- How it works ---------- */
.timeline { display: flex; flex-direction: column; gap: 28px; max-width: 640px; margin: 0 auto; position: relative; }
.timeline-step { display: flex; gap: 20px; align-items: flex-start; position: relative; }
.timeline-step:not(:last-child)::before {
  content: ''; position: absolute; left: 19px; top: 40px; width: 2px; height: calc(100% + 8px);
  background: rgba(0,199,255,0.3);
}
.timeline-num {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: #00c7ff; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
  position: relative; z-index: 1;
}
.timeline-text { font-size: 13.5px; color: #888888; line-height: 1.6; padding-top: 6px; }
.timeline-text strong { display: block; color: #1a1a2e; font-size: 15px; margin-bottom: 4px; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 32px; text-align: center; max-width: 640px; margin: 0 auto; }
.why-grid .icon-circle { margin: 0 auto 16px; }
.why-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.why-desc { font-size: 12.5px; color: #888888; line-height: 1.5; }

/* ---------- Stats ---------- */
.stats { background: #0f1b2d; padding: 56px 24px; text-align: center; }
.stats-label { font-size: 12px; font-weight: 700; color: #00c7ff; letter-spacing: 1px; margin-bottom: 24px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px; margin: 0 auto; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: 30px; font-weight: 800; color: #ffffff; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.65); }

/* ---------- Testimonials ---------- */
.testimonials-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.testimonial-card { background: #fafcfd; border-radius: 20px; padding: 28px 24px; }
.stars { font-size: 13px; margin-bottom: 14px; }
.testimonial-quote { font-size: 13px; color: #555555; line-height: 1.6; margin-bottom: 24px; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; background: #e0f7ff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.testimonial-name { font-size: 13.5px; font-weight: 700; }
.testimonial-role { font-size: 11.5px; color: #888888; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #00c7ff 0%, #0090c7 100%);
  padding: 64px 24px; text-align: center; color: #ffffff;
}
.cta-title { position: relative; z-index: 1; font-size: 24px; font-weight: 800; margin-bottom: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-subtitle { position: relative; z-index: 1; font-size: 14.5px; opacity: 0.9; margin-bottom: 32px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta .btn-pill { position: relative; z-index: 1; background: #ffffff; color: #0090c7; }
.cta .btn-pill:hover { background: #f0fbff; }

/* ---------- Footer ---------- */
.footer { background: #0b131f; color: #ffffff; padding: 56px 24px 0; }
.footer-top { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-badge {
  width: 40px; height: 40px; border-radius: 10px; background: #00c7ff;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.footer-brand-name { font-size: 15px; font-weight: 700; }
.footer-tagline { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 20px; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.footer-col h4 { font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 12px; }
.footer-bottom {
  max-width: 1280px; margin: 40px auto 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.45); text-align: center;
}

/* =====================================================
   TABLET — 768px+
   ===================================================== */
@media (min-width: 768px) {
  .hero-title { font-size: 38px; max-width: 600px; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .hero-ctas .btn-pill { width: auto; }
  .hero-chips { flex-direction: row; max-width: none; }
  .hero-chip { flex: 1; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .why-grid .icon-circle { margin: 0 0 16px; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: 1 / span 2; max-width: 50%; margin: 0 auto; }

  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* =====================================================
   DESKTOP — 1024px+
   ===================================================== */
@media (min-width: 1024px) {
  .navbar-actions { display: flex; }
  .navbar-burger { display: none; }
  .navbar-mobile-menu { display: none !important; }

  .hero { padding: 100px 24px 120px; }
  .hero-deco--3, .hero-deco--4, .hero-deco--5 { display: block; }
  .hero-deco--1 { width: 600px; height: 600px; top: -180px; right: 60px; opacity: 0.06; }
  .hero-deco--2 { width: 500px; height: 500px; bottom: -80px; left: -120px; opacity: 0.05; }
  .hero-deco--3 { width: 70px; height: 70px; top: 80px; left: 30%; opacity: 0.12; }
  .hero-deco--4 { width: 90px; height: 90px; top: 280px; right: 18%; opacity: 0.1; }
  .hero-deco--5 { width: 50px; height: 50px; top: 300px; left: 8%; opacity: 0.14; }
  .hero-title { font-size: 52px; max-width: 900px; }
  .hero-subtitle { font-size: 22px; max-width: 700px; }
  .hero-chips { max-width: 900px; }
  .hero-chip { padding: 16px 20px; }

  .section { padding: 110px 24px; }
  .section-title { font-size: 34px; }

  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(5, 1fr); max-width: none; gap: 24px; }
  .why-grid .icon-circle { margin: 0 auto 16px; }
  .why-grid .why-title, .why-grid .why-desc { text-align: center; }

  .timeline { flex-direction: row; max-width: none; justify-content: space-between; gap: 16px; }
  .timeline-step { flex-direction: column; text-align: center; flex: 1; }
  .timeline-step:not(:last-child)::before {
    left: 50%; top: 19px; width: calc(100% - 20px); height: 2px;
  }
  .timeline-num { margin: 0 auto; }

  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; max-width: none; margin: 0; }

  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
}

/* ── Page transitions ─────────────────────────────── */
html { background: #ffffff; }
body { opacity: 0; transition: opacity .35s cubic-bezier(.4,0,.2,1); }
body.ready { opacity: 1; }
