/* 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.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4rem);
}

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

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: #2563EB;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #2563EB;
  border: 2px solid rgba(37, 99, 235, 0.25);
}

.btn-secondary:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: #2563EB;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

.logo-icon {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  color: #6B7280;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #2563EB;
}

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

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-logo {
  margin-bottom: 32px;
  position: relative;
}

.hero-logo svg {
  filter: drop-shadow(0 8px 24px rgba(37, 99, 235, 0.3));
}

.hero h1 {
  margin-bottom: 24px;
  position: relative;
  color: #fff;
}

.highlight {
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 40px;
  max-width: 640px;
  position: relative;
}

.hero-pill {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
  border: 1px solid rgba(139, 92, 246, 0.5);
  transition: all 0.2s;
}

.hero-pill:hover {
  background: rgba(139, 92, 246, 0.55);
  border-color: rgba(139, 92, 246, 0.7);
}

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

.hero .btn-primary {
  background: #2563EB;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.hero .btn-primary:hover {
  background: #3b82f6;
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}

.hero .btn-secondary {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.hero-note {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
}

/* Questions 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: 20px;
}

.problem-card {
  text-align: center;
  padding: 36px 24px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

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

.problem-card h3 {
  color: #0f172a;
}

.problem-card p {
  color: #64748b;
  font-size: 0.95rem;
}

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

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

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

.feature-card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.feature-icon {
  font-size: 2.25rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  color: #0f172a;
}

.feature-card p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

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

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

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

.screenshot-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.screenshot-image:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

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

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

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

.screenshot-caption p {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
}

/* Demo Section */
.demo {
  padding: 80px 0;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #1e3a5f 100%);
  color: #fff;
}

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

.demo-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

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

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

.demo-content {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.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: "\2713";
  position: absolute;
  left: 0;
  color: #34d399;
}

.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: #94a3b8;
  font-style: italic;
  margin-top: 16px;
}

.demo-guide-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 20px;
  color: #fff;
}

.demo-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.timestamp {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.875rem;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  min-width: 50px;
  text-align: center;
}

.timeline-item .description {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.timeline-item .description strong {
  color: #fff;
}

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

.comparison h2 {
  text-align: center;
}

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

.table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  background: #fff;
}

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

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

th {
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

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

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

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

tr:hover {
  background: #eff6ff;
}

.check {
  color: #16a34a;
  font-weight: 600;
  font-size: 1.2rem;
}

.cross {
  color: #dc2626;
  font-weight: 600;
  font-size: 1.2rem;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: #fff;
  text-align: center;
}

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

.cta p {
  color: #64748b;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.cta .btn-primary {
  background: #2563EB;
  color: #fff;
}

.cta-note {
  font-size: 0.9rem;
  margin-top: 12px;
  color: #94a3b8;
}

/* Footer */
.footer {
  padding: 48px 0 32px;
  background: #0f172a;
  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.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.02em;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

  .nav-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .hero-pills {
    gap: 8px;
  }

  .hero-pill {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

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

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
