/* ============================================================
   1) FONT IMPORTLARI & GLOBAL AYARLAR
   - Projede kullanılan fontlar
   - Body genel yazı tipi ve margin reset
============================================================ */

@import url('https://fonts.cdnfonts.com/css/satoshi');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&display=swap');

@import url('../fonts/Amazed.otf');

/* Özel Hellombah font tanımı */
@font-face {
  font-family: 'Hellombah';
  src: url('/assets/fonts/hellombah/Hellombah.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Hellombah sınıfı ile çağırma */
.hellombah {
  font-family: 'Hellombah', sans-serif;
}

/* Global body ayarları */
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}





/* ============================================================
   2) NAVBAR (ÜST MENÜ)
   - Navbar yapısı
   - Logo alanı
   - Navigasyon linkleri
   - Sağ taraftaki butonlar
============================================================ */

/* Navbar genel kapsayıcı */
.navbar {
  position: absolute;
  top: 0;
  left: 50%;
  margin-top: 20px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
}

/* Navbar iç container (ortalanmış, blur arka planlı kutu) */
.nav-container {
  width: 70%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.856);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 5px 18px;
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 100;
}

/* -------------------------
   LOGO BÖLÜMÜ
-------------------------- */

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-icon {
  height: 28px;
  width: auto;
}

/* -------------------------
   NAV LİNKLERİ (ANA MENÜ)
-------------------------- */

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

/* Menü linkleri (ana başlıklar) */
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #444;
  padding: 8px 14px;
  border-radius: 28px;
  transition: 0.25s ease;
}

/* Menü link hover efekti */
.nav-links a:hover {
  color: #000;
  background-color: #11111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Dropdown ana kapsayıcı (mega menü tetikleyici li) */
.dropdown {
  position: relative;
  pointer-events: auto;
}





/* ============================================================
   3) MEGA MENU (AÇILIR BÜYÜK MENÜ)
   - Mega menü kutusu
   - Grid yapısı
   - Kategori başlıkları
   - Ürün / hizmet link kartları
   - CTA banner
============================================================ */

/* Mega menü ana kutu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 1100px;
  padding: 28px 45px;
  border-radius: 14px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.07);
  border-top: none;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(0,0,0,0.08);
  display: none;
  margin-top: 25px;
}

/* Dropdown hover olduğunda mega menüyü göster */
.dropdown:hover .mega-menu,
.mega-menu:hover {
  display: block;
  pointer-events: auto;
}

/* Mega menü üst grid yapısı (2 kolon) */
.mega-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  margin-bottom: 32px;
}

/* -------------------------
   MEGA MENU KATEGORİ BAŞLIKLARI (h3)
-------------------------- */

.mega-section h3 {
  font-size: 14px;
  font-weight: 800;
  color: #555;
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: 0.25s ease;
}

/* Kategori başlığı hover animasyonu */
.mega-section h3:hover {
  color: #000;
  letter-spacing: 0.6px;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  transform: translateX(3px);
}

/* -------------------------
   MEGA MENU ÜRÜN / HİZMET BLOKLARI
-------------------------- */

/* Her bir ürün / hizmet link kapsayıcı */
.mega-section a {
  display: block;
  padding: 14px 18px;
  border-radius: 28px;
  transition: 0.25s ease;
  text-decoration: none;
}

/* Ürün / hizmet kart hover efekti */
.mega-section a:hover {
  background: #f1f1f1;
  transform: translateX(4px);
}

/* Ürün başlığı */
.mega-section a h4 {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin: 0 0 6px 0;
}

/* Ürün açıklaması */
.mega-section a p {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.45;
}

/* -------------------------
   MEGA MENU ALT CTA BANNER
-------------------------- */

.mega-banner {
  background: #f2f6ff;
  border-radius: 12px;
  height: 90px;
  display: flex;
  align-items: center;
  position: relative;
}

/* CTA banner iç görsel */
.mega-banner img {
  height: 70px;
  margin-left: 16px;
}

/* CTA banner sağ metin */
.banner-text {
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  right: 20px;
  color: #222;
}





/* ============================================================
   4) NAVBAR SAĞ BUTONLAR (LOGIN / CONTACT / SIGNUP)
============================================================ */

/* Sağ blok kapsayıcı */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Login linki */
.login {
  font-size: 14px;
  cursor: pointer;
  color: #333;
  transition: 0.2s;
}

.login:hover {
  color: #000;
}

/* Contact butonu */
.contact-btn {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 10px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
}

/* Signup butonu */
.signup-btn {
  background: #111;
  border-radius: 10px;
  color: #fff;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid #111;
}





/* ============================================================
   5) FOOTER (ALT BÖLÜM)
   - Footer ana yapı
   - Logo ve açıklama
   - Link kolonları
   - Alt bant
============================================================ */

/* Footer ana kapsayıcı */
.bw-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 130px 0 90px 0;   /* Eskisi: 70px 0 50px 0 */
  color: #eaeaea;
  font-family: "Inter", sans-serif;
  border-radius: 54px 54px 0 0 ;
}

/* Footer iç container */
.bw-footer-container {
  width: 85%;
  max-width: 1350px;         /* Eskisi 1200 */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 100px;                /* Eskisi 60 */
}

/* Footer logo alanı */
.bw-footer-logo {
  width: 200px;              /* Eskisi 150px */
  margin-bottom: 28px;       /* Eskisi 18 */
}

/* Footer açıklama metni */
.bw-brand p {
  color: #d2d2d2;
  line-height: 1.75;         /* Eskisi 1.6 */
  max-width: 360px;          /* Eskisi 280px */
  font-size: 15px;
}

/* Footer kolon başlıkları */
.bw-footer-col h4 {
  font-size: 15px;           /* Eskisi 14px */
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

/* Footer linkleri */
.bw-footer-col a {
  display: block;
  text-decoration: none;
  color: #bdbdbd;
  padding: 8px 0;
  font-size: 15px;           /* Eskisi 14 */
  transition: .25s ease;
}

/* Footer alt bant */
.bw-footer-bottom {
  margin-top: 85px;          /* Eskisi 60 */
  text-align: center;
  color: #7a7a7a;
  font-size: 14px;           /* Eskisi 13 */
}





/* ============================================================
   6) AI SLIDER (SLIDER WRAPPER & NAV BUTONLARI)
   - Slider dış kapsayıcı
   - İç slider track
   - Sol/sağ ok butonları
============================================================ */

/* Slider ana section */
.ai-slider-section {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 80px 0;
}

/* Slider görünüm penceresi */
.ai-slider-wrapper {
  overflow: hidden;
  width: 90%;
  margin: 0 auto;
}

/* Slider iç akış (kartları taşıyan flex) */
.ai-slider {
  display: flex;
  gap: 26px;
  transition: transform 0.4s ease;
}

/* Slider ok butonları */
.ai-slider-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  font-size: 22px;
  transition: 0.25s;
}

/* Slider ok hover */
.ai-slider-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.12);
}





/* ============================================================
   7) AI SLIDER CARD (KART TASARIMI)
   - Kart görünümü
   - 3D hover
   - Float animasyonu
   - Icon, başlık, metin ve buton
============================================================ */

/* Kart ana stil */
.ai-slide-card {
  min-width: 260px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 24px;
  border-radius: 18px;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: 0.3s ease;
  transform-style: preserve-3d;
  animation: floatCard 4s ease-in-out infinite;
}

/* 3D Hover Tilt Effect */
.ai-slide-card:hover {
  transform: translateY(-8px) rotateY(10deg);
  background: rgba(255,255,255,0.13);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

/* Kart yukarı-aşağı hareket animasyonu */
@keyframes floatCard {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* Kart iç icon alanı */
.card-icon {
  width: 58px;
  height: 58px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  margin: 0 auto 16px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Kart içindeki icon görseli */
.card-icon img {
  width: 60%;
  height: 60%;
  filter: brightness(1.3);
}

/* Kart başlığı */
.ai-slide-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 700;
}

/* Kart açıklama metni */
.ai-slide-card p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* Kart içindeki CTA butonu */
.card-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  color: #fff;
  background: #3b82f6;
  text-decoration: none;
  transition: 0.25s;
}

/* Kart CTA hover efekti */
.card-btn:hover {
  background: #5a96ff;
}

/* ============================================================
   15) MACOS PANEL – ANA PENCERE KAPSAYICI
   - 1280px genişlik
   - macOS tarzı gölge & border
============================================================ */

.panel-container {
    position: relative;
    width: 1280px;
    min-height: 700px;
    margin: 120px auto;
    background: #ffffff;
    border-radius: 18px;
    border: 2px solid #c9c9c9;
    box-shadow:
        0 12px 32px rgba(0,0,0,0.15),
        inset 0 0 0 1px #e8e8e8;
    overflow: hidden;
}





/* ============================================================
   16) MACOS PANEL – ÜST BAR (WINDOW BAR)
   - Kırmızı / Sarı / Yeşil butonlar
   - macOS gradient background
============================================================ */

.window-bar {
    width: 100%;
    height: 38px;
    background: linear-gradient(to bottom, #f6f6f6, #eaeaea);
    border-bottom: 1px solid #d3d3d3;
    display: flex;
    align-items: center;
    padding-left: 14px;
    gap: 10px;
    box-sizing: border-box;
}

/* macOS butonları */
.win-btn {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
}

.win-red { background: #ff5f57; }
.win-yellow { background: #ffbd2f; }
.win-green { background: #28c940; }





/* ============================================================
   17) MACOS PANEL – PANEL LAYOUT (SOL MENU + SAĞ CHAT)
============================================================ */

.content-wrapper {
    display: flex;
    height: calc(100% - 38px); /* Üst bar çıkarıldı */
    width: 100%;
}





/* ============================================================
   18) SIDEBAR (SOL MENÜ)
   - Menüler, başlıklar, butonlar
============================================================ */

.sidebar {
    width: 300px;
    padding: 24px;
    background: #ffffff;
    border-right: 1px solid #e5e5e5;
    overflow-y: auto;
}

.menu-title {
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 700;
}

.menu-group h3 {
    font-size: 14px;
    margin-top: 22px;
    margin-bottom: 8px;
    color: #666;
    font-weight: 600;
}

/* Sidebar butonları */
.menu-group button {
    width: 100%;
    padding: 12px;
    margin-bottom: 8px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
    font-size: 15px;
}

.menu-group button:hover {
    background: #e6e6e6;
}





/* ============================================================
   19) CHAT PANEL (SAĞ TARAF)
   - Header
   - Chat içerik alanı
============================================================ */

.chat-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

/* Üst başlık */
.chat-header {
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #e5e5e5;
}

/* Mesaj alanı */
.chat-window {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}





/* ============================================================
   20) MESAJ BALONLARI
   - Kullanıcı ve bot mesajları
   - Fade-in animasyonu
============================================================ */

.message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 16px;
}

/* Ortak balon görünümü */
.message-body {
    padding: 14px 18px;
    border-radius: 14px;
    max-width: 75%;
    font-size: 17px;
    line-height: 1.6;
    background: #f2f2f2;
    color: #111;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    animation: fadeIn 0.25s ease;
}

/* Bot mesajı */
.message.bot .message-body {
    background: #ececec;
    border-color: #dcdcdc;
}

/* Kullanıcı mesajı */
.message.user .message-body {
    background: #dff7e8;
    border-color: #c5e8d4;
}

/* Avatar */
.avatar {
    width: 32px;
    height: 32px;
    background: #d4d4d4;
    border-radius: 50%;
    color: #333;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fade animasyonu */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}





/* ============================================================
   21) TYPING ANİMASYONU
   - "..." canlı typing efekti
============================================================ */

.typing {
    padding: 6px 12px;
    background: #ddd;
    display: inline-flex;
    gap: 4px;
    border-radius: 10px;
}

.typing span {
    width: 6px;
    height: 6px;
    background: #555;
    border-radius: 50%;
    animation: blink 1.2s infinite;
}

/* Dot delay ayarları */
.typing span:nth-child(2) { animation-delay: .15s }
.typing span:nth-child(3) { animation-delay: .3s }

/* Blink animasyonu */
@keyframes blink {
    0% { opacity: .3 }
    50% { opacity: 1 }
    100% { opacity: .3 }
}





/* ============================================================
   22) GRAFİK BUTONU
   - Chat içinde yer alan grafik göster butonu
============================================================ */

.chart-btn {
    margin-top: 12px;
    padding: 10px 14px;
    background: #4b7bec;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.chart-btn:hover {
    background: #3867d6;
}




/* Scrollbar base */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.25) transparent;
}
*::-webkit-scrollbar { width: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.25); border-radius: 10px; }

.ntc-shell {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 32px 18px;
}

.ntc-window {
  width: 100%;
  max-width: 1200px;
  min-height: 720px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ntc-topbar {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
}

.ntc-mac-dots { display: flex; gap: 6px; }
.ntc-mac-dots span { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.ntc-dot-close { background: #ff5f57; }
.ntc-dot-min { background: #febb2e; }
.ntc-dot-full { background: #27c93f; }

.ntc-title {
  flex: 1;
  text-align: center;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.3px;
}

.ntc-hamburger {
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.ntc-hamburger span { height: 3px; border-radius: 4px; background: #111827; transition: 0.3s; }
.ntc-hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.ntc-hamburger.active span:nth-child(2) { opacity: 0; }
.ntc-hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.ntc-layout {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 0;
}
.ntc-layout.sidebar-collapsed { grid-template-columns: 0 1fr; }

.ntc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 5;
}
.ntc-overlay.active { opacity: 1; pointer-events: all; }

.ntc-sidebar {
  background: rgba(247,248,252,0.82);
  border-right: 1px solid rgba(0,0,0,0.06);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: 0.3s ease;
  z-index: 10;
}
.ntc-sidebar.closed { transform: translateX(-100%); opacity: 0; pointer-events: none; }

.ntc-profile { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #eef2ff; border: 1px solid rgba(0,0,0,0.05); }
.ntc-profile img { width: 40px; height: 40px; border-radius: 12px; }
.ntc-meta { font-size: 13px; line-height: 1.3; }
.ntc-meta strong { display: block; color: #0f172a; }

.ntc-new-chat {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  cursor: pointer;
  text-align: left;
}

.ntc-menu { display: grid; gap: 8px; }
.ntc-menu-heading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin-top: 6px;
}

.ntc-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease;
  z-index: 2000;
}
.ntc-modal.show {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}
.ntc-modal-content {
  background: #ffffff;
  padding: 22px 24px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.16);
  max-width: 360px;
  width: 90%;
}
.ntc-modal-content h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.ntc-modal-content p {
  margin: 0 0 18px 0;
  color: #334155;
  line-height: 1.5;
}
.ntc-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.ntc-modal-actions button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer;
  font-weight: 600;
}
.ntc-modal-cancel {
  background: #e2e8f0;
  color: #0f172a;
}
.ntc-modal-confirm {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.ntc-menu-item {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.05);
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}
.ntc-menu-item.active { border-color: #a78bfa; box-shadow: 0 0 0 2px rgba(167,139,250,0.25); }

.ntc-main {
  background: transparent;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.ntc-scroll-bottom-btn {
  position: absolute;
  left: 50%;
  bottom: 74px;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08);
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}
.ntc-scroll-bottom-btn.visible { opacity: 1; pointer-events: all; }
.ntc-scroll-bottom-btn:hover { transform: translate(-50%, -1px); }

.ntc-header {
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  gap: 10px;
  background: rgba(255,255,255,0.85);
}
.ntc-status { width: 10px; height: 10px; background: #22c55e; border-radius: 50%; }

.ntc-messages {
  flex: 1 1 0;
  min-height: 0;
  overflow: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-wrap: break-word;
}
.ntc-messages::-webkit-scrollbar { width: 8px; }
.ntc-messages::-webkit-scrollbar-track { background: transparent; }
.ntc-messages::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 10px; }

.ntc-msg { display: flex; gap: 10px; max-width: 70%; opacity: 0; transform: translateY(4px); animation: msgFade 0.25s ease forwards; }
.ntc-msg.ntc-msg-user { margin-left: auto; flex-direction: row-reverse; }

.ntc-avatar {
  width: 34px; height: 34px; min-width: 34px; flex-shrink: 0;
  border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
  color: #0b172a; box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}
.ntc-msg-bot .ntc-avatar { background: linear-gradient(135deg, #2dd4bf, #22c55e); color: #0b172a; border: 1px solid rgba(255,255,255,0.55); }
.ntc-msg-user .ntc-avatar { background: linear-gradient(135deg, #60a5fa, #38bdf8); color: #0b172a; border: 1px solid rgba(255,255,255,0.55); }

.ntc-bubble { padding: 12px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid rgba(0,0,0,0.05); position: relative; display: grid; gap: 6px; }
.ntc-msg-user .ntc-bubble { background: #4f46e5; color: #fff; border-color: transparent; }
.ntc-bubble-text { word-break: break-word; }
.ntc-timestamp { font-size: 11px; color: #94a3b8; text-align: right; }
.ntc-msg-user .ntc-timestamp { color: #dbeafe; }

@keyframes msgFade { to { opacity: 1; transform: translateY(0); } }

.ntc-footer { padding: 12px 16px; border-top: 1px solid rgba(0,0,0,0.06); background: rgba(255,255,255,0.92); }
.ntc-start-btn {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.08); background: #fff; cursor: pointer;
}
.ntc-start-btn:hover:not(:disabled) { box-shadow: 0 6px 18px rgba(79,70,229,0.18); border-color: rgba(79,70,229,0.3); }
.ntc-start-btn:active:not(:disabled) { transform: translateY(1px); }
.ntc-start-btn:disabled { opacity: 0.65; cursor: not-allowed; }

.ntc-option-row { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; max-width: 320px; }
.ntc-option-btn { padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.08); background: #fff; cursor: pointer; text-align: left; font-size: 14px; transition: 0.2s ease; }
.ntc-option-btn:hover { border-color: rgba(79,70,229,0.35); box-shadow: 0 4px 12px rgba(79,70,229,0.14); }
.ntc-msg + .ntc-option-row { margin-top: 4px; }

@media (max-width: 900px) {
  .ntc-layout { grid-template-columns: 1fr; }
  .ntc-overlay.active { background: rgba(0,0,0,0.08); }
  .ntc-sidebar { position: absolute; top: 0; left: 0; height: 100%; width: 260px; box-shadow: 8px 0 30px rgba(0,0,0,0.08); transform: translateX(0); opacity: 1; pointer-events: auto; display: block; }
  .ntc-main { grid-column: 1; }
  .ntc-sidebar.closed { transform: translateX(-110%); opacity: 0; pointer-events: none; display: none; }
  .ntc-option-row { max-width: 100%; }
  .chat-window { padding: 110px 18px 40px 18px; max-width: 100%; height: 420px; }
  .bubble { max-width: 90%; font-size: 15px; }
  .ai-slider-section { flex-direction: column; margin: 48px 0; }
  .ai-slider-wrapper { width: 100%; }
  .placeholder-img { height: 420px; }
  .dialog-section h2 { font-size: 42px; }
}

@media (max-width: 640px) {
  .ntc-shell { padding: 16px 10px; }
  .ntc-window { min-height: 92vh; width: 100%; border-radius: 14px; }
  .ntc-topbar { padding: 0 10px; gap: 8px; }
  .ntc-title { font-size: 14px; letter-spacing: 0.2px; }
  .ntc-sidebar { width: 240px; padding: 14px; gap: 10px; }
  .ntc-messages { padding: 12px; }
  .ntc-msg { max-width: 85%; gap: 8px; }
  .ntc-bubble { font-size: 13px; }
  .ntc-timestamp { font-size: 11px; }
  .ntc-start-btn { padding: 10px 12px; }
  .chat-window { padding: 100px 14px 34px 14px; height: 380px; }
  .bubble { max-width: 94%; }
  .ai-slider { gap: 18px; }
  .ai-slider-section { margin: 36px 0; }
  .placeholder-img { height: 340px; }
  .dialog-section h2 { font-size: 36px; }
  .placeholder-img img,
  .ai-slider img,
  .ntc-window img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  .ai-hero-container { padding: 70px 12px; }
  .ai-hero-box { padding: 46px 18px; border-radius: 28px; }
  .ai-hero-box h2 { font-size: 28px; line-height: 1.3; }
  .ai-hero-box p { font-size: 15px; line-height: 1.6; }
  .ai-hero-btn { padding: 14px 28px; font-size: 14px; }
  .text-side h2 { font-size: 34px; line-height: 1.25; }
  .text-side p { font-size: 15px; line-height: 1.6; }
  .dimro-section { margin: 80px 0; }
  .dimro-section.show h2,
  .dimro-row.show h2 { color: #ffffff; }
  .dimro-section.show .text-side h2 { color: #0f172a; }
}

@media (max-width: 480px) {
  .ntc-window { min-height: 90vh; border-radius: 12px; }
  .ntc-topbar { height: 44px; }
  .ntc-sidebar { width: 220px; }
  .ntc-msg { max-width: 90%; }
  .chat-window { padding: 90px 12px 28px 12px; height: 360px; }
  .bubble { max-width: 96%; }
  .ntc-modal-content { width: 94%; }
  .placeholder-img { height: 280px; border-radius: 14px; }
  .dialog-section h2 { font-size: 32px; }
  .ai-hero-container { padding: 60px 10px; }
  .ai-hero-box { padding: 40px 16px; border-radius: 24px; }
  .ai-hero-box h2 { font-size: 24px; }
  .ai-hero-box p { font-size: 14px; }
  .text-side h2 { font-size: 30px; }
  .text-side p { font-size: 14px; }
  .dimro-section { margin: 60px 0; }
}


/* === BIOS ERP PREMIUM THEME === */
 :root {
  --bios-bg: #ffffff;
  --bios-ink: #0f172a;
  --bios-muted: #475569;
  --bios-border: rgba(15, 23, 42, 0.08);
  --bios-accent: #2563eb;
  --bios-accent-strong: #1d4ed8;
  --bios-accent-soft: #e0ecff;
  --bios-card: #ffffff;
  --bios-heading-font: "Satoshi", "Space Grotesk", "DM Sans", sans-serif;
}

body {
  background: var(--bios-bg);
  color: var(--bios-ink);
  overflow-x: hidden;
}

.bios-wrapper {
  position: relative;
  max-width: 1290px;
  margin: 0 auto;
  padding: 80px 24px 60px;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}

.bios-wrapper::before,
.bios-wrapper::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
  filter: blur(0);
  z-index: -1;
}

.bios-wrapper::before {
  top: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 65%);
}

.bios-wrapper::after {
  bottom: -140px;
  left: -120px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
}

.bios-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bios-card);
  border-radius: 28px;
  padding: 56px;
  gap: 48px;
  box-shadow: none;
  margin: 120px 0;
}

.bios-hero h1 {
  font-family: var(--bios-heading-font);
  font-size: 56px;
  letter-spacing: -0.6px;
  font-weight: 800;
  color: #0b1220;
  line-height: 1.05;
  text-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.subtitle {
  color: var(--bios-muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-image {
  border-radius: 22px;
  background: linear-gradient(145deg, #f3f6ff, #ffffff);
  box-shadow: none;
  overflow: hidden;
  width: 660px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bios-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.bios-icons {
  margin: 90px 0 120px;
  display: block;
  padding: 2px;
  max-width: 1290px;
  margin-left: auto;
  margin-right: auto;
}

.bios-icons-head {
  text-align: center;
  margin-bottom: 36px;
}

.bios-icons-title {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 10px 0;
  line-height: 1.15;
  color: #0b1220;
  padding-bottom: 12px;
  background-image: linear-gradient(90deg, rgba(37, 99, 235, 0.85), rgba(99, 102, 241, 0.85));
  background-repeat: no-repeat;
  background-size: 64px 4px;
  background-position: center bottom;
}

.bios-icons-desc {
  margin: 0 auto;
  max-width: 720px;
  font-size: 18px;
  color: var(--bios-muted);
  line-height: 1.6;
}

.bios-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: stretch;
}

.bios-icons-grid .icon-card {
  width: auto;
  min-width: 0;
}

.icon-card {
  background: linear-gradient(145deg, #ffffff, #f3f6ff);
  border: 1px solid var(--bios-border);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  padding: 28px 26px;
  margin: 0;
  text-align: left;
}

.icon-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 18px;
  width: 52px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1e3a8a, #2563eb);
  opacity: 0.7;
}

.icon-card h3 {
  font-size: 20px;
  margin-top: 18px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #0b1220;
}

.icon-card p {
  color: var(--bios-muted);
  line-height: 1.6;
  margin: 0;
}

.bios-section h2,
.bios-reference h2,
.usecases h2,
.bios-cta h2 {
  font-family: var(--bios-heading-font);
  letter-spacing: -0.6px;
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 24px;
  font-weight: 800;
  color: #0b1220;
  padding-bottom: 14px;
  background-image: linear-gradient(90deg, rgba(37, 99, 235, 0.9), rgba(99, 102, 241, 0.85));
  background-repeat: no-repeat;
  background-size: 64px 4px;
  background-position: center bottom;
}

.bios-section h2,
.usecases h2,
.bios-cta h2,
.bios-icons-title {
  text-align: center;
}

.bios-reference h2 {
  text-align: left;
  background-position: left bottom;
}

.bios-cta h2 {
  color: #ffffff;
}

.bios-section {
  max-width: 1290px;
  margin: 0 auto;
  text-align: center;
}

.bios-section .desc {
  color: var(--bios-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto;
}

.modul-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 42px;
}

.mod-card {
  border: 1px solid var(--bios-border);
  background: linear-gradient(150deg, #ffffff 0%, #f1f5ff 100%);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-radius: 18px;
  padding: 28px 30px;
  display: grid;
  gap: 10px;
}

.mod-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
}

.mod-card h3 {
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: #0b1220;
}

.mod-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 14px 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--bios-muted);
  line-height: 1.6;
}

.mod-list li {
  display: flex;
  align-items: flex-start;
}

.mod-list li::before {
  content: "•";
  color: #2563eb;
  font-weight: 700;
  margin-right: 8px;
}

.mod-gain {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
}

.bios-reference {
  display: flex;
  align-items: center;
  gap: 56px;
  background: #f8fafc;
  border-radius: 30px;
  padding: 70px;
  box-shadow: none;
  border: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 1290px;
  margin: 120px auto 40px;
  box-sizing: border-box;
}

.bios-reference .ref-text {
  flex: 0 1 48%;
}

.bios-reference p {
  color: var(--bios-muted);
  font-size: 17px;
}

.bios-reference .ref-body {
  display: grid;
  gap: 16px;
}

.bios-reference .ref-body p {
  margin: 0;
}

.bios-reference-extra {
  max-width: 1290px;
  margin: 0 auto 120px;
  padding: 32px 46px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
  box-sizing: border-box;
}

.bios-reference-extra h3 {
  margin: 0 0 12px;
  font-size: 22px;
  color: #0f172a;
}

.bios-reference-extra p {
  color: var(--bios-muted);
  margin: 12px 0 0;
  font-size: 16px;
}

.ref-image {
  flex: 0 1 52%;
  width: 100%;
  height: 520px;
  border-radius: 20px;
  
  background: #f8fafc;
}

.ref-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .bios-reference .ref-image {
    transform: translateX(-40px);
  }
}

.bios-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 18px 0;
  display: grid;
  gap: 8px;
  color: var(--bios-muted);
}

.bios-list li::before {
  content: "• ";
  color: #2563eb;
  font-weight: 700;
}

.bios-cta {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
  max-width: 1290px;
  margin: 140px auto 80px;
  padding: 50px 25px;
  border-radius: 54px;
  text-align: center;
  box-sizing: border-box;
}

.bios-cta p {
  color: #cbd5f5;
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.cta-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 48px;
  font-size: 20px;
  border-radius: 14px;
  cursor: pointer;
  color: #ffffff;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

@media (max-width: 900px) {
  .bios-wrapper {
    padding: 30px 18px;
  }

  .bios-hero {
    padding: 40px;
  }

  .bios-hero,
  .bios-reference {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .hero-image,
  .ref-image {
    width: 300px;
    height: auto;
  }

  .bios-hero img,
  .bios-reference img {
    width: 100%;
    height: auto;
  }

  .bios-icons-grid {
    grid-template-columns: 1fr;
  }

  .bios-reference {
    padding: 50px;
  }

  .bios-reference-extra {
    padding: 26px 28px;
  }

  .bios-icons-title {
    font-size: 40px;
  }

  .bios-hero-premium {
    padding: 36px;
  }

  .usecases {
    padding: 70px 28px;
  }
}

@media (max-width: 768px) {
  .bios-hero {
    padding: 32px 24px;
  }

  .bios-hero {
    margin-top: 80px;
  }

  .bios-hero .hero-image {
    order: -1;
  }

  .bios-reference .ref-image {
    order: -1;
  }

  .bios-hero h1 {
    font-size: 40px;
  }

  .subtitle {
    font-size: 16px;
  }

  .hero-image {
    width: 100%;
    height: auto;
  }

  .bios-section .desc,
  .bios-reference p {
    font-size: 16px;
  }

  .bios-section h2,
  .bios-reference h2,
  .usecases h2,
  .bios-cta h2 {
    font-size: 32px;
  }

  .bios-icons-title {
    font-size: 32px;
  }

  .mod-card,
  .use-card {
    font-size: 16px;
  }

  .bios-cta {
    padding: 38px 18px;
    border-radius: 28px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 14px 26px;
  }

  .usecases {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .icon-card {
    padding: 20px;
  }

  .icon-card h3 {
    font-size: 18px;
  }

  .icon-card p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .bios-hero {
    padding: 26px 20px;
  }

  .bios-hero h1 {
    font-size: 30px;
  }

  .subtitle {
    font-size: 15px;
  }

  .hero-body {
    font-size: 14px;
  }

  .modul-grid {
    grid-template-columns: 1fr;
  }

  .bios-reference {
    margin: 70px auto;
    padding: 40px 20px;
  }

  .usecases {
    padding: 60px 16px;
  }

  .bios-cta {
    margin: 80px auto 50px;
  }

  .cta-btn {
    width: 100%;
  }

  .hero-highlights span {
    font-size: 10px;
    padding: 6px 8px;
  }
}

/* === BIOS ERP premium polish === */
.bios-hero-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 55%, #eef2ff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.bios-hero-premium .hero-content {
  max-width: 620px;
}

.bios-hero-premium .subtitle {
  max-width: 600px;
}

.bios-hero-premium::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  height: 320px;
  width: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 65%);
  filter: blur(10px);
  opacity: 0.8;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-body {
  margin-top: 14px;
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.36);
}

.secondary-btn {
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: #0f172a;
  background: #ffffff;
}

.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-highlights span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.hero-visual {
  position: relative;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -12% -6%;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.12));
  z-index: -1;
}

.hero-image {
  background: linear-gradient(145deg, #f8fafc, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.bios-icons-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.bios-modules {
  margin-top: 120px;
}

.bios-reference strong {
  color: #0f172a;
  font-weight: 700;
}

.usecases {
  max-width: 1290px;
  margin: 0 auto;
  padding: 90px 40px;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  line-height: 1.6;
  box-sizing: border-box;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

.use-card {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  padding: 32px;
  min-width: 260px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.use-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.use-card h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #0b1220;
}

.use-card p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}

.usecases-features .use-card {
  animation: useCardPulse 6.5s ease-in-out infinite alternate;
}

.usecases-features .use-card:nth-child(2) { animation-delay: 0.6s; }
.usecases-features .use-card:nth-child(3) { animation-delay: 1.2s; }
.usecases-features .use-card:nth-child(4) { animation-delay: 1.8s; }
.usecases-features .use-card:nth-child(5) { animation-delay: 2.4s; }
.usecases-features .use-card:nth-child(6) { animation-delay: 3s; }
.usecases-features .use-card:nth-child(7) { animation-delay: 3.6s; }

@keyframes useCardPulse {
  0% {
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.08);
  }
  100% {
    box-shadow: 0 26px 46px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .usecases-features .use-card {
    animation: none;
  }

  .use-card {
    transition: none;
  }

  .use-card:hover {
    transform: none;
  }
}

@media (min-width: 1024px) {
  .usecases-features {
    padding: 100px 60px;
  }

  .usecases-features .use-grid {
    column-gap: 36px;
    row-gap: 36px;
  }

  .usecases-features .use-card {
    padding: 36px;
  }
}

@media (max-width: 900px) {
  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-actions {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-body {
    font-size: 15px;
  }

  .hero-highlights span {
    font-size: 11px;
    padding: 6px 10px;
  }

  .hero-image {
    width: 100%;
    height: auto;
  }

  .hero-highlights {
    justify-content: flex-start;
    gap: 8px;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
  }

  .use-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .modul-grid {
    grid-template-columns: 1fr;
  }

  .use-card {
    padding: 20px;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
  }

  .use-card h3 {
    font-size: 18px;
  }

  .use-grid,
  .use-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .use-grid {
    gap: 16px;
  }

  .use-card {
    padding: 16px;
    border-radius: 16px;
  }

  .use-card h3 {
    font-size: 16px;
  }

  .primary-btn,
  .secondary-btn {
    font-size: 14px;
    padding: 12px 18px;
  }
}

/* BIOS ERP reference premium polish */
.bios-reference {
  position: relative;
  display: flex;
  align-items: center;
  gap: 64px;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #eef2ff 100%);
  border-radius: 36px;
  padding: 78px 76px;
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.08);
  max-width: 1290px;
  margin: 120px auto 40px;
  overflow: hidden;
  box-sizing: border-box;
}

.bios-reference::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -160px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 65%);
  opacity: 0.7;
}

.bios-reference::after {
  content: "";
  position: absolute;
  bottom: -170px;
  left: -180px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.16), transparent 60%);
  opacity: 0.55;
}

.bios-reference .ref-text,
.bios-reference .ref-image {
  position: relative;
  z-index: 1;
}

.bios-reference .ref-text {
  flex: 0 1 46%;
}

.bios-reference p {
  color: var(--bios-muted);
  font-size: 17px;
  line-height: 1.7;
}

.bios-reference .ref-body {
  display: grid;
  gap: 16px;
}

.bios-reference .ref-body p {
  margin: 0;
}

.bios-reference-extra {
  position: relative;
  max-width: 1290px;
  margin: 0 auto 120px;
  padding: 38px 76px;
  border-radius: 28px;
  background: linear-gradient(140deg, #ffffff 0%, #f8fafc 55%, #eef2ff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}

.bios-reference-extra::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16), transparent 60%);
  opacity: 0.7;
}

.bios-reference-extra::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -140px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14), transparent 65%);
  opacity: 0.65;
}

.bios-reference-extra .ref-extra {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.3fr);
  grid-template-areas:
    "title list"
    "copy list";
  column-gap: 40px;
  row-gap: 16px;
  align-items: start;
}

.bios-reference-extra h3 {
  margin: 0;
  font-size: 24px;
  color: #0f172a;
  letter-spacing: -0.2px;
  grid-area: title;
}

.bios-reference-extra p {
  color: var(--bios-muted);
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.7;
  grid-area: copy;
  max-width: 520px;
}

.ref-image {
  flex: 0 1 54%;
  width: 100%;
  height: 520px;
  border-radius: 26px;
  background: linear-gradient(145deg, #eef2ff, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 54px rgba(15, 23, 42, 0.16);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.ref-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(99, 102, 241, 0.12));
  opacity: 0.7;
  pointer-events: none;
}

.ref-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.bios-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  color: var(--bios-muted);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  align-content: start;
  grid-area: list;
}

.bios-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 1.6;
}

.bios-list li::before {
  content: none;
}

@media (min-width: 1024px) {
  .bios-reference .ref-image {
    transform: translateX(-20px);
  }
}

@media (max-width: 900px) {
  .bios-reference {
    padding: 56px 44px;
  }

  .bios-reference .ref-text {
    flex: 1 1 auto;
  }

  .ref-image {
    width: 100%;
    height: auto;
    min-height: 280px;
  }

  .ref-image img {
    height: auto;
  }

  .bios-reference-extra {
    padding: 30px 32px;
  }

  .bios-reference-extra .ref-extra {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "list"
      "copy";
  }

  .bios-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bios-reference p,
  .bios-reference-extra p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .bios-reference {
    margin: 70px auto 40px;
    padding: 38px 22px;
  }

  .ref-image {
    min-height: 220px;
  }

  .bios-reference-extra {
    margin: 0 auto 80px;
    padding: 24px 22px;
  }

  .bios-list li {
    padding: 8px 10px;
  }
}

/* BIOS ERP heading typography */
.bios-hero h1,
.bios-icons-title,
.bios-section h2,
.bios-reference h2,
.usecases h2,
.bios-cta h2,
.icon-card h3,
.mod-card h3,
.use-card h3 {
  font-family: var(--bios-heading-font);
}
