/* ============================================
   NEXTCODE COLLECTIVE - GLOBAL STYLES
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green: #00FF66;
  --green-dim: #00cc52;
  --green-glow: rgba(0, 255, 102, 0.4);
  --bg-dark: #1F2328;
  --bg-card: #2E3338;
  --bg-card-hover: #343b42;
  --border: #3a4048;
  --text-white: #ECEFF3;
  --text-muted: #9aa3ae;
  --font-main: 'Poppins', sans-serif;
  --font-exo: 'Exo 2', sans-serif;
  --nav-height: 70px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

.exo2 {
  font-family: var(--font-exo);
}

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

.text-center {
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(31, 35, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: none;
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(31, 35, 40, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  text-decoration: none;
  font-family: var(--font-exo);
  font-size: 1.35rem;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  margin-right: 2px;
}

.logo-next {
  color: var(--green);
}

.logo-collective {
  color: var(--text-white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--green);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-teklif {
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  border: 1.5px solid var(--green);
  color: var(--green);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.btn-teklif:hover {
  background: var(--green);
  color: #000;
  box-shadow: 0 0 20px var(--green-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--green);
  color: #000;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--green);
  cursor: pointer;
}

.btn-primary:hover {
  background: transparent;
  color: var(--green);
  box-shadow: 0 0 25px var(--green-glow);
  transform: scale(1.03);
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--text-white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 20px rgba(0, 255, 102, 0.2);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-bar {
  margin-top: var(--nav-height);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb-bar a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.breadcrumb-bar a:hover {
  color: var(--green);
}

.breadcrumb-sep {
  color: var(--text-muted);
  margin: 0 0.5rem;
  font-size: 0.875rem;
}

.breadcrumb-bar span {
  color: var(--text-white);
  font-size: 0.875rem;
}

/* ============================================
   HERO SECTION (Homepage)
   ============================================ */
.hero-section {
  min-height: 100vh;
  margin-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 8%;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 60%, rgba(0, 255, 102, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--green);
  border-radius: 50%;
  opacity: 0;
  animation: particleRise linear infinite;
}

@keyframes particleRise {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0.6;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid rgba(0, 255, 102, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 40px rgba(0, 255, 128, 0.1);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 480px;
  justify-self: center;
}

.glow-orb {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 102, 0.3) 0%, rgba(0, 255, 102, 0) 70%);
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 102, 0.25);
}

.ring-1 {
  inset: 5%;
  animation: rotateRing 20s linear infinite;
}

.ring-2 {
  inset: 15%;
  animation: rotateRing 15s linear infinite reverse;
  border-color: rgba(0, 150, 255, 0.2);
  transform: rotateX(60deg);
}

.ring-3 {
  inset: 25%;
  animation: rotateRing 25s linear infinite;
  border-color: rgba(0, 255, 102, 0.15);
}

@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.orbit-tag {
  position: absolute;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--green);
  background: rgba(0, 255, 102, 0.08);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.5);
  white-space: nowrap;
  animation: floatTag 6s ease-in-out infinite;
}

.tag-1 {
  top: 20%;
  left: -5%;
  animation-delay: 0s;
}

.tag-2 {
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 1.5s;
}

.tag-3 {
  top: 70%;
  left: -5%;
  animation-delay: 3s;
}

.tag-4 {
  top: 15%;
  right: -5%;
  animation-delay: 4.5s;
}

.tag-5 {
  top: 85%;
  right: 0%;
  animation-delay: 2.5s;
}

.tag-6 {
  top: 0%;
  left: 20%;
  animation-delay: 5.5s;
}

@keyframes floatTag {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.tag-2 {
  animation: floatTag2 6s ease-in-out 1.5s infinite;
}

@keyframes floatTag2 {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* ============================================
   PAGE HERO (Inner Pages)
   ============================================ */
.page-hero {
  padding: 6rem 0 4rem;
}

.page-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */
.ecosystem-section {
  padding: 6rem 0;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.eco-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: default;
}

.eco-card:hover {
  border-color: rgba(0, 255, 102, 0.6);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 102, 0.1);
}

.eco-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.2rem;
  color: var(--green);
  transition: all 0.3s ease;
}

.eco-card:hover .eco-icon {
  filter: drop-shadow(0 0 12px var(--green));
}

.eco-icon svg {
  width: 100%;
  height: 100%;
}

.eco-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-white);
}

/* ============================================
   AI CORE SECTION
   ============================================ */
.aicore-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.aicore-section .container {
  display: flex;
  justify-content: center;
}

.aicore-content {
  max-width: 680px;
  text-align: center;
}

.aicore-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sphere-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  opacity: 0.35;
}

.central-glow {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 102, 0.5) 0%, transparent 70%);
  animation: orbPulse 5s ease-in-out infinite;
}

.sphere-rotator {
  position: absolute;
  inset: 5%;
  transform-style: preserve-3d;
  animation: rotateY3D 25s linear infinite;
}

@keyframes rotateY3D {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

.sphere-rotator .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 102, 0.35);
}

.sphere-rotator .ring:nth-child(1) {
  transform: rotateY(20deg);
}

.sphere-rotator .ring:nth-child(2) {
  transform: rotateY(-50deg) rotateX(60deg);
}

.sphere-rotator .ring:nth-child(3) {
  transform: rotateY(70deg) rotateX(-50deg);
}

.orbit-card {
  position: absolute;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--green);
  background: rgba(0, 255, 102, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.5);
}

.oc-1 {
  top: 10%;
  left: 5%;
}

.oc-2 {
  top: 10%;
  right: 5%;
}

.oc-3 {
  bottom: 10%;
  left: 5%;
}

.oc-4 {
  bottom: 10%;
  right: 5%;
}

/* ============================================
   PERFORMANCE LAYERS
   ============================================ */
.layers-section {
  padding: 6rem 0;
}

.layers-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.layer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.layer-connector-top,
.layer-connector-bot {
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, transparent, var(--green));
  opacity: 0.5;
}

.layer-connector-top {
  background: linear-gradient(to bottom, transparent, var(--green));
}

.layer-connector-bot {
  background: linear-gradient(to bottom, var(--green), transparent);
}

.layer-card {
  background: var(--bg-card);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.layer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 255, 102, 0.05), transparent);
  pointer-events: none;
}

.layer-card:hover {
  border-left-color: var(--green);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.1);
  transform: translateX(8px);
}

.layer-icon {
  width: 40px;
  height: 40px;
  color: var(--green);
  flex-shrink: 0;
}

.layer-icon svg {
  width: 100%;
  height: 100%;
}

.layer-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.layer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 4rem 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission-section {
  padding: 4rem 0;
}

.mission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.green-underline {
  width: 60px;
  height: 3px;
  background: var(--green);
  margin: 0.5rem auto 2rem;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--green);
}

.mission-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 2;
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================
   VALUES SECTION
   ============================================ */
.values-section {
  padding: 4rem 0 6rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: rgba(0, 255, 102, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.value-icon {
  width: 48px;
  height: 48px;
  color: var(--green);
  margin: 0 auto 1rem;
}

.value-icon svg {
  width: 100%;
  height: 100%;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   REFERANSLAR (Logo Marquee - Homepage)
   ============================================ */
.referanslar-section {
  padding: 4rem 0;
  overflow: hidden;
}

.referanslar-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 2rem;
  font-weight: 600;
}

.logos-marquee-track {
  width: 100%;
  overflow: hidden;
  padding: 2.5rem 0;
  background: rgba(255, 255, 255, 0.02);
  min-height: 120px;
  display: flex;
  align-items: center;
}

.logos-marquee-inner {
  display: flex;
  align-items: center;
  gap: 5rem;
  width: max-content;
  white-space: nowrap;
  animation: logoMarquee 40s linear infinite;
}

.logos-marquee-inner:hover {
  animation-play-state: paused;
}

@keyframes logoMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 0.4s ease;
}

.logo-item img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* ============================================
   PARTNER SECTION (Hakkımızda)
   ============================================ */
.partner-section {
  padding: 4rem 0 2rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.partner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.partner-logo-wrap {
  flex: 0 0 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

.partner-logo {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.partner-text {
  flex: 1;
}

@media (max-width: 768px) {
  .partner-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

/* ============================================
   TEAM SECTION (Hakkımızda)
   ============================================ */
.team-section {
  padding: 4rem 0 6rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.team-card {
  width: calc(20% - 1.2rem);
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: rgba(0, 255, 102, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.team-img-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--green), transparent);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-card);
  background: var(--bg-dark);
}

.team-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-white);
}

.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.team-company {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ============================================
   MARQUEE (Text - Hakkımızda)
   ============================================ */
.marquee-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.marquee-track {
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-inner span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s;
  flex-shrink: 0;
}

.marquee-inner span:hover {
  color: var(--green);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-section {
  padding: 4rem 0 6rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.service-card-big {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.3s ease;
}

.service-card-big:hover {
  border-color: var(--green);
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.1);
  transform: translateY(-4px);
}

.service-icon-big {
  width: 48px;
  height: 48px;
  color: var(--green);
  margin-bottom: 1.2rem;
}

.service-icon-big svg {
  width: 100%;
  height: 100%;
}

.service-card-big h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card-big p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-left: 1.2rem;
  position: relative;
}

.service-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  padding: 6rem 0;
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.process-step {
  flex: 1;
  text-align: center;
}

.step-number {
  font-family: var(--font-exo);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.4;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.process-arrow {
  color: var(--green);
  font-size: 1.5rem;
  margin-top: 2rem;
  opacity: 0.5;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 4rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.contact-info-block p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.contact-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-feat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.feat-icon {
  width: 32px;
  height: 32px;
  color: var(--green);
  flex-shrink: 0;
}

.feat-icon svg {
  width: 100%;
  height: 100%;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 255, 102, 0.1);
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-success {
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 1rem;
  color: var(--green);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 0.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 4rem 1.5rem;
    text-align: center;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 3rem);
  }

  .hero-visual {
    display: none;
  }

  .hero-buttons {
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(31, 35, 40, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 4rem 1.5rem;
    gap: 2rem;
    border-bottom: none;
    box-shadow: none;
  }
  .nav-links a {
    font-size: 1.3rem;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .btn-teklif {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    flex-direction: column;
    align-items: stretch;
  }

  .process-arrow {
    display: none;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .footer-brand .nav-logo {
    justify-content: center;
  }
  .footer-brand .footer-desc {
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .mission-card {
    padding: 2rem;
  }

  .navbar {
    position: fixed;
  }

  .nav-container {
    position: relative;
  }

  /* Referans Akışı (Mobilde) */
  .logos-marquee-inner {
    animation-duration: 20s !important;
    gap: 3rem;
  }
  .logos-marquee-inner:hover {
    animation-play-state: running !important;
  }
  .logos-marquee-track {
    padding: 1.5rem 0;
    min-height: 80px;
  }

  /* AI Core Mobile Düzenlemesi */
  .aicore-visual {
    position: relative;
    height: 320px;
    margin-bottom: 30px;
  }
  .sphere-container {
    width: 280px;
    height: 280px;
  }
  .orbit-card {
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    max-width: 110px;
    padding: 0.4rem;
  }
  .oc-1 { top: -10%; left: -5%; font-size: 0.70rem; }
  .oc-2 { top: -10%; right: -5%; font-size: 0.70rem; }
  .oc-3 { bottom: -10%; left: -5%; font-size: 0.70rem; }
  .oc-4 { bottom: -10%; right: -5%; font-size: 0.70rem; }

  .aicore-section {
    padding: 2rem 0;
  }
  .cta-section {
    padding: 1rem 0 3rem;
  }
  
  /* Footer sağa kayma ve taşma sorunu düzeltmesi */
  html, body {
    overflow-x: hidden;
    width: 100vw;
  }
}

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

  .values-grid {
    grid-template-columns: 1fr;
  }
}