/* ─── CSS Variables ─── */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #ec4899;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --border-light: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* ─── Navbar ─── */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-dark) !important;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--text-muted) !important;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.navbar-nav { gap: 2rem; }
.nav-link:hover { color: var(--primary) !important; }
.nav-link.is-active { color: var(--primary) !important; }

.navbar-toggler {
  border: none;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
}
.navbar-toggler:focus { box-shadow: none !important; }

.btn-panel {
  border: none;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: inline-block;
}
.btn-panel:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* ─── Buttons ─── */
.btn-main {
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 1rem 1.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  display: inline-block;
}
.btn-main:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-ghost {
  background: #fff;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  border-radius: 8px;
  font-weight: 600;
  padding: 1rem 1.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
  display: inline-block;
}
.btn-ghost:hover {
  background: var(--bg-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  width: 100%;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

/* ─── Page Hero (sub-pages) ─── */
.page-hero {
  margin-top: 3.2rem;
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
  border-bottom: 1px solid var(--border-light);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0;
}

/* ─── Home Hero ─── */
.hero {
  padding: 7rem 0 4.75rem;
  background: linear-gradient(135deg, #fff 0%, #f9fafb 100%);
  border-radius: 0;
  margin-top: 5.2rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -150px;
  top: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero h1 {
  color: var(--text-dark);
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 400px;
}
.hero-img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
  object-fit: cover;
}

/* ─── Sections ─── */
section {
  padding: 5rem 0;
  background: #fff;
}
header + section,
section + section {
  position: relative;
}
header + section::before,
section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 3rem));
  height: 1px;
  background: linear-gradient(90deg, rgba(99,102,241,0), rgba(99,102,241,0.28), rgba(99,102,241,0));
  pointer-events: none;
}
#ozellikler { background: #fff; }
#surec { background: #f9fafb; }
#fiyatlandirma { background: #fff; }

.section-head { margin-bottom: 2.2rem; }
.section-head h2 {
  margin: 0 0 1rem;
  color: var(--text-dark);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  font-weight: 900;
  line-height: 1.1;
  border-bottom: 4px solid #ffe300;
  display: table;
  padding-bottom: 3px;
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 750px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ─── Feature Grid ─── */
.card-clean {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  height: 100%;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.feature-index {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #6366f1;
  color: #fff;
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-size: 1.1rem;
}
.feature-index svg, .process-step svg {
  width: 22px; height: 22px; display: block;
  stroke: currentColor; fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.feature-grid h3, .process-grid h3, .pricing-grid h3 {
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: 0.6rem; letter-spacing: -0.02em;
}
.feature-grid p, .process-grid p, .pricing-grid p {
  color: var(--text-muted); margin: 0; font-size: 1rem; line-height: 1.6;
}

/* ─── Process Timeline ─── */
.process-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.process-timeline { position: relative; padding-left: 5rem; }
.process-image { display: flex; justify-content: center; align-items: center; height: 100%; min-height: 500px; }
.process-img {
  width: 100%; max-width: 520px; aspect-ratio: 4 / 3;
  border-radius: 8px; box-shadow: 0 20px 40px rgba(99,102,241,0.15); object-fit: cover;
}
.process-timeline::before {
  content: ""; position: absolute; left: 8px; top: 0; bottom: 0;
  border-left: 1px dashed rgba(99,102,241,0.28);
}
.timeline-item {
  position: relative; padding-bottom: 0; margin-bottom: 2.35rem;
  min-height: 92px; display: flex; flex-direction: column; justify-content: center;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
  position: absolute; left: -4.9rem; top: 50%;
  width: 14px; height: 14px; border-radius: 999px;
  background: rgba(99,102,241,0.28); transform: translateY(-50%);
}
.timeline-item:first-child .timeline-dot {
  width: 44px; height: 44px;
  left: calc(-5rem - 14px); top: 50%;
  background: rgba(99,102,241,0.16); transform: translateY(-50%);
}
.timeline-item:first-child .timeline-dot::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border-radius: 999px; background: var(--primary-dark);
  left: 50%; top: 50%; transform: translate(-50%,-50%);
}
.timeline-title {
  font-size: clamp(1.55rem,2.9vw,1.55rem); line-height: 1.2;
  letter-spacing: -0.02em; color: var(--text-dark);
  font-weight: 800; margin: 0 0 0.5rem;
}
.timeline-text {
  margin: 0; color: var(--text-muted); font-size: 1.05rem;
  max-width: 640px; line-height: 1.6; font-weight: 500;
}

/* ─── Pricing ─── */
.pricing-wrap { background: transparent; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.pricing-card {
  background: #fff; border: 1.5px solid var(--border-light);
  border-radius: 12px; padding: 2.5rem;
  display: flex; flex-direction: column; min-height: 100%;
  position: relative; box-shadow: 0 12px 32px rgba(99,102,241,0.1);
}
.price { color: var(--text-dark); font-weight: 900; font-size: 2.5rem; margin: 0 0 0.2rem; letter-spacing: -0.02em; }
.price-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }
.price small { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.pricing-card ul {
  margin-bottom: 1.5rem; color: var(--text-muted); padding-left: 1.5rem; list-style: none;
}
.pricing-card ul li {
  padding: 0.4rem 0 0.4rem 1.8rem; position: relative; font-size: 0.95rem; line-height: 1.6;
}
.pricing-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.pricing-card .btn-main { margin-top: auto; text-align: center; }

/* ─── CTA Banner ─── */
.banner-decorative {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 5rem 2rem; text-align: center; color: #fff; position: relative; overflow: hidden;
}
.banner-decorative::before, .banner-decorative::after {
  content: ''; position: absolute; border-radius: 50%; opacity: 0.15;
}
.banner-decorative::before { width: 300px; height: 300px; background: #fff; top: -150px; right: -150px; }
.banner-decorative::after { width: 200px; height: 200px; background: #fff; bottom: -100px; left: -100px; }
.banner-decorative-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.banner-decorative h3 { color: #fff; font-size: 1.8rem; font-weight: 900; margin-bottom: 0.8rem; letter-spacing: -0.03em; }
.banner-decorative p { color: rgba(255,255,255,0.9); margin: 0; font-size: 1.1rem; line-height: 1.7; }

/* ─── Forms ─── */
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-control, .form-select {
  border: 1px solid var(--border-light); border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.95rem;
  color: var(--text-dark); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-success {
  display: none; background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 10px; padding: 1.2rem 1.5rem;
  color: #166534; font-weight: 600; font-size: 0.95rem; margin-top: 1rem;
}

/* ─── Contact page specific ─── */
.contact-form-wrap { border: 1px solid var(--border-light); border-radius: 16px; padding: 2.5rem; }
.info-card {
  border: 1px solid var(--border-light); border-radius: 12px; padding: 1.8rem;
  height: 100%; display: flex; align-items: flex-start; gap: 1rem;
}
.info-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #6366f1; color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.info-icon svg {
  width: 22px; height: 22px; display: block;
  stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.info-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 0.3rem; }
.info-value { font-weight: 700; font-size: 1rem; color: var(--text-dark); text-decoration: none; display: block; }
.info-value:hover { color: var(--primary); }
.info-sub { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ─── SSS page specific ─── */
.sss-category-title {
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary); margin-bottom: 1rem;
}
.cta-box {
  background: var(--primary);
  border-radius: 12px; padding: 2.5rem; margin-top: 3rem; text-align: center;
}
.cta-box h3 { color: #fff; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1rem; }
.btn-cta {
  background: #fff; color: var(--primary); border: none;
  border-radius: 8px; font-weight: 700; padding: 0.85rem 2rem;
  text-decoration: none; font-size: 1rem; transition: all 0.2s ease; display: inline-block;
}
.btn-cta:hover { background: var(--bg-light); color: var(--primary-dark); transform: translateY(-2px); }

/* ─── Legal pages ─── */
.legal-section { padding: 5rem 0; }
.legal-body { font-size: 0.975rem; line-height: 1.8; }
.legal-body h2 {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
  margin-top: 2.5rem; margin-bottom: 0.75rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: #374151; margin-bottom: 0.75rem; }
.legal-body ul { padding-left: 1.4rem; margin-bottom: 0.75rem; color: #374151; }
.legal-body ul li { margin-bottom: 0.4rem; }
.legal-body table {
  width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.9rem;
}
.legal-body table td, .legal-body table th {
  border: 1px solid var(--border-light); padding: 0.65rem 1rem;
  text-align: left; vertical-align: top;
}
.legal-body table th {
  background: var(--bg-light); font-weight: 700;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em;
}
.legal-divider { border: none; border-top: 1px solid var(--border-light); margin: 2rem 0; }
.info-box {
  background: var(--bg-light); border: 1px solid var(--border-light);
  border-radius: 10px; padding: 1rem 1.25rem; margin: 1rem 0; font-size: 0.9rem;
}
.highlight-box {
  background: rgba(99,102,241,0.05); border: 1.5px solid rgba(99,102,241,0.2);
  border-radius: 12px; padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.toc-card {
  border: 1px solid var(--border-light); border-radius: 12px;
  padding: 1.5rem; position: sticky; top: 5.5rem;
}
.toc-card .toc-title {
  font-weight: 700; font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 1rem;
}
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.toc-list a {
  color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500;
  display: block; padding: 0.3rem 0.6rem; border-radius: 6px; transition: all 0.15s ease;
}
.toc-list a:hover { color: var(--primary); background: rgba(99,102,241,0.06); }

/* ─── Accordion ─── */
.accordion-item { border-color: var(--border-light); }
.accordion-button {
  font-weight: 600;
  color: var(--text-dark);
  background-color: #fff;
}
.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: rgba(99,102,241,0.06);
  box-shadow: inset 0 -1px 0 var(--border-light);
}
.accordion-button:not(.collapsed)::after {
  filter: invert(38%) sepia(60%) saturate(600%) hue-rotate(215deg) brightness(95%);
}
.accordion-button:focus,
.accordion-button:not(.collapsed):focus,
.navbar-toggler:focus,
.navbar-toggler:active { box-shadow: none !important; outline: none !important; }
.accordion-body { color: var(--text-dark); font-weight: 400; }

/* ─── Footer ─── */
.site-footer {
  background: #fff; color: var(--text-muted);
  padding: 4rem 0 2rem; border-top: 1px solid var(--border-light);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-title { color: var(--text-dark); font-size: 1rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.95rem; }
.footer-list a { color: var(--text-dark); text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
.footer-list a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 0.7rem; flex-wrap: wrap; font-size: 0.85rem;
}

/* ─── Responsive ─── */
@media (max-width: 992px) {
  .navbar-nav { gap: 0; flex-direction: column; }
  .nav-link { padding: 0.6rem 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .process-timeline { padding-left: 3rem; }
  .process-image { min-height: 300px; }
  .process-timeline::before { left: 14px; }
  .timeline-dot { left: -2.55rem; }
  .timeline-item:first-child .timeline-dot { left: calc(-2.55rem - 15px); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .btn-panel { display: block; width: 100%; text-align: center; margin-top: 0.75rem; }
  .toc-card { display: none; }
  .contact-form-wrap { padding: 1.5rem; }
}
@media (max-width: 640px) {
  .hero { padding: 4.9rem 0 3.4rem; margin-top: 5rem; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 1rem; }
  .hero p { font-size: 1rem; }
  .hero::after { display: none; }
  .hero-image { min-height: 0; margin-top: 1rem; }
  .hero-actions { flex-direction: column; gap: 0.8rem; }
  .hero-actions .btn-main, .hero-actions .btn-ghost { width: 100%; text-align: center; padding: 0.9rem 1.2rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  section { padding: 3.2rem 0; }
  .page-hero { padding: 4rem 0 3rem; margin-top: 5rem; }
  .legal-section { padding: 3rem 0; }
}
