:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --text: #0d1b2a;
  --muted: #5f6b7a;
  --border: rgba(13, 27, 42, 0.1);
  --accent: #0d1b2a;
  --accent-soft: #dfe9f8;
  --shadow: 0 20px 45px rgba(13, 27, 42, 0.08);
}

body.dark {
  --bg: #07111d;
  --surface: #0f1725;
  --surface-2: #142338;
  --text: #f1f5f9;
  --muted: #b7c1ce;
  --border: rgba(255, 255, 255, 0.12);
  --accent: #dce9ff;
  --accent-soft: rgba(220, 233, 255, 0.12);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Yükleme ekranı */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: grid;
  place-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid var(--accent-soft);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scroll ilerleme */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #0d1b2a, #5f8fd8);
  z-index: 1000;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

body.dark .site-header {
  background: rgba(7, 17, 29, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: white;
  border-radius: 14px;
  font-size: 0.95rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.site-nav {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
}

.mobile-toggle,
.theme-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 1rem;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* Genel bölümler */
.section {
  padding: 7rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.15));
}

body.dark .section-alt {
  background: linear-gradient(180deg, rgba(20,35,56,0.45), rgba(20,35,56,0.1));
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #5f8fd8;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-intro p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 35px rgba(13, 27, 42, 0.15);
}

.btn-secondary {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--border);
}

.btn.full {
  width: 100%;
}

.hero-highlights {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-highlights div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  min-width: 120px;
  box-shadow: var(--shadow);
}

.hero-highlights strong {
  display: block;
  font-size: 0.95rem;
}

.hero-highlights span {
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-card {
  position: relative;
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.hero-badge {
  display: inline-flex;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-card svg {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: var(--muted);
}

.hero-card-footer a {
  font-weight: 700;
  color: var(--accent);
}

/* Hizmetler */
.services-grid,
.benefits-grid,
.stats-grid {
  display: grid;
  gap: 1.2rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.benefit-item,
.stat-card,
.faq-item,
.contact-card,
.form-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.service-card {
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.benefit-item:hover {
  transform: translateY(-8px);
}

.service-icon,
.benefit-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 14px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.service-card p,
.benefit-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Neden Biz */
.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-item {
  padding: 1.4rem;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-item {
  position: relative;
  padding: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.timeline-item span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* İstatistikler */
.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 1.4rem 1.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 140px;
}

.counter {
  display: none;
}

.stat-card p {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

/* Accordion */
.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  font: inherit;
  cursor: pointer;
  color: var(--text);
  text-align: left;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.4rem;
  color: var(--muted);
}

.faq-item.active .faq-answer {
  max-height: 140px;
  padding-bottom: 1.1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* İletişim */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}

.contact-card,
.form-card {
  padding: 1.6rem;
}

.contact-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.3rem 0 1.3rem;
}

.contact-list a,
.contact-list p {
  color: var(--muted);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  color: white;
  background: linear-gradient(90deg, #25d366, #128c7e);
  font-weight: 600;
}

.field-group {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field-group label {
  font-weight: 600;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: 2px solid rgba(95, 143, 216, 0.2);
  border-color: #5f8fd8;
}

.form-status {
  margin-top: 0.8rem;
  min-height: 1.2rem;
  color: #2e7d32;
  font-weight: 600;
}

.map-card {
  padding: 0.8rem;
}

.map-card iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  background: var(--accent);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr 0.7fr;
  gap: 1.2rem;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 0.8rem;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
}

.site-footer a:hover {
  color: white;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 800;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Reveal animasyon */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .services-grid,
  .benefits-grid,
  .timeline,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  .mobile-toggle,
  .theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .hero-grid,
  .contact-grid,
  .services-grid,
  .benefits-grid,
  .timeline,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .section {
    padding: 5rem 0;
  }
}
