:root {
  --bg: #050816;
  --bg-alt: #070b1e;
  --bg-soft: rgba(15, 23, 42, 0.85);
  --border-subtle: rgba(148, 163, 184, 0.18);
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.12);
  --accent-strong: #4ade80;
  --accent-secondary: #3b82f6;
  --accent-secondary-soft: rgba(59, 130, 246, 0.12);
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --text-softer: #6b7280;
  --surface: rgba(15, 23, 42, 0.9);
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-soft: 0 22px 50px rgba(15, 23, 42, 0.75);
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 10% -20%, rgba(59, 130, 246, 0.32), transparent 60%),
    radial-gradient(circle at 90% 120%, rgba(34, 197, 94, 0.25), transparent 60%),
    radial-gradient(circle at -10% 110%, rgba(139, 92, 246, 0.18), transparent 55%),
    linear-gradient(135deg, #020617 0%, #020617 40%, #020617 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(6, 11, 25, 0.96), rgba(6, 11, 25, 0.85), transparent);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #22c55e, #0ea5e9 60%, #4f46e5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: white;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.7);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-soft);
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

.nav a {
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  gap: 8px;
}

/* Mobilde görünen sipariş sorgula butonu (masaüstünde nav'da zaten var) */
.btn-siparis-mobile {
  display: none;
}

/* Buttons */
.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.18s ease-out, border-color 0.18s ease-out, transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #0b1120;
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 45px rgba(34, 197, 94, 0.45);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(15, 23, 42, 0.9);
}

.btn-ghost {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.4);
  color: var(--text-soft);
}

.btn-ghost:hover {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 40px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-content h1 {
  font-size: 34px;
  line-height: 1.15;
  margin: 10px 0 12px;
}

.accent {
  background: linear-gradient(120deg, #22c55e, #0ea5e9);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 14px;
  color: var(--text-soft);
  max-width: 470px;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-metrics {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.metric {
  min-width: 110px;
}

.metric-value {
  display: block;
  font-size: 20px;
  font-weight: 600;
}

.metric-label {
  font-size: 12px;
  color: var(--text-soft);
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
}

/* Glass cards */
.glass {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(34, 197, 94, 0.18), transparent 55%),
              rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rating-card {
  padding: 18px 18px 14px;
}

.rating-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.rating-label {
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rating-value-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.rating-value {
  font-size: 26px;
  font-weight: 600;
}

.rating-stars {
  font-size: 14px;
  color: #fbbf24;
}

.rating-sub {
  font-size: 12px;
  color: var(--text-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid transparent;
}

.pill-success {
  background: rgba(22, 163, 74, 0.16);
  border-color: rgba(34, 197, 94, 0.7);
  color: #bbf7d0;
}

.pill-accent {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.8);
  color: #bfdbfe;
}

.rating-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-soft);
}

.bar {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  height: 7px;
  background: rgba(15, 23, 42, 0.6);
}

.fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
}

.fill-5 {
  width: 92%;
}

.fill-4 {
  width: 40%;
  opacity: 0.6;
}

.rating-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  font-size: 11px;
  color: var(--text-soft);
}

.timer-card {
  padding: 16px 16px 14px;
}

.timer-header h2 {
  margin: 8px 0 4px;
  font-size: 18px;
}

.timer-header p {
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

.timer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 12px;
}

.time-box {
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  padding: 8px 4px;
  text-align: center;
}

.time-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

.time-label {
  font-size: 11px;
  color: var(--text-soft);
}

/* Sections */
.section {
  padding: 40px 0 36px;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), transparent 55%);
  pointer-events: none;
}

.section-alt > .container {
  position: relative;
  z-index: 1;
}

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

.section-header h2 {
  font-size: 22px;
  margin: 6px 0 8px;
}

.section-header p {
  font-size: 13px;
  color: var(--text-soft);
}

.grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.packages-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.refs-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 6px;
}

.testimonials-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.18), transparent 55%),
              rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 15px;
  margin: 0 0 4px;
}

.card p {
  font-size: 12px;
  color: var(--text-soft);
  margin: 0 0 8px;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12px;
  color: var(--text-soft);
}

.card-list li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}

.card-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-strong);
}

.card-package {
  position: relative;
  overflow: hidden;
}

.card-package::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.3), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  pointer-events: none;
}

.card-package:hover::after {
  opacity: 1;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 10px;
  color: var(--text-soft);
  margin-bottom: 6px;
}

.card-featured {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.55);
}

.card-featured .card-badge {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(59, 130, 246, 0.9);
  color: #bfdbfe;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0;
}

.price-current {
  font-size: 18px;
  font-weight: 600;
}

.price-old {
  font-size: 12px;
  color: var(--text-softer);
  text-decoration: line-through;
}

.price-save {
  font-size: 11px;
  color: var(--accent-strong);
  margin: 0 0 8px;
}

.ref-badge {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  font-size: 12px;
  padding: 8px 12px;
  text-align: center;
}

.testimonial {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.2), transparent 55%),
              rgba(15, 23, 42, 0.96);
  padding: 14px;
  font-size: 12px;
  color: var(--text-soft);
}

.testimonial p {
  margin: 0 0 12px;
}

.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.name {
  font-size: 13px;
  color: var(--text);
}

.role {
  font-size: 11px;
  color: var(--text-softer);
}

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

details {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  padding: 10px 12px;
}

summary {
  list-style: none;
  cursor: pointer;
  font-size: 13px;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] {
  background: radial-gradient(circle at top left, rgba(22, 163, 74, 0.25), transparent 55%),
              rgba(15, 23, 42, 0.96);
}

details p {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-soft);
}

/* CTA */
.cta-section {
  padding-bottom: 46px;
}

.cta-inner {
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.35), transparent 60%),
              radial-gradient(circle at 100% 100%, rgba(34, 197, 94, 0.35), transparent 60%),
              rgba(15, 23, 42, 0.96);
  padding: 20px 22px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.cta-inner p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: center;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 20px 0 24px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 20px;
  font-size: 12px;
}

.footer-col h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 4px;
  color: var(--text-soft);
}

.footer-col a:hover {
  color: var(--accent-strong);
}

.footer-copy {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-softer);
}

/* WhatsApp floating widget */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.whatsapp-panel {
  max-width: 260px;
  border-radius: 18px;
  padding: 12px 12px 10px;
  background: radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.4), transparent 60%),
              rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(34, 197, 94, 0.7);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.95);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.whatsapp-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-header {
  margin-bottom: 8px;
}

.whatsapp-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
}

.whatsapp-sub {
  display: block;
  font-size: 11px;
  color: var(--text-soft);
}

.whatsapp-questions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.whatsapp-question {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 11px;
  padding: 6px 10px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease-out, border-color 0.15s ease-out, transform 0.08s ease-out;
}

.whatsapp-question:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.8);
  transform: translateY(-1px);
}

.whatsapp-button {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: radial-gradient(circle at 30% 0, #bbf7d0, #22c55e 40%, #16a34a 70%, #15803d 100%);
  box-shadow: 0 18px 45px rgba(22, 163, 74, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.whatsapp-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(22, 163, 74, 0.8);
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #ecfdf5;
  position: relative;
}

.whatsapp-icon::before,
.whatsapp-icon::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  border: 2px solid #ecfdf5;
}

.whatsapp-icon::before {
  inset: 5px 4px 7px 4px;
  border-top-color: transparent;
  border-right-color: transparent;
}

.whatsapp-icon::after {
  width: 8px;
  height: 8px;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: transparent;
  bottom: -1px;
  right: 2px;
  transform: rotate(18deg);
}

/* Fake order toast (sol alt bildirim) */
.fake-order-toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  max-width: 280px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0 0, rgba(34, 197, 94, 0.22), transparent 55%),
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(34, 197, 94, 0.55);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.9);
  font-size: 12px;
  color: var(--text);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}

.fake-order-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fake-order-hidden {
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.fake-order-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #bbf7d0, #22c55e 55%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.7);
}

.fake-order-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fake-order-text {
  font-size: 12px;
  color: var(--text);
}

.fake-order-time {
  font-size: 11px;
  color: var(--text-soft);
}

@media (max-width: 720px) {
  .fake-order-toast {
    left: 12px;
    right: 12px;
    bottom: 14px;
    max-width: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .services-grid,
  .packages-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
  }

  .btn-siparis-mobile {
    display: inline-flex;
  }

  .hero {
    padding-top: 26px;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .services-grid,
  .packages-grid,
  .refs-grid,
  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}
