/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --clr-bg:        #f5f7ff;
  --clr-surface:   #ffffff;
  --clr-surface2:  #eef1fb;
  --clr-accent:    #3d6bff;
  --clr-accent2:   #6a3dff;
  --clr-accent-lt: rgba(61,107,255,0.10);
  --clr-text:      #0d1136;
  --clr-muted:     #5c6480;
  --clr-border:    rgba(0,0,0,0.07);
  --shadow-sm:     0 2px 10px rgba(61,107,255,0.08);
  --shadow-md:     0 8px 32px rgba(61,107,255,0.13);
  --shadow-lg:     0 20px 60px rgba(61,107,255,0.16);
  --radius:        14px;
  --radius-lg:     22px;
  --radius-xl:     32px;
  --transition:    0.25s ease;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --max-w:         1120px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ─── Utility ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: var(--clr-accent-lt);
  border: 1px solid rgba(61,107,255,0.22);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(61,107,255,0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(61,107,255,0.45);
}
.btn-outline {
  background: #fff;
  color: var(--clr-text);
  border: 1.5px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* ─── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 1px 12px rgba(61,107,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-muted);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--clr-text); }
.nav-cta { margin-left: 24px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid var(--clr-border);
  padding: 8px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 28px;
  font-weight: 500;
  color: var(--clr-muted);
  border-bottom: 1px solid var(--clr-border);
  transition: var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--clr-text); background: var(--clr-bg); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 90px 0 0;
  overflow: hidden;
  background: linear-gradient(160deg, #eef1ff 0%, #f9f5ff 50%, #f5f7ff 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 80px;
}
.hero-text .badge { margin-bottom: 18px; }
.hero-text h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--clr-text);
}
.hero-text h1 span {
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text p {
  font-size: 1.05rem;
  color: var(--clr-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero image side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
}
.hero-img-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
/* Floating badge on hero image */
.hero-float {
  position: absolute;
  bottom: 28px;
  left: -24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}
.hero-float .float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-float .float-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--clr-text);
}
.hero-float .float-text span {
  font-size: 0.75rem;
  color: var(--clr-muted);
}

/* Hero top blob */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61,107,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Section shared ────────────────────────────────────────── */
section { padding: 88px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--clr-text);
}
.section-header p {
  font-size: 1rem;
  color: var(--clr-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ─── About ─────────────────────────────────────────────────── */
.about { background: #fff; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.about-img-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  text-align: center;
  min-width: 130px;
}
.about-img-overlay .ov-num {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}
.about-img-overlay .ov-label {
  font-size: 0.78rem;
  color: var(--clr-muted);
  font-weight: 600;
}

.about-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--clr-text);
}
.about-text p {
  color: var(--clr-muted);
  margin-bottom: 16px;
  line-height: 1.78;
}
.about-text .btn { margin-top: 10px; }

/* ─── Features ──────────────────────────────────────────────── */
.features { background: var(--clr-bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  border-color: rgba(61,107,255,0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--clr-accent-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  color: var(--clr-text);
}
.feature-card p {
  color: var(--clr-muted);
  font-size: 0.92rem;
  line-height: 1.72;
}

/* ─── Use-Cases ─────────────────────────────────────────────── */
.usecases { background: #fff; }
.usecases-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.usecases-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--clr-text);
}
.usecases-intro p {
  color: var(--clr-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.usecases-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}
.usecase-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  transition: var(--transition);
}
.usecase-item:hover {
  border-color: rgba(61,107,255,0.25);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.usecase-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(61,107,255,0.35);
}
.usecase-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--clr-text);
}
.usecase-body p {
  color: var(--clr-muted);
  font-size: 0.9rem;
  line-height: 1.68;
}

/* Use-cases right image grid */
.usecases-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 16px;
}
.usecases-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.usecases-imgs img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.usecases-imgs img:first-child {
  grid-row: 1 / 3;
  height: 100%;
}

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq { background: var(--clr-bg); }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open {
  border-color: rgba(61,107,255,0.3);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--clr-text);
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--clr-accent); }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: var(--transition);
  color: var(--clr-muted);
  background: var(--clr-bg);
}
.faq-item.open .faq-icon {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer p {
  padding: 0 24px 22px;
  color: var(--clr-muted);
  font-size: 0.93rem;
  line-height: 1.77;
  border-top: 1px solid var(--clr-border);
  padding-top: 18px;
}

/* ─── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  text-align: center;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) saturate(1.2);
}
.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61,107,255,0.75), rgba(106,61,255,0.75));
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner .badge {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.82);
  max-width: 500px;
  margin: 0 auto 32px;
}
.cta-banner .btn-primary {
  background: #fff;
  color: var(--clr-accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.cta-banner .btn-primary:hover {
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--clr-text);
  padding: 60px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 30%, #a5b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.72;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.38);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col ul a:hover { color: #fff; }
.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.footer-contact a { color: #7b9fff; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  transition: var(--transition);
}
.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 60px; }
  .hero-visual { justify-content: center; }
  .hero-float { left: 0; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .usecases-layout { grid-template-columns: 1fr; gap: 40px; }
  .usecases-imgs { grid-template-rows: 200px 200px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  section { padding: 60px 0; }
  .hero { padding-top: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .usecases-imgs { grid-template-columns: 1fr; grid-template-rows: auto; }
  .usecases-imgs img:first-child { grid-row: auto; height: 200px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
