@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  background-color: #f8fafc;
  color: #334155;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  color: #2563eb;
  font-size: 2rem;
}

h2 {
  color: #1e3a8a;
  margin-top: 0;
}

h3 {
  color: #0f172a;
  margin-bottom: 0.5rem;
}

/* Navigation */
.main-nav {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: #64748b;
  font-weight: 500;
  text-decoration: none;
}

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

header,
footer {
  text-align: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-btn {
  background: #3b82f6;
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s;
  display: inline-block;
  text-decoration: none;
}

.hero-btn:hover {
  background: #2563eb;
  text-decoration: none;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: -3rem auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card h3 {
  color: #1e293b;
  font-size: 1.25rem;
  margin-top: 0;
}

.feature-card p {
  color: #64748b;
  margin-bottom: 0;
}

/* Section Styling */
.section-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}

.section-container h2 {
  font-size: 2.25rem;
  color: #0f172a;
  margin-bottom: 1rem;
}

/* Screenshots Section */
.screenshots-section {
  padding: 4rem 1.5rem;
  background: #f1f5f9;
  text-align: center;
  overflow: hidden;
}

.screenshots-section h2 {
  color: #0f172a;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.screenshots-section p {
  color: #64748b;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.screenshots-scroller {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
  justify-content: start;
  /* Default for mobile/overflow */
  scrollbar-width: none;
  /* Firefox */
}


/* Center screenshots on desktop if they fit */
@media (min-width: 1500px) {
  .screenshots-scroller {
    justify-content: center;
  }
}


.screenshots-scroller::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.screenshot-container {
  flex: 0 0 auto;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.screenshot-container:hover {
  transform: translateY(-10px);
}

.screenshot-img {
  width: 260px;
  /* Mobile width */
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 4px solid #0f172a;
  /* Frame look */
}

/* Footer */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 4rem;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: white;
}

/* Documentation Specifics */
.docs-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.docs-container header {
  margin-bottom: 2rem;
  text-align: center;
}

.docs-container h1 {
  margin-bottom: 0.5rem;
}

.docs-container h2 {
  color: #1e3a8a;
  margin-top: 2rem;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 0.25rem;
}

.section {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
  .hero {
    padding: 3rem 1rem;
  }

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

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  .features-grid {
    margin-top: 2rem;
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}