/* Dev3 Design — paylaşılan dark theme */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-hover: #1c1c1c;
  --border: #262626;
  --border-hover: #3a3a3a;
  --text: #e8e8e8;
  --text-muted: #909090;
  --text-soft: #c0c0c0;
  --text-dim: #555;
  --accent: #d4a017;
  --accent-bright: #f4c430;
  --accent-hover: #e0b020;
  --accent-soft: rgba(212, 160, 23, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover { color: var(--accent-bright); }
.brand .dot { color: var(--accent); }

.site-header nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}

.site-header nav a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 100px;
  background: var(--accent-soft);
}

.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}

.hero h1 .accent { color: var(--accent-bright); }

.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 72px;
  padding: 28px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
}

.stat { text-align: center; }

.stat-value {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 700;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-value span {
  font-size: 0.55em;
  color: var(--accent);
  margin-left: 2px;
  font-weight: 600;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Section headers (shared) ---------- */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head .eyebrow { margin-bottom: 14px; }

.section-head h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text);
}

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- Apps grid ---------- */
.apps { padding: 80px 0 80px; }

.apps h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.app-card.placeholder {
  cursor: default;
  opacity: 0.7;
}

.app-card.placeholder:hover {
  transform: none;
  border-color: var(--border);
  background: var(--bg-elevated);
}

.app-card.placeholder .icon {
  background: linear-gradient(135deg, #181818, #222);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 18px;
}

.app-card {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}

.app-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
  transform: translateY(-2px);
}

.app-card .icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a1f00, #4a3600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-card .info { flex: 1; min-width: 0; }

.app-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.app-card .tagline {
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 500;
}

.app-card .desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.app-card .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag.accent {
  border-color: rgba(212, 160, 23, 0.4);
  color: var(--accent);
  background: var(--accent-soft);
}

/* ---------- App detail hero ---------- */
.app-hero {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 60px 0 36px;
  flex-wrap: wrap;
}

.app-hero .icon-large {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  flex: 0 0 120px;
  background: linear-gradient(135deg, #2a1f00, #4a3600);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-hero .info { flex: 1; min-width: 280px; }

.app-hero h1 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.15;
}

.app-hero .tagline {
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 18px;
}

.app-hero .desc {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 620px;
}

.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #1a1100;
}

.btn-primary:hover { background: var(--accent-bright); }

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--bg-hover);
}

/* ---------- Feature grid (uygulama detayında) ---------- */
.features {
  padding: 30px 0 60px;
}

.features h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.feature {
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.feature p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Content pages (privacy, data safety) ---------- */
.page { padding: 50px 0 90px; }

.page-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { color: var(--text-dim); margin: 0 8px; }

.page-header h1 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.2;
}

.page-header .subtitle {
  color: var(--text-muted);
  font-size: 16px;
}

.page-header .meta {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 14px;
}

.content {
  max-width: 760px;
}

.content h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 42px 0 14px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.content h2:first-child { margin-top: 0; }

.content h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}

.content p {
  color: var(--text-soft);
  margin-bottom: 14px;
  font-size: 15.5px;
}

.content ul,
.content ol {
  color: var(--text-soft);
  margin: 0 0 16px 22px;
  font-size: 15.5px;
}

.content li {
  margin-bottom: 7px;
  padding-left: 4px;
}

.content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(212, 160, 23, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}

.content a:hover { text-decoration-color: var(--accent); }

.content strong {
  color: var(--text);
  font-weight: 600;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14.5px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.content th,
.content td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.content th {
  color: var(--text);
  font-weight: 600;
  background: var(--bg-elevated);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.content tr:last-child td { border-bottom: none; }

.content td { color: var(--text-soft); }

.note {
  background: var(--bg-elevated);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin: 18px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
  font-size: 14.5px;
}

.note strong { color: var(--accent-bright); }

/* ---------- Approach / Principles ---------- */
.approach {
  padding: 60px 0 80px;
  border-top: 1px solid var(--border);
  position: relative;
}

.approach::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 240px;
  background: radial-gradient(ellipse at top, rgba(212, 160, 23, 0.06), transparent 70%);
  pointer-events: none;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  position: relative;
}

.principle {
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.principle:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.principle-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(212, 160, 23, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.principle h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.principle p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- Showcase (Bilge Petek phone mockup) ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.showcase-text .eyebrow { margin-bottom: 14px; }

.showcase-text h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.showcase-text > p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 22px;
  max-width: 520px;
}

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

.bullet-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: var(--text-soft);
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

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

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
}

.phone-mockup {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse at center, rgba(212, 160, 23, 0.15), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.phone-mockup svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
}

/* ---------- Feature icons ---------- */
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid rgba(212, 160, 23, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---------- How to play (numbered steps) ---------- */
.howto {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  padding: 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.step-num {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

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

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover { border-color: var(--border-hover); }

.faq-item[open] { border-color: rgba(212, 160, 23, 0.3); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .chev {
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.faq-item[open] summary .chev {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-item p {
  padding: 0 20px 18px;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.faq-item a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(212, 160, 23, 0.4);
  text-underline-offset: 3px;
}

.faq-item a:hover { text-decoration-color: var(--accent); }

/* ---------- CTA section ---------- */
.cta-section {
  padding: 60px 0 80px;
}

.cta-box {
  position: relative;
  padding: 56px 40px;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, #1a1500 100%);
  border: 1px solid rgba(212, 160, 23, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(244, 196, 48, 0.12), transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 14px 0 14px;
}

.cta-content p {
  color: var(--text-soft);
  font-size: 16px;
  margin-bottom: 26px;
}

.cta-content .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  margin-top: 0;
}

.footer-brand .brand {
  margin-bottom: 12px;
  display: inline-flex;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 36px;
}

.site-footer h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  line-height: 1.7;
}

.site-footer a:hover { color: var(--text); }

.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 6px; }

.copyright {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 20px;
  }
  .showcase-text { text-align: center; }
  .showcase-text > p { margin-left: auto; margin-right: auto; }
  .bullet-list { display: inline-block; text-align: left; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .site-header { padding: 14px 0; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 13px; }
  .hero { padding: 60px 0 40px; }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
    padding: 22px 16px;
    margin-top: 48px;
  }
  .apps { padding: 50px 0 60px; }
  .app-card { padding: 18px; gap: 14px; }
  .app-card .icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; }
  .approach { padding: 50px 0 60px; }
  .section-head { margin-bottom: 28px; }
  .cta-section { padding: 40px 0 60px; }
  .cta-box { padding: 36px 22px; }
  .app-hero { padding: 36px 0 24px; gap: 20px; }
  .app-hero .icon-large { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 20px; }
  .howto, .faq { padding: 50px 0 30px; }
  .page { padding: 30px 0 60px; }
  .page-header { margin-bottom: 24px; padding-bottom: 20px; }
  .content table { font-size: 13px; }
  .content th, .content td { padding: 10px; }
}
