/* ============================================================
   1️⃣ FONT IMPORTLARI
   Projede kullanılan tüm yazı fontları burada yüklenir
============================================================ */

@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');

/* Yerel font import */
@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;
}


/* ============================================================
   2️⃣ BODY (GENEL SAYFA AYARLARI)
============================================================ */

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
}


/* ============================================================
   3️⃣ NAVBAR (ÜST MENÜ ANA KAPSAYICI)
============================================================ */

.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 */
.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;
}


/* ============================================================
   4️⃣ LOGO BÖLÜMÜ
============================================================ */

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-icon {
  height: 28px;
  width: auto;
}


/* ============================================================
   5️⃣ NAVIGATION MENÜ LİNKLERİ
============================================================ */

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
}

/* Menü linkleri */
.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ü 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ı */
.dropdown {
  position: relative;
  pointer-events: auto;
}


/* ============================================================
   6️⃣ MEGA MENU (Açılır Büyük Menü)
============================================================ */

.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;
}

/* Hover ile mega menü açılma */
.dropdown:hover .mega-menu,
.mega-menu:hover {
  display: block;
  pointer-events: auto;
}

/* Mega menu üst grid */
.mega-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  margin-bottom: 32px;
}


/* ============================================================
   7️⃣ MEGA MENU KATEGORİ BAŞLIKLARI
============================================================ */

.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);
}


/* ============================================================
   8️⃣ MEGA MENU ÜRÜN / HİZMET KARTLARI
============================================================ */

.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ığı */
.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;
}


/* ============================================================
   9️⃣ 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;
}


/* ============================================================
   🔟 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;
}


/* ============================================================
   1️⃣1️⃣ FOOTER ANA YAPI
============================================================ */

.bw-footer {
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 130px 0 90px 0;
  color: #eaeaea;
  font-family: "Inter", sans-serif;
  border-radius: 54px 54px 0 0;
}

.bw-footer-container {
  width: 85%;
  max-width: 1350px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 100px;
}

.bw-footer-logo {
  width: 200px;
  margin-bottom: 28px;
}

.bw-brand p {
  color: #d2d2d2;
  line-height: 1.75;
  max-width: 360px;
  font-size: 15px;
}

.bw-footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.bw-footer-col a {
  display: block;
  text-decoration: none;
  color: #bdbdbd;
  padding: 8px 0;
  font-size: 15px;
  transition: .25s ease;
}

.bw-footer-bottom {
  margin-top: 85px;
  text-align: center;
  color: #7a7a7a;
  font-size: 14px;
}


/* ============================================================
   1️⃣2️⃣ AI SLIDER – DIŞ KAPSAYICI
============================================================ */

.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;
}

/* ============================================================
   ✅ PART 1 BİTTİ 
   → PART 2'de: Slider Butonları, Kartlar, Hero & About
============================================================ */


/* ============================================================
   1️⃣3️⃣ SLIDER OK BUTONLARI
============================================================ */

.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;
}

/* Hover efekti */
.ai-slider-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.12);
}


/* ============================================================
   1️⃣4️⃣ SLIDER KARTLARI (ANA KART YAPISI)
============================================================ */

.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;
}

/* Kart hover 3D efekti */
.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);
}


/* ============================================================
   1️⃣5️⃣ KART FLOAT ANİMASYONU
============================================================ */

@keyframes floatCard {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}


/* ============================================================
   1️⃣6️⃣ KART ICON ALANI
============================================================ */

.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);
}


/* ============================================================
   1️⃣7️⃣ SLIDER KART – METİN BÖLÜMÜ
============================================================ */

.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;
}


/* ============================================================
   1️⃣8️⃣ SLIDER KART BUTONU
============================================================ */

.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;
}


/* ============================================================
   1️⃣9️⃣ İÇERİK – GENEL WRAPPER
============================================================ */

.nflow-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px;
  font-family: Inter, sans-serif;
  margin-top: 100px;
  box-sizing: border-box;
}


/* ============================================================
   2️⃣0️⃣ HERO ALANI (ANA ÜST TANITIM)
============================================================ */

.nflow-hero {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 120px;
}

/* Sol taraf metin alanı */
.hero-content {
  flex: 1;
}

.hero-tag {
  background: #eef2ff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: #4338ca;
  font-weight: 600;
}

.nflow-hero h1 {
  font-size: 64px;
  font-weight: 800;
  margin: 20px 0;
}

.hero-sub {
  font-size: 22px;
  font-weight: 600;
  color: #475569;
}

.hero-desc {
  margin-top: 20px;
  font-size: 18px;
  max-width: 460px;
  line-height: 1.6;
}

/* CTA button */
.hero-btn {
  margin-top: 26px;
  display: inline-block;
  background: #1d4ed8;
  color: white;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}


/* ============================================================
   2️⃣1️⃣ HERO – GÖRSEL ALANI
============================================================ */

.hero-photo {
  flex: 1;
  height: 360px;
  border-radius: 18px;
  width: 400px;
}

.hero-photo img {
  height: 360px;
  border-radius: 18px;
  width: 100%;
}


/* ============================================================
   2️⃣2️⃣ ABOUT (Hakkımızda) BAŞLIKLARI
============================================================ */

.nflow-about h2 {
  text-align: center;
  margin-bottom: 50px;
}

.nflow-about p {
  text-align: center;
  margin-bottom: 50px;
}


/* ============================================================
   2️⃣3️⃣ TÜM BÖLÜM BAŞLIKLARI (Global Section H2)
============================================================ */

section h2 {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 24px;
}


/* ============================================================
   2️⃣4️⃣ ABOUT – INFO CARD GRID YAPISI
============================================================ */

.info-cards {
  display: flex;
  gap: 26px;
  margin-top: 40px;
}

.info-card {
  flex: 1;
  background: #f8fafc;
  padding: 28px 22px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;

  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.info-card h3 {
  font-size: 28px;
  margin-bottom: 12px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card p {
  font-size: 18px;
  margin-bottom: 12px;
}


/* ============================================================
   2️⃣5️⃣ ANALYSIS (LLM DESTEKLİ ANALİZ)
============================================================ */

.nflow-analysis {
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 120px 0;
}

/* Sol taraf görsel */
.analysis-photo {
  flex: 1;
  height: 340px;
  border-radius: 18px;
}

.analysis-photo img {
  height: 340px;
  border-radius: 18px;
}

/* Sağ taraf metin */
.analysis-text {
  flex: 1;
}


/* ============================================================
   2️⃣6️⃣ ANALYSIS — MADDE LİSTESİ & ÖRNEK SORU
============================================================ */

.analysis-list li {
  font-size: 17px;
  margin-bottom: 10px;
}

/* AI örnek soru kutusu */
.sample-qa {
  margin-top: 20px;
  background: #eef2ff;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
}


/* ============================================================
   2️⃣7️⃣ USE CASES (Kullanım Alanları)
============================================================ */

.nflow-usecases {
  padding: 80px 20px;
  text-align: center;
}

.nflow-usecases h2 {
  font-size: 48px;
  color: #000000;
  margin-bottom: 40px;
}

/* Grid */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Kartlar */
.usecase-card {
  background: linear-gradient(180deg, #111827, #020617);
  color: #ffffff;
  padding: 22px 20px;
  border-radius: 14px;
  font-size: 18px;
  border: 1px solid #1f2937;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: all 0.3s ease;
}

/* Hover efekti */
.usecase-card:hover {
  transform: translateY(-6px);
  border-color: #6366f1;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.25);
  color: #6366f1;
}


/* ============================================================
   2️⃣8️⃣ USE CASE — RESPONSIVE
============================================================ */

@media (max-width: 768px) {
  .nflow-usecases h2 {
    font-size: 34px;
  }

  .usecase-card {
    font-size: 16px;
    min-height: 70px;
  }
}


/* ============================================================
   2️⃣9️⃣ TARGET GRID (Hedef Kitle)
============================================================ */

.target-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.target-card {
  background: #f1f5f9;
  padding: 20px;
  border-radius: 14px;
  font-size: 17px;
}

.nflow-target h2 {
  text-align: center;
}


/* ============================================================
   3️⃣0️⃣ CALL TO ACTION (CTA)
============================================================ */

.nflow-cta {
  margin-top: 140px;
  text-align: center;
  padding: 60px;
  background: #f8fafc;
  border-radius: 20px;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  background: #4338ca;
  color: white;
  padding: 16px 30px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 18px;
}


/* ============================================================
   ⚡ PART 2 BİTTİ
   → PART 3'te: MacOS Panel, Chat Yapısı, Typing, Grafik Butonu,
     Global Font Override
============================================================ */



/* ============================================================
   3️⃣1️⃣ MACOS PANEL (ANA PENCERE TASARIMI)
============================================================ */

.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 pencere 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;
}

/* MacOS renkli pencere tuşları */
.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; }



/* ============================================================
   3️⃣2️⃣ PANEL LAYOUT (SOL MENÜ + SAĞ CHAT)
============================================================ */

.content-wrapper {
  display: flex;
  height: calc(100% - 38px);
  width: 100%;
}



/* ============================================================
   3️⃣3️⃣ SIDEBAR (SOL MENÜ)
============================================================ */

.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;
}

/* Sidebar grup başlıkları */
.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;
}



/* ============================================================
   3️⃣4️⃣ CHAT PANELİ (SAĞ TARAF)
============================================================ */

.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;
}



/* ============================================================
   3️⃣5️⃣ MESAJ BALONLARI
============================================================ */

.message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

/* Ortak mesaj 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 efekti */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* ============================================================
   3️⃣6️⃣ TYPING INDICATOR (YAZIYOR ANİMASYONU)
============================================================ */

.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; }
}



/* ============================================================
   3️⃣7️⃣ GRAFİK BUTONU (ANALİZ ÇIKTISI)
============================================================ */

.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;
}



/* ============================================================
   3️⃣8️⃣ GLOBAL TYPOGRAPHY OVERRIDE
   Tüm başlık ve paragrafları büyük hale getirir
============================================================ */

/* Tüm H1 başlıkları */
h1 {
  font-size: 72px;
}

/* Tüm H2 başlıkları */
h2 {
  font-size: 54px;
}

h3 {
  font-size: 42px;
}

h4 {
  font-size: 32px;
}

/* Paragraflar */
p {
  font-size: 22px;
  line-height: 1.6;
}

/* Özel alanlar */
.hero-sub {
  font-size: 22px;
}

.hero-desc {
  font-size: 22px;
}

.info-card p {
  font-size: 22px;
}

.analysis-list li {
  font-size: 22px;
}

.target-card {
  font-size: 22px;
}

.usecase-card {
  font-size: 22px;
}


/* ============================================================
   🎉 PART 3 BİTTİ — TÜM CSS TAMAMLANDI!
   Artık dosyan profesyonelce bölünmüş, açıklamalı ve düzenli.
============================================================ */



/* 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; }
}

/* === NFLOWAI MOBILE LAYOUT === */
@media (max-width: 900px) {
  .nflow-wrapper {
    margin-top: 80px;
  }

  .nflow-hero,
  .nflow-analysis {
    flex-direction: column;
    gap: 32px;
  }

  .hero-photo,
  .analysis-photo {
    width: 100%;
    height: auto;
  }

  .hero-photo img,
  .analysis-photo img {
    width: 100%;
    height: auto;
  }

  .info-cards {
    flex-direction: column;
  }

  .target-grid {
    grid-template-columns: 1fr;
  }

  .nflow-cta {
    margin-top: 100px;
    padding: 48px 24px;
  }
}

@media (max-width: 768px) {
  .nflow-wrapper {
    padding: 40px 18px;
  }

  .nflow-wrapper h1 {
    font-size: 40px;
  }

  .nflow-wrapper h2 {
    font-size: 30px;
  }

  .nflow-wrapper h3 {
    font-size: 20px;
  }

  .nflow-wrapper p {
    font-size: 15px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-desc {
    font-size: 15px;
    max-width: 100%;
  }

  .hero-btn {
    padding: 12px 20px;
    border-radius: 10px;
  }

  .info-card h3 {
    font-size: 20px;
    min-height: 0;
  }

  .info-card p,
  .analysis-list li,
  .target-card,
  .usecase-card {
    font-size: 14px;
  }

  .sample-qa {
    font-size: 13px;
  }

  .nflow-usecases h2 {
    font-size: 30px;
  }

  .usecase-card {
    min-height: 64px;
  }

  .cta-btn {
    font-size: 15px;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .nflow-hero {
    margin-bottom: 80px;
  }

  .hero-tag {
    font-size: 12px;
  }

  .nflow-wrapper h1 {
    font-size: 32px;
  }

  .nflow-wrapper h2 {
    font-size: 26px;
  }

  .nflow-cta {
    padding: 36px 18px;
  }

  .cta-btn {
    font-size: 14px;
    padding: 12px 22px;
  }
}
