/* ============================================================
   HaniftaCRM – ozellikler.css  |  Özellikler Sayfası
   ============================================================ */

/* ── SAYFA HERO ────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) clamp(1.25rem, 5vw, 3rem) 5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 0%, rgba(90,26,26,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 100%, rgba(160,96,96,0.06) 0%, transparent 60%);
}
.page-hero__content {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}
.page-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mid);
  padding: 0.35rem 0.9rem;
  background: rgba(90,26,26,0.06);
  border: 1px solid rgba(90,26,26,0.14);
  border-radius: 99px; margin-bottom: 1.25rem;
  animation: fadeUp 0.7s var(--ease) both;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  color: var(--title);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.7s 0.1s var(--ease) both;
}
.page-hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text); opacity: 0.88;
  line-height: 1.8; max-width: 560px; margin: 0 auto;
  animation: fadeUp 0.7s 0.2s var(--ease) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Dekoratif yatay çizgi */
.page-hero__divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--mid), var(--title));
  border-radius: 3px;
  margin: 1.75rem auto 0;
  animation: fadeUp 0.7s 0.3s var(--ease) both;
}

/* ── ÖZELLİK GRUPLARI ──────────────────────────────────────── */
.features-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
}
.features-section:nth-child(even) {
  background: var(--bg-light);
}

.feature-group {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.feature-group--reverse .feature-group__visual { order: -1; }

/* Metin tarafı */
.feature-group__text .section-tag { margin-bottom: 0.85rem; }
.feature-group__text h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  color: var(--title); letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 1rem;
}
.feature-group__text p {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text); opacity: 0.88;
  line-height: 1.8; margin-bottom: 1.5rem;
}

/* Özellik maddeleri */
.feat-points { display: flex; flex-direction: column; gap: 0.75rem; }
.feat-point {
  display: flex; align-items: flex-start; gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: rgba(90,26,26,0.04);
  border: 1px solid rgba(90,26,26,0.08);
  border-radius: var(--radius);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.feat-point:hover {
  background: rgba(90,26,26,0.08);
  transform: translateX(5px);
}
.feat-point__check {
  flex-shrink: 0; margin-top: 2px;
  width: 20px; height: 20px;
  background: var(--title); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.feat-point__check svg { color: var(--white); }
.feat-point__body h4 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.92rem;
  color: var(--title); margin-bottom: 0.15rem;
}
.feat-point__body p {
  font-size: 0.84rem; color: var(--text);
  opacity: 0.8; margin-bottom: 0; line-height: 1.6;
}

/* Görsel tarafı */
.feature-group__visual {
  position: relative;
}
.feat-visual-card {
  background: var(--white);
  border: 1px solid rgba(90,26,26,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 20px 60px var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.feat-visual-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 32px 80px var(--shadow-deep);
}
.feat-visual-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--mid), var(--title), var(--mid));
}

/* Mock UI içerikleri */
.mock-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 1px solid rgba(90,26,26,0.08);
}
.mock-header h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem; color: var(--title);
}
.mock-badge {
  padding: 3px 10px; border-radius: 99px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.mock-badge--green { background: #d4edda; color: #155724; }
.mock-badge--blue  { background: #cce5ff; color: #004085; }
.mock-badge--gold  { background: #fff3cd; color: #856404; }

/* Müşteri listesi mock */
.mock-customer-list { display: flex; flex-direction: column; gap: 0.65rem; }
.mock-customer {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.65rem 0.85rem;
  background: rgba(90,26,26,0.03);
  border-radius: 10px;
  transition: background 0.2s;
}
.mock-customer:hover { background: rgba(90,26,26,0.07); }
.mock-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--mid), var(--title));
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.8rem; color: var(--white);
}
.mock-customer__info { flex: 1; min-width: 0; }
.mock-customer__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.85rem; color: var(--title);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mock-customer__sub {
  font-size: 0.75rem; color: var(--mid); opacity: 0.85;
}

/* Satış pipeline mock */
.mock-pipeline {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.mock-pipe-col { display: flex; flex-direction: column; gap: 0.5rem; }
.mock-pipe-label {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.65rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 0.35rem;
  padding: 0 0.25rem;
}
.mock-pipe-card {
  background: rgba(90,26,26,0.05);
  border: 1px solid rgba(90,26,26,0.10);
  border-radius: 8px; padding: 0.65rem 0.75rem;
}
.mock-pipe-card__name {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.75rem; color: var(--title);
  margin-bottom: 0.2rem;
}
.mock-pipe-card__val {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.85rem; color: var(--dark);
}

/* Analiz grafik mock */
.mock-chart {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.mock-bar-row {
  display: flex; align-items: center; gap: 0.85rem;
}
.mock-bar-label {
  font-family: var(--font-display);
  font-size: 0.75rem; color: var(--mid);
  width: 64px; flex-shrink: 0; text-align: right;
}
.mock-bar-track {
  flex: 1; height: 10px;
  background: rgba(90,26,26,0.08); border-radius: 99px;
  overflow: hidden;
}
.mock-bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--mid), var(--title));
  animation: barGrow 1.2s var(--ease) both;
  transform-origin: left;
}
@keyframes barGrow {
  from { width: 0 !important; }
}
.mock-bar-val {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.78rem;
  color: var(--title); width: 36px; flex-shrink: 0;
}

/* Takvim mock */
.mock-calendar { display: flex; flex-direction: column; gap: 0.5rem; }
.mock-cal-event {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px; border-left: 3px solid var(--title);
  background: rgba(90,26,26,0.04);
}
.mock-cal-time {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.72rem;
  color: var(--mid); width: 48px; flex-shrink: 0;
}
.mock-cal-title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 0.82rem; color: var(--title);
}

/* Dekoratif süsleme kartları */
.feat-deco {
  position: absolute;
  background: var(--bg-light);
  border: 1px solid rgba(90,26,26,0.10);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  box-shadow: 0 8px 24px var(--shadow);
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.8rem; color: var(--title);
  display: flex; align-items: center; gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.feat-deco--tl { top: -16px; left: -20px; animation: floatDeco 6s ease-in-out infinite; }
.feat-deco--br { bottom: -16px; right: -20px; animation: floatDeco 6s 1s ease-in-out infinite; }
@keyframes floatDeco {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── TÜM ÖZELLİKLER TABLO/GRID ─────────────────────────────── */
.all-features {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
  background: var(--title);
  position: relative; overflow: hidden;
}
.all-features::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
    transparent 1px, transparent 28px
  );
}
.all-features__head {
  text-align: center; margin-bottom: 3rem; position: relative; z-index: 1;
}
.all-features__head .section-tag {
  background: rgba(255,250,250,0.10);
  border-color: rgba(255,250,250,0.20);
  color: rgba(255,250,250,0.75);
}
.all-features__head .section-tag::before { background: rgba(255,250,250,0.75); }
.all-features__head h2 {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white); letter-spacing: -0.025em;
}
.all-features__head p {
  color: rgba(255,250,250,0.7);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  margin-top: 0.75rem;
}
.all-features-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; position: relative; z-index: 1;
}
.all-feat-item {
  background: rgba(255,250,250,0.06);
  border: 1px solid rgba(255,250,250,0.10);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  display: flex; align-items: flex-start; gap: 1rem;
}
.all-feat-item:hover {
  background: rgba(255,250,250,0.10);
  transform: translateY(-3px);
}
.all-feat-item__icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(255,250,250,0.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,250,250,0.85);
}
.all-feat-item h4 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem;
  color: var(--white); margin-bottom: 0.3rem;
}
.all-feat-item p {
  font-size: 0.82rem;
  color: rgba(255,250,250,0.62);
  line-height: 1.6;
}

/* ── FOOTER CTA (özellikler sayfası) ───────────────────────── */
.feat-footer-cta {
  padding: clamp(4rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
  text-align: center;
}
.feat-footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 900; font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--title); letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}
.feat-footer-cta p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text); opacity: 0.85;
  max-width: 480px; margin: 0 auto 1.75rem;
  line-height: 1.75;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .all-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .feature-group { grid-template-columns: 1fr; gap: 2rem; }
  .feature-group--reverse .feature-group__visual { order: 0; }
  .feat-deco { display: none; }
  .all-features-grid { grid-template-columns: 1fr 1fr; }
  .mock-pipeline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .all-features-grid { grid-template-columns: 1fr; }
  .mock-pipeline { grid-template-columns: 1fr 1fr; }
}