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

:root {
  --navy: #14244A;
  --navy-dark: #0F1B35;
  --blue: #3B82F6;
  --blue-light: #3B82F614;
  --text-primary: #14244A;
  --text-secondary: #64748B;
  --text-muted: #FFFFFF80;
  --bg-page: #FAFAFA;
  --bg-white: #FFFFFF;
  --border: #E5E5E5;
  --border-light: #F0F0F0;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: #FFFFFF;
}

.btn-outline {
  background: var(--bg-white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-white {
  background: var(--bg-white);
  color: var(--blue);
  font-size: 17px;
  padding: 18px 40px;
}

.btn-sm {
  font-size: 14px;
  padding: 12px 28px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  height: 52px;
}

/* ===== Header ===== */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text-primary);
}

/* ===== Hero Section ===== */
.hero {
  background: var(--bg-white);
}

.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 120px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  width: fit-content;
}

.badge--small {
  padding: 6px 14px;
  border-radius: 16px;
  gap: 6px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-image {
  width: 560px;
  min-width: 560px;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: #EFF6FF;
  box-shadow: 0 20px 60px #14244A20;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Section Layout ===== */
.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 120px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--blue);
}

.section-label--light {
  color: #FFFFFF80;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 500;
  color: var(--text-primary);
}

.section-header--light h2 {
  color: #FFFFFF;
}

.section-header p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.section-header--light p {
  color: #FFFFFFCC;
}

/* ===== Benefits Section ===== */
.benefits {
  background: var(--bg-page);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.benefit-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ===== Functionalities Section ===== */
.functionalities {
  background: var(--navy);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #FFFFFF12;
  border: 1px solid #FFFFFF20;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #FFFFFF;
}

.feature-card svg {
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 500;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #FFFFFFBB;
}

/* ===== Screenshots Section ===== */
.screenshots {
  background: var(--bg-white);
}

.screenshots-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.screenshot-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.screenshot-row--reverse {
  flex-direction: row-reverse;
}

.screenshot-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.screenshot-text h3 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

.screenshot-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.screenshot-image {
  width: 580px;
  min-width: 580px;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F5F5;
  box-shadow: 0 8px 30px #00000012;
}

.screenshot-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Pricing Section ===== */
.pricing {
  background: var(--bg-page);
}

.pricing .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card {
  width: 520px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  box-shadow: 0 12px 40px #00000008;
}

.pricing-card-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pricing-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 16px;
  background: var(--blue);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
}

.pricing-card-header h3 {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}

.divider {
  border: none;
  height: 1px;
  background: var(--border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table tr {
  border-bottom: 1px solid var(--border-light);
}

.pricing-table tr:last-child {
  border-bottom: none;
}

.pricing-table td {
  padding: 14px 0;
  font-size: 15px;
  color: var(--text-primary);
  vertical-align: middle;
}

.pricing-check {
  width: 30px;
  color: var(--blue);
}

.pricing-check svg {
  display: block;
}

/* ===== Final CTA Section ===== */
.final-cta {
  background: var(--navy);
}

.final-cta .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.final-cta-content {
  max-width: 700px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.final-cta-content h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  color: #FFFFFF;
}

.final-cta-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #FFFFFFCC;
}

.trust-line {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-dark);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
}

.footer-brand {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand img {
  height: 28px;
  width: fit-content;
  max-width: none;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  color: #FFFFFF80;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #FFFFFF60;
}

.footer-links a {
  font-size: 14px;
  color: #FFFFFFCC;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-divider {
  border: none;
  height: 1px;
  background: #FFFFFF14;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-size: 13px;
  color: #FFFFFF50;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: #FFFFFF50;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #FFFFFF80;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    padding-left: 60px;
    padding-right: 60px;
  }

  .hero-image {
    width: 460px;
    min-width: 460px;
    height: 400px;
  }

  .screenshot-image {
    width: 480px;
    min-width: 480px;
    height: 320px;
  }
}

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

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

  .hero-inner {
    flex-direction: column;
    gap: 48px;
  }

  .hero-image {
    width: 100%;
    min-width: unset;
    height: 400px;
  }

  .screenshot-row,
  .screenshot-row--reverse {
    flex-direction: column;
  }

  .screenshot-image {
    width: 100%;
    min-width: unset;
    height: 360px;
  }
}

@media (max-width: 768px) {
  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-inner {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .header-inner {
    height: 64px;
  }

  .logo img {
    height: 24px;
  }

  .nav {
    display: none;
  }

  .btn-sm {
    font-size: 13px;
    padding: 10px 18px;
  }

  .footer-brand img {
    height: 22px;
    width: fit-content;
    max-width: none;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section-header h2,
  .final-cta-content h2 {
    font-size: 30px;
  }

  .screenshot-text h3 {
    font-size: 24px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-card {
    width: 100%;
    padding: 24px;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
