/* =============================================
   Betnano — Ana Stil Dosyası
   Renk paleti, layout, bileşenler
   ============================================= */

/* --- Değişkenler --- */
:root {
  --clr-bg:        #0d1b2a;
  --clr-bg2:       #112030;
  --clr-bg3:       #0a1520;
  --clr-surface:   #162840;
  --clr-border:    #1e3a55;
  --clr-accent:    #f0b429;
  --clr-accent2:   #e09010;
  --clr-blue:      #2d6fc4;
  --clr-blue2:     #1a55a0;
  --clr-green:     #22c55e;
  --clr-text:      #e8edf3;
  --clr-muted:     #8899bb;
  --clr-white:     #ffffff;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 4px 24px rgba(0,0,0,0.35);
  --transition:    0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent2); }
ul { list-style: none; padding: 0; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  line-height: 1;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--clr-blue);
  color: var(--clr-white);
  border-color: var(--clr-blue);
}
.btn-primary:hover { background: var(--clr-blue2); border-color: var(--clr-blue2); color: var(--clr-white); }
.btn-accent {
  background: var(--clr-accent);
  color: #0d1b2a;
  border-color: var(--clr-accent);
}
.btn-accent:hover { background: var(--clr-accent2); border-color: var(--clr-accent2); color: #0d1b2a; }
.btn-outline {
  background: transparent;
  color: var(--clr-text);
  border-color: var(--clr-border);
}
.btn-outline:hover { border-color: var(--clr-accent); color: var(--clr-accent); }

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--clr-accent);
  letter-spacing: -0.02em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: var(--clr-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}
.main-nav a:hover { color: var(--clr-text); background: var(--clr-surface); }
.topbar-cta { flex-shrink: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  display: block;
  transition: background var(--transition);
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 80px 0;
}
.section-dark { background: var(--clr-bg2); }
.section-light { background: var(--clr-bg3); }
.section-accent {
  background: linear-gradient(135deg, #0d2240 0%, #1a3560 100%);
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 12px;
}
.section-header p { color: var(--clr-muted); font-size: 1rem; }

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, #0d1b2a 60%, #112030 100%);
  overflow: hidden;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content { display: flex; flex-direction: column; gap: 20px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.badge-live { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }
.badge-secure { background: rgba(34,197,94,0.12); color: #22c55e; border: 1px solid rgba(34,197,94,0.25); }
.badge-mobile { background: rgba(45,111,196,0.15); color: #60a5fa; border: 1px solid rgba(45,111,196,0.3); }
.hero-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--clr-white);
  line-height: 1.25;
}
.hero-lead { color: var(--clr-muted); font-size: 1.05rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--clr-text);
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.disclaimer {
  font-size: 0.82rem;
  color: var(--clr-muted);
  border-left: 3px solid var(--clr-border);
  padding-left: 12px;
}

/* =============================================
   FEATURES
   ============================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), border-color var(--transition);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--clr-blue); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--clr-white); margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--clr-muted); line-height: 1.65; }

/* =============================================
   STATS
   ============================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-box { padding: 24px 12px; }
.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.88rem; color: var(--clr-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* =============================================
   GUIDE
   ============================================= */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.guide-card h3 { font-size: 1rem; font-weight: 700; color: var(--clr-accent); margin-bottom: 10px; }
.guide-card p { color: var(--clr-muted); font-size: 0.9rem; margin-bottom: 14px; }
.guide-card ul li {
  position: relative;
  padding-left: 18px;
  color: var(--clr-text);
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.55;
}
.guide-card ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--clr-blue);
  font-size: 0.8rem;
  top: 2px;
}

/* =============================================
   ARTICLE
   ============================================= */
.article-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 48px 48px;
  max-width: 860px;
  margin: 0 auto;
}
.article-card h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 24px;
  line-height: 1.3;
}
.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-accent);
  margin: 28px 0 10px;
}
.article-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--clr-text);
  margin: 20px 0 8px;
}
.article-card p {
  color: var(--clr-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}
.article-card strong { color: var(--clr-text); }

/* =============================================
   FAQ
   ============================================= */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--clr-blue); }
.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--clr-accent);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
  padding: 0 20px 18px;
  color: var(--clr-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #08111c;
  border-top: 1px solid var(--clr-border);
  padding: 48px 0 24px;
}
.footer-layout {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}
.footer-brand .brand-name { font-size: 1.2rem; font-weight: 800; color: var(--clr-accent); }
.footer-brand p { font-size: 0.85rem; color: var(--clr-muted); line-height: 1.7; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: auto;
}
.footer-nav a { color: var(--clr-muted); font-size: 0.88rem; text-decoration: none; transition: color var(--transition); }
.footer-nav a:hover { color: var(--clr-text); }
.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: 20px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--clr-muted); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-layout { flex-direction: column; }
  .footer-nav { margin-left: 0; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .article-card { padding: 32px 24px; }
}

@media (max-width: 680px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13,27,42,0.98);
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--clr-border);
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 14px; font-size: 1rem; }
  .nav-toggle { display: flex; }
  .topbar-cta { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .hero { padding: 48px 0 40px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
}

@media (max-width: 420px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .article-card { padding: 24px 16px; }
}
