/* ==================== RESET & BASE ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --orange: #ff5a1f;
  --orange-dark: #e0480f;
  --black: #0c0c0d;
  --dark: #121214;
  --dark-2: #1a1a1c;
  --gray-line: #2b2b2e;
  --text-light: #f5f5f5;
  --text-muted: #9a9a9d;
  --text-body: #55555a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--black);
  font-weight: 800;
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 110px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 84px;
}
.section > .container { width: 100%; }

/* ==================== SCROLL REVEAL ==================== */
.reveal-section > .container {
  opacity: 0;
  transform: translateY(56px);
  transition: opacity .9s cubic-bezier(.16,.84,.44,1), transform .9s cubic-bezier(.16,.84,.44,1);
  will-change: opacity, transform;
}
.reveal-section.in-view > .container {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-section > .container {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.section-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 1px;
}
.section-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--orange);
  margin: 10px 0 14px;
}
.section-desc {
  font-size: 15.5px;
  color: var(--text-body);
  margin-top: 16px;
  max-width: 480px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all .25s ease;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-dark {
  border-color: var(--orange);
  color: var(--black);
  margin-top: 34px;
}
.btn-outline-dark:hover { background: var(--orange); color: #fff; }

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  font-size: 26px;
  color: var(--orange);
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.logo-text small {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 3px;
  margin-top: 3px;
}
.main-nav { display: flex; gap: 34px; }
.main-nav a {
  color: #d8d8da;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color .2s;
}
.main-nav a:hover { color: var(--orange); }
.header-cta { padding: 13px 24px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; }
.mobile-nav, .nav-backdrop { display: none; }
.mobile-nav a { color: #d8d8da; }

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  overflow: hidden;
  scroll-margin-top: 84px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* Video yüklenene kadar / desteklenmezse gösterilecek statik kare */
  background-image: url('../images/hero-poster.jpg');
  background-size: cover;
  background-position: center;
  background-color: #0a0a0b;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero-gradient {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(90deg, rgba(8,8,9,0.97) 0%, rgba(8,8,9,0.8) 42%, rgba(8,8,9,0.3) 75%, rgba(8,8,9,0.15) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 84px; }
.hero-content { max-width: 620px; }
.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-desc {
  color: #c3c3c6;
  font-size: 16px;
  max-width: 500px;
  margin-bottom: 38px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 30px;
  margin-bottom: 42px;
}
.hero-stats li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-stats i {
  color: var(--orange);
  font-size: 22px;
}
.hero-stats span {
  color: #e6e6e8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.4;
}
.hero-actions { display: flex; gap: 16px; }

.hero-dots {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 16px;
  border-radius: 30px;
  background: rgba(10,10,11,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-dots .dot {
  color: rgba(255,255,255,0.35);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  padding-left: 18px;
  cursor: pointer;
  transition: color .3s ease;
}
.hero-dots .dot::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background .3s ease, box-shadow .3s ease;
}
.hero-dots .dot.active { color: var(--orange); }
.hero-dots .dot.active::before {
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,90,31,0.2);
}

/* ==================== LOGO MARQUEE (hero alt kısmı) ==================== */
.hero-logos {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 26px 0 34px;
  background: linear-gradient(0deg, rgba(8,8,9,0.92) 20%, rgba(8,8,9,0));
}
.logo-strip-title {
  text-align: center;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.logo-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-marquee 26s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-item {
  color: #cfcfd2;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  opacity: 0.75;
  transition: opacity .2s;
  filter: grayscale(1);
  white-space: nowrap;
  flex: none;
  margin-right: 46px;
}
.logo-item:hover { opacity: 1; color: #fff; filter: none; }
.logo-item small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-left: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ==================== TWO COL LAYOUT ==================== */
.two-col {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
}
.col-left h2 { font-size: 34px; margin-bottom: 4px; }

/* ==================== SECTION 02 FEATURES ==================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e7e7e8;
  border: 1px solid #e7e7e8;
}
.feature-card {
  background: #fff;
  padding: 38px 30px;
  transition: background .25s, transform .25s;
}
.feature-card:hover {
  background: var(--black);
  transform: translateY(-4px);
  z-index: 2;
  position: relative;
}
.feature-card i {
  color: var(--orange);
  font-size: 26px;
  margin-bottom: 20px;
  display: block;
}
.feature-card h3 {
  font-size: 14.5px;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  transition: color .25s;
}
.feature-card:hover h3 { color: #fff; }
.feature-card p {
  font-size: 13.5px;
  color: var(--text-body);
  transition: color .25s;
}
.feature-card:hover p { color: #b6b6ba; }

/* ==================== SECTION 03 HOW IT WORKS ==================== */
.section-how {
  background: var(--black);
  position: relative;
  overflow: hidden;
}
.section-how .section-desc { color: #b6b6ba; }
.section-how h2 { color: #fff; }

.how-bg { position: absolute; inset: 0; z-index: 0; }
.how-photo {
  position: absolute;
  inset: 0;
  background-image: url('../images/section-how-bg.jpg');
  background-size: cover;
  /* col-right'taki yıldız diyagramının merkeziyle hizalanacak şekilde ayarlandı */
  background-position: 64% center;
  background-color: #0a0a0b;
}
.how-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,8,9,0.97) 0%, rgba(8,8,9,0.88) 28%, rgba(8,8,9,0.4) 58%, rgba(8,8,9,0.1) 100%);
}
.section-how .two-col { position: relative; z-index: 1; }

.how-diagram {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.how-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle, transparent 28%, rgba(8,8,9,0.5) 62%, rgba(8,8,9,0.8) 100%);
}

.how-step {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 200px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85);
}
.how-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark-2);
  border: 1px solid var(--orange);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.how-text strong {
  color: var(--orange);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  display: block;
}
.how-text span {
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: block;
  margin: 3px 0 5px;
  letter-spacing: 0.3px;
}
.how-text p { color: #b8b8bc; font-size: 12.5px; line-height: 1.5; }

/* Plaka/araç görseli diyagramın merkezinde; 5 adım bu merkez etrafında
   yıldız uçları gibi eşit açılarla (72°) dağıtılıyor: 1 üstte, 2 sağda, 2 solda. */
.step-1 {
  top: 44%;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.step-2 {
  top: 69.5%;
  left: 82.3%;
  transform: translateY(-50%);
}
.step-3 {
  top: 96.5%;
  left: 70%;
  transform: translateY(-50%);
}
.step-4 {
  top: 96.5%;
  right: 70%;
  transform: translateY(-50%);
  flex-direction: row-reverse;
  text-align: right;
}
.step-5 {
  top: 71.5%;
  right: 82.3%;
  transform: translateY(-50%);
  flex-direction: row-reverse;
  text-align: right;
}

/* ==================== PRODUCTS ==================== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 60px;
}
.section-head h2 { font-size: 32px; }
.section-head-right .btn { margin-top: 20px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.product-card {
  border: 1px solid #ececed;
  border-radius: 10px;
  padding: 22px;
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}
.product-photo {
  height: 180px;
  border-radius: 8px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ff8154, #ff2f1f);
  position: relative;
  overflow: hidden;
}
.product-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(255,90,31,0.2), transparent 60%);
  pointer-events: none;
}
.product-photo img {
  position: relative;
  z-index: 1;
  width: 84%;
  height: 84%;
  object-fit: contain;
}
.product-card h3 {
  font-size: 14px;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}
.product-card p {
  font-size: 13px;
  color: var(--text-body);
  margin-bottom: 18px;
  min-height: 55px;
}
.product-card a {
  color: var(--orange);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ==================== AREAS ==================== */
.section-areas {
  background: var(--black);
}
.section-areas h2, .section-areas .section-num { color: #fff; }
.section-areas .section-desc { color: #b6b6ba; }

.area-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.area-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.area-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  background: #101012;
}
.area-card:hover .area-photo { transform: scale(1.08); }

.area-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 10%, rgba(0,0,0,0.05) 55%);
}
.area-label {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.area-label i { color: var(--orange); }

/* ==================== FOOTER ==================== */
.footer { background: var(--black); }
.footer-cta {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 60px;
}
.footer-cta-inner {
  display: grid;
  grid-template-columns: 440px 1fr auto;
  gap: 50px;
  align-items: stretch;
  min-height: 230px;
}
.footer-photo {
  position: relative;
  overflow: hidden;
}
.footer-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 12% center;
  display: block;
}
.footer-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 35%, var(--black) 96%);
}
.footer-cta-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}
.footer-cta-text h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.footer-cta-text p { color: #b6b6ba; margin-bottom: 26px; }
.footer-cta-actions { display: flex; gap: 16px; }
.footer-contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
}
.footer-contact p {
  color: #d8d8da;
  font-size: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact i { color: var(--orange); margin-top: 3px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1100px) {
  .two-col { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .section-head { grid-template-columns: 1fr; }
  .footer-cta-inner { grid-template-columns: 1fr; }
  .footer-photo { display: none; }
}

@media (max-width: 860px) {
  .header-cta { display: none; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; z-index: 1002; }

  /* ---- Off-canvas mobile menu ---- */
  .mobile-nav {
    display: flex;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(84vw, 340px);
    left: auto;
    z-index: 1001;
    background: var(--black);
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 90px 28px 28px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.16,.84,.44,1);
    overflow-y: auto;
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 15px;
  }
  .nav-cta {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 24px;
    border-bottom: none;
    padding: 15px 0;
  }
  .nav-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4,4,5,0.6);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }
  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }

  .hero h1 { font-size: 38px; }
  .hero-stats { grid-template-columns: repeat(2, auto); }
  .hero-dots { display: none; }

  /* ---- section-how: star diagram becomes a stacked list on mobile ---- */
  .how-diagram {
    position: static;
    width: 100%;
    max-width: none;
    aspect-ratio: auto;
    margin: 32px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .how-vignette { display: none; }
  .how-step {
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    transform: none;
    width: 100%;
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    background: rgba(10,10,11,0.6);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px;
  }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-item { margin-right: 30px; }
}

@media (max-width: 520px) {
  .section { padding: 70px 0; }
  .hero h1 { font-size: 30px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .product-grid, .area-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
}
