:root {
  --bg-dark: #0B0E14;
  --bg-card: #151A22;
  --bg-light: #F8FAFC;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;
  --border: #1E293B;
  --hdr-h: 80px;
  --font: 'Plus Jakarta Sans', sans-serif;
  --trans: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Visibility Utilities */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block;
}

@media (max-width: 900px) {
  .mobile-only {
    display: block !important;
  }
  .desktop-only {
    display: none !important;
  }
  
  .desktop-hero-btns {
    display: none !important;
  }
  
  #desktopHeroBtns {
    display: none !important;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hdr-h);
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans);
}

img,
svg {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.2;
}


h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

p {
  color: var(--text-muted);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.section-light h2,
.section-light h3 {
  color: var(--text-dark);
}

.section-light p {
  color: #475569;
}

.text-center {
  text-align: center;
}

.section-header {
  margin-bottom: 4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  border: 2px solid transparent;
}

.btn svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.btn svg[style*="width"] {
  width: unset;
  height: unset;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.5);
}

.btn-green {
  background: #10b981;
  color: #fff;
}

.btn-green:hover {
  background: #059669;
  box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.5);
}

.btn-outline-green {
  background: transparent;
  border-color: #10b981;
  color: #10b981;
}

.btn-outline-green:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
}

.btn-white-green {
  background: #fff;
  color: #10b981;
  border-color: #fff;
}

.btn-white-green:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.3);
}

.btn-outline-primary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-primary:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--accent-hover);
  color: var(--accent-hover);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text-dark);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.hero .btn-outline:hover {
  border-color: #fff;
  color: #000;
  background-color: #fff;
}

.section-light .btn-outline {
  border-color: #cbd5e1;
  color: var(--text-dark);
}

.section-light .btn-outline:hover {
  border-color: var(--text-dark);
}

.btn-large {
  padding: 1rem 2rem;
}

/* Header - Premium Floating Pill */
.header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px; /* Site containerına eşitlendi */
  height: 70px;
  /* Biraz daha ince ve kibar */
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  /* Hap (pill) görünümü */
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--trans);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.15);
  height: 64px;
  /* Scroll onrasında biraz daha küçülür */
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100%;
  padding: 0 1.5rem;
  /* Kenarlardan nefes payı */
}

.logo {
  max-height: 44px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 1rem; /* Slightly reduced group gap */
  align-items: center;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--trans);
  padding: 0.5rem;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--accent);
}

.mobile-termin-btn {
  display: none !important;
}

.header-actions {
  display: flex;
  gap: 2rem;
  /* Butonlar arası boşluk optimize edildi */
  align-items: center;
  margin-left: 1.5rem; /* Menü ile sağ butonlar arası mesafe optimize edildi */
}

.header-actions .btn {
  padding: 0.65rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  /* Büyütüldü */
  height: 46px;
  /* Buton yüksekliğini başlığa göre uyumlu tutuyoruz */
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  color: var(--text-dark);
  cursor: pointer;
  z-index: 1050;
  position: relative;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

/* Medium Screen Optimization for Header Overflow */
@media (max-width: 1150px) and (min-width: 769px) {
  .header .container {
    padding: 0 0.75rem;
  }
  
  .main-nav ul {
    gap: 0.5rem;
  }
  
  .main-nav a {
    font-size: 0.95rem;
    padding: 0.3rem;
  }
  
  .header-actions {
    gap: 0.5rem;
    margin-left: 0.75rem;
  }
  
  .header-actions .btn {
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
  }
  
  .logo {
    max-height: 36px;
  }
}

.mobile-menu-toggle:focus {
  outline: none;
}

/* Hero */
.hero {
  padding: calc(var(--hdr-h) + 4rem) 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Ambient Glow Effects */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  pointer-events: none;
}

.glow-1 {
  top: 10%;
  left: 0%;
  width: 50vw;
  height: 50vw;
  background: rgba(37, 99, 235, 0.08);
  /* slightly stronger */
  animation-name: float1;
  animation-duration: 15s;
  /* faster */
}

.glow-2 {
  bottom: 0%;
  right: 0%;
  width: 50vw;
  height: 50vw;
  background: rgba(37, 99, 235, 0.06);
  /* slightly stronger */
  animation-name: float2;
  animation-duration: 18s;
  /* faster */
}

.glow-3 {
  top: 40%;
  left: 30%;
  width: 40vw;
  height: 40vw;
  background: rgba(255, 255, 255, 0.02);
  /* slightly stronger */
  animation-name: float3;
  animation-duration: 16s;
  /* faster */
}

@keyframes float1 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 80px) scale(1.2);
  }
}

@keyframes float2 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-100px, -50px) scale(1.1);
  }
}

@keyframes float3 {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-80px, 50px) scale(1.3);
  }
}

#hero-canvas {
  transform: translateY(-40px) scale(0.92);
  /* Slightly smaller and moved up */
  transform-origin: center center;
}

.hero-container {
  position: relative;
  z-index: 10;
  /* Content guaranteed higher than glows and overlays */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.subline {
  font-size: 1.25rem;
  margin: 1.5rem 0 1.5rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-features-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.3px;
}

.hero-feature-item svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 901px) {
  .desktop-hero-btns {
    display: flex !important; /* desktop-only sınıfının block özelliğini ezer */
    gap: 3rem !important; /* Masaüstünde ekstra ferah boşluk */
  }
}

.trust-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 500;
}

.hero-img {
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--trans);
  animation: float-bonus 6s ease-in-out infinite;
}

.hero-img:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* ── Hero phone wrap + floating badges ── */
.hero-phone-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-wrap .hero-img {
  animation: phoneFloat 5.5s ease-in-out infinite;
  transform: translateY(0);
  filter: drop-shadow(0 24px 60px rgba(16,185,129,0.22));
}

.hero-phone-wrap .hero-img:hover {
  transform: translateY(0);
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

/* ── Floating service badges ── */
.service-badge {
  position: absolute;
  background: rgba(8, 12, 28, 0.70);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}
.badge-icon { font-size: 0.85rem; line-height: 1; }

.badge-1 { top: 6%;     left: 0%;   animation: lbFloatY 5s   ease-in-out infinite; }
.badge-2 { top: 4%;     right: 0%;  animation: lbFloatX 5.5s ease-in-out infinite 1.7s; }
.badge-3 { top: 44%;    left: 0%;   animation: lbFloatX 4.5s ease-in-out infinite 0.4s; }
.badge-4 { top: 44%;    right: 0%;  animation: lbOrbit  6s   ease-in-out infinite 0.8s; }
.badge-5 { bottom: 8%;  left: 4%;   animation: lbOrbit  7s   ease-in-out infinite 2.2s; }
.badge-6 { bottom: 8%;  right: 1%;  animation: lbFloatY 6s   ease-in-out infinite 1.1s; }
.badge-7 { top: 3%;     left: 36%;  animation: lbDiag   5s   ease-in-out infinite 0.2s; }

@keyframes lbFloatY {
  0%,100% { transform: translateY(0px); }
  50%     { transform: translateY(-14px); }
}
@keyframes lbFloatX {
  0%,100% { transform: translateX(0px); }
  50%     { transform: translateX(14px); }
}
@keyframes lbOrbit {
  0%   { transform: translate(0px, 0px); }
  25%  { transform: translate(10px, -6px); }
  50%  { transform: translate(0px, -12px); }
  75%  { transform: translate(-10px, -6px); }
  100% { transform: translate(0px, 0px); }
}
@keyframes lbDiag {
  0%,100% { transform: translate(0px, 0px); }
  33%     { transform: translate(10px, -8px); }
  66%     { transform: translate(-6px, 6px); }
}

/* Device Selection Grid (Shortcode Container) */
.device-selection-grid {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.device-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.device-card:hover {
  transform: translateY(-8px);
  border-color: var(--text-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 0 0 2px var(--text-dark);
}

.device-icon {
  margin-bottom: 1.2rem;
  width: 90px;
  height: 90px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.device-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.device-card:hover .device-icon img {
  transform: scale(1.1);
}

.device-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* Footer Branding */
.footer-logo {
  height: auto;
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Cards */
a.card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.card {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--trans);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(37, 99, 235, 0.1);
}

.card-icon {
  width: 72px;
  height: 72px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.card:hover .card-icon {
  transform: scale(1.05) translateY(-5px);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.card-icon svg {
  width: 42px;
  height: 42px;
}

.card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Light Theme Variant for Cards */
.section-light .card {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.06);
}

.section-light .card h3 {
  color: var(--text-dark);
}

.section-light .card p {
  color: #475569;
}

.section-light .card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
}

/* Workflow */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
}

.workflow-grid::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: #cbd5e1;
  z-index: 1;
}

/* B2B Features Grid (3x2 format with connecting lines) */
.b2b-features-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}

.b2b-features-grid::before {
  top: 55px;
  /* Aligns with the center of the icons */
  left: 16.66%;
  right: 16.66%;
  background: rgba(37, 99, 235, 0.2);
}

.b2b-features-grid::after {
  content: '';
  position: absolute;
  top: calc(50% + 55px + 1rem);
  /* Aligns with the center of the icons in second row */
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: rgba(37, 99, 235, 0.2);
  z-index: 1;
}

/* Base Step Classes */
.step {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step-icon {
  color: var(--text-dark);
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Bonus */
.bonus-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: var(--bg-card);
  padding: 4rem;
  border-radius: 24px;
  border: 1px solid var(--border);
}

.bonus-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bonus-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.bonus-list svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.bonus-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: scale(1.15);
  /* Enlarge slightly across all screens */
  transform-origin: center;
  animation: float-bonus 6s ease-in-out infinite;
}

@keyframes float-bonus {

  0%,
  100% {
    transform: translateY(0) scale(1.15);
  }

  50% {
    transform: translateY(-12px) scale(1.15);
  }
}

.akku-img {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: scale(1);
  animation: float-akku 6s ease-in-out infinite;
}

@keyframes float-akku {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1);
  }
}

/* Locations */
.location-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.loc-head {
  background: var(--bg-dark);
  padding: 2rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.loc-head h3 {
  color: #fff;
}

.badge {
  background: var(--accent);
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  color: #fff;
}

.loc-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-line {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: #475569;
}

.contact-line svg {
  flex-shrink: 0;
}

.contact-line a {
  font-weight: 500;
  color: var(--text-dark);
}

.contact-line a:hover {
  color: var(--accent);
}

.opening {
  font-size: .9rem;
  line-height: 1.8;
  color: #475569;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.actions-bottom {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 1rem;
}

summary {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] summary svg {
  transform: rotate(180deg);
  transition: var(--trans);
}

.faq-ans {
  padding: 0 1.5rem 1.5rem;
}

/* Footer */
.footer {
  background: #050508;
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--trans);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links strong {
  display: block;
  color: #cbd5e1;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1.5rem;
  opacity: .7;
  filter: grayscale(1);
  transition: var(--trans);
}

.footer-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-bot {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
}

/* B2B Form Styling */
.b2b-form {
  padding: 3rem;
  text-align: left;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-family: var(--font);
  font-size: 1rem;
  transition: var(--trans);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-input:focus {
  border-color: var(--accent);
  background: rgba(37, 99, 235, 0.05);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit-btn {
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
  height: 60px;
}

.form-submit-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: 0.5s;
}

.form-submit-btn:hover::after {
  left: 100%;
}

.form-submit-btn:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
  background: linear-gradient(135deg, #3b82f6 0%, var(--accent) 100%);
}

.form-submit-btn:active {
  transform: translateY(-1px);
}

.form-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
}

/* Brands Marquee */
.brands-section {
  padding: 4rem 0;
  overflow: hidden;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
}

.brands-sec-title {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.brands-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll-left 30s linear infinite;
}

.brand-item {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  opacity: 0.5;
  transition: var(--trans);
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.brand-logo-img {
  height: 35px;
  width: auto;
  filter: brightness(0) invert(1);
}

.brand-item:hover {
  opacity: 1;
  color: var(--accent);
  transform: scale(1.06);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Visibility */
.desktop-only {
  display: block;
}

@media (max-width: 900px) {
  h1 {
    font-size: 2.4rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }

  .hero {
    padding: calc(var(--hdr-h) + 2rem) 0 0.5rem;
  }

  .subline {
    font-size: 1.1rem;
    margin: 0.5rem 0 1.2rem;
  }

  .hero-desc {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .hero-buttons {
    margin-top: 0;
  }

  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }
}



@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .b2b-form {
    padding: 1.5rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .hero-container,
  .grid-3,
  .grid-2,
  .bonus-container {
    grid-template-columns: 1fr;
  }

  #reparaturbonus.section,
  #premium-akku.section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .bonus-container {
    padding: 2.5rem 1.5rem 1.5rem;
    /* Alt padding azaltıldı */
    overflow: hidden;
  }

  .bonus-content {
    margin-bottom: 2rem;
  }

  .bonus-img {
    margin-top: -2rem;
    margin-bottom: 0;
    transform: scale(1.08);
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .akku-img {
    margin-top: -1.5rem;
    margin-bottom: 0;
    width: 80%;
    max-width: 250px;
  }

  .hero-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .header {
    width: calc(100% - 2rem);
    top: 1rem;
    height: 60px;
    padding: 0;
  }

  .header .container {
    padding: 0 1rem;
  }

  .header-actions .btn-outline {
    display: none;
    /* Mobilde whatsapp butonunu gizleyelim ki sığsın */
  }

  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    /* Gizli başlar, sadece toggle edilince açılır */
  }

  /* Since HTML is updated, we don't need order trick on hero-visual anymore */
  .hero-visual {
    margin-top: 0.5rem;
    margin-bottom: 0.1rem;
  }

  .hero-visual img {
    margin: 0 auto;
  }

  .hero-buttons,
  .trust-row {
    justify-content: center;
  }



  /* Animated Vertical Timeline for Workflow */
  .workflow-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    position: relative;
    padding-left: 20px;
    padding-top: 10px;
  }

  .workflow-grid::before {
    display: block;
    content: '';
    position: absolute;
    top: 10px;
    left: 40px;
    /* Center of the 40px step-num (20+20) */
    width: 2px;
    height: 0;
    bottom: auto;
    background: var(--accent);
    z-index: 1;
    transition: height 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
  }

  .workflow-grid.in-view::before {
    height: calc(100% - 20px);
  }

  .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 1.5rem;
    text-align: left;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .workflow-grid.in-view .step {
    opacity: 1;
    transform: translateY(0);
  }

  .workflow-grid.in-view .step:nth-child(1) {
    transition-delay: 0.2s;
  }

  .workflow-grid.in-view .step:nth-child(2) {
    transition-delay: 0.6s;
  }

  .workflow-grid.in-view .step:nth-child(3) {
    transition-delay: 1.0s;
  }

  .workflow-grid.in-view .step:nth-child(4) {
    transition-delay: 1.4s;
  }

  /* Reset .step styling specifically for b2b-features-grid so it stays like a normal card */
  .b2b-features-grid .step {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 0;
    opacity: 1;
    transform: none;
    transition: var(--trans);
  }

  .b2b-features-grid::after {
    display: none;
    /* Hide second row line on mobile */
  }

  .b2b-features-grid::before {
    display: none;
    /* Hide first row line on mobile because they stack vertically */
  }

  .step-num {
    margin: 0;
    grid-column: 1;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--bg-light);
    /* Hide the line underneath the circle */
  }

  .step-content-mobile {
    grid-column: 2;
  }

  .step-icon {
    justify-content: flex-start;
    margin-bottom: 0.8rem;
  }

  .step-icon svg {
    width: 48px;
    height: 48px;
    color: var(--accent);
  }

  .step h3 {
    font-size: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }

  .footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
  }

  .footer-links {
    align-items: center;
    gap: 1.25rem;
  }

  .footer-links li {
    font-size: 1.05rem;
  }

  .footer-logo {
    margin: 0 auto 1.5rem;
    height: 50px;
  }

  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .header.menu-open .main-nav {
    display: flex;
    /* Override the display: none above */
  }

  .mobile-menu-toggle {
    display: block;
  }

  .header.menu-open {
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    top: 0;
    width: 100%;
    align-items: flex-start;
    padding-top: 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: none;
    border: none;
  }

  .header.menu-open .main-nav {
    display: flex;
    position: absolute;
    top: 80px;
    /* Below the logo */
    left: 0;
    width: 100%;
    height: calc(100dvh - 80px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 2rem 4rem;
    background: transparent;
  }

  .header.menu-open .header-actions {
    display: none;
    /* We hide the top level actions, they move to footer */
  }

  .header.menu-open .main-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .header.menu-open .main-nav ul a {
    font-size: 1.35rem;
    font-weight: 500;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 220px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-dark);
  }

  .header.menu-open .main-nav ul li:last-child a {
    border-bottom: none;
  }

  /* Footer Styling Mobile Menu — tablet range sadece bu blokta yoktur */

  .mobile-menu-footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
    /* Consume remaining space */
  }

  .mobile-menu-buttons {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    width: 100%;
    margin-top: 3rem;
    margin-bottom: 2rem;
    /* Stay right underneath the nav links & protect from info */
  }

  .mobile-menu-buttons .btn {
    flex: 1;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    width: auto;
    margin: 0;
  }

  .mobile-menu-info {
    display: flex;
    justify-content: space-between;
    text-align: center;
    color: #475569;
    font-size: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
    margin-top: auto;
    /* Push down to the bottom */
  }

  .mobile-menu-info .loc-short {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .mobile-menu-info strong {
    color: var(--text-dark);
    font-size: 0.95rem;
  }

  .loc-phone {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 4px;
    display: block;
  }
}

/* -- PROBLEM 1: Logo Boyutlandırma ve Hizalama -- */
.logo {
  height: auto;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .logo {
    max-height: 40px;
  }
}

@media (max-width: 768px) {
  .logo {
    max-height: 46px;
  }
}

/* Removed dark overlay as requested to cleanly show animated glows */

.hero h1 {
  color: #FFFFFF;
}

.hero .subline {
  color: rgba(255, 255, 255, 0.85);
}

/* -- PROBLEM 3: Yol Tarifi Butonu Mobil Düzeni -- */
.loc-btn {
  width: 100%;
  justify-content: center;
}

.loc-action {
  margin-top: auto;
  padding-top: 1.5rem;
}

@media (max-width: 768px) {

  /* Scale up Background Glows for Mobile Portrait */
  .glow-1 {
    width: 110vw;
    height: 110vw;
    top: -5%;
    left: -10%;
  }

  .glow-2 {
    width: 120vw;
    height: 120vw;
    bottom: -5%;
    right: -10%;
  }

  .glow-3 {
    width: 80vw;
    height: 80vw;
    top: 50%;
    left: 0%;
  }

  .hero-content {
    text-align: center;
    padding: 0;
  }

  .brands-section {
    padding: 2rem 0 3rem;
  }

  /* Glassmorphism Trust Row Grid */
  .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 1.5rem;
    text-align: left;
    margin-top: 1rem;
  }

  .trust-row li {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .trust-row li svg {
    flex-shrink: 0;
  }

  /* Parallax / Floating Phone Entry Anim */
  .mobile-hero-img {
    animation: mobileHeroFloat 5s ease-in-out infinite alternate, fadeUpEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: bottom center;
    width: 120%;
    max-width: none;
    margin: 0.5rem -10% 1rem;
    display: block;
  }

  /* Marquee Refinements */
  .brands-sec-title {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    opacity: 0.7;
    margin-bottom: 1.5rem;
  }

  .brands-track .brand-item {
    font-size: 1.25rem;
    font-weight: 600;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-premium-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin: 1rem 0;
    text-align: left;
    align-items: flex-start;
  }

  .footer-premium-box .footer-col {
    align-items: flex-start;
    text-align: left;
  }

  .footer-premium-box h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .footer-premium-box h4::after {
    left: 0;
    transform: none;
  }

  .footer-premium-box .footer-links {
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-premium-box .footer-links li {
    font-size: 0.95rem;
  }

  /* Reduce space above Premium Akku section on mobile */
  #premium-akku {
    padding-top: 0 !important;
  }

  #services {
    padding-bottom: 0 !important;
  }
}

@keyframes mobileHeroFloat {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

@keyframes fadeUpEntrance {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile specific styling for device grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .device-selection-grid {
    padding: 0 2.5rem 3rem;
  }
}

@media (max-width: 768px) {
  .device-selection-grid {
    padding: 0 1.2rem 2.5rem;
  }

  .device-card {
    padding: 1.5rem 0.5rem;
    border-radius: 12px;
  }

  .device-icon {
    width: 90px;
    height: 90px;
    margin-bottom: 0.8rem;
    border-radius: 12px;
  }

  .device-card h3 {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .akku-img {
    transform: scale(1.2);
    transform-origin: center;
    display: block;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .actions-bottom {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
    max-width: 400px !important;
    margin: 3rem auto 0 !important;
  }

  .actions-bottom .mobile-stacked-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    border-radius: 2rem !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    padding: 1rem !important;
  }

  .actions-bottom .mobile-only-icon {
    display: inline-block !important;
    margin-right: 12px !important;
  }
}

/* Floating Mobile Buttons */
.floating-mobile-buttons {
  position: fixed;
  bottom: 24px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floating-mobile-buttons.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.float-btn:active {
  transform: scale(0.92);
}

.float-whatsapp {
  background: linear-gradient(145deg, #2ecc71 0%, #25D366 50%, #20b558 100%);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.float-call {
  background: linear-gradient(145deg, #4f8ef7 0%, #2563eb 50%, #1a4fd6 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* Form Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.success-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.success-content {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 2rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.success-modal.active .success-content {
  transform: scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-content h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.success-content p {
  color: #64748b;
  margin-bottom: 2rem;
}

/* Hide on desktop, only show on mobile */
@media (min-width: 769px) {
  .floating-mobile-buttons {
    display: none !important;
  }
}

/* Mobile Hero Buttons & Fallback Gap */
@media (max-width: 768px) {
  .hero-buttons {
    display: flex !important;
    flex-direction: column;
    gap: 0.4rem !important;
    width: 100%;
  }

  .hero-buttons .btn:not(:last-child) {
    margin-bottom: 0.4rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.2rem;
    font-size: 1rem;
    border-radius: 50px;
  }

  /* Schnell Termin butonu: sadece mobil menüde görünür */
  .header.menu-open .main-nav .mobile-termin-btn {
    display: block !important;
    font-size: 1.35rem;
    font-weight: 500;
    color: #10b981;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    width: 220px;
    margin: 0 auto;
    text-align: center;
  }
}