/* =============================================
   TodoZap Website — Design System (custom.css)
   ============================================= */

/* ── 1. CSS Variables ───────────────────────── */
:root {
  --primary:        #0B79D0;
  --primary-hover:  #0960A8;
  --primary-light:  #e8f3ff;
  --dark:           #0f172a;
  --muted:          #64748b;
  --bg:             #f8fafc;
  --white:          #ffffff;
  --border:         #e2e8f0;
  --hero-from:      #050e1d;
  --hero-to:        #0B79D0;
  --radius:         14px;
  --radius-lg:      22px;
  --radius-xl:      28px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:      0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:      0 12px 40px rgba(0,0,0,.12);
  --shadow-primary: 0 8px 24px rgba(11,121,208,.3);
}

/* ── 2. Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #ffffff;
  color: var(--dark);
  margin: 0;
}
a { text-decoration: none; color: inherit; }

/* ── 3. Gradients & Backgrounds ─────────────── */
.hero-bg {
  background: linear-gradient(150deg, #050e1d 0%, #091a34 45%, #0B79D0 120%);
}
.section-gray { background: #f8fafc; }
.section-white { background: #ffffff; }

/* ── 4. Navigation ──────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.on-dark {
  background: rgba(5, 14, 29, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255,255,255,.08);
}
.navbar.on-dark .nav-link { color: rgba(255,255,255,.75); }
.navbar.on-dark .nav-link:hover { color: #fff; }
.navbar.on-dark .nav-logo-text { color: #fff; }
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  border-color: var(--border);
}
.navbar.scrolled .nav-link { color: var(--muted); }
.navbar.scrolled .nav-link:hover { color: var(--dark); }
.navbar.scrolled .nav-logo-text { color: var(--primary); }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, box-shadow 0.15s, transform 0.15s;
}
.nav-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}
.navbar .nav-panel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
/* Koyu hero üzerinde: şeffaf cam efekti */
.navbar.on-dark .nav-panel {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.navbar.on-dark .nav-panel:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}
/* Beyaz navbar: dolu mavi buton */
.navbar.scrolled .nav-panel {
  background: var(--primary);
  color: #fff;
  border: 1.5px solid var(--primary);
}
.navbar.scrolled .nav-panel:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
}
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mobile-menu.open { max-height: 380px; }

/* ── 5. Hero Section ────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(6px);
}
.hero-badge span.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
  flex-shrink: 0;
}
.gradient-text-hero {
  background: linear-gradient(135deg, #fff 10%, #93c5fd 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
}
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.9);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
  background: rgba(255,255,255,.07);
}
.hero-cta-secondary:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.6);
}
.mockup-frame {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 40px 80px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.12);
}

/* Float animation for app mockup */
@keyframes tz-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.mockup-float { animation: tz-float 5s ease-in-out infinite; }

/* ── 6. Stats Strip ─────────────────────────── */
.stats-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 3px;
}

/* ── 7. Section Headings ────────────────────── */
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--dark);
}
.section-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 8. Feature Cards ───────────────────────── */
.feat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(11,121,208,.1);
  border-color: rgba(11,121,208,.25);
}
.feat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.feat-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}
.feat-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── 9. Screenshot Gallery ──────────────────── */
.ss-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ss-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,.16);
}
.ss-label {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--dark);
}
.ss-desc {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  margin-top: 3px;
}

/* ── 10. Steps (How it works) ───────────────── */
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}
.step-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── 11. FAQ ────────────────────────────────── */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] > summary { color: var(--primary); }
.faq-item .faq-arrow {
  width: 18px; height: 18px;
  transition: transform .25s;
  color: var(--muted);
  flex-shrink: 0;
}
.faq-item[open] .faq-arrow { transform: rotate(180deg); }
.faq-body {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ── 12. Blog Cards ─────────────────────────── */
.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border-color: var(--primary);
}
.blog-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blog-card h2, .blog-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin: 0 0 8px;
  transition: color 0.15s;
}
.blog-card:hover h2,
.blog-card:hover h3 { color: var(--primary); }

/* ── 13. Pricing Cards ──────────────────────── */
.price-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,121,208,.08), var(--shadow-lg);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-amount {
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.price-period {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--dark);
  line-height: 1.5;
}
.price-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* ── 14. Buttons (general) ──────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(11,121,208,.4);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-light);
}
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background: #1e293b;
  transform: translateY(-1px);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}
.btn-lg {
  padding: 15px 34px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 10px;
}

/* ── 15. Download Buttons ───────────────────── */
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 200px;
}
.dl-btn-white {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.dl-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.dl-btn-outline {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.3);
}
.dl-btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}
.dl-btn-store {
  font-size: 10px;
  opacity: .7;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
}
.dl-btn-name {
  font-size: 16px;
  font-weight: 700;
  display: block;
  line-height: 1.1;
}

/* ── 16. CTA Section ────────────────────────── */
.cta-bg {
  background: linear-gradient(135deg, #050e1d 0%, #0c2545 50%, #0B79D0 100%);
  position: relative;
  overflow: hidden;
}
.cta-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(11,121,208,.25) 0%, transparent 70%);
  top: -200px; right: -200px;
  pointer-events: none;
}
.cta-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(96,165,250,.15) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  pointer-events: none;
}

/* ── 17. Footer ─────────────────────────────── */
.footer-main {
  background: #070d1c;
  color: rgba(255,255,255,.85);
}
.footer-link {
  color: rgba(255,255,255,.5);
  font-size: 13.5px;
  transition: color 0.15s;
}
.footer-link:hover { color: rgba(255,255,255,.9); }
.footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 40px 0 24px;
}

/* ── 18. Page Headers (inner pages) ─────────── */
.page-hero {
  background: linear-gradient(135deg, #050e1d, #0c2545 60%, #0B79D0);
  padding: 100px 24px 72px;
  text-align: center;
  color: #fff;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 12px 0 16px;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── 19. Contact Form ───────────────────────── */
.contact-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.contact-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(11,121,208,.1);
}
.contact-input::placeholder { color: var(--muted); }
.contact-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 7px;
}

/* ── 20. Support/Help cards ─────────────────── */
.help-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}
.help-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* ── 21. Utility ────────────────────────────── */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.section { padding: 80px 0; }
.section-lg { padding: 100px 0; }
img[loading="lazy"] { opacity: 0; transition: opacity .3s; }
img[loading="lazy"].loaded { opacity: 1; }

/* ── 22. Responsive ─────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-lg { padding: 72px 0; }
  .page-hero { padding: 90px 20px 56px; }
  .dl-btn { min-width: 0; width: 100%; }
  .stat-value { font-size: 22px; }
}
