:root {
  --white: #ffffff;
  --bg: #f0f9ff;
  --bg-soft: #e0f2fe;
  --text: #0f172a;
  --text-muted: #64748b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --teal: #0d9488;
  --cyan: #06b6d4;
  --indigo: #6366f1;
  --purple: #8b5cf6;
  --gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-text: linear-gradient(135deg, #1d4ed8 0%, #0891b2 50%, #0d9488 100%);
  --shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
  --radius: 16px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.navbar {
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient);
  color: var(--white);
  font-size: 1.125rem;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hero {
  position: relative;
  padding: 130px 0 80px;
  background: linear-gradient(160deg, #eff6ff 0%, #ecfeff 40%, #f0fdf4 100%);
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-blob-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
  background: rgba(37, 99, 235, 0.12);
}

.hero-blob-2 {
  width: 320px;
  height: 320px;
  bottom: -60px;
  left: -60px;
  background: rgba(6, 182, 212, 0.1);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text > p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.4);
}

.btn-ghost {
  color: var(--blue);
  background: var(--white);
  border: 1.5px solid rgba(37, 99, 235, 0.25);
}

.btn-ghost:hover {
  background: rgba(37, 99, 235, 0.05);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: fit-content;
}

.stat strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--blue);
}

.stat span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: #e2e8f0;
}

.hero-visual {
  position: relative;
}

.hero-banner {
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.15));
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-head p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
}

.section-head.center p {
  margin: 0 auto;
}

.features {
  padding: 100px 0;
  background: var(--white);
}

.feature-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.bento-lg {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-wide {
  grid-column: span 2;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.bento-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.25rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.bento-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.bento-card > p,
.bento-card div > p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.accent-blue .bento-icon { background: #dbeafe; color: var(--blue); }
.accent-teal .bento-icon { background: #ccfbf1; color: var(--teal); }
.accent-indigo .bento-icon { background: #e0e7ff; color: var(--indigo); }
.accent-purple .bento-icon { background: #ede9fe; color: var(--purple); }
.accent-cyan .bento-icon { background: #cffafe; color: var(--cyan); }
.accent-slate .bento-icon { background: #f1f5f9; color: #475569; }

.tool-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tool-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  background: #f8fafc;
  border-radius: 8px;
}

.tool-list i {
  color: var(--blue);
  font-size: 0.75rem;
}

.showcase {
  padding: 100px 0;
  background: var(--bg);
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.showcase-item.reverse {
  direction: rtl;
}

.showcase-item.reverse > * {
  direction: ltr;
}

.showcase-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.showcase-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.showcase-info h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.showcase-info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.download {
  padding: 80px 0;
  background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%);
}

.download-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.download-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.download-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.btn-download {
  background: var(--white);
  color: var(--blue-dark);
  padding: 16px 32px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.footer {
  padding: 48px 0 32px;
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: #67e8f9;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-lg {
    grid-row: span 1;
  }

  .bento-wide {
    grid-column: span 2;
  }

  .showcase-item,
  .showcase-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 69px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 24px 20px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: block;
    padding: 14px 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .feature-bento {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
  }

  .download-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
