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

:root {
  --blue-deep: #0a2f8f;
  --blue-mid: #1a56db;
  --teal: #00c2cb;
  --white: #ffffff;
  --off-white: #f7f9ff;
  --surface: #eef3ff;
  --text-dark: #080e1e;
  --text-body: #3a4468;
  --text-muted: #66708f;
  --gradient-main: linear-gradient(135deg, #0a2f8f 0%, #00c2cb 100%);
  --gradient-text: linear-gradient(90deg, #1a56db, #00c2cb);
  --glass-bg: rgba(255, 255, 255, 0.76);
  --glass-border: rgba(0, 92, 203, 0.18);
  --font-display: "Syne", sans-serif;
  --font-body: "Inter", sans-serif;
  --text-hero: clamp(3rem, 7vw, 6rem);
  --text-h2: clamp(2rem, 4vw, 3.2rem);
  --text-h3: clamp(1.3rem, 2.5vw, 1.8rem);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-card: 0 8px 32px rgba(10, 47, 143, 0.08);
  --shadow-hover: 0 20px 60px rgba(10, 47, 143, 0.15);
  --section-pad: clamp(80px, 10vw, 140px) 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-body);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: var(--section-pad);
}

.section.alt {
  background: var(--off-white);
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dot-grid {
  background-image: radial-gradient(circle, rgba(10, 47, 143, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(0, 194, 203, 0.42);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(10, 47, 143, 0.08);
  transition: box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(10, 47, 143, 0.08);
  backdrop-filter: blur(20px);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  display: block;
  width: 140px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 600;
  color: var(--text-dark);
}

.nav-link {
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  position: absolute;
  content: "";
  height: 3px;
  right: 0;
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gradient-main);
  border-radius: 999px;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--gradient-main);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(26, 86, 219, 0.18);
}

.btn.secondary {
  color: var(--blue-deep);
  background: var(--white);
  border: 1px solid rgba(10, 47, 143, 0.16);
  box-shadow: none;
}

.btn.white {
  color: var(--blue-deep);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(10, 47, 143, 0.16);
  border-radius: 999px;
  background: var(--white);
  color: var(--text-dark);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 150px 0 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-hero {
  min-height: 72vh;
}

.hero::before {
  position: absolute;
  content: "";
  width: 420px;
  height: 420px;
  top: 90px;
  right: -80px;
  background: var(--gradient-main);
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-dark);
  font-family: var(--font-display);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--text-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.kpi-card {
  position: relative;
  padding: clamp(24px, 4vw, 38px);
  animation: floatCard 6s ease-in-out infinite;
}

.kpi-card h2 {
  margin-bottom: 20px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.kpi {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(238, 243, 255, 0.86);
}

.kpi strong {
  display: block;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1;
}

.kpi span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.trust-strip {
  margin-top: 36px;
}

.mini-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.mini-logo {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 700;
}

.ticker-wrap {
  overflow: hidden;
  background: var(--surface);
  border-block: 1px solid rgba(10, 47, 143, 0.08);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-item {
  flex: 0 0 auto;
  padding: 22px 34px;
  color: var(--blue-deep);
  font-weight: 800;
  white-space: nowrap;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p {
  margin: 18px 0 0;
}

.grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.two-grid {
  grid-template-columns: repeat(2, 1fr);
}

.three-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  padding: 28px;
}

.icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--white);
  background: var(--gradient-main);
  font-size: 1.6rem;
}

.card p {
  margin: 14px 0 0;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-mid);
  font-weight: 800;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab-btn {
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid rgba(10, 47, 143, 0.15);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-deep);
  font-weight: 800;
  cursor: pointer;
}

.tab-btn.active {
  color: var(--white);
  background: var(--gradient-main);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.proof-card {
  padding: 14px;
}

.proof-card img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
}

.caption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.caption span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--surface);
  font-size: 0.82rem;
  font-weight: 800;
}

.wide-proof {
  margin-top: 22px;
}

.carousel-shell {
  position: relative;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(310px, 72%);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x;
  padding: 4px 4px 18px;
}

.portfolio-page .carousel {
  grid-auto-columns: minmax(330px, 47%);
}

.browser-slide {
  scroll-snap-align: start;
  overflow: hidden;
}

.browser-bar {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  background: var(--surface);
  border-bottom: 1px solid rgba(10, 47, 143, 0.1);
}

.browser-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
}

.browser-frame {
  height: 430px;
  background: var(--white);
}

.browser-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.slide-meta {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tag {
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.icon-btn {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--gradient-main);
  font-size: 1.3rem;
  cursor: pointer;
}

.stars {
  color: #ffb703;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
}

.rating-badge {
  display: inline-flex;
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: var(--surface);
  font-weight: 800;
}

.cta-banner {
  color: var(--white);
  background: var(--gradient-main);
}

.cta-banner h2,
.cta-banner p {
  color: var(--white);
}

.timeline {
  position: relative;
  grid-template-columns: repeat(3, 1fr);
}

.step-number {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--gradient-main);
  font-weight: 900;
}

.pricing-card {
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(0, 194, 203, 0.72);
}

.badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--gradient-main);
  font-size: 0.78rem;
  font-weight: 900;
}

.price {
  margin: 16px 0;
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
}

.feature-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 9px 0;
  border-top: 1px solid rgba(10, 47, 143, 0.08);
}

.platform-logo {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 18px;
  color: var(--white);
  background: var(--gradient-main);
  font-family: var(--font-display);
  font-weight: 900;
}

.brand-grid {
  grid-template-columns: repeat(3, 1fr);
}

.brand-sample {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(26, 86, 219, 0.12), rgba(0, 194, 203, 0.12)),
    var(--white);
}

.sample-mark {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: var(--gradient-main);
}

.site-footer {
  padding: 70px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--blue-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 38px;
  border-bottom: 1px solid rgba(0, 194, 203, 0.3);
}

.footer-logo {
  width: 150px;
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.1rem;
}

.footer-links,
.socials {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.socials {
  grid-template-columns: repeat(4, 42px);
}

.socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
}

.footer-bottom {
  padding-top: 22px;
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .service-grid,
  .three-grid,
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .two-grid,
  .proof-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .kpi-card {
    animation: none;
  }
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 390px);
    height: 100vh;
    padding: 110px 28px 30px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: -20px 0 50px rgba(10, 47, 143, 0.12);
    transform: translateX(110%);
    transition: transform 0.28s ease;
  }

  body.menu-open .nav-links {
    transform: translateX(0);
  }

  .nav-links .btn {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .service-grid,
  .three-grid,
  .brand-grid,
  .timeline,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .carousel,
  .portfolio-page .carousel {
    grid-auto-columns: 88%;
  }

  .browser-frame {
    height: 330px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
