/* ===== HOME PAGE ===== */

.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 64px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .45; }
.b1 { width: min(700px,90vw); height: min(700px,90vw); background: #bdd6f8; top: -180px; left: -200px; }
.b2 { width: min(450px,60vw); height: min(450px,60vw); background: #dbeafe; bottom: -60px; right: 60px; }
[data-theme="dark"] .b1 { background: #0e2d5c; opacity: .7; }
[data-theme="dark"] .b2 { background: #102040; opacity: .7; }

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
  position: relative; z-index: 1; padding: 3rem 0;
}
.hero-text h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1rem; }
.hero-text p  { color: var(--muted); font-size: clamp(.95rem,2vw,1.05rem); max-width: 460px; margin-bottom: 1.75rem; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-stats { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.sn { display: block; font-family: 'DM Serif Display', serif; font-size: clamp(1.3rem,2.5vw,1.6rem); color: var(--accent); }
.sl { display: block; font-size: .72rem; color: var(--muted); }
.sdiv { width: 1px; height: 34px; background: var(--border); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img {
  width: 100%; max-width: 520px; aspect-ratio: 4/3;
  object-fit: cover; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); display: block;
}
.hero-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .65rem .9rem;
  display: flex; align-items: center; gap: .6rem;
  box-shadow: var(--shadow-md); font-size: .8rem; font-weight: 500;
  white-space: nowrap; animation: fadeUp .5s ease forwards; opacity: 0;
}
.hero-badge strong { color: var(--text); font-size: .82rem; display: block; }
.hero-badge small  { color: var(--muted); font-size: .72rem; }
.hb-icon { font-size: 1.3rem; }
.top-badge { top: 1rem; left: -1rem; animation-delay: .3s; }
.bot-badge { bottom: 1.5rem; right: -.5rem; animation-delay: .5s; }

/* WHY */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 1.25rem; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem 1.5rem; transition: var(--tr);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.wi { font-size: 1.65rem; margin-bottom: .8rem; }
.why-card h3 { font-size: 1rem; margin-bottom: .45rem; }
.why-card p  { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* FEATURED */
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr)); gap: 1.25rem; }
.feat-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); display: block; transition: var(--tr); background: var(--bg);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feat-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .4s; }
.feat-card:hover > img { transform: scale(1.04); }
.feat-info { padding: 1.1rem 1.35rem 1.4rem; }
.feat-tag {
  font-size: .68rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent2); background: var(--accent-lt);
  padding: .17rem .5rem; border-radius: 50px; display: inline-block; margin-bottom: .45rem;
}
.feat-info h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feat-info p  { font-size: .83rem; color: var(--muted); margin-bottom: .65rem; }
.feat-arrow { font-size: .9rem; color: var(--accent); font-weight: 600; transition: transform var(--tr); display: inline-block; }
.feat-card:hover .feat-arrow { transform: translateX(5px); }

/* USAGE */
.usages { background: var(--surface2); }
.usage-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(110px,1fr)); gap: .9rem; }
.usage-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem .75rem;
  text-align: center; transition: var(--tr);
}
.usage-item:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-3px); }
.usage-item span { font-size: 1.75rem; display: block; margin-bottom: .4rem; }
.usage-item p { font-size: .78rem; color: var(--muted); font-weight: 500; line-height: 1.3; }

/* CTA */
.cta-band {
  background: linear-gradient(120deg, #0b1e3d 0%, #1156b8 55%, #0d3a7a 100%);
  color: #fff;
  padding: clamp(2.5rem,6vw,4.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(77,158,255,.2) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.3rem,2.5vw,2rem); margin-bottom: .4rem; }
.cta-band p  { color: rgba(255,255,255,.7); font-size: clamp(.85rem,2vw,1rem); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; padding: 2rem 0; min-height: auto; }
  .hero-visual { display: none; }
  .hero-text h1 { font-size: clamp(1.8rem,6vw,2.5rem); }
}
@media (max-width: 500px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { text-align: center; justify-content: center; }
  .cta-inner { flex-direction: column; text-align: center; }
  .sdiv { display: none; }
}

/* ══ VIDEO BUTONU ══ */
.btn-video {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #ff6b35, #ff3d71);
  border: none;
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 2rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 18px rgba(255, 61, 113, 0.45);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  animation: videoPulse 2.5s ease-in-out infinite;
}
.btn-video:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(255, 61, 113, 0.6);
  filter: brightness(1.08);
  animation: none;
}
.btn-video:active {
  transform: scale(0.98);
}
@keyframes videoPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(255, 61, 113, 0.45); }
  50%       { box-shadow: 0 4px 28px rgba(255, 61, 113, 0.75); }
}
.video-play-icon {
  font-size: 0.7rem;
  background: rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}
.btn-video:hover .video-play-icon {
  background: rgba(255,255,255,0.4);
}

/* ══ VIDEO MODAL ══ */
.video-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.video-modal-overlay.open {
  display: flex;
}
.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}
.video-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 10;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-modal-close:hover { background: rgba(255,255,255,0.2); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* CTA band butonu */
.btn-cta-white {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  padding: .8rem 1.8rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: .95rem;
  white-space: nowrap;
  transition: background .2s, border-color .2s, transform .15s;
  display: inline-block;
}
.btn-cta-white:hover {
  background: rgba(255,255,255,0.28);
  border-color: #fff;
  transform: translateY(-2px);
  color: #fff;
}