/* =============================================
   GGTP – Gelir Gider Takip Programı
   Site Styles
   ============================================= */

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.6;
}

/* =============================================
   NAVBAR
   ============================================= */
.ggtp-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  padding: 12px 0;
}

.ggtp-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-icon { font-size: 22px; }

.brand-text {
  font-size: 20px;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.5px;
}

.nav-link-custom {
  color: #475569 !important;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 12px !important;
  border-radius: 8px;
  transition: background .18s, color .18s;
}

.nav-link-custom:hover {
  background: #f1f5f9;
  color: #1e293b !important;
}

/* =============================================
   HERO
   ============================================= */
.hero-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
  padding: 96px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(59,130,246,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(59,130,246,.15);
  border: 1px solid rgba(59,130,246,.35);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.35); }
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title-accent {
  background: linear-gradient(90deg, #60a5fa, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 18px rgba(59,130,246,.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(59,130,246,.5);
  color: #fff;
}

.btn-hero-outline {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 13px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s, border-color .2s, color .2s;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

.hero-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.7);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
}

/* Hero preview cards */
.hero-preview {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 10px 20px 30px;
  position: relative;
  z-index: 1;
}

.preview-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 20px 24px;
  transition: transform .3s;
}

.preview-card:hover { transform: translateX(6px); }

.preview-income { margin-left: 0; }
.preview-expense { margin-left: 40px; }
.preview-net { margin-left: 20px; }

.preview-card-label {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 6px;
}

.preview-card-value {
  font-size: 22px;
  font-weight: 800;
  font-family: 'Segoe UI', monospace;
}

.income-color  { color: #4ade80; }
.expense-color { color: #f87171; }
.net-color     { color: #60a5fa; }

/* Hero wave */
.hero-wave {
  position: relative;
  margin-top: 60px;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* =============================================
   SECTION SHARED
   ============================================= */
.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-tag-light {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
}

.section-title {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}

.section-subtitle {
  color: #64748b;
  font-size: 16px;
  margin: 0;
}

/* =============================================
   FEATURES
   ============================================= */
.section-features {
  padding: 80px 0;
  background: #ffffff;
}

.feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px 24px;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  border-color: #bfdbfe;
}

.feature-card-primary {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #bfdbfe;
}

.feature-icon-wrap {
  font-size: 32px;
  margin-bottom: 16px;
  display: inline-block;
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.section-steps {
  padding: 80px 0;
  background: #f8fafc;
}

.step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 36px 24px;
  text-align: center;
  height: 100%;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

.step-card-active {
  background: linear-gradient(135deg, #1e3a5f, #1e40af);
  border-color: transparent;
}

.step-card-active .step-title,
.step-card-active .step-desc { color: rgba(255,255,255,.9); }

.step-card-active .step-number {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 15px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 12px;
}

.step-emoji {
  font-size: 40px;
  margin-bottom: 14px;
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* =============================================
   DOWNLOAD
   ============================================= */
.section-download {
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
}

.download-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 36px 40px;
  backdrop-filter: blur(8px);
}

.download-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.download-version {
  background: #3b82f6;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}

.download-platform,
.download-free {
  color: rgba(255,255,255,.7);
  font-weight: 500;
}

.download-sep { color: rgba(255,255,255,.3); }

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  padding: 16px 40px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 24px rgba(59,130,246,.45);
  margin-bottom: 16px;
}

.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(59,130,246,.55);
  color: #fff;
}

.download-note {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  margin: 0;
}

/* =============================================
   LICENSE
   ============================================= */
.section-license {
  padding: 80px 0;
  background: #ffffff;
}

.license-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.license-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
}

.ls-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ls-text {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.55;
  padding-top: 3px;
}

.license-form-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
}

.license-input {
  background: #ffffff;
  border-color: #cbd5e1;
  border-radius: 10px;
  font-size: 16px;
}

.license-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

/* =============================================
   LICENSE MODAL
   ============================================= */
.license-modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.18);
}

.license-modal-header {
  background: linear-gradient(135deg, #1e3a5f, #1e40af);
  padding: 36px 32px 28px;
  text-align: center;
}

.lm-icon { font-size: 48px; margin-bottom: 10px; }

.lm-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.lm-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin: 0;
}

.license-modal-body { padding: 24px 28px; }

.lm-result-block {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

.lm-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #94a3b8;
  margin-bottom: 6px;
}

.lm-key-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lm-key-value {
  font-family: 'Cascadia Code', 'Consolas', monospace;
  font-size: 17px;
  font-weight: 700;
  color: #1e40af;
  letter-spacing: 1.5px;
  flex: 1;
  word-break: break-all;
}

.lm-copy-btn {
  white-space: nowrap;
  border-radius: 8px;
  font-size: 12px;
  padding: 4px 12px;
}

.lm-hint {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 11px 16px;
  font-size: 13.5px;
  color: #92400e;
  margin-top: 4px;
}

/* =============================================
   FOOTER
   ============================================= */
.ggtp-footer {
  background: #0f172a;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  color: #f8fafc;
  font-size: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color .18s;
}

.footer-links a:hover { color: #e2e8f0; }

.footer-dev {
  font-size: 14px;
  color: #64748b;
}

.footer-dev .heart { color: #f87171; margin: 0 3px; }

.footer-dev a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
}

.footer-dev a:hover { color: #93c5fd; }

.footer-copy {
  font-size: 12.5px;
  color: #475569;
  margin-top: 4px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 991.98px) {
  .hero-section { padding: 72px 0 0; }
  .hero-actions { justify-content: center; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-pills { justify-content: center; }
  .download-card { padding: 28px 20px; }
  .license-form-card { padding: 20px; }
}

@media (max-width: 767.98px) {
  .section-features,
  .section-steps,
  .section-download,
  .section-license { padding: 56px 0; }

  .hero-title { font-size: 1.9rem; }

  .ggtp-footer .col-md-4 { text-align: center !important; }
  .footer-brand { justify-content: center; }
  .footer-dev { text-align: center; }
  .footer-copy { text-align: center; }
}
