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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #172B4D;
  line-height: 1.6;
  background: #fff;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #0052CC;
  color: #fff;
}

.btn-primary:hover {
  background: #0065FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #0052CC;
  border: 2px solid #0052CC;
}

.btn-secondary:hover {
  background: #F4F5F7;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 16px 0;
  border-bottom: 1px solid #DFE1E6;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #172B4D;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  font-size: 1.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: #5E6C84;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #0052CC;
}

.nav-links .btn {
  padding: 10px 20px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #F4F5F7 0%, #DEEBFF 100%);
  text-align: center;
}

.hero h1 {
  margin-bottom: 24px;
}

.highlight {
  color: #0052CC;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #5E6C84;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 0.875rem;
  color: #5E6C84;
}

/* Screenshots Section */
.screenshots {
  padding: 80px 0;
  background: #fff;
}

.screenshots h2 {
  text-align: center;
  margin-bottom: 48px;
}

.screenshot-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.screenshot-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(9, 30, 66, 0.15);
  border: 1px solid #DFE1E6;
}

.screenshot-image img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  max-width: 700px;
}

.screenshot-caption h3 {
  font-size: 1.5rem;
  color: #0052CC;
  margin-bottom: 8px;
}

.screenshot-caption p {
  font-size: 1.125rem;
  color: #5E6C84;
  line-height: 1.7;
}

/* Problem Section */
.problem {
  padding: 100px 0;
  background: #fff;
}

.problem h2 {
  text-align: center;
  margin-bottom: 48px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.problem-card {
  text-align: center;
  padding: 32px;
  background: #F4F5F7;
  border-radius: 12px;
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.problem-card p {
  color: #5E6C84;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: #F4F5F7;
}

.features h2 {
  text-align: center;
  margin-bottom: 48px;
}

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

.feature-card {
  background: #fff;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(9, 30, 66, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(9, 30, 66, 0.12);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card p {
  color: #5E6C84;
}

/* Demo Section */
.demo {
  padding: 80px 0;
  background: #172B4D;
  color: #fff;
}

.demo h2 {
  text-align: center;
  color: #fff;
  margin-bottom: 8px;
}

.demo-subtitle {
  text-align: center;
  color: #B3BAC5;
  margin-bottom: 40px;
  font-size: 1.125rem;
}

.demo-video-container {
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.demo-video {
  width: 100%;
  height: auto;
  display: block;
}

.demo-content {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
}

.demo-content p {
  margin-bottom: 16px;
}

.demo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.demo-features li {
  padding: 8px 0 8px 24px;
  position: relative;
}

.demo-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #36B37E;
}

.demo-content pre {
  background: #0D1117;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin: 16px 0;
}

.demo-content code {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.9rem;
  color: #79C0FF;
}

.demo-note {
  font-size: 0.9rem;
  color: #B3BAC5;
  font-style: italic;
  margin-top: 16px;
}

/* Comparison Section */
.comparison {
  padding: 100px 0;
  background: #fff;
}

.comparison h2 {
  text-align: center;
}

.comparison-subtitle {
  text-align: center;
  color: #5E6C84;
  margin-bottom: 48px;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #DFE1E6;
}

th {
  background: #0052CC;
  color: #fff;
  font-weight: 600;
}

th:first-child {
  border-radius: 8px 0 0 0;
}

th:last-child {
  border-radius: 0 8px 0 0;
}

tr:nth-child(even) {
  background: #F4F5F7;
}

tr:hover {
  background: #DEEBFF;
}

.check {
  color: #00875A;
  font-weight: 600;
  font-size: 1.25rem;
}

.cross {
  color: #DE350B;
  font-weight: 600;
  font-size: 1.25rem;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0052CC 0%, #0065FF 100%);
  text-align: center;
  color: #fff;
}

.cta h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 32px;
  font-size: 1.125rem;
}

.cta .btn-primary {
  background: #fff;
  color: #0052CC;
}

.cta .btn-primary:hover {
  background: #F4F5F7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-note {
  font-size: 0.875rem;
  margin-top: 16px;
  opacity: 0.8;
}

/* Footer */
.footer {
  padding: 48px 0 32px;
  background: #172B4D;
  color: #fff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.footer-links a {
  color: #B3BAC5;
  text-decoration: none;
  transition: color 0.2s;
}

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

.copyright {
  text-align: center;
  color: #5E6C84;
  font-size: 0.875rem;
  padding-top: 24px;
  border-top: 1px solid #253858;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .problem, .features, .comparison, .cta {
    padding: 60px 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
