/* ============================================================
   HaniftaCRM – kullanim-alanlari.css  |  Kullanım Alanları
   ============================================================ */

/* ── SAYFA HERO ────────────────────────────────────────────── */
.ua-hero {
  padding: calc(var(--nav-h) + 5rem) clamp(1.25rem, 5vw, 3rem) 5rem;
  text-align: center; position: relative; overflow: hidden;
}
.ua-hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 55% at 15% 10%, rgba(90,26,26,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 85% 90%, rgba(160,96,96,0.06) 0%, transparent 60%);
}
/* Floating emoji dekor */
.ua-hero__float {
  position: absolute; font-size: 2rem; opacity: 0.12;
  pointer-events: none; z-index: 0;
}
.ua-hero__float:nth-child(1){ top:18%; left:8%; animation: uaFloat 8s ease-in-out infinite; }
.ua-hero__float:nth-child(2){ top:30%; right:10%; animation: uaFloat 10s 1s ease-in-out infinite; }
.ua-hero__float:nth-child(3){ bottom:20%; left:15%; animation: uaFloat 7s 2s ease-in-out infinite; }
.ua-hero__float:nth-child(4){ bottom:30%; right:8%; animation: uaFloat 9s 0.5s ease-in-out infinite; }
@keyframes uaFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-18px) rotate(5deg); }
}

.ua-hero__content {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
}
.ua-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;
}
.ua-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;
}
.ua-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;
}
.ua-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;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SEKTÖR KARTLARI ───────────────────────────────────────── */
.sectors {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 5vw, 3rem);
}
.sectors__inner { max-width: 1200px; margin: 0 auto; }
.sectors__head {
  text-align: center; margin-bottom: 3rem;
}
.sectors__head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--title); letter-spacing: -0.025em;
}
.sectors__head p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text); opacity: 0.85; margin-top: 0.75rem;
  max-width: 520px; margin-left: auto; margin-right: auto;
}

.sectors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.sector-card {
  background: var(--bg-light);
  border: 1px solid rgba(90,26,26,0.10);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative; overflow: hidden; cursor: default;
}
.sector-card::after {
  content: '';
  position: absolute; bottom: 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);
}
.sector-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 56px var(--shadow);
  border-color: rgba(90,26,26,0.18);
}
.sector-card:hover::after { transform: scaleX(1); }

.sector-card__emoji {
  font-size: 2.4rem; line-height: 1; margin-bottom: 1.1rem;
  display: block;
  transition: transform 0.3s var(--ease);
}
.sector-card:hover .sector-card__emoji { transform: scale(1.15) rotate(-5deg); }

.sector-card h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem; color: var(--title); margin-bottom: 0.75rem;
}
.sector-card p {
  font-size: 0.9rem; color: var(--text); opacity: 0.85;
  line-height: 1.7; margin-bottom: 1.25rem;
}
.sector-card__benefits {
  display: flex; flex-direction: column; gap: 0.45rem;
}
.sector-card__benefit {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.8rem; color: var(--dark);
}
.sector-card__benefit::before {
  content: '';
  display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--mid); flex-shrink: 0;
}

/* ── NASIL ÇALIŞIR ─────────────────────────────────────────── */
.how-it-works {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
  background: var(--bg-light);
  position: relative; overflow: hidden;
}
.how-it-works::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(90,26,26,0.04) 0%, transparent 70%);
}
.how-it-works__inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.how-it-works__head {
  text-align: center; margin-bottom: 3.5rem;
}
.how-it-works__head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--title); letter-spacing: -0.025em;
}
.how-it-works__head p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text); opacity: 0.85; margin-top: 0.75rem;
}

.steps {
  display: flex; flex-direction: column; gap: 0;
  position: relative;
}
/* Dikey bağlantı çizgisi */
.steps::before {
  content: '';
  position: absolute; top: 40px; bottom: 40px; left: 27px;
  width: 2px;
  background: linear-gradient(to bottom, var(--mid) 0%, transparent 100%);
  opacity: 0.3;
}
.step {
  display: flex; align-items: flex-start; gap: 1.75rem;
  padding: 1.75rem 0;
  position: relative;
}
.step:not(:last-child) { border-bottom: 1px solid rgba(90,26,26,0.07); }
.step__num {
  flex-shrink: 0; width: 56px; height: 56px;
  background: var(--title); color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(90,26,26,0.25);
  position: relative; z-index: 1;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover .step__num {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(90,26,26,0.35);
}
.step__body { flex: 1; padding-top: 0.5rem; }
.step__body h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; color: var(--title); margin-bottom: 0.5rem;
}
.step__body p {
  font-size: 0.95rem; color: var(--text); opacity: 0.85; line-height: 1.75;
}

/* ── KARŞILAŞTIRMA ─────────────────────────────────────────── */
.comparison {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3rem);
}
.comparison__inner { max-width: 900px; margin: 0 auto; }
.comparison__head {
  text-align: center; margin-bottom: 3rem;
}
.comparison__head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--title); letter-spacing: -0.025em;
}
.comparison-table {
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 16px 48px var(--shadow);
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(90,26,26,0.08);
}
.comparison-table thead {
  background: var(--title);
}
.comparison-table thead th {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--white); letter-spacing: 0.04em; border-bottom: none;
}
.comparison-table thead th:first-child { border-radius: var(--radius) 0 0 0; }
.comparison-table thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.comparison-table tbody tr:nth-child(even) { background: var(--bg-light); }
.comparison-table tbody tr:nth-child(odd) { background: var(--white); }
.comparison-table tbody tr:hover { background: rgba(90,26,26,0.04); }
.comparison-table td:first-child {
  font-family: var(--font-display); font-weight: 600;
  font-size: 0.88rem; color: var(--title);
}
.comparison-table td {
  font-size: 0.85rem; color: var(--text);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.check-y { color: #2e7d32; font-weight: 900; font-size: 1.1rem; }
.check-n { color: #c62828; font-weight: 900; opacity: 0.5; }

/* ── BIG CTA ────────────────────────────────────────────────── */
.ua-cta {
  padding: clamp(5rem, 10vw, 8rem) clamp(1.25rem, 5vw, 3rem);
  background: var(--title); text-align: center;
  position: relative; overflow: hidden;
}
.ua-cta::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px,
    transparent 1px, transparent 28px
  );
}
.ua-cta__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.ua-cta h2 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white); letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 1rem;
}
.ua-cta p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,250,250,0.78); margin-bottom: 2rem; line-height: 1.75;
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .steps::before { left: 23px; }
  .step__num { width: 48px; height: 48px; font-size: 1rem; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 0.75rem 0.85rem; }
}