:root {
  --white: #ffffff;
  --bg: #f8fafc;
  --surface: #eef2ff;
  --text: #0f172a;
  --text-muted: #64748b;
  --indigo: #4f46e5;
  --indigo-light: #6366f1;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --radius: 16px;
  --font: 'Outfit', -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;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.9375rem;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 800;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--indigo);
}

.header-cta {
  padding: 9px 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gradient);
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.header-cta:hover {
  opacity: 0.9;
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hero {
  padding: 110px 0 80px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  background: rgba(79, 70, 229, 0.1);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-fill {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.35);
}

.btn-fill:hover {
  transform: translateY(-2px);
}

.btn-line {
  color: var(--indigo);
  background: var(--white);
  border: 1.5px solid #c7d2fe;
}

.btn-line:hover {
  background: var(--surface);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.hero-metrics li {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hero-metrics strong {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.hero-visual {
  position: relative;
}

.phone-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(79, 70, 229, 0.2);
  border: 4px solid var(--white);
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.section-top {
  text-align: center;
  margin-bottom: 48px;
}

.section-top h2 {
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.section-top p {
  color: var(--text-muted);
}

.features {
  padding: 90px 0;
  background: var(--white);
}

.feature-tabs {
  background: var(--bg);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #e2e8f0;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--indigo);
  border-color: #c7d2fe;
}

.tab-btn.active {
  color: var(--white);
  background: var(--gradient);
  border-color: transparent;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tab-grid-single {
  grid-template-columns: 1fr;
  max-width: 400px;
}

.feat-card {
  padding: 24px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.25s, transform 0.25s;
}

.feat-card:hover {
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
  transform: translateY(-2px);
}

.feat-card i {
  font-size: 1.25rem;
  color: var(--indigo);
  margin-bottom: 14px;
}

.feat-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feat-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.feat-card-lg {
  padding: 32px 28px;
}

.screenshots {
  padding: 90px 0;
  background: var(--surface);
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.shot-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s, box-shadow 0.25s;
}

.shot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.12);
}

.shot-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
}

.shot-item figcaption {
  padding: 12px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--text);
  background: var(--white);
}

.download {
  padding: 90px 0;
  background: var(--gradient);
  text-align: center;
}

.download-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.download-inner p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.download .btn-fill {
  background: var(--white);
  color: var(--indigo);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.footer {
  padding: 28px 0;
  border-top: 1px solid #e2e8f0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-weight: 800;
  color: var(--indigo);
}

.footer-inner p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 960px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns,
  .hero-metrics {
    justify-content: center;
  }

  .tab-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-row {
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: 70px;
    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.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .menu-btn {
    display: flex;
  }

  .menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .feature-tabs {
    padding: 20px;
  }

  .tab-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-row {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
