/* Buckla Landing - Professional style matching app theme */

:root {
  --blue: #1a56db;
  --blue-dark: #1444a8;
  --blue-light: #e8eefb;
  --blue-lighter: #f3f7fe;
  --green: #16a34a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-xl: 0 10px 25px rgba(0,0,0,0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  padding: 52px 20px 36px;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.logo-icon {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.tagline {
  font-size: 24px;
  font-weight: 400;
  opacity: 0.95;
  margin-top: 6px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-note {
  margin-top: 10px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

/* Intro Section */
.intro {
  text-align: center;
  padding: 42px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.intro h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.intro p {
  font-size: 20px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 40px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--blue-lighter) 0%, white 100%);
  padding: 44px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 20px 20px 28px;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

.btn-icon {
  font-size: 24px;
  line-height: 1;
}

.btn-primary {
  background: var(--blue);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  color: white;
}

.cta-note {
  font-size: 16px;
  color: var(--gray-600);
  margin-top: 20px;
}

/* Info Section */
.info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  padding: 0 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.info-card p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.6;
}

.version-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 18px;
  color: var(--gray-900);
  margin-top: 8px;
}

.version-badge {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.loading {
  color: var(--gray-500);
  font-style: italic;
}

.steps {
  list-style: none;
  counter-reset: step-counter;
}

.steps li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  color: var(--gray-700);
}

.steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 40px 20px;
  text-align: center;
}

footer p {
  margin: 8px 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 30px 16px 18px;
  }

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

  .tagline {
    font-size: 17px;
  }

  .hero-note {
    font-size: 14px;
    margin-top: 8px;
  }

  .intro {
    padding: 24px 8px 34px;
  }

  .intro h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .intro p {
    font-size: 17px;
    line-height: 1.7;
  }

  .cta-section {
    margin: 10px 0 20px;
    padding: 26px 14px;
    border-radius: 14px;
  }

  .cta-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 17px;
  }

  .features {
    gap: 18px;
    padding: 24px 0 56px;
  }

  .feature {
    padding: 24px 20px;
  }

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