/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + var(--space-4));
  padding-bottom: var(--space-4);
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Dot grid pattern */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-border) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

/* Geometric shapes */
.geo-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.geo-shape-1 {
  width: 400px;
  height: 400px;
  background: var(--color-primary);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.geo-shape-2 {
  width: 300px;
  height: 300px;
  background: var(--color-secondary);
  bottom: -50px;
  left: -50px;
  animation-delay: -3s;
}

.geo-shape-3 {
  width: 200px;
  height: 200px;
  background: var(--color-primary);
  top: 40%;
  left: 60%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

/* geo-shape animasyonları her zaman aktif */

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Hero Grid: sol metin, sağ dashboard */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: center;
  margin-bottom: var(--space-3);
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  margin-bottom: var(--space-2);
}

.hero h1 {
  margin-bottom: var(--space-2);
  font-size: 3.125rem;
}

.hero-desc {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-3);
}

.hero-buttons {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Hero butonları etrafında sırayla dönen kırmızı border efekti (SVG) */
.hero-buttons .btn {
  position: relative;
}

.hero-buttons .btn .btn-border-svg {
  position: absolute;
  inset: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  pointer-events: none;
  z-index: 1;
}

.hero-buttons .btn .btn-border-svg rect {
  fill: none;
  stroke: #e30613;
  stroke-width: 1.5;
  stroke-dasharray: var(--btn-perimeter);
  stroke-dashoffset: var(--btn-perimeter);
  stroke-linecap: round;
}

.hero-buttons .btn.border-spin .btn-border-svg rect {
  animation: btnStrokeDraw 3.5s linear forwards;
}

@keyframes btnStrokeDraw {
  0%   { stroke-dashoffset: var(--btn-perimeter); }
  100% { stroke-dashoffset: 0; }
}

/* Hero Illustration: Orijinal SVG + yüzen ürün kartları */
.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-dash-svg {
  width: 70%;
  max-width: 400px;
  height: auto;
}

/* Yüzen ürün kartları */
.hero-float-card {
  position: absolute;
  background: #f0f0f5;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}

[data-theme="light"] .hero-float-card {
  background: #ffffff;
}

.hero-float-card:hover {
  animation-play-state: paused !important;
}
.hf-1:hover { box-shadow: 0 8px 28px rgba(227, 6, 19, 0.45) !important; border-color: #e30613; }
.hf-2:hover { box-shadow: 0 8px 28px rgba(147, 51, 234, 0.45) !important; border-color: #9333ea; }
.hf-3:hover { box-shadow: 0 8px 28px rgba(98, 92, 224, 0.45) !important; border-color: rgb(98, 92, 224); }
.hf-4:hover { box-shadow: 0 8px 28px rgba(0, 120, 190, 0.45) !important; border-color: #0078be; }
.hf-5:hover { box-shadow: 0 8px 28px rgba(227, 6, 19, 0.45) !important; border-color: #e30613; }
.hf-6:hover { box-shadow: 0 8px 28px rgba(22, 163, 74, 0.45) !important; border-color: #16a34a; }
.hf-7:hover { box-shadow: 0 8px 28px rgba(147, 51, 234, 0.45) !important; border-color: #9333ea; }
.hf-8:hover { box-shadow: 0 8px 28px rgba(202, 138, 4, 0.45) !important; border-color: #ca8a04; }

.hero-float-card img {
  height: 30px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  border-radius: 3px;
}

.hero-float-card.hf-labeled {
  gap: 8px;
}

.hero-float-card.hf-labeled span {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.hero-float-card .hf-emoji {
  font-size: 1.15rem;
  line-height: 1;
}

.hero-float-card .hf-svg-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Hafif salınım animasyonları */
@keyframes boatBob1 {
  0%   { transform: translateY(0)    rotate(0deg); }
  15%  { transform: translateY(-3px) rotate(1deg); }
  30%  { transform: translateY(1px)  rotate(-0.5deg); }
  50%  { transform: translateY(-4px) rotate(-0.8deg); }
  70%  { transform: translateY(2px)  rotate(0.6deg); }
  85%  { transform: translateY(-2px) rotate(1.2deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

@keyframes boatBob2 {
  0%   { transform: translateY(0)    rotate(0deg); }
  20%  { transform: translateY(2px)  rotate(-1deg); }
  40%  { transform: translateY(-4px) rotate(0.8deg); }
  60%  { transform: translateY(1px)  rotate(-1deg); }
  80%  { transform: translateY(-3px) rotate(0.6deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

@keyframes boatBob3 {
  0%   { transform: translateY(0)    rotate(0deg); }
  25%  { transform: translateY(-3px) rotate(-1deg); }
  50%  { transform: translateY(2px)  rotate(1.2deg); }
  75%  { transform: translateY(-2px) rotate(-0.6deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

@keyframes boatBob4 {
  0%   { transform: translateY(0)    rotate(0deg); }
  20%  { transform: translateY(-2px) rotate(1deg); }
  45%  { transform: translateY(3px)  rotate(-0.8deg); }
  65%  { transform: translateY(-4px) rotate(0.5deg); }
  85%  { transform: translateY(1px)  rotate(-1deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

/* Kart konumları + animasyonları birleşik */
/* hf-1: Run (kırmızı) */
.hf-1 { top: 5%;   left: 0;    animation: boatBob1 5.0s ease-in-out infinite !important; box-shadow: 0 6px 20px rgba(227, 6, 19, 0.3) !important; }
/* hf-2: Jump (mor) */
.hf-2 { top: 28%;  left: 2%;   animation: boatBob2 5.8s ease-in-out infinite -1.2s !important; box-shadow: 0 6px 20px rgba(147, 51, 234, 0.3) !important; }
/* hf-3: Jump Basic (indigo) */
.hf-3 { top: 51%;  left: 0;    animation: boatBob3 4.6s ease-in-out infinite -2.4s !important; box-shadow: 0 6px 20px rgba(98, 92, 224, 0.3) !important; }
/* hf-4: Fly (mavi) */
.hf-4 { top: 74%;  left: 2%;   animation: boatBob4 5.4s ease-in-out infinite -0.6s !important; box-shadow: 0 6px 20px rgba(0, 120, 190, 0.3) !important; }
/* hf-5: Bos-Mikro (kırmızı) */
.hf-5 { top: 5%;   right: 0;   animation: boatBob3 5.2s ease-in-out infinite -3.0s !important; box-shadow: 0 6px 20px rgba(227, 6, 19, 0.3) !important; }
/* hf-6: Eurorepar (yeşil) */
.hf-6 { top: 28%;  right: 2%;  animation: boatBob1 4.8s ease-in-out infinite -1.8s !important; box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3) !important; }
/* hf-7: Beden Takip (mor) */
.hf-7 { top: 51%;  right: 0;   animation: boatBob4 5.6s ease-in-out infinite -0.4s !important; box-shadow: 0 6px 20px rgba(147, 51, 234, 0.3) !important; }
/* hf-8: Proje Takip (gold) */
.hf-8 { top: 74%;  right: 2%;  animation: boatBob2 4.4s ease-in-out infinite -2.6s !important; box-shadow: 0 6px 20px rgba(202, 138, 4, 0.3) !important; }

/* Hero Why Mikroser */
.hero-why {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

.hero-why-title {
  font-size: 2.275rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
  text-align: center;
}

.why-items-row {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-3);
}

.why-items-row .why-item {
  flex: 1;
}

/* Carousel */
.carousel-section {
  padding: var(--space-6) 0;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.75);
}

.carousel-btn--prev {
  left: 12px;
}

.carousel-btn--next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-2);
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: var(--color-primary);
}

/* 2. Ekran: Hizmetler + CTA */
.services-cta-section {
  display: flex;
  align-items: center;
  background: var(--color-bg-light);
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  box-sizing: border-box;
}

.services-cta-section .section-header {
  margin-bottom: var(--space-3);
}

.services-cta-section .section-header h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}

/* CTA inline */
.cta-inline {
  margin-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3);
}

.cta-inline-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.cta-inline h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

.cta-inline p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* Why Mikroser */
.why-section .why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.why-item {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
}

.why-item-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(79, 140, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: var(--font-size-xl);
}

.why-item h4 {
  font-size: var(--font-size-lg);
  margin-bottom: 6px;
}

.why-item p {
  font-size: var(--font-size-base);
  margin-bottom: 0;
}

/* Why Experience Banner */
.why-experience {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: linear-gradient(135deg, rgba(79, 140, 255, 0.08), rgba(147, 51, 234, 0.08));
  border: 1px solid rgba(79, 140, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-3);
}

.why-experience-number {
  flex-shrink: 0;
  font-size: 4.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-experience strong {
  display: block;
  font-size: var(--font-size-xl);
  margin-bottom: 6px;
}

.why-experience p {
  font-size: var(--font-size-base);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Stats */
.stats-section {
  background: var(--color-bg-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.other-products-section {
  padding: var(--space-4) 0 var(--space-6);
}

/* AI SEO Tanım Bloğu */
.about-definition {
  padding: 0 0 var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.definition-text {
  font-size: var(--font-size-md);
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.definition-text strong {
  color: var(--color-text-heading);
}
