/* ==========================================================================
   Coffer Drive — ortak stil dosyası
   Tüm .php sayfaları bu tek dosyayı kullanır.
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg:        #0A0B14;
  --bg-alt:    #0D0F1B;
  --surface:   #131526;
  --surface-2: #181B30;
  --border:    #1E2138;
  --border-2:  #2B2F4E;

  --text:        #F4F5F9;
  --text-dim:    #A2A6C4;
  --text-faint:  #6E7191;
  --text-ghost:  #4B4E6E;

  --accent:      #5B6EF5;
  --accent-ink:  #F5F6FF;
  --amber:       #D9A857;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Manrope', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease, color .15s ease, background .15s ease;
}
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--accent) 65%, transparent); }
.btn-ghost { background: transparent; border-color: var(--border-2); color: var(--text); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border-2)); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(10,11,20,0.8);
  border-bottom: 1px solid #1A1D33;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-icon { color: var(--accent); }
.brand-name { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }

.nav-links { display: flex; align-items: center; gap: 30px; flex: 1; justify-content: center; }
.nav-link { font-size: 14.5px; font-weight: 600; color: var(--text-dim); transition: color .15s ease; position: relative; padding: 6px 0; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--accent); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 38px; height: 38px; background: transparent; border: 1px solid var(--border-2); border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 1.6px; background: var(--text); margin: 0 auto; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-link { padding: 10px 0; width: 100%; }
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--accent); }
  .nav-cta { display: none; }
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid #14172A;
  background: var(--bg-alt);
}
.breadcrumb { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--accent); }
.page-header h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.page-header .lede { font-size: 16.5px; color: var(--text-dim); line-height: 1.65; max-width: 640px; margin: 0; }

/* ---------- Section basics ---------- */
.section { padding: 88px 0; border-top: 1px solid #14172A; }
.section-alt { background: var(--bg-alt); }
.section-tight { padding: 56px 0; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; color: var(--accent);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px;
}
.section-head { max-width: 600px; margin-bottom: 48px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.015em; margin: 0 0 14px; }
.section-head p { font-size: 15.5px; color: var(--text-dim); line-height: 1.6; margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 56px; overflow: hidden; }
.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-46%);
  width: 720px; height: 560px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 0%, transparent 68%);
  filter: blur(10px); pointer-events: none;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 100px; border: 1px solid var(--border-2);
  background: var(--surface); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-dim);
  margin-bottom: 26px;
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }

.hero-row { display: flex; gap: 56px; align-items: flex-start; position: relative; }
.hero-copy { flex: 1 1 480px; min-width: 300px; }
.hero-copy h1 { font-family: var(--font-display); font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 22px; }
.hero-copy p { font-size: 17px; line-height: 1.65; color: var(--text-dim); max-width: 480px; margin: 0 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-visual { flex: 1 1 380px; min-width: 300px; max-width: 420px; }
.status-card {
  border: 1px solid #232748; background: linear-gradient(180deg, #171A30 0%, #0F1120 100%);
  border-radius: var(--radius-lg); padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.status-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.status-head-left { display: flex; align-items: center; gap: 9px; }
.status-title { font-family: var(--font-mono); font-size: 13px; color: var(--text); }
.status-live { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.status-divider { height: 1px; background: #232748; margin: 0 0 18px; }
.status-storage { margin-bottom: 20px; }
.status-storage-row { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-dim); margin-bottom: 8px; }
.status-storage-row span:last-child { font-family: var(--font-mono); }
.status-bar { height: 7px; border-radius: 100px; background: #1C1F3A; overflow: hidden; }
.status-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--amber)); border-radius: 100px; }
.status-devices { display: flex; flex-direction: column; gap: 12px; }
.status-device { display: flex; align-items: center; justify-content: space-between; }
.status-device-left { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.status-device-dot { width: 6px; height: 6px; border-radius: 50%; }
.status-device-state { font-family: var(--font-mono); font-size: 11.5px; }
.status-foot { display: flex; align-items: center; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #232748; font-size: 12px; color: var(--text-faint); }

.trust-strip { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 64px; padding-top: 28px; border-top: 1px solid #171A30; }
.trust-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--text-dim); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-md); padding: 26px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border-2)); background: var(--surface-2); }
.card-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; color: var(--accent);
}
.card h3 { font-size: 16.5px; font-weight: 700; margin: 0 0 9px; }
.card p { font-size: 14px; line-height: 1.6; color: var(--text-dim); margin: 0; }

.feature-detail {
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 28px 0; border-top: 1px solid var(--border);
}
.feature-detail:first-child { border-top: none; padding-top: 0; }
.feature-detail-icon {
  width: 48px; height: 48px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 14%, transparent);
  display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0;
}
.feature-detail h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; font-family: var(--font-display); }
.feature-detail p { font-size: 15px; line-height: 1.7; color: var(--text-dim); margin: 0 0 12px; }
.feature-detail ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-dim); font-size: 14.5px; line-height: 1.8; }
.feature-detail li::marker { color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 24px; }
.step-marker { display: flex; flex-direction: column; align-items: center; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 14px; font-weight: 500; flex-shrink: 0;
}
.step-line { width: 1.5px; flex: 1; min-height: 44px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 55%, transparent), transparent); }
.step-body { padding-bottom: 40px; }
.step:last-child .step-body { padding-bottom: 0; }
.step-body h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.step-body p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; margin: 0; max-width: 560px; }
.step-body .step-note {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-faint);
  border: 1px dashed var(--border-2); border-radius: 8px; padding: 8px 12px;
}

/* ---------- Platforms ---------- */
.platform-card { display: flex; flex-direction: column; gap: 16px; }
.platform-head { display: flex; align-items: center; justify-content: space-between; }
.platform-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--border);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 15px;
}
.badge { font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 100px; font-family: var(--font-mono); }
.badge-live { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.badge-soon { background: rgba(245,166,35,0.12); color: var(--amber); }
.platform-specs { list-style: none; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-dim); display: flex; flex-direction: column; gap: 6px; }
.platform-specs li span { color: var(--text-faint); }

/* ---------- Security band ---------- */
.security-item { display: flex; gap: 16px; }
.security-item svg { flex-shrink: 0; color: var(--accent); }
.security-item h3 { font-size: 15.5px; font-weight: 700; margin: 0 0 6px; }
.security-item p { font-size: 13.5px; color: var(--text-dim); line-height: 1.6; margin: 0; }

.flow-diagram { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 32px 0; }
.flow-node {
  border: 1px solid var(--border-2); background: var(--surface); border-radius: var(--radius-md);
  padding: 16px 20px; font-family: var(--font-mono); font-size: 13px; color: var(--text); flex: 1 1 180px; text-align: center;
}
.flow-node small { display: block; color: var(--text-faint); font-family: var(--font-body); font-size: 12px; margin-top: 4px; }
.flow-arrow { color: var(--text-faint); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); background: var(--surface); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 18px; color: var(--accent); flex-shrink: 0; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: color-mix(in srgb, var(--accent) 35%, var(--border)); }
.faq-answer { padding: 0 22px 20px; font-size: 14.5px; color: var(--text-dim); line-height: 1.7; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-dim); margin-bottom: 8px; }
.form-field input, .form-field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  padding: 13px 14px; color: var(--text); font-family: var(--font-body); font-size: 14.5px;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--text-faint); margin-top: 10px; }
.alert { border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; margin-bottom: 22px; border: 1px solid transparent; }
.alert-success { background: color-mix(in srgb, var(--accent) 14%, transparent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--accent); }
.alert-error { background: rgba(255,107,107,0.1); border-color: rgba(255,107,107,0.35); color: #FF8A8A; }

.contact-side .card { margin-bottom: 16px; }
.contact-side .card:last-child { margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 96px 0; text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 18px; }
.final-cta p { font-size: 16px; color: var(--text-dim); margin: 0 0 34px; max-width: 460px; margin-inline: auto; }
.final-cta .btn-primary:hover { box-shadow: 0 16px 40px -14px color-mix(in srgb, var(--accent) 55%, transparent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #14172A; padding: 56px 0 0; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-tagline { font-size: 13.5px; color: var(--text-faint); line-height: 1.6; margin: 14px 0 0; max-width: 260px; }
.footer-col-title { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13.5px; color: var(--text-dim); padding: 6px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding: 20px 0; border-top: 1px solid #14172A; font-size: 12.5px; color: var(--text-ghost);
}
.footer-domain { font-family: var(--font-mono); }

/* ---------- Simple page (404 vs.) ---------- */
.simple-page { padding: 120px 0; text-align: center; }
.simple-page h1 { font-family: var(--font-display); font-size: clamp(32px, 6vw, 64px); margin: 0 0 16px; }
.simple-page p { color: var(--text-dim); font-size: 16px; margin: 0 0 30px; }
