/* ══════════════════════════════════════════════════════════════════
   ROTANAK — Tanıtım Sitesi
   Renk paleti ve tipografi, masaüstü uygulamasının Theme.xaml'i ile
   birebir eşleşir (koyu lacivert + mavi accent, Segoe UI, kare köşe).
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg-base:        #1A2133;
  --bg-header:      #1E2736;
  --bg-panel:       #202A3C;
  --bg-panel-alt:   #252F43;

  --stroke:         rgba(255,255,255,.09);
  --stroke-strong:  rgba(255,255,255,.16);

  --accent:         #2563EB;
  --accent-hover:   #1E4FC9;
  --accent-light:   #60A5FA;
  --accent-soft:    rgba(37,99,235,.15);

  --text-primary:   #F0F6FC;
  --text-secondary: #C9D1D9;
  --text-muted:     #8B949E;

  --warning:        #FBBF24;

  --font: "Segoe UI", "Segoe UI Variable", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ── Rota çizgisi arkaplanı ──────────────────────────────────────── */
.route-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4000px;
  z-index: 0;
  pointer-events: none;
}
.route-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 10 14;
  opacity: .16;
  stroke-linecap: round;
  animation: dash-flow 60s linear infinite;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -1000; }
}

/* ── Butonlar ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: 13px; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease;
}
.nav.scrolled {
  background: rgba(26,33,51,.88);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--stroke);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; object-fit: contain; }
.brand-mark-sm { width: 26px; height: 26px; }
.brand-word { font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.brand-word em { font-style: normal; font-weight: 400; color: var(--text-muted); margin-left: 4px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--text-primary); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding: 96px 0 120px; position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.hero-copy h1 {
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.accent-text { color: var(--accent-light); }
.lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
}
.trust-line { font-size: 13px; color: var(--text-muted); }

.hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}
.wheel-img {
  width: 320px;
  animation: spin-slow 90s linear infinite;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.5));
  position: relative;
  z-index: 1;
}
.wheel-glow {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  z-index: 0;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Bölüm ortak ─────────────────────────────────────────────────── */
.section { padding: 110px 0; position: relative; }
.section-alt {
  background: var(--bg-header);
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
}
.section-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.section h2 {
  font-size: 40px;
  max-width: 620px;
  margin-bottom: 56px;
}

/* ── Neden Rotanak ───────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
}
.why-card {
  background: var(--bg-base);
  padding: 32px 28px;
}
.why-index {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.why-card h3 { font-size: 18px; margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--text-secondary); }

/* ── Özellikler ──────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-panel);
  border: 1px solid var(--stroke);
  padding: 28px;
  transition: border-color .15s ease, transform .15s ease;
}
.feature-card:hover { border-color: var(--stroke-strong); transform: translateY(-2px); }
.feature-icon {
  width: 40px; height: 40px;
  margin-bottom: 20px;
  background: var(--accent-soft);
  border: 1px solid var(--stroke-strong);
  position: relative;
}
.feature-icon::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
  background: var(--accent-light);
}
.feature-icon[data-icon="sefer"]::before     { clip-path: polygon(0 40%,70% 40%,70% 0,100% 50%,70% 100%,70% 60%,0 60%); }
.feature-icon[data-icon="irsaliye"]::before  { clip-path: polygon(0 0,100% 0,100% 100%,0 100%); width:14px; height:18px; }
.feature-icon[data-icon="uetds"]::before     { border-radius: 50%; width: 16px; height: 16px; background: transparent; border: 2px solid var(--accent-light); }
.feature-icon[data-icon="rol"]::before       { clip-path: polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%); }
.feature-icon[data-icon="toplu"]::before     { width:16px; height:3px; box-shadow: 0 -7px 0 var(--accent-light), 0 7px 0 var(--accent-light); }
.feature-icon[data-icon="tehlike"]::before   { clip-path: polygon(50% 0,0 100%,100% 100%); width:18px; height:16px; background: var(--warning); }
.feature-icon[data-icon="hatirlatma"]::before{ width:13px; height:13px; transform: translate(-50%, -50%) rotate(45deg); }
.feature-icon[data-icon="excel"]::before     { width:6px; height:6px; box-shadow: 9px 0 0 var(--accent-light), 0 9px 0 var(--accent-light), 9px 9px 0 var(--accent-light); }
.feature-icon[data-icon="guncelleme"]::before{ clip-path: polygon(50% 0%,100% 50%,75% 50%,75% 100%,25% 100%,25% 50%,0% 50%); width:16px; height:16px; }
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13px; color: var(--text-secondary); }

/* ── U-ETDS bilgilendirme ────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.info-text p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.info-text strong { color: var(--text-primary); font-weight: 600; }
.info-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
}
.info-tags li {
  font-size: 13px;
  color: var(--accent-light);
  background: var(--accent-soft);
  border: 1px solid var(--stroke-strong);
  padding: 8px 14px;
}

/* ── Ekran görüntüleri ───────────────────────────────────────────── */
.shots {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 20px;
}
.shot-frame {
  background: var(--bg-panel);
  border: 1px solid var(--stroke-strong);
  overflow: hidden;
}
.shot-1 { grid-row: span 2; }
.shot-chrome {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-header);
  border-bottom: 1px solid var(--stroke);
}
.shot-chrome span { width: 8px; height: 8px; background: var(--stroke-strong); }
.shot-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 2px, transparent 2px 12px);
}
.shot-1 .shot-placeholder { aspect-ratio: auto; height: 100%; }
.shot-placeholder p { font-weight: 600; color: var(--text-secondary); }
.shot-placeholder small { font-size: 12px; color: var(--text-muted); }

/* ── Fiyatlar ────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.price-card {
  background: var(--bg-base);
  border: 1px solid var(--stroke-strong);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: border-color .15s ease;
}
.price-card-highlight { border-color: var(--accent); }
.price-card-header {
  padding: 14px 12px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--stroke-strong);
  text-align: center;
}
.price-card-header h3 { font-size: 14px; color: var(--accent-light); }
.price-card-body {
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.price-card .price { font-size: 22px; font-weight: 600; color: var(--text-primary); margin-bottom: 20px; white-space: nowrap; }
.price-card .price span { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.price-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  width: 100%;
  flex: 1;
}
.price-features li {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  padding: 9px 0;
  border-top: 1px solid var(--stroke);
}
.price-cta { width: 100%; justify-content: center; }
.price-note { font-size: 13px; color: var(--text-muted); max-width: 640px; line-height: 1.8; }

/* ── İletişim ────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.contact-info p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 380px;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-light);
  border-bottom: 1px solid var(--stroke-strong);
  padding-bottom: 4px;
}
.contact-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.contact-icon-mail {
  border: 2px solid currentColor;
  border-radius: 2px;
}
.contact-icon-mail::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(205deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)) top left / 100% 55% no-repeat,
    linear-gradient(155deg, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px)) top right / 100% 55% no-repeat;
}
.contact-icon-phone {
  border-radius: 50% 50% 50% 4px;
  border: 2px solid currentColor;
  transform: rotate(-45deg);
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  background: var(--bg-panel);
  border: 1px solid var(--stroke-strong);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 0;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form button { align-self: flex-start; }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ── Scroll reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mark { height: 260px; order: -1; }
  .wheel-img { width: 200px; }
  .hero-copy h1 { font-size: 42px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr; }
  .shot-1 { grid-row: auto; }
  .info-grid { grid-template-columns: 1fr; gap: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .section h2 { font-size: 30px; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 20px; }
}
@media (max-width: 420px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
