/* ═══════════════════════════════════════════════════════════════
   DDE Hosting — site.css
   ═══════════════════════════════════════════════════════════════ */

:root {
  --dde-primary:    #0f2f6e;   /* koyu lacivert */
  --dde-blue:       #1565c0;   /* orta mavi     */
  --dde-accent:     #f57c00;   /* turuncu CTA   */
  --dde-accent-h:   #e65100;   /* turuncu hover */
  --dde-dark:       #0a1929;   /* çok koyu      */
  --dde-light:      #f3f6fb;   /* açık arka plan*/
  --dde-border:     #dde3ed;
  --dde-text:       #1e293b;
  --dde-muted:      #64748b;
}

/* ── Reset / Base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { position: relative; min-height: 100%; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  color: var(--dde-text);
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

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

/* ── Navbar ───────────────────────────────────────────────────── */
.navbar-dde {
  background: var(--dde-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  padding: .55rem 0;
  z-index: 1030;
}

.navbar-dde .navbar-brand {
  padding: 2px 0;
  line-height: 1;
}

/* Nav links */
.navbar-dde .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
  font-size: .93rem;
  padding: .45rem 1rem !important;
  border-radius: 5px;
  transition: color .18s, background .18s;
  letter-spacing: .01em;
}

.navbar-dde .nav-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.1);
}

.navbar-dde .nav-link.active {
  color: var(--dde-accent) !important;
  background: rgba(245,124,0,.12);
}

/* Hamburger */
.navbar-dde .navbar-toggler {
  border: 1px solid rgba(255,255,255,.3);
  padding: .3rem .55rem;
}
.navbar-dde .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c.9%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Lang switcher */
.lang-switch { margin-left: .5rem; }
.lang-switch .nav-link {
  font-size: .78rem !important;
  padding: .2rem .55rem !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  border-radius: 4px !important;
  margin-left: 3px;
  background: transparent !important;
  color: rgba(255,255,255,.65) !important;
}
.lang-switch .nav-link:hover,
.lang-switch .nav-link.lang-active {
  color: #fff !important;
  border-color: rgba(255,255,255,.75) !important;
  background: rgba(255,255,255,.12) !important;
}

/* ── Hero Section ─────────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, var(--dde-dark) 0%, var(--dde-primary) 55%, var(--dde-blue) 100%);
  color: #fff;
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-section h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
  position: relative;
}

.hero-section .lead {
  opacity: .88;
  font-size: clamp(.95rem, 2vw, 1.2rem);
  position: relative;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn-buy {
  background: linear-gradient(135deg, var(--dde-accent) 0%, var(--dde-accent-h) 100%);
  color: #fff;
  border: none;
  padding: 11px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: .02em;
  transition: all .22s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245,124,0,.30);
}

.btn-buy:hover {
  background: linear-gradient(135deg, var(--dde-accent-h) 0%, var(--dde-accent) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,124,0,.45);
  text-decoration: none;
}

.btn-dde-primary {
  background: var(--dde-primary);
  color: #fff;
  border: none;
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s, transform .15s;
  text-decoration: none;
}

.btn-dde-primary:hover {
  background: var(--dde-blue);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Section helpers ──────────────────────────────────────────── */
.bg-dde-light { background: var(--dde-light); }

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--dde-primary);
  text-align: center;
  margin-bottom: .4rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: var(--dde-accent);
  border-radius: 2px;
  margin: 10px auto 0;
}

.section-subtitle {
  color: var(--dde-muted);
  text-align: center;
  font-size: .97rem;
}

/* ── Feature/Why cards (homepage icons) ───────────────────────── */
.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px;
  box-shadow: 0 2px 16px rgba(15,47,110,.07);
  border: 1px solid var(--dde-border);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  text-align: center;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(15,47,110,.13);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--dde-primary), var(--dde-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 18px;
}

.why-card h5 {
  font-weight: 700;
  color: var(--dde-primary);
  margin-bottom: .5rem;
  font-size: 1.05rem;
}

.why-card p {
  color: var(--dde-muted);
  font-size: .9rem;
  margin: 0;
  line-height: 1.55;
}

/* ── Package Cards ────────────────────────────────────────────── */
.pkg-card {
  border: 1px solid var(--dde-border);
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(15,47,110,.07);
  transition: transform .28s, box-shadow .28s;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.pkg-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 36px rgba(15,47,110,.16);
  border-color: var(--dde-blue);
}

.pkg-card .card-header {
  background: linear-gradient(135deg, var(--dde-primary) 0%, var(--dde-blue) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 22px;
  border: none;
  letter-spacing: .02em;
}

.pkg-card .card-body {
  flex: 1;
  padding: 22px;
}

.pkg-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dde-primary);
  line-height: 1;
  letter-spacing: -.01em;
}

.pkg-price-unit {
  font-size: .88rem;
  color: var(--dde-muted);
  margin-bottom: 2px;
}

.pkg-try {
  font-size: .82rem;
  color: var(--dde-muted);
  margin-top: 6px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--dde-border);
  font-size: .88rem;
  color: var(--dde-text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.feature-list li:last-child { border-bottom: none; }

.feature-list li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 800;
  flex-shrink: 0;
  font-size: .9rem;
  margin-top: 1px;
}

/* Nav pills for monthly/yearly tabs */
.nav-pills .nav-link { font-size: .8rem; padding: .3rem .7rem; color: var(--dde-muted); border: 1px solid var(--dde-border); }
.nav-pills .nav-link.active { background: var(--dde-primary); color: #fff; border-color: var(--dde-primary); }

/* ── Purchase / Forms ─────────────────────────────────────────── */
.captcha-box {
  background: var(--dde-light);
  border: 2px solid var(--dde-border);
  border-radius: 10px;
  padding: 20px 24px;
}

.captcha-question {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dde-primary);
  letter-spacing: 6px;
  font-family: 'Courier New', monospace;
  background: #fff;
  border: 2px dashed var(--dde-border);
  display: inline-block;
  padding: 8px 22px;
  border-radius: 8px;
  user-select: none;
}

.form-control:focus, .form-select:focus {
  border-color: var(--dde-blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,.15);
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer-dde {
  background: var(--dde-dark);
  color: rgba(255,255,255,.65);
  padding: 52px 0 0;
}

.footer-dde h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .78rem;
}

.footer-dde a {
  color: rgba(255,255,255,.58);
  text-decoration: none;
  font-size: .88rem;
  transition: color .18s;
}

.footer-dde a:hover {
  color: var(--dde-accent);
  text-decoration: none;
}

.footer-dde .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  margin-top: 40px;
  font-size: .8rem;
  color: rgba(255,255,255,.38);
}

/* ── Admin Panel ──────────────────────────────────────────────── */
.admin-wrapper { display: flex; min-height: 100vh; }

.admin-sidebar {
  background: var(--dde-dark);
  width: 240px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.admin-brand {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.admin-brand h6 {
  color: #fff;
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
}

.admin-nav-link {
  color: rgba(255,255,255,.68);
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border-left: 3px solid transparent;
  font-size: .9rem;
  transition: all .18s;
}

.admin-nav-link:hover,
.admin-nav-link.active {
  color: #fff;
  background: rgba(255,255,255,.08);
  border-left-color: var(--dde-accent);
}

.admin-content {
  flex: 1;
  background: #f1f5f9;
  padding: 28px 32px;
  overflow-x: auto;
}

.admin-topbar {
  background: #fff;
  padding: 11px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--dde-border);
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}

.dde-table { width: 100%; border-collapse: collapse; }

.dde-table th {
  background: var(--dde-primary);
  color: #fff;
  padding: 10px 14px;
  font-weight: 600;
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.dde-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--dde-border);
  font-size: .89rem;
  vertical-align: middle;
  background: #fff;
}

.dde-table tr:last-child td { border-bottom: none; }
.dde-table tr:hover td { background: var(--dde-light); }

/* ── Utilities ────────────────────────────────────────────────── */
.text-accent { color: var(--dde-accent); }
.text-primary-dde { color: var(--dde-primary); }

/* ── Focus rings ─────────────────────────────────────────────── */
.btn:focus-visible { outline: 3px solid rgba(21,101,192,.5); outline-offset: 2px; }

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section { padding: 54px 0 44px; }
  .admin-wrapper { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-content { padding: 16px; }
  .pkg-price { font-size: 1.9rem; }
  .why-card { padding: 22px 16px; }
}
