/* ============================================================
   HaniftaCRM – home.css  |  Ana Sayfa Stilleri
   ============================================================ */

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4rem) clamp(1.25rem, 5vw, 3rem) 5rem;
  overflow: hidden;
}

/* Geometrik arka plan şekilleri */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.hero__circle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(90,26,26,0.08) 0%, transparent 70%);
}
.hero__circle--1 {
  width: 700px; height: 700px;
  top: -200px; right: -150px;
  animation: floatA 12s ease-in-out infinite;
}
.hero__circle--2 {
  width: 500px; height: 500px;
  bottom: -100px; left: -100px;
  animation: floatB 15s ease-in-out infinite;
}
.hero__circle--3 {
  width: 300px; height: 300px;
  top: 40%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(160,96,96,0.07) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}
/* Dekoratif çizgiler */
.hero__lines {
  position: absolute; inset: 0;
}
.hero__lines svg {
  position: absolute; width: 100%; height: 100%;
  opacity: 0.04;
}

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, 15px) scale(1.03); }
  66% { transform: translate(10px, -10px) scale(0.97); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -20px) scale(1.04); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%,-50%) scale(1.15); opacity: 0.7; }
}

.hero__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; max-width: 820px;
}

/* Logo + İsim */
.hero__brand {
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  margin-bottom: 2rem;
}
.hero__logo-wrap {
  position: relative; display: inline-flex;
  align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.hero__logo-ring {
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(90,26,26,0.15);
  animation: ringPulse 3s ease-in-out infinite;
}
.hero__logo-ring--2 {
  inset: -26px;
  border-color: rgba(90,26,26,0.08);
  animation-delay: 0.5s;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.6; }
}
.hero__logo {
  width: clamp(72px, 12vw, 110px);
  height: clamp(72px, 12vw, 110px);
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(90,26,26,0.22));
  animation: heroLogoIn 0.9s var(--ease) both;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.75) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 8vw, 6rem);
  color: var(--title);
  letter-spacing: -0.035em;
  line-height: 1;
  animation: heroTitleIn 0.9s 0.2s var(--ease) both;
}
@keyframes heroTitleIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__title-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--mid);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  animation: heroTitleIn 0.9s 0.35s var(--ease) both;
}

.hero__desc {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  animation: heroTitleIn 0.9s 0.5s var(--ease) both;
}

.hero__actions {
  display: flex; align-items: center;
  gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: heroTitleIn 0.9s 0.65s var(--ease) both;
}

/* E-posta CTA */
.hero__email-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.9rem 2rem;
  background: var(--title); color: var(--white);
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 30px rgba(90,26,26,0.30);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  position: relative; overflow: hidden;
}
.hero__email-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
}
.hero__email-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(90,26,26,0.35); background: var(--dark); }
.hero__email-btn:hover::before { transform: translateX(100%); }
.hero__email-btn svg { flex-shrink: 0; }

/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: heroTitleIn 1s 1.2s var(--ease) both;
}
.hero__scroll span {
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--mid); opacity: 0.75;
}
.hero__scroll-line {
  width: 1.5px; height: 48px;
  background: linear-gradient(to bottom, var(--mid), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* ── STATS BANDİ ───────────────────────────────────────────── */
.stats-band {
  background: var(--title);
  padding: 2.5rem clamp(1.25rem, 5vw, 3rem);
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 24px
  );
}
.stats-band__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; position: relative; z-index: 1;
}
.stat-item {
  text-align: center;
  padding: 0.5rem;
}
.stat-item__number {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white); letter-spacing: -0.03em;
  line-height: 1;
}
.stat-item__label {
  font-family: var(--font-display);
  font-weight: 500; font-size: 0.78rem;
  color: rgba(255,250,250,0.65);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ── ÖZELLİKLER ÖNZET ─────────────────────────────────────── */
.features-preview {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
}
.features-preview__head {
  text-align: center; margin-bottom: 3.5rem;
}
.features-preview__head h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--title); letter-spacing: -0.02em;
  line-height: 1.15;
}
.features-preview__head p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text); max-width: 520px;
  margin: 1rem auto 0; opacity: 0.85;
}

.features-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-light);
  border: 1px solid rgba(90,26,26,0.10);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--mid), var(--title));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--shadow);
  border-color: rgba(90,26,26,0.18);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-card__icon {
  width: 52px; height: 52px;
  background: rgba(90,26,26,0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature-card:hover .feature-card__icon {
  background: rgba(90,26,26,0.14);
  transform: rotate(-5deg) scale(1.05);
}
.feature-card__icon svg { color: var(--title); }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  color: var(--title); margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.9rem; color: var(--text);
  line-height: 1.7; opacity: 0.85;
}
.feature-card__link {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.82rem;
  color: var(--title); letter-spacing: 0.02em;
  transition: gap 0.2s var(--ease);
}
.feature-card__link:hover { gap: 9px; }

/* ── EKRAN GÖRSELLERİ ──────────────────────────────────────── */
.screenshots {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3rem);
  background: var(--bg-light);
  position: relative; overflow: hidden;
}
.screenshots::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 50%, rgba(90,26,26,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(90,26,26,0.06) 0%, transparent 70%);
}
.screenshots__inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
}
.screenshots__head {
  text-align: center; margin-bottom: 3rem;
}
.screenshots__head h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--title); letter-spacing: -0.02em;
}
.screenshots__head p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text); max-width: 480px;
  margin: 0.85rem auto 0; opacity: 0.85;
}

.screenshots__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
}
.screenshot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px var(--shadow-deep);
  border: 1px solid rgba(90,26,26,0.12);
  background: var(--white);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.screenshot-frame:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 36px 80px var(--shadow-deep);
}
.screenshot-frame--tall { margin-top: 2rem; }
/* Tarayıcı çerçevesi */
.screenshot-frame__bar {
  background: #ede0e0;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 6px;
}
.screenshot-frame__dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.screenshot-frame__dot:nth-child(1) { background: #f08080; }
.screenshot-frame__dot:nth-child(2) { background: #f0c060; }
.screenshot-frame__dot:nth-child(3) { background: #80c080; }
.screenshot-frame__url {
  flex: 1; height: 20px;
  background: rgba(90,26,26,0.06);
  border-radius: 4px; margin-left: 8px;
}
.screenshot-frame img {
  width: 100%; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}
/* Görsel yokken placeholder */
.screenshot-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(90,26,26,0.06) 0%, rgba(160,96,96,0.10) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--mid);
}
.screenshot-placeholder svg { opacity: 0.5; }
.screenshot-placeholder span {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0.65;
}

/* ── KULLANIM ALANLARI ÖNZET ───────────────────────────────── */
.use-cases-preview {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
}
.use-cases-preview__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.use-cases-preview__text h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--title); letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 1rem;
}
.use-cases-preview__text p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text); line-height: 1.8; opacity: 0.88;
  margin-bottom: 1.75rem;
}
.use-case-list { display: flex; flex-direction: column; gap: 1rem; }
.use-case-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-light);
  border: 1px solid rgba(90,26,26,0.09);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.use-case-item:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px var(--shadow);
}
.use-case-item__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(90,26,26,0.08); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--title);
}
.use-case-item__body h4 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem; color: var(--title);
}
.use-case-item__body p {
  font-size: 0.85rem; color: var(--text);
  opacity: 0.8; margin-top: 0.2rem; line-height: 1.6;
}

/* Sağ taraf - büyük ikon grid */
.use-cases-preview__visual {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
.uc-visual-card {
  background: var(--bg-light);
  border: 1px solid rgba(90,26,26,0.10);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.uc-visual-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px var(--shadow);
}
.uc-visual-card:nth-child(2) { margin-top: 1.5rem; }
.uc-visual-card:nth-child(4) { margin-top: -1.5rem; }
.uc-visual-card__icon {
  font-size: 2.2rem; margin-bottom: 0.75rem;
  display: block;
}
.uc-visual-card h4 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem; color: var(--title);
}

/* ── BLOG ÖNZET ────────────────────────────────────────────── */
.blog-preview {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 3rem);
  background: var(--bg-light);
}
.blog-preview__head {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 1rem;
  margin-bottom: 2.5rem; flex-wrap: wrap;
}
.blog-preview__head h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--title); letter-spacing: -0.02em;
}
.blog-preview__cards {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid rgba(90,26,26,0.09);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px var(--shadow);
}
.blog-card__tag {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 0.75rem;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.98rem;
  color: var(--title); line-height: 1.4;
  margin-bottom: 0.6rem; flex: 1;
}
.blog-card p {
  font-size: 0.84rem; color: var(--text);
  opacity: 0.8; line-height: 1.65;
  margin-bottom: 1rem;
}
.blog-card__more {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.8rem;
  color: var(--title);
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: auto;
  transition: gap 0.2s;
}
.blog-card__more:hover { gap: 8px; }

/* ── FOOTER CTA ────────────────────────────────────────────── */
.footer-cta {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
  text-align: center;
  background: var(--bg);
  position: relative; overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(90,26,26,0.08) 0%, transparent 70%);
}
.footer-cta__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--title); letter-spacing: -0.03em;
  line-height: 1.1; margin-bottom: 1.1rem;
}
.footer-cta p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text); opacity: 0.85;
  margin-bottom: 2rem; line-height: 1.75;
}
.footer-cta__email {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 1rem 2.25rem;
  background: var(--title); color: var(--white);
  border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.05rem;
  box-shadow: 0 12px 36px rgba(90,26,26,0.32);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.footer-cta__email:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px rgba(90,26,26,0.38);
  background: var(--dark);
}