/* Dijital Doktoru - Bootstrap 5 Custom Theme (Dark) */
:root {
  --dd-primary: #6366f1;
  --dd-primary-hover: #4f46e5;
  --dd-bg: #020617;
  --dd-bg-card: #0f172a;
  --dd-bg-elevated: #1e293b;
  --dd-border: #1e293b;
  --dd-text: #f1f5f9;
  --dd-text-muted: #94a3b8;
}

body {
  background-color: var(--dd-bg);
  color: var(--dd-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--dd-primary); text-decoration: none; }
a:hover { color: #818cf8; }

/* Navbar */
.navbar-dd {
  background: transparent;
  transition: all .3s ease;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.navbar-dd.scrolled {
  background: rgba(15, 23, 42, .95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}
.navbar-dd .nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  font-size: .9rem;
  padding: .5rem .75rem !important;
  border-radius: .5rem;
}
.navbar-dd .nav-link:hover,
.navbar-dd .nav-link.active {
  color: #818cf8 !important;
  background: rgba(99, 102, 241, .1);
}
.navbar-brand { color: #fff !important; font-weight: 700; }
.navbar-brand span { color: #818cf8; }
.logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Buttons */
.btn-primary {
  background-color: var(--dd-primary);
  border-color: var(--dd-primary);
  border-radius: .75rem;
  font-weight: 500;
  padding: .6rem 1.25rem;
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--dd-primary-hover);
  border-color: var(--dd-primary-hover);
}
.btn-outline-light {
  border-radius: .75rem;
  font-weight: 500;
  border-color: rgba(255,255,255,.15);
  color: #fff;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

/* Cards */
.card-dd {
  background: var(--dd-bg-card);
  border: 1px solid #1e293b;
  border-radius: 1rem;
  transition: all .25s ease;
}
.card-dd:hover {
  border-color: rgba(99, 102, 241, .4);
  transform: translateY(-3px);
}
.card-dd .card-body { color: var(--dd-text); }
.icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(99, 102, 241, .12);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Hero */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(99,102,241,.15), transparent 50%);
  pointer-events: none;
}
.badge-soft {
  background: rgba(99, 102, 241, .12);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, .25);
  font-weight: 500;
  font-size: .8rem;
  padding: .35rem .75rem;
  border-radius: 50rem;
}

/* Sections */
.section-muted { background: rgba(15, 23, 42, .6); }
.gradient-text {
  background: linear-gradient(135deg, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dd-primary);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -12px; left: -12px;
  box-shadow: 0 4px 12px rgba(99,102,241,.4);
}

/* Stats */
.stat-card {
  background: rgba(15, 23, 42, .7);
  border: 1px solid #1e293b;
  border-radius: 1rem;
  padding: 2rem 1rem;
  text-align: center;
}
.stat-number { font-size: 2rem; font-weight: 700; color: #818cf8; }

/* Accordion (FAQ) */
.accordion-dd .accordion-item {
  background: var(--dd-bg-card);
  border: 1px solid #1e293b;
  border-radius: .75rem !important;
  margin-bottom: .5rem;
  overflow: hidden;
}
.accordion-dd .accordion-button {
  background: var(--dd-bg-card);
  color: var(--dd-text);
  font-weight: 500;
  box-shadow: none !important;
}
.accordion-dd .accordion-button:not(.collapsed) {
  background: var(--dd-bg-elevated);
  color: #a5b4fc;
}
.accordion-dd .accordion-button::after {
  filter: invert(1) brightness(2);
}
.accordion-dd .accordion-body {
  background: var(--dd-bg-card);
  color: var(--dd-text-muted);
  font-size: .9rem;
}

/* Forms */
.form-control, .form-select {
  background-color: #0f172a;
  border: 1px solid #334155;
  color: #f1f5f9;
  border-radius: .75rem;
  padding: .7rem 1rem;
}
.form-control:focus, .form-select:focus {
  background-color: #0f172a;
  border-color: var(--dd-primary);
  color: #f1f5f9;
  box-shadow: 0 0 0 .2rem rgba(99,102,241,.2);
}
.form-control::placeholder { color: #64748b; }
.form-label { color: #94a3b8; font-size: .875rem; }

/* Footer */
.footer-dd {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 4rem 0 2rem;
}
.footer-dd a { color: #94a3b8; }
.footer-dd a:hover { color: #818cf8; }
.footer-dd h6 { color: #fff; font-weight: 600; margin-bottom: 1rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: .5rem;
  background: #1e293b;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.social-btn:hover { background: var(--dd-primary); color: #fff; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #22c55e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(34,197,94,.4);
  z-index: 1040;
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(168,85,247,.08));
  border: 1px solid rgba(99,102,241,.2);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
}

/* Utilities */
.text-muted-dd { color: var(--dd-text-muted) !important; }
.bg-card { background: var(--dd-bg-card); }
.border-dd { border-color: #1e293b !important; }
.pt-navbar { padding-top: 6rem; }

@media (max-width: 991.98px) {
  .navbar-dd .navbar-collapse {
    background: #0f172a;
    margin-top: .5rem;
    padding: 1rem;
    border-radius: .75rem;
    border: 1px solid #1e293b;
  }
}
