/* ========================================================================
   # GLOBAL IMPORTS & FONT DEFINITIONS
   ======================================================================== */

@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 font yükleme */
@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;
}

/* ========================================================================
   # GLOBAL BASE STYLES
   ======================================================================== */

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: #ffffff;
  color: #1f2937;
  min-height: 100vh;
}



/* ========================================================================
   # NAVBAR (ANA MENÜ ALANI)
   - Masaüstü: ortalanmış nav, hover ile mega menü
   - Mobil: hamburger, dokun-tık ile mega menü
   ======================================================================== */


/* ========================================================================
   # GÖRSEL KART (placeholder-img)
   ======================================================================== */

.placeholder-img {
  width: 100%;
  height: 520px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;

  
  display: flex;
  justify-content: center;
  align-items: center;

  transition: 0.3s ease;
}

/* Görsel */
.placeholder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Genel görseller için responsive davranış */
.dimro-section img,
.dialog-section img,
.ai-slider img,
.security-section img {
  max-width: 100%;
  height: auto;
  display: block;
}

.placeholder-img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 38px rgba(0,0,0,0.15);
}

/* Mouse takip ışık efekti */
.placeholder-img::after {
  content: "";
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}

.placeholder-img:hover::after {
  opacity: 1;
}



/* ========================================================================
   # SLIDER (AI Slider Section)
   ======================================================================== */

.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;
}

/* ========================================================================
   # CHAT TYPING INDICATOR
   ======================================================================== */

.typing-indicator {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  justify-content: flex-end;
  margin-left: auto;
  margin-right: 0;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #2563eb;
  border-radius: 50%;
  animation: blink 1s infinite alternate;
}

.typing-indicator span:nth-child(2) { animation-delay: .2s; }
.typing-indicator span:nth-child(3) { animation-delay: .4s; }

@keyframes blink {
  from { opacity: 0.2; transform: translateY(0px); }
  to   { opacity: 1; transform: translateY(-3px); }
}



/* ========================================================================
   # CHAT WINDOW (APP UI)
   ======================================================================== */

.dialog-title {
  text-align: center;
  font-family: 'Rubik', sans-serif;
  font-size: 54px;
  margin-bottom: 40px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

/* Ana chat penceresi */
.chat-window {
  max-width: 720px;
  background: #0f172a;
  margin: 0 auto;
  padding: 140px 30px 60px 30px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  height: 500px;
}

/* Üst Mac tasarımı */
.chat-window::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 42px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #1e293b, #334155);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-window::after {
  content: "● ● ●";
  position: absolute;
  top: 10px;
  left: 18px;
  font-size: 14px;
  color: #94a3b8;
  letter-spacing: 6px;
}



/* ========================================================================
   # CHAT BALLOONS
   ======================================================================== */

.bubble {
  max-width: 78%;
  padding: 14px 18px;
  border-radius: 12px;
  line-height: 1.45;
  font-size: 16px;
}

/* User bubble */
.bubble.user {
  align-self: flex-start;
  margin-left: 0;
  margin-right: auto;
  background: #e2e8f0;
  color: #111827;
  border-left: 4px solid #64748b;
  margin-top: -10px;
}

/* AI bubble */
.bubble.ai {
  align-self: flex-start;
  margin-right: auto;
  background: #3b82f6;
  color: white;
  border-right: 4px solid #1d4ed8;
  margin-top: -10px;
}



/* ========================================================================
   # DIMRO WRAPPER & SECTION LAYOUT
   ======================================================================== */

#dimroai-wrapper {
  font-family: "Inter", sans-serif;
  max-width: 1280px;
  width: 100%;
  margin: 120px auto;
  padding: 0 24px;
  color: #1e293b;
  animation: fadeIn 0.8s ease;
}

/* Bölümler arası genişlik */
.dimro-section {
  height: 500px;
  margin: 120px 0 120px 0;
}

/* Fade in animasyon */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



/* ========================================================================
   # DIMRO – 2 COLUMN LAYOUT
   ======================================================================== */

.dimro-row {
  display: flex;
  align-items: center;
  gap: 55px;
  flex-wrap: wrap;
  padding: 20px 0;
  animation: fadeUp 0.9s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.dimro-col {
  flex: 1;
  min-width: 320px;
}

.text-side h1,
.text-side h2 {
  font-family: 'Rubik', sans-serif;
  font-size: 54px;
  margin-bottom: 18px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.text-side p {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.65;
  color: #434c56;
}



/* ========================================================================
   # DIMRO – CHAT BALONLARI / POP ANIMATION
   ======================================================================== */

.dialog-section h2 {
  margin-bottom: 26px;
  font-family: 'Rubik', sans-serif;
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.dialog-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bubble {
  padding: 16px 20px;
  border-radius: 16px;
  max-width: 650px;
  font-size: 16px;
  line-height: 1.4;
  animation: popIn 0.45s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}



/* ========================================================================
   # CHECKLISTS & HIGHLIGHTS
   ======================================================================== */

.checklist li {
  font-size: 16px;
  margin-bottom: 10px;
}

.highlight {
  background: #f1f5f9;
  padding: 16px;
  border-radius: 12px;
  margin-top: 14px;
  border-left: 5px solid #2563eb;
  transition: 0.3s ease;
}

.highlight:hover {
  transform: scale(1.01);
  background: #e2e8f0;
}



/* ========================================================================
   # FEATURE LIST (Hover Animations)
   ======================================================================== */

.features-list li {
  margin-bottom: 10px;
  font-size: 17px;
  padding-left: 6px;
  transition: 0.25s ease;
}

.features-list li:hover {
  transform: translateX(6px);
  color: #1d4ed8;
}



/* ========================================================================
   # CTA – Gradient Glow
   ======================================================================== */

.dimro-cta {
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
  color: white;
  padding: 36px;
  border-radius: 16px;
  text-align: center;
  transition: 0.35s ease;
  box-shadow: 0 14px 26px rgba(0,0,0,0.18);
}

.dimro-cta:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.26);
  transform: translateY(-4px);
}



/* ========================================================================
   # SCROLL APPEAR ANIMATIONS
   ======================================================================== */

.dimro-section, .dimro-row {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.7s ease;
}

.dimro-section.show, .dimro-row.show {
  opacity: 1;
  transform: translateY(0);
}



/* ========================================================================
   # MODERN CHECKLIST / HIGHLIGHT BOXES
   ======================================================================== */

.dimro-title-enhanced {
  font-family: 'Rubik', sans-serif;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 22px;
  color: #0f172a;
}

.dimro-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #435063;
  margin-bottom: 28px;
  max-width: 90%;
}

.dimro-checklist-enhanced {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.dimro-checklist-enhanced li {
  display: flex;
  align-items: center;
  font-size: 17px;
  color: #1e293b;
  margin-bottom: 12px;
  gap: 10px;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 4px solid #3b82f6;
  transition: 0.25s ease;
}

.dimro-checklist-enhanced li:hover {
  background: #eef6ff;
  transform: translateX(4px);
}

.dimro-highlight-box {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
  border-left: 5px solid #2563eb;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

.dimro-highlight-box:hover {
  background: #e2e8f0;
  transform: scale(1.01);
}



/* ========================================================================
   # FEATURE GRID SYSTEM (Modern Card Layout)
   ======================================================================== */

.dimro-features-enhanced {
  text-align: center;
  margin-top: 100px;
}

.dimro-features-title {
  font-family: 'Rubik', sans-serif;
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 40px;
  color: #0f172a;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.feature-card {
  background: #ffffff;
  padding: 28px 22px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.08);
  transition: 0.3s ease;
  text-align: left;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
  border-color: #3b82f6;
}



/* ========================================================================
   # AI HERO SECTION (Oval Glow Box)
   ======================================================================== */

.ai-hero-container {
  width: 100%;
  padding: 120px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ai-hero-box {
  max-width: 1200px;
  width: 100%;
  padding: 90px 40px;
  border-radius: 44px;
  background: linear-gradient(
    120deg,
    #ffffff,
    #f1f5f9,
    #e0e7ff,
    #ffffff
  );
  background-size: 300% 300%;
  animation: aiGlowMove 12s ease-in-out infinite;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.35);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
}

.ai-hero-box:hover {
  animation-duration: 5s;
  box-shadow:
    0 0 30px rgba(37, 100, 235, 0.089),
    0 0 60px rgba(37, 99, 235, 0.25);
}

@keyframes aiGlowMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* ========================================================================
   # AI BUTTONS
   ======================================================================== */

.ai-hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  padding: 16px 42px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: 0.3s ease;
  box-shadow: 0 0 0 rgba(37, 99, 235, 0.0);
  position: relative;
  overflow: hidden;
}

.ai-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 18px rgba(37, 99, 235, 0.5),
    0 0 32px rgba(37, 99, 235, 0.35),
    0 0 48px rgba(37, 99, 235, 0.25);
}

.ai-hero-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 50px 12px rgba(255, 255, 255, 0.3);
  opacity: 0;
  transition: 0.35s ease;
}

.ai-hero-btn:hover::after {
  opacity: 1;
}



/* ========================================================================
   # SECURITY SECTION
   ======================================================================== */

.security-section {
  width: 100%;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
}

/* Arka filigran */
.security-section::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background-color: white;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  right: -5%;
  top: 50%;
  transform: translateY(-50%) rotate(-15deg);
  z-index: 1;
  pointer-events: none;
}

/* Glassmorphism kutu */
.security-box {
  position: relative;
  z-index: 10;
  max-width: 850px;
  width: 100%;
  padding: 60px 50px;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(71, 21, 21, 0.9);
  border-radius: 32px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 20px 50px -12px rgba(37, 99, 235, 0.15);
}

.security-icon {
  font-size: 64px;
  margin-bottom: 24px;
  animation: floatIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 15px rgba(37, 99, 235, 0.2));
}

@keyframes floatIcon {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.security-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;

  /* Gradient text */
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  background-clip: text;
  -webkit-background-clip: text; /* Safari */
  -webkit-text-fill-color: transparent;
}


.security-text {
  font-size: 18px;
  line-height: 1.8;
  color: #64748b;
  margin-bottom: 40px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

/* Liste */
.security-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.security-list li {
  font-size: 16px;
  font-weight: 600;
  padding: 18px 24px;
  background: #ffffff;
  border-radius: 16px;
  text-align: left;
  border-left: 6px solid #3b82f6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  border: 1px solid rgba(241, 245, 249, 1);
  transition: all 0.3s;
}

.security-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}



/* ========================================================================
   # FOOTER
   ======================================================================== */



/* ========================================================================
   # PANEL / MACOS UI SECTION
   ======================================================================== */

.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;
}

/* Window 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;
}

.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; }



/* ========================================================================
   # PANEL LAYOUT (SIDEBAR + CHAT AREA)
   ======================================================================== */

.content-wrapper {
  display: flex;
  height: calc(100% - 38px);
}

.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;
}



/* ========================================================================
   # PANEL CHAT SECTION (MESAJLAR)
   ======================================================================== */

.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-window1 {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.message {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 16px;
}

.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;
}

.message.bot .message-body {
  background: #ececec;
  border-color: #dcdcdc;
}

.message.user .message-body {
  background: #dff7e8;
  border-color: #c5e8d4;
}

.avatar {
  width: 32px;
  height: 32px;
  background: #d4d4d4;
  border-radius: 50%;
  color: #333;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* ========================================================================
   # TYPING DOTS (Panel)
   ======================================================================== */

.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 }
}



/* ========================================================================
   # PANEL - GRAFİK BUTTON
   ======================================================================== */

.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;
}


/* ==== Imported from isavo.css ==== */
/* Scoped Notitek Chat styles */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  
  color: #1f2937;
  min-height: 100vh;
}

/* 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 h1,
  .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 h1,
  .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 h1,
  .text-side h2 { font-size: 30px; }
  .text-side p { font-size: 14px; }
  .dimro-section { margin: 60px 0; }
}


/* === ERPBUDDY MOBILE LAYOUT === */
@media (max-width: 768px) {
  #dimroai-wrapper {
    margin: 90px auto;
    padding: 0 18px;
  }

  .dimro-section {
    height: auto;
    margin: 80px 0;
  }

  .dimro-row {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .dimro-col {
    min-width: 0;
  }

  .text-side h1,
  .text-side h2 {
    font-size: 32px;
  }

  .text-side p {
    font-size: 15px;
  }

  .dimro-features-title {
    font-size: 30px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card {
    padding: 22px 18px;
  }

  .security-section {
    padding: 70px 16px;
  }

  .security-box {
    padding: 32px 20px;
    border-radius: 22px;
  }

  .security-title {
    font-size: 26px;
  }

  .security-text {
    font-size: 15px;
    max-width: 100%;
  }

  .security-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .security-list li {
    padding: 14px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .dimro-section {
    margin: 60px 0;
  }

  .dialog-title {
    font-size: 28px;
  }

  .chat-window {
    height: auto;
    min-height: 320px;
  }

  .placeholder-img {
    height: 220px;
  }

  .ai-hero-box {
    padding: 32px 14px;
  }
}
