/* ==========================================================================
   www.kepeimza.com - Özel Tasarım & Stil Sayfası
   Ark İmza & E-Tuğra & EDM Kurumsal Dili
   ========================================================================== */

:root {
  --color-eimza-navy: #0F172A;
  --color-eimza-blue: #1E40AF;
  --color-eimza-accent: #3B82F6;
  --color-kep-teal: #0D9488;
  --color-kep-green: #059669;
  --color-kep-emerald: #10B981;
  --color-orange: #EA580C;
  --color-orange-glow: #F97316;
  --color-dark: #0B0F19;
  --color-card-bg: #FFFFFF;
  --color-border: #E2E8F0;
}

/* Genel Akıcılık ve Tipografi */
html {
  scroll-behavior: auto;
  scroll-padding-top: 108px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

#main-tab-section,
#iletisim,
#basvuru-sihirbazi {
  scroll-margin-top: 108px;
}

body {
  background-color: #F8FAFC;
  color: #1E293B;
  overflow-x: hidden;
}

/* Kayan Logo Bandı (Marquee Ticker) */
.marquee-container {
  overflow: hidden;
  user-select: none;
  display: flex;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  width: max-content;
  gap: 2.5rem;
  align-items: center;
  animation-name: marqueeScroll !important;
  animation-duration: 40s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
}

.marquee-content > div {
  flex-shrink: 0;
}

@media (hover: hover) and (pointer: fine) {
  .marquee-container:hover .marquee-content {
    animation-play-state: paused !important;
  }
}

.marquee-container.is-held .marquee-content {
  animation-play-state: paused !important;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Split Hero (Sol E-İmza & Sağ KEP Mail) */
.hero-split-left {
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #1D4ED8 100%);
  position: relative;
  transition: all 0.35s ease;
}

.hero-split-right {
  background: linear-gradient(135deg, #042F2E 0%, #115E59 60%, #0D9488 100%);
  position: relative;
  transition: all 0.35s ease;
}

.hero-split-efatura {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 35%, #7C2D12 70%, #C2410C 100%);
  position: relative;
  transition: all 0.35s ease;
}

.hero-split-left:hover {
  box-shadow: 0 20px 35px -10px rgba(30, 58, 138, 0.4);
}

.hero-split-right:hover {
  box-shadow: 0 20px 35px -10px rgba(13, 148, 136, 0.4);
}

.hero-split-efatura:hover {
  box-shadow: 0 20px 35px -10px rgba(194, 65, 12, 0.45);
}

/* Sekme Sistemi (Tamamen Statik ve Hareketsiz - Zıplama/Kayma Yok) */
.tab-content-container {
  position: relative;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* Canlı Flaş Rozet (Hızlı Teslimat Vurgusu) */
.flash-badge {
  background: linear-gradient(90deg, #EA580C, #F97316, #10B981, #3B82F6);
  background-size: 300% 300%;
  animation: none;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Özel Sembol & İllüstrasyon Kartları */
.symbol-card {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 3 Adımlı Form Sihirbazı İlerleme Çubuğu */
.step-indicator {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #E2E8F0;
  transform: translateY(-50%);
  z-index: 1;
}

.step-progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E40AF, #0D9488);
  transform: translateY(-50%);
  z-index: 2;
  transition: width 0.4s ease;
}

.step-node {
  position: relative;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #64748B;
  transition: all 0.3s ease;
}

.step-node.active {
  background: #1E40AF;
  border-color: #3B82F6;
  color: #FFFFFF;
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.25);
}

.step-node.completed {
  background: #059669;
  border-color: #10B981;
  color: #FFFFFF;
}

/* Evrak Yükleme Alanı (Dropzone) */
.dropzone-box {
  border: 2px dashed #CBD5E1;
  border-radius: 1rem;
  background: #F8FAFC;
  transition: all 0.25s ease;
  cursor: pointer;
}

.dropzone-box:hover {
  border-color: #3B82F6;
  background: #EFF6FF;
}

.dropzone-box.has-file {
  border-color: #10B981;
  background: #F0FDF4;
}

/* Fiyat Kartı Efekti */
.price-card {
  transition: all 0.3s ease;
  border: 1px solid #E2E8F0;
}

.price-card:hover {
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.1);
  border-color: #93C5FD;
}

.price-card.featured {
  border: 2px solid #3B82F6;
  box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.2);
}

/* Özel Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #94A3B8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748B;
}

/* ==========================================================================
   Hero 3'lü Dinamik Kayar Carousel (Slider) ve Sekme Odaklama Efektleri
   Kayma piksel cinsinden yapılır; yüzde hesabı slaytları birbirine bindirmesin.
   ========================================================================== */
#hero-carousel-container {
  position: relative;
  width: 100%;
}

#hero-carousel-viewport {
  overflow: hidden;
  width: 100%;
  touch-action: none;
  cursor: grab;
}

#hero-carousel-viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

#hero-carousel-track {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  width: 100%;
  transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-carousel-slide > div,
.hero-carousel-slide .flex,
.hero-carousel-slide .grid {
  min-width: 0;
  max-width: 100%;
}

.hero-carousel-slide > div {
  width: min(56rem, calc(100% - 7.6rem)) !important;
  max-width: min(56rem, calc(100% - 7.6rem)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center;
  height: 100%;
  flex: 1 1 auto;
  overflow-wrap: break-word;
}

.hero-carousel-slide .overflow-x-auto {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hero-arrow {
  --hero-arrow-size: 2.45rem;
  position: absolute;
  top: 50%;
  z-index: 20;
  transform: translateY(-50%);
  width: var(--hero-arrow-size);
  height: var(--hero-arrow-size);
  border-radius: 9999px;
  background: #fff;
  color: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: #fff7ed;
  color: #c2410c;
}

.hero-arrow-prev {
  left: calc(50% - min(28rem, 50% - 3.8rem) - var(--hero-arrow-size) - 0.75rem);
}
.hero-arrow-next {
  right: calc(50% - min(28rem, 50% - 3.8rem) - var(--hero-arrow-size) - 0.75rem);
}

.hero-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
  border-radius: 0.6rem;
  padding: 0.32rem 0.55rem;
}

.hero-split-left .hero-price {
  color: #3b2204;
  background: linear-gradient(180deg, #ffe56a 0%, #f5b400 100%);
  box-shadow: 0 0 0 1px rgba(255, 236, 140, 0.9), 0 6px 16px rgba(245, 180, 0, 0.45);
}

.hero-split-right .hero-price {
  color: #3b1206;
  background: linear-gradient(180deg, #ffc14d 0%, #ff7a18 100%);
  box-shadow: 0 0 0 1px rgba(255, 214, 140, 0.9), 0 6px 16px rgba(255, 122, 24, 0.4);
}

.hero-split-efatura .hero-price {
  color: #4a0440;
  background: linear-gradient(180deg, #fff4a8 0%, #ffe14a 55%, #ffb703 100%);
  box-shadow: 0 0 0 1px rgba(255, 244, 168, 0.95), 0 6px 18px rgba(255, 196, 40, 0.5);
}

.hero-price-lg { font-size: 1.2rem; }
.hero-price-xl { font-size: 1.65rem; }

@media (min-width: 640px) {
  .hero-arrow { --hero-arrow-size: 2.85rem; }
  .hero-price-lg { font-size: 1.4rem; }
  .hero-price-xl { font-size: 1.85rem; }
}

.tab-pane {
  scroll-margin-top: 108px;
}

.usage-list {
  counter-reset: usage;
}

.usage-list > div {
  counter-increment: usage;
}

.usage-list > div > span:first-child {
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.1rem;
  border-radius: 9999px;
  background: #1d4ed8;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.usage-list > div > span:first-child::before {
  content: counter(usage);
}

.hero-indicator-btn {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hero-indicator-btn.active {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.95);
}

/* ==========================================================================
   SABİT SAYFA KURALI: Sadece 1-2-3 hero paneli ve firmalar şeridi hareket eder.
   Diğer tüm alanlar statiktir; hover/tıklama ile kayma, zıplama, büyüme yok.
   ========================================================================== */
html { scroll-behavior: auto !important; overflow-anchor: auto; }
body *:not(#hero-carousel-container *):not(#hero-carousel-container):not(.marquee-container *):not(.marquee-content) {
  animation: none !important;
}
body *:not(#hero-carousel-container *):not(.marquee-container *):hover,
body *:not(#hero-carousel-container *):not(.marquee-container *):active {
  --tw-translate-y: 0 !important;
  --tw-scale-x: 1 !important;
  --tw-scale-y: 1 !important;
}
