/* Ana sayfa içerik genişliği ekranla büyür; header ve footer da aynı hizada */
.home-wrap,
body[data-page="home"] .header .wrap,
body[data-page="home"] .footer .wrap {
  width: min(1760px, calc(100% - 2 * clamp(17px, 5vw, 96px)));
  margin: auto;
}

/* İnce cyan dalga çizgileri (tasarımdaki arka plan dokusu) */
:root {
  --home-waves: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 300' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%2356cdd0' stroke-opacity='.28' stroke-width='1'%3E%3Cpath d='M0 250 C300 200 600 290 900 210 S1150 140 1200 150'/%3E%3Cpath d='M0 270 C320 215 620 300 920 225 S1160 160 1200 172'/%3E%3Cpath d='M0 290 C340 235 650 305 940 245 S1170 185 1200 196'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Ortak başlık stili ---------- */
.home-hero h1,
.home-system h2,
.home-impact h2,
.home-sectors h2,
.home-steps h2 {
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
  color: #132d3b;
}
.home-system h2 em,
.home-impact h2 em,
.home-sectors h2 em,
.home-steps h2 em {
  color: #f26522;
  font-style: normal;
}
/* Başlık altı turuncu çizgi */
.home-system-copy > span,
.home-impact span,
.home-sectors h2:after,
.home-steps h2:after,
.home-solutions h2:after {
  content: "";
  display: block;
  width: clamp(30px, 2.4vw, 46px);
  border-top: 3px solid #f26522;
  margin: clamp(16px, 1.5vw, 26px) 0;
}

/* ---------- Hero ---------- */
.home-hero {
  height: clamp(420px, 34vw, 640px);
  background: #f2f8fa var(--home-waves) right center / 74% 100% no-repeat;
  position: relative;
}
.home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #f8fbfc 0%,
    #f8fbfcd9 26%,
    transparent 50%
  );
}
.home-hero:after {
  content: "";
  position: absolute;
  z-index: 1;
  right: clamp(6%, 12vw, 18%);
  top: 50%;
  width: clamp(250px, 30vw, 500px);
  aspect-ratio: 1;
  background: url("../images/feniks-phoenix-hero-v2.png") center / contain no-repeat;
  transform: translateY(-50%);
  filter: drop-shadow(0 18px 24px #09223522);
}
.home-hero .home-wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.home-hero-copy {
  width: clamp(380px, 32vw, 600px);
}
.home-hero h1 {
  font-size: clamp(48px, 4.6vw, 86px);
  font-weight: 500;
}
.home-kicker {
  color: #f26522 !important;
  font-size: clamp(18px, 1.4vw, 26px) !important;
  margin: 0.7em 0 0.45em !important;
}
.home-hero p {
  font-size: clamp(15px, 1.1vw, 20px);
  line-height: 1.45;
  margin: 0 0 1.3em;
  max-width: 24em;
}
.home-hero a {
  color: #f26522;
  border-bottom: 2px solid #f26522;
  padding-bottom: 7px;
  font-weight: 700;
  font-size: clamp(15px, 1.05vw, 19px);
}
.home-hero a b {
  margin-left: 18px;
}

/* ---------- Hızlı bağlantılar ---------- */
.home-quick {
  position: relative;
  background: #fff;
  padding-bottom: clamp(18px, 1.6vw, 30px);
}
/* Alt kısımdaki turuncu-lacivert kavis */
.home-quick:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(22px, 2vw, 40px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 26' preserveAspectRatio='none'%3E%3Cpath d='M480 25 C700 22 860 12 1000 2' fill='none' stroke='%23f26522' stroke-width='1.6'/%3E%3Cpath d='M760 26 C870 22 940 14 1000 6 L1000 26 Z' fill='%23092235'/%3E%3C/svg%3E")
    center/100% 100% no-repeat;
  pointer-events: none;
}
.home-quick .home-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.home-quick a {
  padding: clamp(20px, 1.8vw, 34px) 64px clamp(16px, 1.4vw, 26px) 0;
  position: relative;
}
.home-quick a + a {
  border-left: 1px solid #c9d9df;
  padding-left: clamp(24px, 2.4vw, 48px);
}
.home-quick b {
  display: block;
  font-size: clamp(21px, 1.7vw, 32px);
  font-weight: 600;
}
.home-quick small {
  display: block;
  margin-top: 5px;
  color: #3d525c;
  font-size: clamp(13px, 0.9vw, 16px);
}
.home-quick i,
.sector-list i {
  position: absolute;
  right: clamp(20px, 2vw, 40px);
  top: clamp(20px, 1.8vw, 34px);
  color: #f26522;
  font-size: clamp(22px, 1.7vw, 30px);
  font-style: normal;
  font-weight: 400;
  transition: transform 0.2s;
}
.home-quick a:hover i,
.sector-list a:hover i {
  transform: translateX(4px);
}

/* ---------- Feniks ile Dönüşüm ---------- */
.home-system {
  padding: clamp(40px, 3.5vw, 70px) 0;
  background: linear-gradient(145deg, #fff, #effbfe);
}
.home-system .home-wrap {
  display: grid;
  grid-template-columns: 31% 69%;
  align-items: center;
}
.home-system h2 {
  font-size: clamp(42px, 3.6vw, 68px);
}
.home-system-copy p {
  font-size: clamp(15px, 1.05vw, 19px);
  line-height: 1.55;
  max-width: 22em;
}
.home-system-art {
  height: clamp(300px, 25vw, 470px);
  position: relative;
}
/* Görsel kenarları arka plana yumuşakça karışır */
.home-system-art:before {
  content: "";
  position: absolute;
  inset: 0 clamp(120px, 11vw, 220px);
  background: url("../images/feniks-data-ecosystem.jpg") center/cover no-repeat;
  -webkit-mask-image: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    #000 62%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 50% at 50% 50%,
    #000 62%,
    transparent 100%
  );
}
.data-core {
  display: none;
}
.art-label {
  position: absolute;
  z-index: 1;
  width: clamp(110px, 9vw, 170px);
  font-weight: 700;
  font-size: clamp(12px, 0.85vw, 15px);
  line-height: 1.25;
}
.art-label small {
  font-weight: 500;
  color: #3d525c;
}
/* Etiketlerden görsele uzanan bağlantı çizgisi + nokta */
.art-label:before,
.art-label:after {
  content: "";
  position: absolute;
  top: 0.6em;
}
.art-label:before {
  width: 44px;
  border-top: 1px solid #56cdd0;
}
.art-label:after {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border: 1px solid #56cdd0;
  border-radius: 50%;
  background: #fff;
}
.label-a,
.label-b,
.label-c {
  left: 0;
}
.label-a:before,
.label-b:before,
.label-c:before {
  left: calc(100% + 4px);
}
.label-a:after,
.label-b:after,
.label-c:after {
  left: calc(100% + 48px);
}
.label-d,
.label-e,
.label-f {
  right: 0;
}
.label-d:before,
.label-e:before,
.label-f:before {
  right: calc(100% + 4px);
}
.label-d:after,
.label-e:after,
.label-f:after {
  right: calc(100% + 48px);
}
.label-a,
.label-d {
  top: 12%;
}
.label-b,
.label-e {
  top: 44%;
}
.label-c,
.label-f {
  top: 76%;
}

/* ---------- Çözüm Alanları ---------- */
.home-solutions {
  background: #0b2536;
  color: #fff;
  padding: clamp(24px, 2.2vw, 40px) 0;
}
.home-solutions .home-wrap {
  display: grid;
  grid-template-columns: 15% 85%;
  align-items: center;
}
.home-solutions h2 {
  margin: 0;
  padding-right: 20px;
  border-right: 1px solid #ffffff55;
  font-size: clamp(28px, 2.3vw, 44px);
  line-height: 1.05;
  font-weight: 500;
}
.home-solutions h2:after {
  margin: 0.45em 0 0;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: center;
}
.solution-grid a {
  position: relative;
  padding: 0 8px 0 clamp(22px, 2.2vw, 44px);
  font-size: clamp(13px, 0.95vw, 18px);
  line-height: 1.2;
  transition: color 0.2s;
}
.solution-grid a:hover {
  color: #ff9a5c;
}
/* Öğeler arası eğik çizgi ayırıcı */
.solution-grid a + a:before {
  content: "";
  position: absolute;
  left: clamp(4px, 0.6vw, 12px);
  top: 50%;
  height: 1.7em;
  margin-top: -0.4em;
  border-left: 1px solid #8aadb8aa;
  transform: rotate(22deg);
}
.solution-grid small {
  display: block;
  color: #f26522;
  font-size: 1.05em;
  margin-bottom: 0.35em;
}

/* ---------- Veriden Karara ---------- */
/* Görsel bölümün sol tarafını kenardan kenara doldurur, sağa doğru solar */
.home-impact {
  position: relative;
  min-height: clamp(300px, 24vw, 460px);
  display: flex;
  align-items: center;
  background: #f6fbfe;
  overflow: hidden;
}
.home-impact .home-wrap {
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  padding: clamp(32px, 3vw, 56px) 0;
}
.home-impact .home-wrap > div:last-child {
  grid-column: 2;
}
.home-impact-art {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 66%;
  background: url("../images/feniks-impact.jpg") left 40% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
}
.home-impact .home-wrap > div:last-child {
  position: relative;
}
.home-impact h2 {
  font-size: clamp(36px, 3.2vw, 60px);
}
.home-impact p {
  font-size: clamp(14px, 1.05vw, 19px);
  line-height: 1.55;
  max-width: 28em;
  margin: 0;
}

/* ---------- Sektörler ---------- */
.home-sectors {
  padding: clamp(30px, 2.6vw, 50px) 0;
  background: #eef6fa var(--home-waves) right bottom / 70% 100% no-repeat;
}
.home-sectors .home-wrap {
  display: grid;
  grid-template-columns: 24% 76%;
  align-items: center;
}
.home-sectors h2 {
  font-size: clamp(34px, 2.9vw, 54px);
  border-right: 1px solid #c4d6de;
  padding: 0.3em 0;
  margin-right: clamp(28px, 3vw, 60px);
}
.home-sectors h2:after {
  margin-bottom: 0;
}
.sector-list a {
  display: grid;
  grid-template-columns: 1fr 1fr 40px;
  gap: 20px;
  align-items: center;
  padding: clamp(8px, 0.8vw, 15px) 0;
  position: relative;
}
.sector-list a + a {
  border-top: 1px solid #c4d6de;
}
.sector-list b {
  font-size: clamp(21px, 1.75vw, 33px);
  font-weight: 500;
}
.sector-list span {
  font-size: clamp(12px, 0.85vw, 16px);
  line-height: 1.4;
  color: #3d525c;
  max-width: 26em;
}
.sector-list i {
  position: static;
  text-align: right;
}

/* ---------- Birlikte Nasıl Çalışıyoruz ---------- */
.home-steps {
  padding: clamp(28px, 2.6vw, 50px) 0;
  background: #f9fcfe var(--home-waves) left bottom / 100% 70% no-repeat;
}
.home-steps .home-wrap {
  display: grid;
  grid-template-columns: 22% 78%;
  align-items: start;
}
.home-steps h2 {
  font-size: clamp(28px, 2.3vw, 44px);
  letter-spacing: -0.02em;
}
.home-steps h2:after {
  margin: 0.55em 0 0;
}
.home-steps .home-wrap > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.home-steps article {
  position: relative;
  padding: 0 clamp(40px, 3.4vw, 64px) 0 clamp(18px, 1.6vw, 30px);
  border-left: 1px solid #c4d6de;
}
/* Adımlar arası ok */
.home-steps article:not(:last-child):after {
  content: "→";
  position: absolute;
  right: clamp(12px, 1.2vw, 24px);
  top: 0;
  color: #f26522;
  font-size: clamp(18px, 1.4vw, 26px);
  line-height: 1;
}
.home-steps small {
  color: #f26522;
  font-size: clamp(16px, 1.25vw, 23px);
  margin-right: 0.4em;
}
.home-steps b {
  font-size: clamp(17px, 1.3vw, 24px);
  font-weight: 600;
}
.home-steps p {
  font-size: clamp(12px, 0.9vw, 16px);
  line-height: 1.45;
  color: #3d525c;
  margin: 0.7em 0 0;
}

/* ---------- CTA ---------- */
.home-cta {
  position: relative;
  padding: clamp(30px, 2.8vw, 54px) 0 clamp(40px, 3.6vw, 70px);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L0 104 C260 88 520 118 760 92 S960 60 1000 52 L1000 120 Z' fill='%230b2536'/%3E%3Cpath d='M0 100 C280 80 560 112 800 84 S960 54 1000 44' fill='none' stroke='%23ffd2b0' stroke-opacity='.7' stroke-width='1.4'/%3E%3Cpath d='M380 120 C560 70 760 40 1000 6 L1000 46 C820 70 620 96 480 120 Z' fill='%23ffffff' fill-opacity='.10'/%3E%3Cpath d='M0 30 C220 10 420 20 620 0' fill='none' stroke='%23ffffff' stroke-opacity='.25' stroke-width='1'/%3E%3C/svg%3E")
      center bottom / 100% 100% no-repeat,
    radial-gradient(ellipse 45% 120% at 72% 40%, #ff9a4d 0%, transparent 70%),
    linear-gradient(100deg, #d9420f 0%, #f26522 45%, #f57a2c 70%, #e9561a 100%);
  color: #fff;
  overflow: hidden;
}
.home-cta .home-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(32px, 3vw, 60px);
}
.home-cta b {
  font-size: clamp(26px, 2.4vw, 46px);
  font-weight: 500;
  padding-right: clamp(32px, 3vw, 60px);
  border-right: 1px solid #ffffff88;
}
.home-cta a {
  border-bottom: 1px solid #fff;
  padding: 6px 2px;
  font-weight: 600;
  font-size: clamp(15px, 1.1vw, 20px);
}

/* ---------- Mobil ---------- */
@media (max-width: 800px) {
  .home-hero {
    height: 470px;
    background-position: 62% center;
  }
  .home-hero:after {
    right: -5%;
    width: min(58vw, 310px);
    opacity: .8;
  }
  .home-hero .home-wrap {
    align-items: flex-start;
  }
  .home-hero-copy {
    width: 75%;
    padding-top: 60px;
  }
  .home-quick .home-wrap,
  .home-system .home-wrap,
  .home-impact .home-wrap,
  .home-sectors .home-wrap,
  .home-steps .home-wrap {
    grid-template-columns: 1fr;
  }
  .home-quick a,
  .home-quick a + a {
    border-left: 0;
    padding-left: 0;
  }
  .home-quick a + a {
    border-top: 1px solid #c9d9df;
  }
  .home-system-art {
    margin-top: 25px;
    height: 300px;
  }
  .home-system-art:before {
    inset: 0;
  }
  .art-label {
    display: none;
  }
  .home-solutions .home-wrap {
    grid-template-columns: 1fr;
  }
  .home-solutions h2 {
    border-right: 0;
  }
  .solution-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 20px;
  }
  .solution-grid a {
    padding: 12px;
  }
  .solution-grid a + a:before {
    display: none;
  }
  .home-impact {
    display: block;
  }
  .home-impact-art {
    position: relative;
    width: 100%;
    height: 210px;
    -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  }
  .home-impact .home-wrap {
    padding-top: 10px;
  }
  .home-impact .home-wrap > div:last-child {
    grid-column: 1;
  }
  .home-sectors h2 {
    border-right: 0;
    margin: 0 0 18px;
  }
  .sector-list a {
    grid-template-columns: 1fr 30px;
    gap: 6px 12px;
  }
  .sector-list i {
    grid-column: 2;
    grid-row: 1;
  }
  .sector-list span {
    grid-column: 1/3;
  }
  .home-steps h2 {
    margin-bottom: 20px;
  }
  .home-steps .home-wrap > div {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .home-steps article {
    padding: 0 10px 0 16px;
  }
  .home-steps article:after {
    display: none;
  }
  .home-cta .home-wrap {
    display: block;
  }
  .home-cta b {
    display: block;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
  }
  .home-hero {
    height: 380px;
    background-position: 64% center;
  }
  .home-hero-copy {
    width: min(86%, 340px);
    padding-top: 40px;
  }
  .home-hero h1 { font-size: 42px; line-height: 1.02; }
  .home-kicker { font-size: 17px !important; margin: .55em 0 .35em !important; }
  .home-hero p { font-size: 14px; margin-bottom: 1em; }
  .home-hero a { font-size: 14px; padding-bottom: 5px; }
  .home-quick { padding-bottom: 12px; }
  .home-quick a { padding: 16px 38px 14px 0; }
  .home-quick b { font-size: 20px; }
  .home-quick small { font-size: 12px; line-height: 1.45; }
  .home-quick i { right: 18px; font-size: 22px; }
  .home-system, .home-sectors, .home-steps { padding: 38px 0; }
  .home-system h2, .home-impact h2, .home-sectors h2 { font-size: 34px; }
  .home-system-copy p, .home-impact p { font-size: 14px; }
  .home-system-art { height: 220px; margin-top: 16px; }
  .home-solutions { padding: 30px 0; }
  .home-solutions h2 { font-size: 32px; }
  .solution-grid { gap: 0; margin-top: 14px; }
  .solution-grid a { min-height: 86px; padding: 10px; font-size: 15px; }
  .solution-grid small { font-size: 11px; }
  .home-impact-art { height: 170px; }
  .home-impact .home-wrap { padding: 22px 0 36px; }
  .sector-list a { padding: 15px 36px 15px 0; }
  .sector-list b { font-size: 18px; }
  .sector-list span { font-size: 12px; line-height: 1.45; }
  .home-steps .home-wrap > div { gap: 14px; }
  .home-steps article { min-height: 108px; padding: 0 7px 0 12px; }
  .home-steps small { font-size: 14px; }
  .home-steps b { font-size: 15px; }
  .home-steps p { font-size: 11px; }
  .home-cta { padding: 34px 0 40px; }
  .home-cta b { font-size: 28px; }
}
