/* ============================================================
   1️⃣ FONTLAR & BODY GENEL AYARLAR
============================================================ */

@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');

@font-face {
  font-family: 'Hellombah';
  src: url('/assets/fonts/hellombah/Hellombah.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.hellombah {
  font-family: 'Hellombah', sans-serif;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}


/* ============================================================
   2️⃣ NAVBAR (ÜST MENÜ)
============================================================ */

/* ================= NAV BAR ================= */
/* ================= NAV BAR ================= */
/* ================= NAV BAR ================= */

.navbar {
  position: absolute;
  top: 0;
  left: 50%;
  margin-top: 20px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
}

.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 */
.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-icon {
  height: 28px;
  width: auto;
}


/* ============================================================
   3️⃣ NAV LINKLERİ (ANA MENÜ)
============================================================ */

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

/* Ana başlık boyutu 16px yapıldı */
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #444;
  padding: 8px 14px;
  border-radius: 28px;
  transition: 0.25s ease;
}

/* Ana başlık hover */
.nav-links a:hover {
  color: #000;
  background-color: #11111111;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Dropdown */
.dropdown {
  position: relative;
  pointer-events: auto;
}


/* ============================================================
   4️⃣ MEGA MENU
============================================================ */

.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;
}

/* Açılma */
.dropdown:hover .mega-menu,
.mega-menu:hover {
  display: block;
  pointer-events: auto;
}

/* Grid yapısı */
.mega-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  margin-bottom: 32px;
}

/* ================= 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;
}

/* Hover efekti */
.mega-section h3:hover {
  color: #000;
  letter-spacing: 0.6px;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  transform: translateX(3px);
}

/* ================= ÜRÜN / HİZMET BLOKLARI ================= */

.mega-section a {
  display: block;
  padding: 14px 18px;
  border-radius: 28px;
  transition: 0.25s ease;
  text-decoration: none;
}

/* Hover efekti */
.mega-section a:hover {
  background: #f1f1f1;
  transform: translateX(4px);
}

/* Ürün başlıkları */
.mega-section a h4 {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  margin: 0 0 6px 0;
}

/* Açıklama (paragraf) */
.mega-section a p {
  font-size: 12px;
  color: #666;
  margin: 0;
  line-height: 1.45;
}


/* ============================================================
   5️⃣ MEGA MENU CTA BANNER
============================================================ */

.mega-banner {
  background: #f2f6ff;
  border-radius: 12px;
  height: 90px;
  display: flex;
  align-items: center;
  position: relative;
}

.mega-banner img {
  height: 70px;
  margin-left: 16px;
}

.banner-text {
  font-size: 14px;
  font-weight: 600;
  position: absolute;
  right: 20px;
  color: #222;
}


/* ============================================================
   6️⃣ NAVBAR SAĞ BUTONLAR
============================================================ */

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login {
  font-size: 14px;
  cursor: pointer;
  color: #333;
  transition: 0.2s;
}

.login:hover {
  color: #000;
}

.contact-btn {
  background: #fff;
  border: 1px solid #dadada;
  border-radius: 10px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
}

.signup-btn {
  background: #111;
  border-radius: 10px;
  color: #fff;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid #111;
}


/* ============================================================
   7️⃣ FOOTER BÖLÜMÜ
============================================================ */

/* ==== FOOTER MENÜ =====*/

.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 ;
}

/* container */
.bw-footer-container {
  width: 85%;
  max-width: 1350px;         /* Eskisi 1200 */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 100px;                /* Eskisi 60 */
}

/* logo */
.bw-footer-logo {
  width: 200px;              /* Eskisi 150px */
  margin-bottom: 28px;       /* Eskisi 18 */
}

/* açıklama */
.bw-brand p {
  color: #d2d2d2;
  line-height: 1.75;         /* Eskisi 1.6 */
  max-width: 360px;          /* Eskisi 280px */
  font-size: 15px;
}

/* başlık */
.bw-footer-col h4 {
  font-size: 15px;           /* Eskisi 14px */
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

/* linkler */
.bw-footer-col a {
  display: block;
  text-decoration: none;
  color: #bdbdbd;
  padding: 8px 0;
  font-size: 15px;           /* Eskisi 14 */
  transition: .25s ease;
}

/* alt bant */
.bw-footer-bottom {
  margin-top: 85px;          /* Eskisi 60 */
  text-align: center;
  color: #7a7a7a;
  font-size: 14px;           /* Eskisi 13 */
}


/* ============================================================
   8️⃣ AI SLIDER (SECTION + WRAPPER)
============================================================ */

/* =====================
   SLIDER WRAPPER
===================== */
.ai-slider-section {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 80px 0;
}

.ai-slider-wrapper {
  overflow: hidden;
  width: 90%;
  margin: 0 auto;
}

.ai-slider {
  display: flex;
  gap: 26px;
  transition: transform 0.4s ease;
}

/* =====================
   SLIDER ARROWS
===================== */
.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;
}

.ai-slider-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.12);
}

/* =====================
   CARD
===================== */
.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);
}

/* Floating animation */
@keyframes floatCard {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

/* =====================
   ICON
===================== */
.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;
}

.card-icon img {
  width: 60%;
  height: 60%;
  filter: brightness(1.3);
}

/* =====================
   TEXTS
===================== */
.ai-slide-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 700;
}

.ai-slide-card p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* =====================
   BUTTON
===================== */
.card-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 12px;
  color: #fff;
  background: #3b82f6;
  text-decoration: none;
  transition: 0.25s;
}

.card-btn:hover {
  background: #5a96ff;
}


/* ============================================================
   9️⃣ RPA LANDING – HERO, FEATURE, PROCESS, USECASE, SCENARIO
============================================================ */

/* CONTAINER */
.rpa-container {
  width: 80%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ------------ HERO ------------- */
.rpa-hero {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 40px 0;
  margin-top: 120px;
  gap: 20px;
}

.rpa-hero h1 {
  font-size: 82px;
  font-weight: 800px;
}

.subtitle {
  font-size: 22px;
  margin-top: 8px;
}

.hero-stats {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  width: 600px;
}

.stat {
  background: #f8f9fc;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.stat h3 {
  font-size: 32px;
  margin-bottom: 4px;
}

.hero-image img {
  width: 480px;
}


/* -------- FEATURE CARDS -------- */
.feature-cards {
  display: flex;
  gap: 24px;
  margin: 80px 0;
}

.f-card {
  flex: 1;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}


/* -------- PROCESS SECTION -------- */
.process-section {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 100px 0;
}

.process-section h2 {
  font-size: 54px;
}

.process-section ul li {
  margin-bottom: 8px;
}

.process-section img {
  width: 600px;
}

.highlight {
  background: #eef5ff;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}


/* -------- USECASE GRID -------- */
.usecase-section {
  margin: 120px 0;
}

.usecase-section h2 {
  font-size: 52px;
  text-align: center;
  margin-bottom: 40px;
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.usecase-card {
  background: white;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 5px 14px rgba(0,0,0,0.07);
  font-size: 20px;
}


/* -------- SCENARIO SECTION -------- */
.scenario-section {
  display: flex;
  gap: 40px;
  margin: 120px 0;
}

.scenario-section h2 {
  font-size: 54px;
}

.scenario-section .scenario-text {
  padding: 5% 0;
}

.scenario-image img {
  width: 550px;
}


/* ============================================================
   🔟 FAQ (Sık Sorulan Sorular) BÖLÜMÜ
============================================================ */

/* ============================================================
   ✅ FAQ (Sık Sorulan Sorular) — GELİŞTİRİLMİŞ TASARIM
   - Başlık: Minimum 54px
   - Paragraf: 26px
   - Animasyonlu açılır yapı
   - Kurumsal kart görünümü
============================================================ */

/* Ana FAQ alanı */
.faq-section {
  margin: 120px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ ana başlığı */
.faq-section h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 54px;      /* ✅ Senin istediğin minimum değer */
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Her bir soru bloğu */
.faq-item {
  margin-bottom: 18px;
}

/* Açılır kart yapısı */
details {
  background: #ffffff;
  padding: 22px;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  cursor: pointer;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

/* Hover efekti */
details:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

/* Soru başlığı */
details summary {
  font-size: 24px;     /* ✅ Sorular büyük ve net */
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

/* Default ok simgesini kaldır */
details summary::-webkit-details-marker {
  display: none;
}

/* Sağdaki + ikon */
details summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 32px;
  font-weight: 700;
  color: #4338ca;
  transition: transform 0.3s ease;
}

/* Açıldığında + → × olur */
details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}

/* Cevap paragrafı */
details p {
  margin-top: 18px;
  font-size: 22px;     /* ✅ Senin istediğin paragraf boyutu */
  line-height: 1.7;
  color: #374151;
  animation: fadeFaq 0.3s ease;
}

/* Açılma animasyonu */
@keyframes fadeFaq {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ============================================================
   ✅ FAQ MOBİL UYUM (Responsive)
============================================================ */

@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 34px;
  }

  details summary {
    font-size: 20px;
  }

  details p {
    font-size: 18px;
  }
}


/* ============================================================
   1️⃣1️⃣ CTA (ÇAĞRI / DEMO ALANI)
============================================================ */

/* -------- CTA -------- */
.cta-section {
  text-align: center;
  margin: 160px 0;
  background-color: #00000013;
  border-radius: 22px;
  padding: 54px 34px;
}

.cta-section h2 {
  font-size: 58px;
  margin-bottom: 12px;
}

.cta-btn {
  background: #1a73e8;
  color: white;
  padding: 16px 42px;
  font-size: 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.cta-btn:hover {
  background: #1259b5;
}


/* ============================================================
   1️⃣2️⃣ MACOS PANEL & CHAT UYGULAMASI
============================================================ */

/* =============================== */
/*      ANA PENCERE (MACOS)       */
/* =============================== */
.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;
}

/* Üst bar */
.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;
}

.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; }

/* =============================== */
/*      LAYOUT: SOL + SAĞ          */
/* =============================== */
.content-wrapper {
  display: flex;
  height: calc(100% - 38px);  /* Üst bar kadar çıkarıyoruz */
  width: 100%;
}


/* =============================== */
/*            SIDEBAR              */
/* =============================== */
.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;
}

.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;
}


/* =============================== */
/*             CHAT                */
/* =============================== */
.chat-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.chat-header {
  padding: 16px;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #e5e5e5;
}

.chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}


/* =============================== */
/*           MESAJ BALONLARI      */
/* =============================== */

.message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

/* Ortak 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;
}

/* AI 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); }
}


/* =============================== */
/*          TYPING ANİMASYON      */
/* =============================== */

.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;
}

.typing span:nth-child(2) { animation-delay: .15s }
.typing span:nth-child(3) { animation-delay: .3s }

@keyframes blink {
  0% { opacity: .3 }
  50% { opacity: 1 }
  100% { opacity: .3 }
}


/* =============================== */
/*       GRAFİK 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; }
}


/* === RPA STUDIO MOBILE LAYOUT === */
@media (max-width: 900px) {
  .rpa-container {
    width: 92%;
  }

  .rpa-hero,
  .process-section,
  .scenario-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .hero-stats {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-image img,
  .process-section img,
  .scenario-image img {
    width: 100%;
    height: auto;
  }

  .feature-cards {
    flex-direction: column;
  }

  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rpa-container {
    padding: 0 18px;
  }

  .rpa-hero {
    margin-top: 100px;
  }

  .rpa-hero .hero-image {
    order: -1;
  }

  .process-section .process-image {
    order: -1;
  }

  .scenario-section .scenario-image {
    order: -1;
  }

  .rpa-hero h1 {
    font-size: 42px;
  }

  .subtitle {
    font-size: 16px;
  }

  .stat h3 {
    font-size: 24px;
  }

  .stat p {
    font-size: 14px;
  }

  .process-section h2,
  .scenario-section h2,
  .usecase-section h2,
  .cta-section h2 {
    font-size: 32px;
  }

  .usecase-card {
    font-size: 16px;
    padding: 20px;
  }

  .feature-cards {
    margin: 60px 0;
  }

  .f-card {
    padding: 22px;
  }

  .faq-section h2 {
    font-size: 32px;
  }

  details summary {
    font-size: 18px;
  }

  details p {
    font-size: 16px;
  }

  .cta-section {
    margin: 120px 0;
    padding: 40px 22px;
  }

  .cta-btn {
    font-size: 16px;
    padding: 14px 30px;
  }
}

@media (max-width: 480px) {
  .rpa-hero h1 {
    font-size: 32px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .usecase-section {
    margin: 80px 0;
  }

  .scenario-section {
    margin: 80px 0;
  }

  .cta-section {
    margin: 80px 0;
  }
}
