/* ============================================================================
   Home Page Styles
   ============================================================================ */

header {
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 2px 8px rgba(16,24,40,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

header > * {
  max-width: 1280px;
  width: 100%;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header a img {
  height: 50px;
  width: auto;
}

header .logo {
  font-size: 24px;
  font-weight: 700;
  color: #4f46e5;
  text-decoration: none;
}

header .logo span {
  color: #ec4899;
}

header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

header a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: color 0.3s;
}

header a:hover {
  color: #4f46e5;
}

header a.btn-primary {
  background: #4f46e5;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
}

header a.btn-primary:hover {
  background: #4338ca;
}

header a.btn-secondary {
  color: #4f46e5 !important;
  border: 2px solid #4f46e5;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  background: transparent;
}

header a.btn-secondary:hover {
  background: #4f46e5;
  color: #fff !important;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  outline: none;
}

.hamburger-menu:focus,
.hamburger-menu:active {
  outline: none;
  background: none;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
}

body {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding-top: 80px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #4f46e5;
  color: #fff;
}

.btn-primary:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(79, 70, 229, 0.3);
}

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

.btn-secondary:hover {
  background: #4f46e5;
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 100px 40px 80px;
  text-align: center;
}

.hero .container {
  max-width: 900px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111827;
}

.hero h1 span {
  color: #4f46e5;
}

.hero p {
  font-size: 20px;
  color: #6b7280;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 60px;
}

.hero-buttons .btn {
  padding: 12px 32px;
}

.hero-image {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 16px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 60px;
  margin-top: 40px;
}

/* Features Section */
.features {
  padding: 80px 40px;
  background: #fff;
  margin: 40px auto;
  border-radius: 16px;
  max-width: 1200px;
}

.features h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #111827;
}

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

.feature-card {
  padding: 32px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

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

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

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.feature-card p {
  color: #6b7280;
  font-size: 14px;
}

/* Benefits Section */
.benefits {
  padding: 80px 40px;
  background: #fff;
  margin: 40px auto;
  border-radius: 16px;
  max-width: 1200px;
}

.benefits h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #111827;
}

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

.benefit-card {
  padding: 32px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.benefit-card p {
  color: #6b7280;
  font-size: 14px;
}

.benefit-card:hover {
  box-shadow: 0 12px 24px rgba(16,24,40,0.1);
  transform: translateY(-4px);
  border-color: #4f46e5;
}

/* Use Cases Section */
.use-cases {
  padding: 80px 40px;
  background: #fff;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1200px;
}

.use-cases h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #111827;
}

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

.use-case-card {
  padding: 32px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s;
}

.use-case-card:hover {
  border-color: #4f46e5;
  background: #f9fafb;
}

.use-case-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.use-case-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
}

.use-case-card p {
  color: #6b7280;
  font-size: 14px;
}

/* CTA Section */
.cta {
  padding: 80px 40px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  color: #111827;
  margin: 40px auto;
  max-width: 1200px;
}

.cta h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #6b7280;
}

.cta .btn-secondary {
  border-color: #4f46e5;
  color: #4f46e5;
}

.cta .btn-secondary:hover {
  background: #4f46e5;
  color: #fff;
}

/* Footer */
footer {
  background: #1f2937;
  color: #d1d5db;
  padding: 16px;
  text-align: center;
  margin-top: 0;
}

footer p {
  margin-bottom: 8px;
}

footer a {
  color: #4f46e5;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  header > * {
    padding: 0 8px;
  }

  header a img {
    height: 35px;
  }

  header .logo {
    font-size: 16px;
  }

  .hamburger-menu {
    display: flex;
    padding: 4px;
  }

  .nav-menu {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 12px 8px;
    gap: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
    z-index: 999;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu a {
    display: block;
    padding: 8px 10px;
    font-size: 13px;
    text-align: left;
    width: 100%;
  }

  .nav-menu .btn {
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    font-size: 12px;
  }

  body {
    padding-top: 50px;
  }

  .hero {
    padding: 40px 12px;
    margin-top: 0;
  }

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

  .hero p {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .hero-buttons .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 13px;
  }

  .features,
  .benefits,
  .use-cases,
  .cta {
    padding: 30px 12px;
    margin: 20px auto;
  }

  .features h2,
  .benefits h2,
  .use-cases h2,
  .cta h2 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .feature-grid,
  .benefit-grid,
  .use-case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-item,
  .benefit-item,
  .use-case-item {
    padding: 16px;
  }

  footer {
    padding: 16px 12px;
    font-size: 12px;
  }

  footer p {
    margin-bottom: 8px;
  }
}

/* Header inline styles */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  padding: 0 40px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Hero inline styles */
.hero-features-list {
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: 15px;
  color: #555;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-features-list p {
  margin: 4px 0;
}

/* Footer inline styles */
.footer-kvk-text {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

/* How to Use Askra Section */
.how-to-use {
  padding: 80px 40px;
  background: #fff;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1200px;
}

.how-to-use .container {
  max-width: 100%;
  margin: 0 auto;
}

.how-to-use h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 48px;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.step {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
}

.step:hover {
  border-color: #4f46e5;
  background: #fff;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Snake flow effect - reverse every other row */
.step:nth-child(1) { order: 1; }
.step:nth-child(2) { order: 2; }
.step:nth-child(3) { order: 3; }
.step:nth-child(4) { order: 6; }
.step:nth-child(5) { order: 5; }
.step:nth-child(6) { order: 4; }
.step:nth-child(7) { order: 7; }
.step:nth-child(8) { order: 8; }
.step:nth-child(9) { order: 9; }

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  color: white;
  font-weight: 700;
  font-size: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 8px 0;
}

.step-content p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .how-to-use {
    padding: 40px 20px;
  }

  .how-to-use h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step {
    padding: 16px;
    gap: 16px;
  }

  .step-number {
    min-width: 45px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .step-content h3 {
    font-size: 16px;
  }

  .step-content p {
    font-size: 13px;
  }
}
