/* ============================================================
   KolayYukle V2 — Main Stylesheet
   Prapazar.com layout + KolayYukle brand colors
   ============================================================ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --primary: #f1641e;
  --primary-dark: #e55a17;
  --primary-light: #ff8a3d;
  --primary-glow: rgba(241,100,30,0.12);
  /* rgba() icinde kullanilmak uzere bilesenler: panel.css bunlari ezerek
     tum saydam turuncu tonlarini tek noktadan teal'e cevirir. */
  --primary-rgb: 241,100,30;
  --primary-light-rgb: 255,138,61;
  --bg: #fff8f3;
  --bg-grad1: #fff1e6;
  --bg-grad2: #ffe9f0;
  --surface: #ffffff;
  --surface2: #fff6ee;
  --surface3: #ffeede;
  --text: #2a1d14;
  --text2: #3a2615;
  --muted: #9a7d66;
  --border: rgba(241,100,30,0.16);
  --border2: rgba(241,100,30,0.42);
  --green: #12b886;
  --red: #fa5252;
  --yellow: #f59f00;
  --blue: #4dabf7;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(241,100,30,0.10), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 40px rgba(241,100,30,0.16), 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 14px 48px rgba(241,100,30,0.22), 0 4px 12px rgba(0,0,0,0.08);
  --max-width: 1200px;
  --header-h: 64px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── Background pattern ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--primary-rgb),0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--primary-rgb),0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,248,243,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border2);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(var(--primary-rgb),0.10);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text2);
}
.header-brand .logo-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(var(--primary-rgb),0.35);
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-nav a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s ease;
}
.header-nav a:hover, .header-nav a.active {
  color: var(--primary);
  background: var(--primary-glow);
}
.header-cta {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(var(--primary-rgb),0.40);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--surface2);
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(255,248,243,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  padding: 16px 20px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
}
.mobile-nav a:hover { background: var(--surface3); }

/* ── Sections ── */
section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text2);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ── Hero ── */
.hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 80px;
  background:
    radial-gradient(ellipse 90% 60% at 15% -5%, rgba(var(--primary-rgb),0.14) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 95% 10%, rgba(var(--primary-light-rgb),0.12) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 50% 105%, rgba(255,182,193,0.14) 0%, transparent 55%),
    linear-gradient(160deg, var(--bg-grad1) 0%, var(--bg) 45%, var(--bg-grad2) 100%);
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}
.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--text2);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 6px 22px rgba(var(--primary-rgb),0.32);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb),0.40);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text2);
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border2);
  transition: all 0.15s;
}
.btn-ghost:hover {
  background: var(--surface2);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-box {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--surface), var(--surface2));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border2);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  background: var(--surface2);
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 10px;
}
.card-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* Large feature card */
.feature-card {
  display: flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.25s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.feature-card .f-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  flex-shrink: 0;
}
.feature-card .f-body { flex: 1; }
.feature-card .f-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 6px;
}
.feature-card .f-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Integration Types ── */
.integ-section { background: var(--surface2); }
.integ-card {
  text-align: center;
  padding: 40px 28px;
}
.integ-card .card-icon {
  margin: 0 auto 20px;
  width: 64px; height: 64px;
  border-radius: 18px;
  font-size: 30px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb),0.12), rgba(var(--primary-light-rgb),0.08));
}
.integ-card .card-title { font-size: 20px; }
.integ-card .card-text { font-size: 15px; }

/* ── Testimonials ── */
.testi-section { background: var(--surface); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.testi-stars {
  color: var(--yellow);
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testi-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px;
}
.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
}
.testi-role {
  font-size: 12px;
  color: var(--muted);
}

/* ── About ── */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.stat-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

/* ── Education ── */
.edu-section { background: var(--surface2); }
.edu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.edu-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: all 0.25s;
  cursor: pointer;
}
.edu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border2);
}
.edu-card .edu-icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.edu-card .edu-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
}

/* ── Announcements ── */
.announce-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 800px;
  margin: 0 auto;
}
.announce-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.announce-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.announce-item {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: var(--bg);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}
.announce-item .date {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 90px;
}
.announce-item .text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* ── Blog Preview ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.blog-card .blog-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--surface2), var(--surface3));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.blog-card .blog-body {
  padding: 20px;
}
.blog-card .blog-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.blog-card .blog-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text2);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card .blog-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 40px auto;
  max-width: var(--max-width);
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px; right: -100px;
}
.cta-banner h2 {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.cta-banner .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  z-index: 1;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-banner .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ── Footer ── */
.footer {
  background: var(--text2);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  object-fit: cover;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}
.animate {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .card-grid-3, .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .testi-grid, .blog-grid, .edu-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 40px; }
  .hero-title { font-size: 40px; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 32px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual-box { max-width: 100%; }
  .card-grid-3, .card-grid-4, .testi-grid, .blog-grid, .edu-grid {
    grid-template-columns: 1fr;
  }
  .about-inner { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 40px 24px; }
  .cta-banner h2 { font-size: 24px; }
  section { padding: 60px 0; }
  .section-title { font-size: 26px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
