/* ===== Homepage Sections - KafeUp ===== */

/* --- Hero Section --- */
.hero-section {
  background: linear-gradient(135deg, #FDF5EF 0%, #fff8f2 50%, #f5ebe3 100%);
  padding-bottom: 0;
  overflow: hidden;
  position: relative;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,69,19,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.min-vh-hero {
  min-height: calc(100vh - 80px);
  padding-top: 100px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139,69,19,0.08);
  color: #8B4513;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5b6b79;
}
.hero-stat-item i {
  font-size: 18px;
}

/* --- Hero Mockup --- */
.hero-visual {
  position: relative;
  padding: 20px;
}
.hero-mockup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(139,69,19,0.12), 0 4px 16px rgba(0,0,0,0.04);
  overflow: hidden;
  border: 1px solid rgba(139,69,19,0.08);
}
.mockup-header {
  background: #f8f9fa;
  padding: 12px 16px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #eee;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
}
.mockup-dot:first-child { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #ffbd2e; }
.mockup-dot:nth-child(3) { background: #28c840; }
.mockup-body {
  display: flex;
  min-height: 280px;
}
.mockup-sidebar {
  width: 60px;
  background: #fafafa;
  padding: 16px 10px;
  border-right: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mockup-nav-item {
  height: 8px;
  background: #e8e8e8;
  border-radius: 4px;
}
.mockup-nav-item.active {
  background: #8B4513;
}
.mockup-content {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup-card {
  background: linear-gradient(135deg, #FDF5EF, #fff);
  border-radius: 8px;
  height: 50px;
  border: 1px solid #f0e6dc;
}
.mockup-card.small {
  height: 40px;
}
.mockup-card-row {
  display: flex;
  gap: 12px;
}
.mockup-card-row .mockup-card {
  flex: 1;
}
.mockup-chart {
  flex: 1;
  background: linear-gradient(180deg, rgba(139,69,19,0.05) 0%, rgba(139,69,19,0.02) 100%);
  border-radius: 8px;
  border: 1px solid #f0e6dc;
  min-height: 80px;
}

/* --- Section Badge --- */
.section-badge {
  display: inline-block;
  background: rgba(139,69,19,0.08);
  color: #8B4513;
  padding: 4px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* --- Feature Cards --- */
.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  border: 1px solid #f0ebe5;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,69,19,0.08);
  border-color: rgba(139,69,19,0.15);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--icon-color, #8B4513);
  background: var(--icon-bg, #FDF5EF);
}

/* --- Section Alt Background --- */
.section-alt {
  background: #faf7f4;
}

/* --- Step Cards (Nasıl Çalışır) --- */
.step-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  height: 100%;
  border: 1px solid #f0ebe5;
  position: relative;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139,69,19,0.08);
}
.step-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #8B4513, #A0522D);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(139,69,19,0.3);
}
.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FDF5EF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #8B4513;
  margin: 0 auto 20px;
}

/* --- Stats Section --- */
.stats-section {
  background: linear-gradient(135deg, #8B4513, #6F370F);
  padding: 60px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px 40px;
  flex: 1;
  min-width: 180px;
}
.stat-icon {
  font-size: 28px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.stat-value {
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.15);
}
@media (max-width: 767px) {
  .stat-divider { display: none; }
  .stat-item { min-width: 140px; padding: 16px 20px; }
  .stat-value { font-size: 30px; }
}

/* --- Visual Showcase (Neden KafeUp) --- */
.visual-showcase {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase-bg-shape {
  position: absolute;
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(139,69,19,0.06), rgba(255,140,66,0.06));
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.showcase-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  border: 1px solid #f0ebe5;
  z-index: 1;
  min-width: 200px;
}
.showcase-card i {
  font-size: 28px;
  color: #8B4513;
}
.showcase-card.card-1 {
  top: 20%;
  left: 5%;
  animation: float-card 6s ease-in-out infinite;
}
.showcase-card.card-2 {
  top: 45%;
  right: 5%;
  animation: float-card 6s ease-in-out infinite 1s;
}
.showcase-card.card-3 {
  bottom: 10%;
  left: 15%;
  animation: float-card 6s ease-in-out infinite 2s;
}
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- Why List --- */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #FDF5EF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #8B4513;
}

/* --- FAQ Accordion --- */
.faq-accordion .accordion-item {
  border: 1px solid #f0ebe5;
  border-radius: 12px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.faq-accordion .accordion-button {
  font-weight: 600;
  font-size: 15px;
  padding: 18px 24px;
  background: #fff;
  color: #1d2630;
  box-shadow: none !important;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: #FDF5EF;
  color: #8B4513;
}
.faq-accordion .accordion-button::after {
  background-size: 14px;
}
.faq-accordion .accordion-button i {
  font-size: 20px;
  opacity: 0.5;
}
.faq-accordion .accordion-body {
  padding: 16px 24px 20px;
  color: #5b6b79;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: #faf7f4;
}
.cta-card {
  background: linear-gradient(135deg, #8B4513, #6F370F);
  border-radius: 24px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}
.cta-btn {
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* --- Landing Footer --- */
.landing-footer {
  background: #1d2630;
  padding: 60px 0 0;
}
.landing-footer h6 {
  color: #fff;
  font-weight: 600;
}
.landing-footer p {
  color: #8a9bae;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links li a {
  color: #8a9bae;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links li a:hover {
  color: #fff;
}
.footer-links li i {
  color: #8B4513;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 13px;
}

/* --- Hero Gradient Text --- */
.hero-text-gradient {
  background: linear-gradient(135deg, #8B4513, #FF8C42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .min-vh-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
    text-align: center;
  }
  .min-vh-hero .text-start {
    text-align: center !important;
  }
  .min-vh-hero .d-flex {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .visual-showcase {
    min-height: 300px;
  }
  .showcase-card { position: relative; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; }
  .visual-showcase {
    flex-direction: column;
    gap: 12px;
  }
  .showcase-bg-shape { display: none; }
}
@media (max-width: 575px) {
  .hero-stats {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .cta-card {
    padding: 40px 24px;
  }
}
