/* 
 * BilişimTime Layouts
 * Header, Footer, Hero, Section, Grid, Sidebar
 */

/* ========================================
   Header
   ======================================== */
.bt-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: all var(--transition-normal);
}

[data-theme='dark'] .bt-header {
  background: rgba(10, 15, 30, 0.85);
}

.bt-header--scrolled {
  box-shadow: var(--shadow-md);
}

.bt-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-4);
}

/* Logo & Neon Typewriter Brand */
.bt-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}

@media (min-width: 1024px) {
  .bt-header__logo {
    min-width: 380px; /* Masaüstünde menünün kaymaması için sabit referans */
  }
}

.bt-brand-typewriter {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Bilişim Time Sabit Kısım */
.bt-brand-typewriter__fixed {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  font-weight: 800;
  color: var(--color-text);
  white-space: nowrap;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

/* Dinamik Daktilo ve LED Efekt Alanı - SABİT GENİŞLİK */
.bt-brand-typewriter__dynamic-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 215px; /* En uzun kelimeye göre sabit genişlik - MENÜ ASLA KAYMAZ */
  height: 32px;
  padding: 0 10px;
  background: rgba(0, 112, 243, 0.06);
  border: 1px solid rgba(0, 194, 255, 0.25);
  border-radius: var(--radius-md);
  box-shadow: 0 0 15px rgba(0, 112, 243, 0.15), inset 0 0 8px rgba(0, 194, 255, 0.1);
  transition: all var(--transition-fast);
  overflow: hidden;
  flex-shrink: 0;
}

[data-theme='dark'] .bt-brand-typewriter__dynamic-wrapper {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.2), inset 0 0 10px rgba(0, 112, 243, 0.15);
}

/* Rengarenk Akan LED Neon Metin */
.bt-brand-typewriter__text {
  font-size: 0.9rem;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    #ff007a 0%,
    #7928ca 25%,
    #0070f3 50%,
    #00dfd8 75%,
    #ff007a 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bt-neon-flow 5s linear infinite;
  white-space: nowrap;
  letter-spacing: -0.01em;
  filter: drop-shadow(0 0 8px rgba(0, 194, 255, 0.4));
  display: inline-block;
}

/* Yanıp Sönen Neon Daktilo İmleci (Cursor) */
.bt-brand-typewriter__cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: #00dfd8;
  margin-left: 2px;
  border-radius: 2px;
  box-shadow: 0 0 8px #00dfd8, 0 0 14px #0070f3;
  animation: bt-cursor-blink 0.8s infinite;
  flex-shrink: 0;
}

@keyframes bt-neon-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

@keyframes bt-cursor-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@media (max-width: 1200px) {
  .bt-header__logo {
    min-width: auto;
  }
  .bt-brand-typewriter__dynamic-wrapper {
    width: 180px;
  }
  .bt-brand-typewriter__text {
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .bt-header__logo {
    min-width: 0;
  }
  .bt-brand-typewriter__dynamic-wrapper {
    display: none !important; /* Mobilde sadece Bilişim Time kalır, başlıklar sıkışmaz ve taşma yapmaz */
  }
}


.bt-header__logo img {
  max-height: 40px;
  width: auto;
}


/* Navigation */
.bt-header__nav {
  display: none;
  flex-shrink: 0;
  margin-left: auto;
}

@media (min-width: 1024px) {
  .bt-header__nav {
    display: block;
  }
}


.bt-nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.bt-nav-list li {
  position: relative;
}

.bt-nav-list a {
  display: block;
  padding: var(--space-2) var(--space-3);
  color: var(--color-text-secondary);
  font-weight: 500;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.bt-nav-list a:hover,
.bt-nav-list .current-menu-item > a,
.bt-nav-list .current_page_item > a {
  color: var(--color-text);
  background: var(--color-bg-tertiary);
}

/* Dropdown */
.bt-nav-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  z-index: 100;
}

.bt-nav-list li:hover > .sub-menu {
  display: block;
}

.bt-nav-list .sub-menu a {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

/* Header Actions */
.bt-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  margin-left: auto;
}

.bt-header__cta {
  display: none;
}

@media (min-width: 768px) {
  .bt-header__cta {
    display: inline-flex;
  }
}

/* Hamburger */
.bt-header__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-md);
  color: var(--color-text);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.bt-header__hamburger:hover,
.bt-header__hamburger:active {
  background: var(--color-bg-tertiary);
  transform: scale(1.04);
}

@media (min-width: 1024px) {
  .bt-header__hamburger {
    display: none;
  }
}

/* ========================================
   Dark Mode Toggle (Modern Minimalist Switch)
   ======================================== */
.bt-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: var(--radius-full);
  outline: none;
}

.bt-theme-toggle:focus-visible {
  box-shadow: 0 0 0 2px var(--color-primary);
}

.bt-theme-toggle__track {
  width: 52px;
  height: 28px;
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  padding: 2px;
}

[data-theme='dark'] .bt-theme-toggle__track {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.bt-theme-toggle__thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
  transform: translateX(0);
  color: #f59e0b;
}

[data-theme='dark'] .bt-theme-toggle__thumb {
  transform: translateX(24px);
  background: #0f172a;
  color: #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bt-theme-toggle__icon--sun,
.bt-theme-toggle__icon--moon {
  transition: opacity 0.2s ease;
}

[data-theme='light'] .bt-theme-toggle__icon--sun { display: block; }
[data-theme='light'] .bt-theme-toggle__icon--moon { display: none; }
[data-theme='dark'] .bt-theme-toggle__icon--sun { display: none; }
[data-theme='dark'] .bt-theme-toggle__icon--moon { display: block; }

/* ========================================
   Floating Action Buttons (WhatsApp & Phone)
   ======================================== */
.bt-floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bt-floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bt-floating-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4);
}

.bt-floating-btn--phone {
  background: linear-gradient(135deg, #0070f3 0%, #0055ff 100%);
}

.bt-floating-btn--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.bt-floating-btn__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #0f172a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

.bt-floating-btn:hover .bt-floating-btn__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 640px) {
  .bt-floating-actions {
    bottom: 16px;
    right: 16px;
  }
  .bt-floating-btn {
    width: 50px;
    height: 50px;
  }
  .bt-floating-btn__tooltip {
    display: none;
  }
}


/* ========================================
   Mobile Menu & Overlay (Ultra-Clean & Modern)
   ======================================== */
.bt-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 350px;
  height: 100vh;
  height: 100dvh;
  background-color: #0b1120;
  color: #f8fafc;
  z-index: 99999;
  transform: translateX(105%);
  -webkit-transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  box-sizing: border-box;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.bt-mobile-menu.bt-mobile-menu--open,
.bt-mobile-menu--open {
  transform: translateX(0);
  -webkit-transform: translateX(0);
}

.bt-mobile-menu__overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(5, 8, 18, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99990;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bt-mobile-menu__overlay.bt-mobile-menu__overlay--active,
.bt-mobile-menu__overlay--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bt-mm-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 18px 24px;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Header */
.bt-mm-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bt-mm-brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.bt-mm-brand-main {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.bt-mm-brand-accent {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bt-mm-brand-sub {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 2px;
}

.bt-mm-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.bt-mm-close-btn:hover,
.bt-mm-close-btn:active {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Nav */
.bt-mm-nav {
  flex: 1;
}

.bt-mm-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bt-mm-item {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bt-mm-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.bt-mm-link:hover,
.bt-mm-link:active {
  background: rgba(56, 189, 248, 0.1);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  transform: translateX(4px);
}

.bt-mm-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.bt-mm-link-title {
  flex: 1;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bt-mm-link-arrow {
  color: #64748b;
  display: flex;
  align-items: center;
  transition: all 0.2s ease;
}

.bt-mm-link:hover .bt-mm-link-arrow {
  color: #38bdf8;
  transform: translateX(3px);
}

/* Bottom Actions */
.bt-mm-bottom {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Phone Card */
.bt-mm-card-phone {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 11px 13px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 95, 70, 0.2) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 14px;
  text-decoration: none;
  color: #ffffff;
  gap: 12px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.bt-mm-card-phone:hover,
.bt-mm-card-phone:active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(6, 95, 70, 0.3) 100%);
  border-color: #10b981;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.bt-mm-card-phone-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.bt-mm-card-phone-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.bt-mm-card-phone-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #34d399;
  line-height: 1.2;
}

.bt-mm-card-phone-number {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
  line-height: 1.2;
  margin-top: 1px;
}

.bt-mm-card-phone-badge {
  padding: 4px 10px;
  border-radius: 9999px;
  background: #10b981;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* WhatsApp Button */
.bt-mm-card-wa {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 16px;
  background: #25d366;
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.bt-mm-card-wa:hover,
.bt-mm-card-wa:active {
  background: #1ea952;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

/* Body scroll lock */
body.bt-menu-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* ========================================
   Hero Section
   ======================================== */
.bt-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: var(--space-24) 0;
  overflow: hidden;
}

.bt-hero__content {
  max-width: 700px;
}

.bt-hero__badge {
  margin-bottom: var(--space-6);
}

.bt-hero__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: #ffffff;
}

.bt-hero__subtitle {
  font-size: var(--text-xl);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.bt-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.bt-hero__btn {
  text-decoration: none;
}

/* Hero butonlar — koyu arka plan üzerinde */
.bt-hero .bt-btn--primary {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 600;
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.bt-hero .bt-btn--primary:hover {
  background: #f0f5ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.bt-hero .bt-btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  background: transparent;
}

.bt-hero .bt-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
}

/* Hero badge */
.bt-hero .bt-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

/* ========================================
   Sections
   ======================================== */
.bt-section {
  padding: var(--space-20) 0;
}

.bt-section--alt {
  background: var(--color-bg-secondary);
}

/* ========================================
   Grid System
   ======================================== */
.bt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .bt-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bt-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bt-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bt-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================================
   Footer
   ======================================== */
.bt-footer {
  background: var(--color-bg-dark);
  color: #cbd5e1;
  padding: var(--space-16) 0 var(--space-8);
}

.bt-footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.bt-footer a:hover {
  color: #ffffff;
}

.bt-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

@media (min-width: 640px) {
  .bt-footer__top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bt-footer__top {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.bt-footer__col h4 {
  color: #ffffff;
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.bt-footer__col p {
  color: #94a3b8;
  font-size: var(--text-sm);
  line-height: 1.7;
}

.bt-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.bt-footer__col ul a {
  font-size: var(--text-sm);
  display: block;
  padding: var(--space-1) 0;
}

.bt-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
}

.bt-footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.bt-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.bt-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.bt-footer__social a:hover {
  background: var(--color-primary);
  color: #ffffff;
}

.bt-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: #64748b;
}

.bt-footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 6px 16px;
  border-radius: 9999px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.12), inset 0 0 10px rgba(56, 189, 248, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bt-footer__credit:hover {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.3), inset 0 0 14px rgba(56, 189, 248, 0.15);
  transform: translateY(-1px);
}

.bt-footer__credit-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
}

.bt-footer__neon-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bt-neon-dot {
  width: 7px;
  height: 7px;
  background: #38bdf8;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #38bdf8, 0 0 16px #38bdf8;
  animation: bt-neon-pulse 2s infinite ease-in-out;
}

@keyframes bt-neon-pulse {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.8;
    box-shadow: 0 0 6px #38bdf8, 0 0 12px #38bdf8;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 10px #38bdf8, 0 0 22px #0ea5e9, 0 0 32px #38bdf8;
  }
}

.bt-neon-typewriter-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.bt-neon-cursor {
  color: #38bdf8;
  font-weight: 900;
  text-shadow: 0 0 8px #38bdf8, 0 0 16px #0284c7;
  animation: bt-neon-blink 0.8s infinite;
  display: inline-block;
  margin-left: 2px;
}

@keyframes bt-neon-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (max-width: 768px) {
  .bt-footer__bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: var(--space-4);
  }
  .bt-footer__credit {
    margin: var(--space-2) auto;
  }
}

/* ========================================
   Hero Section (Next.js Dark Minimalist Style)
   ======================================== */
.bt-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0a0f1d 75%, #050811 100%);
  color: #ffffff;
  overflow: hidden;
}

.bt-hero__gateway-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.bt-hero__flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.bt-hero__flow-dither {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url('data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%202%202%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%2F%3E%3Crect%20x%3D%221%22%20y%3D%221%22%20width%3D%221%22%20height%3D%221%22%20fill%3D%22%23ffffff%22%2F%3E%3C%2Fsvg%3E');
  background-size: 2px 2px;
}

.bt-hero__glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 112, 243, 0.25) 0%, rgba(0, 194, 255, 0.1) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bt-hero__pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.bt-hero__container {
  position: relative;
  z-index: 10;
  text-align: center;
}

.bt-hero__content {
  max-width: 860px;
  margin-inline: auto;
}

.bt-badge--hero {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 85, 255, 0.15);
  border: 1px solid rgba(0, 194, 255, 0.3);
  color: #38bdf8;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.15);
}

.bt-hero__title {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-6);
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bt-hero__subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: var(--space-8);
  max-width: 680px;
  margin-inline: auto;
}

.bt-hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.bt-hero .bt-btn--primary {
  background: linear-gradient(180deg, #0070f3 0%, #0055ff 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 85, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.bt-hero .bt-btn--primary:hover {
  background: linear-gradient(180deg, #0055ff 0%, #003ecb 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 85, 255, 0.6);
}

.bt-hero .bt-btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9;
  backdrop-filter: blur(10px);
}

.bt-hero .bt-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================
   Trust / Partner Logos
   ======================================== */
.bt-trust {
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.bt-trust__title {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.bt-trust__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

.bt-trust__badge {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-text-tertiary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.bt-trust__badge:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
}

/* ========================================
   Advantages Section
   ======================================== */
.bt-advantages {
  background: var(--color-bg);
}

.bt-advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .bt-advantages__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.bt-advantages__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.bt-advantages__lead {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-8);
}

.bt-advantages__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .bt-advantages__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bt-advantages__item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.bt-advantages__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

[data-theme='dark'] .bt-advantages__icon {
  background: rgba(22, 101, 52, 0.25);
  color: #4ade80;
}

.bt-advantages__text h3 {
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.bt-advantages__text p {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.bt-advantages__card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.bt-advantages__badge {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: var(--space-4);
}

.bt-advantages__badge-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: #38bdf8;
  line-height: 1;
  letter-spacing: -0.04em;
}

.bt-advantages__badge-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bt-advantages__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.bt-advantages__feature-box {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.bt-advantages__feature-box svg {
  color: #38bdf8;
  margin-bottom: var(--space-2);
}

.bt-advantages__feature-box strong {
  font-size: var(--text-sm);
  color: #ffffff;
}

.bt-advantages__feature-box span {
  font-size: var(--text-xs);
  color: #94a3b8;
}

/* ========================================
   Process Section
   ======================================== */
.bt-process__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  position: relative;
}

@media (min-width: 640px) {
  .bt-process__timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bt-process__timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bt-process__step {
  text-align: center;
  background: var(--color-bg);
  padding: var(--space-8) var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
}

.bt-process__step:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.bt-process__circle {
  width: 54px;
  height: 54px;
  margin: 0 auto var(--space-5);
  border-radius: 50%;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: var(--text-base);
  border: 2px solid var(--color-primary-light);
}

.bt-process__step-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.bt-process__step-desc {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   Stats Section
   ======================================== */
.bt-stats {
  background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bt-stats__grid {
  gap: var(--space-8);
}

.bt-stats .bt-stat-card__number {
  color: #38bdf8;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
}

.bt-stats .bt-stat-card__label {
  color: #94a3b8;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================================
   Portfolio Section
   ======================================== */
.bt-grid--portfolio {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .bt-grid--portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .bt-grid--portfolio {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bt-portfolio-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.bt-portfolio-card__thumbnail {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bt-portfolio-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.bt-portfolio-card:hover .bt-portfolio-card__thumbnail img {
  transform: scale(1.04);
}

.bt-portfolio-card__thumbnail--placeholder {
  color: var(--color-text-tertiary);
}

.bt-portfolio-card__content {
  padding: var(--space-6);
}

.bt-portfolio-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin: var(--space-3) 0 var(--space-2);
}

.bt-portfolio-card__excerpt {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.bt-cta-section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.bt-cta-block {
  background: radial-gradient(circle at 10% 20%, #0070f3 0%, #003ecb 90%);
  border-radius: var(--radius-2xl);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px -15px rgba(0, 85, 255, 0.5);
}

.bt-cta-block__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.bt-cta-block__desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.bt-cta-block__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.bt-cta-block .bt-btn--primary {
  background: #ffffff;
  color: var(--color-primary);
  font-weight: 700;
}

.bt-cta-block .bt-btn--primary:hover {
  background: #f0f5ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.bt-cta-block .bt-btn--outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.bt-cta-block .bt-btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* ========================================
   Sidebar Layout
   ======================================== */
.bt-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .bt-sidebar-layout {
    grid-template-columns: 1fr 320px;
  }
}

/* ========================================
   Post Content
   ======================================== */
.bt-post-content {
  max-width: 780px;
  margin-inline: auto;
  font-size: var(--text-lg);
  line-height: 1.8;
}

.bt-post-content p {
  margin-bottom: var(--space-6);
  color: var(--color-text-secondary);
}

.bt-post-content h2,
.bt-post-content h3,
.bt-post-content h4 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}

.bt-post-content img {
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
}

.bt-post-content ul,
.bt-post-content ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
}

.bt-post-content li {
  margin-bottom: var(--space-2);
  list-style: disc;
}

.bt-post-content ol li {
  list-style: decimal;
}

.bt-post-content blockquote {
  border-left: 4px solid var(--color-primary);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-secondary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: var(--space-6) 0;
  font-style: italic;
}

/* ========================================
   Main Content
   ======================================== */
.bt-main {
  min-height: 60vh;
}

/* ========================================
   Page Header
   ======================================== */
.bt-page-header {
  padding: var(--space-12) 0 var(--space-8);
  margin-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-border);
}

.bt-page-header h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.bt-page-header p {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
}

