/* =============================================
   PUMA Mikrokredi - Landing Page CSS
   ============================================= */

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
}

.nav-links a:hover { color: var(--primary); background: var(--primary-light); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 6px;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  background: linear-gradient(135deg, #F0F9FF 0%, #EFF6FF 40%, #F0FDFA 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  bottom: -100px;
  left: -100px;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--orange);
  top: 40%;
  left: 30%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(37,99,235,0.2);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-title .highlight-teal { color: var(--teal); }

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
}

.hero-card-main {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-card-title { font-size: 1rem; font-weight: 600; }
.hero-card-sub { font-size: 0.78rem; color: var(--text-muted); }

.hero-process {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-process-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-num.teal { background: var(--teal); }
.step-num.orange { background: var(--orange); }
.step-num.success { background: var(--success); }

.step-text { font-size: 0.82rem; color: var(--text-secondary); }
.step-text strong { color: var(--text); display: block; font-size: 0.85rem; }

.hero-float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 3;
}

.hero-float-1 {
  top: -20px;
  right: -20px;
  color: var(--success);
}

.hero-float-2 {
  bottom: -40px;
  left: -20px;
  color: var(--orange);
}

.float-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-icon-green { background: var(--success-light); color: var(--success); }
.float-icon-orange { background: var(--orange-light); color: var(--orange); }

/* ---- Section Commons ---- */
.section {
  padding: 80px 0;
}

.section-alt { background: var(--bg); }

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

.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- How It Works ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  opacity: 0.3;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.process-icon-1 { background: var(--primary-light); color: var(--primary); border: 2px solid var(--primary); }
.process-icon-2 { background: var(--teal-light); color: var(--teal); border: 2px solid var(--teal); }
.process-icon-3 { background: var(--orange-light); color: var(--orange); border: 2px solid var(--orange); }
.process-icon-4 { background: var(--success-light); color: var(--success); border: 2px solid var(--success); }

.process-step h4 { font-size: 0.95rem; margin-bottom: 8px; }
.process-step p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ---- Features ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}

.feature-card:hover { box-shadow: var(--shadow-md); }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon-blue   { background: var(--primary-light); color: var(--primary); }
.feature-icon-teal   { background: var(--teal-light); color: var(--teal); }
.feature-icon-orange { background: var(--orange-light); color: var(--orange); }
.feature-icon-green  { background: var(--success-light); color: var(--success); }
.feature-icon-info   { background: var(--info-light); color: var(--info); }
.feature-icon-warm   { background: #FFF7ED; color: #C2410C; }

.feature-card h3 { font-size: 1rem; margin-bottom: 10px; }
.feature-card p  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* ---- Stats Section ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 50%, var(--teal) 100%);
  padding: 60px 0;
}

.stats-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-section-item { color: #fff; }
.stat-section-value { font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stat-section-label { font-size: 0.9rem; opacity: 0.8; }

/* ---- Criteria ---- */
.criteria-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.criteria-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.criteria-card h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.criteria-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.criteria-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.criteria-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.criteria-item strong { color: var(--text); display: block; margin-bottom: 2px; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  font-family: var(--font);
  text-align: left;
  gap: 12px;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--bg); }

.faq-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.faq-item.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer { max-height: 400px; }

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

/* ---- Login CTA ---- */
.login-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #F0F9FF 0%, #EFF6FF 100%);
}

.login-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.login-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.login-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }

.login-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.login-card-icon-blue  { background: var(--primary-light); color: var(--primary); }
.login-card-icon-teal  { background: var(--teal-light); color: var(--teal); }
.login-card-icon-green { background: var(--success-light); color: var(--success); }

.login-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.login-card p  { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }

/* ---- Footer ---- */
.footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-puma { color: #fff; }
.footer-brand .logo-sub  { color: #64748B; }
.footer-brand p { font-size: 0.875rem; margin-top: 14px; line-height: 1.7; }

.footer-col h4 { color: #fff; font-size: 0.875rem; font-weight: 600; margin-bottom: 16px; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.85rem; color: #94A3B8; text-decoration: none; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ---- Mobile Nav (Drawer) ---- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
}

.mobile-nav.open { display: flex; }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.5);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.mobile-nav-panel {
  position: relative;
  background: #fff;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 1;
  box-shadow: 4px 0 32px rgba(0,0,0,0.15);
  animation: slideIn 0.28s cubic-bezier(0.16,1,0.3,1);
}

@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* Header */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.mobile-nav-logo { display: flex; align-items: center; text-decoration: none; }
.mobile-nav-logo-img { height: 38px; width: auto; object-fit: contain; }

.mobile-nav-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  cursor: pointer;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.mobile-nav-close:hover { background: #FEE2E2; color: #DC2626; border-color: #FECACA; }

/* Nav links */
.mobile-nav-links {
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
}

.mobile-nav-link:hover { background: var(--primary-light); color: var(--primary); }

.mnl-icon {
  width: 32px;
  height: 32px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all var(--transition);
}

.mobile-nav-link:hover .mnl-icon { background: var(--primary-light); color: var(--primary); }

/* Divider */
.mobile-nav-divider {
  height: 1px;
  background: var(--border-light);
  margin: 12px 20px;
}

/* Info badge */
.mobile-nav-info {
  padding: 0 12px;
}

.mni-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-light), #EFF6FF);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--primary);
}

/* CTA buttons */
.mobile-nav-actions {
  padding: 16px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}


/* ---- Faaliyet Türleri ---- */
.faaliyet-box {
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.faaliyet-box-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.faaliyet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.faaliyet-card {
  text-align: center;
  padding: 24px 16px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.faaliyet-card:hover { box-shadow: var(--shadow-md); }

.faaliyet-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.faaliyet-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.faaliyet-card p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.faaliyet-blue  { background: var(--primary-light); border-color: rgba(37,99,235,0.12); }
.faaliyet-blue  .faaliyet-icon { background: rgba(37,99,235,0.12); color: var(--primary); }
.faaliyet-blue  h4 { color: var(--primary); }

.faaliyet-teal  { background: var(--teal-light); border-color: rgba(13,148,136,0.12); }
.faaliyet-teal  .faaliyet-icon { background: rgba(13,148,136,0.12); color: var(--teal); }
.faaliyet-teal  h4 { color: var(--teal); }

.faaliyet-green { background: var(--success-light); border-color: rgba(5,150,105,0.12); }
.faaliyet-green .faaliyet-icon { background: rgba(5,150,105,0.12); color: var(--success); }
.faaliyet-green h4 { color: var(--success); }

.faaliyet-orange { background: var(--orange-light); border-color: rgba(234,88,12,0.12); }
.faaliyet-orange .faaliyet-icon { background: rgba(234,88,12,0.12); color: var(--orange); }
.faaliyet-orange h4 { color: var(--orange); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.4rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-section-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faaliyet-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-links { display: none; }
  .nav-actions .btn-outline { display: none; }
  .nav-toggle { display: flex; }
  .nav-container { height: 60px; padding: 0 16px; }
  .nav-logo-img { height: 40px; }

  /* Hero */
  .hero { padding-top: 60px; min-height: auto; overflow-x: hidden; }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 40px 20px 48px;
    max-width: 100%;
  }
  .hero-visual { display: none; }
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .hero-badge { font-size: 0.75rem; }
  .hero-stats { gap: 20px; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-title { font-size: 1.8rem; }
  .section-header-center { margin-bottom: 40px; }
  .container { padding: 0 16px; }

  /* Criteria & Login */
  .criteria-grid { grid-template-columns: 1fr; }
  .login-cards { grid-template-columns: 1fr; max-width: 420px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Faaliyet */
  .faaliyet-grid { grid-template-columns: repeat(2, 1fr); }
  .faaliyet-box { padding: 20px; }
}

@media (max-width: 480px) {
  /* Navbar */
  .nav-container { height: 56px; }
  .nav-logo-img { height: 34px; }

  /* Hero */
  .hero-title { font-size: 1.75rem; letter-spacing: -0.3px; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 20px; }
  .hero-stat-value { font-size: 1.4rem; }

  /* Sections */
  .section { padding: 44px 0; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: 0.9rem; }

  /* Grids */
  .features-grid { grid-template-columns: 1fr; }
  .stats-section-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .process-grid { grid-template-columns: 1fr; }
  .faaliyet-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .faaliyet-card { padding: 16px 10px; }
  .faaliyet-icon { width: 44px; height: 44px; border-radius: 10px; }

  /* Criteria */
  .criteria-card { padding: 20px; }
  .login-card { padding: 28px 20px; }

  /* Stats */
  .stat-section-value { font-size: 2rem; }

  /* Footer */
  .footer { padding: 44px 0 20px; }
}
