/* ScanSnap Landing Page - Using Design System */

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6, 1.5rem);
}

/* Hero Section */
.hero {
  padding: 6rem var(--space-6, 1.5rem) 4rem;
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--border));
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: var(--space-4, 1rem);
  line-height: 1.1;
}

.tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--space-6, 1.5rem);
}

.hero-description {
  font-size: 1.1rem;
  color: hsl(var(--foreground));
  max-width: 600px;
  margin: 0 auto var(--space-8, 2rem);
  line-height: 1.8;
  white-space: pre-line;
}

.cta-buttons {
  display: flex;
  gap: var(--space-4, 1rem);
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3, 0.75rem) var(--space-6, 1.5rem);
  border-radius: var(--radius, 0.5rem);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  border: 1px solid hsl(var(--border));
}

.btn-secondary:hover {
  background: hsl(var(--surface));
}

.btn-large {
  padding: var(--space-4, 1rem) var(--space-8, 2rem);
  font-size: 1.1rem;
}

/* Screenshots Section */
.screenshots {
  padding: 4rem var(--space-6, 1.5rem);
  background: hsl(var(--background));
}

.screenshots h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4, 1rem);
  color: hsl(var(--foreground));
}

.screenshots p {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--space-8, 2rem);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6, 1.5rem);
}

.screenshot-item {
  background: hsl(var(--card));
  border-radius: var(--radius, 0.5rem);
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: transform 0.2s ease;
}

.screenshot-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.screenshot-item .caption {
  padding: var(--space-4, 1rem);
  font-size: var(--text-sm, 0.875rem);
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.screenshot-placeholder {
  aspect-ratio: 9/16;
  background: hsl(var(--surface));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screenshot-placeholder .icon {
  font-size: 3rem;
  opacity: 0.5;
  margin-bottom: var(--space-4, 1rem);
}

.screenshot-placeholder p {
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
}

/* Problem/Solution Section */
.problem-solution {
  padding: 4rem var(--space-6, 1.5rem);
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  border-bottom: 1px solid hsl(var(--border));
}

.problem-solution h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4, 1rem);
  color: hsl(var(--foreground));
}

.problem-solution h3 {
  color: hsl(var(--primary));
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: var(--space-8, 2rem);
  margin-bottom: var(--space-4, 1rem);
}

.problem-solution p {
  font-size: 1.1rem;
  color: hsl(var(--foreground));
  line-height: 1.8;
  margin: var(--space-4, 1rem) 0;
}

/* Features Section */
.features {
  padding: 4rem var(--space-6, 1.5rem);
  background: hsl(var(--background));
}

.features h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4, 1rem);
  color: hsl(var(--foreground));
}

.features > .container > p {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-bottom: var(--space-8, 2rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6, 1.5rem);
}

.feature-card {
  background: hsl(var(--card));
  padding: var(--space-6, 1.5rem);
  border-radius: var(--radius, 0.5rem);
  border: 1px solid hsl(var(--border));
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4, 1rem);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2, 0.5rem);
  color: hsl(var(--foreground));
}

.feature-card p {
  color: hsl(var(--muted-foreground));
}

/* Use Cases Section */
.use-cases {
  padding: 4rem var(--space-6, 1.5rem);
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
}

.use-cases h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-8, 2rem);
  color: hsl(var(--foreground));
}

.use-case-card {
  background: hsl(var(--surface));
  padding: var(--space-6, 1.5rem);
  border-radius: var(--radius, 0.5rem);
  border: 1px solid hsl(var(--border));
  margin: var(--space-4, 1rem) 0;
}

.use-case-card h3 {
  color: hsl(var(--primary));
  margin-bottom: var(--space-4, 1rem);
  font-size: 1.25rem;
}

.use-case-card p {
  color: hsl(var(--foreground));
  margin: var(--space-2, 0.5rem) 0;
}

/* Benefits Section */
.benefits-section {
  padding: 4rem var(--space-6, 1.5rem);
  background: hsl(var(--background));
}

.benefits-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-8, 2rem);
  text-align: center;
  color: hsl(var(--foreground));
}

.benefit-item {
  display: flex;
  gap: var(--space-4, 1rem);
  margin: var(--space-6, 1.5rem) 0;
  align-items: start;
}

.benefit-icon {
  font-size: 2rem;
  min-width: 3rem;
}

.benefit-item h3 {
  color: hsl(var(--foreground));
  margin-bottom: var(--space-2, 0.5rem);
  font-size: 1.25rem;
}

.benefit-item p {
  color: hsl(var(--muted-foreground));
  line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
  padding: 4rem var(--space-6, 1.5rem);
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
}

.how-it-works h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-8, 2rem);
  color: hsl(var(--foreground));
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-6, 1.5rem);
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: var(--space-6, 1.5rem);
}

.step-number {
  width: 60px;
  height: 60px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto var(--space-4, 1rem);
}

.step h3 {
  margin-bottom: var(--space-2, 0.5rem);
  color: hsl(var(--foreground));
  font-size: 1.25rem;
}

.step p {
  color: hsl(var(--muted-foreground));
}

/* FAQ Section */
.faq-section {
  padding: 4rem var(--space-6, 1.5rem);
  background: hsl(var(--background));
}

.faq-section h2 {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-8, 2rem);
  color: hsl(var(--foreground));
}

.faq-item {
  margin: var(--space-6, 1.5rem) 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: var(--space-2, 0.5rem);
  color: hsl(var(--foreground));
}

.faq-answer {
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* Premium Section */
.premium {
  padding: 4rem var(--space-6, 1.5rem);
  text-align: center;
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
}

.premium h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--space-4, 1rem);
  color: hsl(var(--foreground));
}

.premium-price {
  font-size: 3rem;
  font-weight: 700;
  color: hsl(var(--primary));
  margin: var(--space-4, 1rem) 0;
}

.premium-features {
  list-style: none;
  max-width: 600px;
  margin: var(--space-8, 2rem) auto;
  text-align: left;
}

.premium-features li {
  padding: var(--space-3, 0.75rem) 0;
  padding-left: var(--space-8, 2rem);
  position: relative;
  font-size: 1.1rem;
  color: hsl(var(--foreground));
}

.premium-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: hsl(var(--success));
  font-weight: bold;
  font-size: 1.2rem;
}

.premium p {
  color: hsl(var(--muted-foreground));
}

/* Footer */
footer {
  background: hsl(var(--card));
  border-top: 1px solid hsl(var(--border));
  padding: 3rem var(--space-6, 1.5rem);
  text-align: center;
}

footer nav {
  margin-bottom: var(--space-6, 1.5rem);
  display: flex;
  justify-content: center;
  gap: var(--space-6, 1.5rem);
  flex-wrap: wrap;
}

footer nav a {
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.2s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

footer nav a:hover {
  color: hsl(var(--primary));
}

footer p {
  color: hsl(var(--muted-foreground));
}

/* Responsive */
@media (max-width: 768px) {
  .benefit-item {
    flex-direction: column;
  }
}
