/* ========================================
   Veresiye Defteri — Tanıtım Sayfası CSS
   Renk paleti uygulamayla uyumlu (#1E88E5)
   ======================================== */

:root {
  --primary: #1E88E5;
  --primary-dark: #1565C0;
  --primary-light: #E3F2FD;
  --secondary: #43A047;
  --danger: #E53935;
  --warning: #FFA726;
  --bg: #F5F7FA;
  --card: #ffffff;
  --text: #212121;
  --text-soft: #616161;
  --text-light: #9E9E9E;
  --border: #E0E0E0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
               'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

.logo-icon { font-size: 24px; }

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

.nav a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s;
}

.nav a:hover { color: var(--primary); }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--primary-dark); }

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============ HERO ============ */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 50%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-soft);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-large {
  padding: 16px 32px;
  font-size: 17px;
}

.hero-meta {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-soft);
  flex-wrap: wrap;
}

/* ============ PHONE MOCKUP ============ */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  background: #1a1a1a;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 4px;
}

.phone-screen {
  background: var(--bg);
  border-radius: 26px;
  padding: 28px 14px 14px;
  min-height: 520px;
  overflow: hidden;
}

.mock-header {
  background: var(--primary);
  color: #fff;
  padding: 14px;
  margin: -14px -14px 16px;
  font-weight: 600;
  text-align: center;
  font-size: 15px;
}

.mock-card {
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 12px;
  color: #fff;
}

.mock-balance {
  background: linear-gradient(135deg, var(--danger) 0%, #c62828 100%);
}

.mock-label { font-size: 12px; opacity: 0.85; }
.mock-amount {
  font-size: 26px;
  font-weight: 700;
  margin: 6px 0 4px;
}
.mock-sub { font-size: 11px; opacity: 0.75; }

.mock-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.mock-stat {
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.mock-stat-label {
  font-size: 10px;
  color: var(--text-soft);
}

.mock-stat-val {
  font-size: 16px;
  font-weight: 700;
  margin-top: 4px;
}

.mock-stat-red .mock-stat-val { color: var(--danger); }
.mock-stat-green .mock-stat-val { color: var(--secondary); }

.mock-card-small {
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}

.mock-customer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.mock-avatar-2 { background: #fff3e0; color: var(--warning); }

.mock-name { font-weight: 600; font-size: 13px; }
.mock-phone { font-size: 11px; color: var(--text-light); }

.mock-balance-tag {
  margin-left: auto;
  color: var(--danger);
  font-weight: 700;
  font-size: 14px;
}

/* ============ SECTIONS ============ */
section { padding: 80px 0; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.section-head p {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
}

/* ============ FEATURES ============ */
.features { background: #fff; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

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

.feature p {
  color: var(--text-soft);
  font-size: 14px;
}

/* ============ HOW ============ */
.how { background: var(--bg); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin: 0 auto 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p { color: var(--text-soft); font-size: 14px; }

/* ============ CTA ============ */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
  color: #fff;
}

.cta-inner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta .btn-primary {
  background: #fff;
  color: var(--primary);
}

.cta .btn-primary:hover {
  background: #f5f5f5;
}

.cta-note {
  font-size: 13px;
  margin-top: 16px;
  opacity: 0.7;
}

/* ============ FAQ ============ */
.faq { background: #fff; }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq details {
  background: var(--bg);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.faq details[open] {
  background: var(--primary-light);
}

.faq summary {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
}

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

.faq summary::after {
  content: '+';
  font-size: 22px;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  padding: 0 24px 18px;
  color: var(--text-soft);
  font-size: 15px;
}

/* ============ FOOTER ============ */
.footer {
  background: #1a1a1a;
  color: #aaa;
  padding-top: 56px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 320px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col a, .footer-col span {
  display: block;
  color: #aaa;
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 240px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0 40px; }
  .hero h1 { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .mobile-nav-toggle { display: flex; }
}

/* ============ PRIVACY PAGE ============ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.privacy-content h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.privacy-content .updated {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 32px;
}

.privacy-content h2 {
  font-size: 22px;
  margin: 32px 0 12px;
  color: var(--primary-dark);
}

.privacy-content p,
.privacy-content li {
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.7;
}

.privacy-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.privacy-content th {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

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

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 14px;
  margin-bottom: 24px;
}

.back-home:hover { color: var(--primary); }
