/* =========================================================
   ORVEX — Marka renkleri, tipografi ve site stilleri
   ========================================================= */
:root {
  --navy: #0F172A;
  --navy-soft: #17233d;
  --navy-card: #1b2947;
  --orange: #FF512D;
  --orange-dark: #e8431f;
  --coral: #FFE5E0;
  --gray: #F3F4F6;
  --beige: #F7F7F2;
  --white: #FFFFFF;
  --text: #0F172A;
  --text-muted: #5B6472;
  --text-on-dark: #EAF0FA;
  --text-on-dark-muted: #9AA6C3;
  --radius: 16px;
  --container: 1200px;
  --shadow-soft: 0 20px 45px -20px rgba(15, 23, 42, 0.18);
  --ff-head: 'Poppins', sans-serif;
  --ff-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-head); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
section { position: relative; }

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

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; }

.text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn i { transition: transform 0.2s ease; }
.btn:hover i { transform: translateX(3px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(255, 81, 45, 0.55);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text);
}
.btn-outline-dark:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.btn-outline-light {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: var(--text-on-dark);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.link-arrow {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-arrow i { transition: transform 0.2s ease; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow .fa-star { color: var(--orange); }
.link-arrow:hover .fa-star { transform: rotate(72deg) scale(1.2); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo { height: 34px; width: auto; display: block; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  color: var(--text-on-dark-muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-primary.desktop-only { display: none; }
  .nav-toggle { display: block; }
}

.mobile-nav {
  display: none;
  background: var(--navy-soft);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; padding: 12px 24px 20px; gap: 4px; }
.mobile-nav a { color: var(--text-on-dark-muted); padding: 12px 0; display: block; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mobile-nav .btn { margin-top: 14px; width: 100%; justify-content: center; }
@media (min-width: 901px) { .mobile-nav.open { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  background: var(--navy);
  color: var(--text-on-dark);
  padding: 76px 0 0;
  overflow: hidden;
  position: relative;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 68% 35%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 68% 35%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  margin-bottom: 22px;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,81,45,0.2);
}
.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-copy p.lead {
  margin-top: 20px;
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat { display: flex; align-items: center; gap: 12px; }
.hero-stat .icon-badge {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1.05rem;
}
.hero-stat strong { display: block; font-size: 1.2rem; font-weight: 800; font-family: var(--ff-head); }
.hero-stat div span { color: var(--text-on-dark-muted); font-size: 0.82rem; }

/* ---- Hero illustration (kendi çizdiğimiz sahne) ---- */
.hero-visual { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; }

.glow-blob {
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,81,45,0.35) 0%, rgba(255,81,45,0.08) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(6px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring {
  position: absolute;
  width: 360px; height: 360px;
  border: 1px dashed rgba(255,255,255,0.18);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 50s linear infinite;
}
.orbit-ring-2 {
  width: 470px; height: 470px;
  border-color: rgba(255,255,255,0.1);
  animation-duration: 80s;
  animation-direction: reverse;
}

.starfield span {
  position: absolute;
  width: 3px; height: 3px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

.rocket-scene { position: relative; width: 100%; max-width: 540px; animation: floaty 6s ease-in-out infinite; }
.rocket-img { width: 100%; height: auto; filter: drop-shadow(0 25px 40px rgba(0,0,0,0.45)); }

.float-card {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(23, 35, 61, 0.9);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  font-size: 1.05rem;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5);
}
.card-code { top: 14%; left: 4%; animation: floaty 5s ease-in-out infinite; }
.card-chart { top: 10%; right: 4%; animation: floaty 5.5s ease-in-out infinite 0.4s; }
.card-panel {
  bottom: 12%; right: 8%;
  width: 96px; height: 46px;
  gap: 8px;
  animation: floaty 6.2s ease-in-out infinite 0.2s;
}
.panel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.panel-bar { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,0.25); }
.card-cloud { bottom: 22%; left: -2%; animation: floaty 5.8s ease-in-out infinite 0.6s; }
.card-shield { top: 46%; right: -4%; animation: floaty 6.4s ease-in-out infinite 0.9s; }

@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes twinkle { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero-wave { position: relative; z-index: 1; line-height: 0; }
.hero-wave svg { display: block; width: 100%; height: 64px; }

@media (max-width: 960px) {
  .hero-row { grid-template-columns: 1fr; text-align: left; padding-bottom: 40px; }
  .hero-visual { min-height: 320px; order: -1; }
  .hero-copy p.lead { max-width: 100%; }
  .rocket-scene { max-width: 240px; }
}

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--beige); padding: 96px 0; }
.process-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.process-top h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.process-top h2 span { display: block; }
.process-top p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; align-self: end; }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  border-top: 2px dashed rgba(15, 23, 42, 0.15);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: left; }
.step-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(15,23,42,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--orange);
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}
.step .step-no { font-family: var(--ff-head); font-weight: 800; color: var(--orange); font-size: 0.85rem; display: block; margin-bottom: 2px; }
.step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

@media (max-width: 900px) {
  .process-top { grid-template-columns: 1fr; }
  .process-top p { align-self: auto; }
  .process-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .process-steps::before { display: none; }
}
@media (max-width: 540px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: 96px 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: transform 0.35s ease-out, box-shadow 0.35s ease-out, background-color 0.35s ease-out, border-color 0.35s ease-out;
  will-change: transform;
}
.service-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px -18px rgba(15, 23, 42, 0.16);
  background: var(--white);
  border-color: rgba(15, 23, 42, 0.06);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--orange);
  margin-bottom: 20px;
  box-shadow: 0 8px 18px -8px rgba(15,23,42,0.15);
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 18px; }

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PROJECTS (dark)
   ========================================================= */
.projects { background: var(--navy); padding: 96px 0; color: var(--text-on-dark); }
.projects-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 48px;
}
.projects-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; }
.projects-head h2 span { display: block; }
.projects-head p { color: var(--text-on-dark-muted); margin-top: 16px; max-width: 380px; }
.carousel-controls { display: flex; gap: 10px; }
.carousel-controls button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent; color: var(--white); font-size: 1rem;
  transition: background 0.2s ease;
}
.carousel-controls button:hover { background: rgba(255,255,255,0.1); }

.project-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.project-track::-webkit-scrollbar { display: none; }
.project-card {
  scroll-snap-align: start;
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
}
.project-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.project-card p.desc { color: var(--text-on-dark-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; min-height: 62px; }
.project-stats { display: flex; gap: 22px; margin-bottom: 20px; }
.project-stats div strong { display: block; font-family: var(--ff-head); color: var(--orange); font-size: 1.3rem; font-weight: 800; }
.project-stats div span { color: var(--text-on-dark-muted); font-size: 0.72rem; }
.project-card .link-arrow { font-size: 0.85rem; }

.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.25); transition: width 0.2s ease, background 0.2s ease; }
.carousel-dots button.active { background: var(--orange); width: 22px; border-radius: 4px; }

/* =========================================================
   NOT JUST CODE
   ========================================================= */
.craft { padding: 96px 0; background: var(--white); }
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.craft-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 18px; }
.craft-copy h2 span { display: block; }
.craft-copy p { color: var(--text-muted); line-height: 1.7; margin-bottom: 30px; }
.craft-icons { display: flex; gap: 26px; margin-bottom: 30px; flex-wrap: wrap; }
.craft-icons div { text-align: center; font-size: 0.8rem; color: var(--text-muted); }
.craft-icons i { display: block; font-size: 1.3rem; color: var(--orange); margin-bottom: 8px; }

.craft-visual { display: flex; align-items: center; justify-content: center; }

.flow-card {
  width: 100%;
  max-width: 320px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.flow-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.flow-card-title { font-family: var(--ff-head); font-weight: 700; font-size: 0.92rem; color: var(--text); }
.flow-card-badge {
  background: var(--coral);
  color: var(--orange);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 11px;
  border-radius: 999px;
}
.flow-steps { display: flex; flex-direction: column; gap: 10px; }
.flow-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--gray);
  transition: background 0.3s ease;
}
.flow-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  background: var(--white);
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}
.flow-label { font-weight: 600; font-size: 0.86rem; flex: 1; }
.flow-status { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; }

.flow-steps li.done .flow-icon { background: var(--orange); color: var(--white); }
.flow-steps li.done .flow-status { color: var(--orange); font-weight: 700; }
.flow-steps li.active { background: var(--coral); }
.flow-steps li.active .flow-icon { background: var(--orange); color: var(--white); animation: pulseIcon 1.6s ease-in-out infinite; }
.flow-steps li.active .flow-status { color: var(--orange); font-weight: 700; }
.flow-steps li.pending .flow-status { opacity: 0.65; }

@keyframes pulseIcon {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 81, 45, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(255, 81, 45, 0); }
}

@media (max-width: 1000px) {
  .craft-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   TECH STACK
   ========================================================= */
.techstack { padding: 96px 0; background: var(--beige); }
.tech-columns { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.tech-col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.03em; color: var(--text-muted); margin-bottom: 18px; text-transform: uppercase; }
.tech-col ul { display: flex; flex-direction: column; gap: 14px; }
.tech-col li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 500; }
.tech-col img, .tech-col .tech-fallback { width: 20px; height: 20px; object-fit: contain; }
.tech-col .tech-fallback { display: flex; align-items: center; justify-content: center; background: var(--navy); color: var(--white); border-radius: 5px; font-size: 0.6rem; font-weight: 800; }

@media (max-width: 900px) { .tech-columns { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--navy); padding: 96px 0; color: var(--text-on-dark); }
.testi-top { margin-bottom: 40px; }
.testi-top h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.testi-top h2 span { display: block; }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px;
}
.testi-card .quote-mark { color: var(--orange); font-size: 1.8rem; font-family: var(--ff-head); font-weight: 800; line-height: 1; margin-bottom: 14px; display: block; }
.testi-card p.quote { color: var(--text-on-dark); font-size: 0.94rem; line-height: 1.65; margin-bottom: 22px; }
.testi-card strong { display: block; font-size: 0.92rem; }
.testi-card span { color: var(--text-on-dark-muted); font-size: 0.8rem; }

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta { background: var(--beige); padding: 90px 0 40px; }
.final-cta-inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  align-items: center;
  gap: 40px;
}
.final-cta-inner img { max-width: 320px; margin: 0 auto; }
.final-cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.final-cta h2 span { display: block; }
.final-cta p { color: var(--text-muted); margin: 16px 0 26px; line-height: 1.6; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.doodle-arrow { color: var(--orange); font-size: 1.4rem; transform: rotate(20deg); }

/* ---------- İletişim formu ---------- */
.contact-form {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-field input,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  color: var(--text);
  background: var(--gray);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #9AA1AD; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 81, 45, 0.15);
}
.form-field.invalid input,
.form-field.invalid textarea { border-color: #D93025; background: #FFF6F5; }
.field-error { font-size: 0.76rem; color: #D93025; min-height: 0; }
.field-error:empty { display: none; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.form-footer .btn { border: 0; }
.form-footer .btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
.form-note { font-size: 0.78rem; color: var(--text-muted); }
.form-status { margin-top: 16px; font-size: 0.9rem; font-weight: 500; border-radius: 10px; }
.form-status:empty { display: none; }
.form-status.success { color: #146C43; background: #E8F6EE; padding: 12px 14px; }
.form-status.error { color: #B42318; background: #FDECEA; padding: 12px 14px; }

@media (max-width: 860px) {
  .final-cta-inner { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .form-footer .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   PROJENİZİ ANLATALIM SAYFASI
   ========================================================= */
.page-hero { padding: 72px 0 64px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { margin-top: 16px; color: var(--text-on-dark-muted); font-size: 1.05rem; line-height: 1.7; max-width: 520px; }

.contact-page { background: var(--beige); padding: 72px 0 96px; }
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.contact-aside h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 24px; }
.next-steps { display: flex; flex-direction: column; gap: 22px; margin: 0 0 36px; padding: 0; list-style: none; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; }
.next-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--white); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px -8px rgba(15,23,42,0.15);
}
.next-steps strong { display: block; font-family: var(--ff-head); font-size: 0.98rem; margin-bottom: 4px; }
.next-steps span { color: var(--text-muted); font-size: 0.9rem; line-height: 1.55; }
.direct-contact {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 24px; border-top: 1px solid rgba(15,23,42,0.1);
  font-size: 0.92rem;
}
.direct-contact span { color: var(--text-muted); font-size: 0.82rem; }
.direct-contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.direct-contact a i { color: var(--orange); }
.direct-contact a:hover { color: var(--orange); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout .contact-form { order: -1; }
}
@media (max-width: 640px) {
  .page-hero { padding: 48px 0 44px; }
  .contact-page { padding: 40px 0 64px; }
}

/* ---------- Teşekkürler pop-up ---------- */
.thanks-modal {
  width: min(440px, calc(100% - 32px));
  border: 0;
  border-radius: 20px;
  padding: 40px 32px 32px;
  text-align: center;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.45);
}
.thanks-modal::backdrop { background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(3px); }
/* JS kapalıyken (open niteliğiyle) açıldığında da ortada ve arka plan karartılmış görünsün */
.thanks-modal[open]:not(:modal) {
  position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 200;
  box-shadow: 0 0 0 100vmax rgba(15, 23, 42, 0.6);
}
.thanks-modal[open] { animation: popIn 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2); }
.thanks-icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--orange); color: var(--white); font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px var(--coral);
}
.thanks-modal h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.thanks-modal p { color: var(--text-muted); line-height: 1.6; margin-bottom: 28px; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.thanks-actions form { margin: 0; }
.thanks-actions .btn { border-width: 1px; }
@keyframes popIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--navy); color: var(--text-on-dark-muted); padding: 34px 0; }
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 26px;
  margin-bottom: 20px;
}
.footer-contact { display: flex; gap: 28px; flex-wrap: wrap; font-size: 0.9rem; }
.footer-contact span, .footer-contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer-contact a:hover { color: var(--white); }
.footer-contact i { color: var(--orange); }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer-copy { text-align: center; font-size: 0.8rem; }

/* =========================================================
   ERROR / 404
   ========================================================= */
.error-page { min-height: 100vh; display: flex; align-items: center; padding: 60px 0; }
.error-page .container { position: relative; z-index: 1; }
.error-page .brand { margin-bottom: 48px; }
.error-code { display: block; font-family: var(--ff-head); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); color: var(--orange); line-height: 1; margin-bottom: 12px; }
.error-page .lead { margin: 16px 0 32px; color: var(--text-on-dark-muted); max-width: 460px; line-height: 1.7; }

/* =========================================================
   Reveal-on-scroll animation
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1); }
.js .reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .site-header .container { height: 68px; }
  .hero { padding-top: 40px; }
  .process, .services, .projects, .craft, .techstack, .testimonials, .final-cta { padding: 64px 0; }
}
