/* 
   INECO Website Stylesheet
   Premium Dark Tech Theme (Glassmorphism, Neon Accents, Fluid Typography)
*/

/* --- Google Fonts & Variables --- */
:root {
  --bg-color: #050508;
  --bg-card: rgba(15, 17, 23, 0.7);
  --bg-card-hover: rgba(25, 28, 38, 0.9);
  --border-glass: rgba(255, 255, 255, 0.05);
  --border-glass-hover: rgba(237, 120, 58, 0.3);

  --text-primary: #ffffff;
  --text-secondary: #a3a8b4;
  --text-muted: #626773;

  --primary: #ED783A;
  /* Brand Orange */
  --primary-glow: rgba(237, 120, 58, 0.15);
  --secondary: #ff9f67;
  /* Soft Orange Accent */
  --secondary-glow: rgba(255, 159, 103, 0.15);

  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-dark: linear-gradient(180deg, #050508 0%, #0e1017 100%);

  --font-heading: 'Avenir Next', 'Outfit', 'Sarabun', sans-serif;
  --font-body: 'Avenir Next', 'Inter', 'Sarabun', sans-serif;

  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(237, 120, 58, 0.25);
}

/* --- Corporate Theme Overrides --- */
body.theme-corporate {
  --bg-color: #faf9f6; /* Warm Alabaster White */
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --border-glass: #e8e6e1;
  --border-glass-hover: #ED783A;
  
  --text-primary: #1c1a17; /* Very Dark Warm Charcoal */
  --text-secondary: #5c564f; /* Warm Grey-Brown */
  --text-muted: #9c958d;
  
  --primary: #ED783A; /* Brand Orange */
  --primary-glow: rgba(237, 120, 58, 0.1);
  --secondary: #f5a623; /* Golden Orange */
  --secondary-glow: rgba(245, 166, 35, 0.1);
  
  --gradient-primary: linear-gradient(135deg, #d35400 0%, #ED783A 100%);
  --gradient-dark: linear-gradient(180deg, #faf9f6 0%, #f0ede5 100%);
  
  --shadow-glow: 0 4px 20px rgba(237, 120, 58, 0.15);
}

/* --- Resets & Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  background-image: var(--gradient-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Premium UI Components --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #0b0c10;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-lg), 0 10px 30px -10px var(--primary-glow);
}

/* --- Header / Navigation --- */
/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  z-index: 1000;
  transition: var(--transition);
  padding: 8px 32px;
  background: rgba(5, 5, 8, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden; /* Clips scroll progress within rounded corners */
}

.header.scrolled {
  top: 12px;
  padding: 6px 24px;
  background: rgba(5, 5, 8, 0.9);
  border-color: rgba(237, 120, 58, 0.2);
  box-shadow: 0 10px 30px rgba(237, 120, 58, 0.15), 0 20px 40px rgba(0, 0, 0, 0.5);
}

body.theme-corporate .header {
  background: rgba(250, 249, 246, 0.8);
  border-color: rgba(28, 26, 23, 0.08);
  box-shadow: 0 20px 40px rgba(28, 26, 23, 0.05);
}

body.theme-corporate .header.scrolled {
  background: rgba(250, 249, 246, 0.95);
  border-color: rgba(237, 120, 58, 0.2);
  box-shadow: 0 10px 30px rgba(237, 120, 58, 0.08), 0 20px 40px rgba(28, 26, 23, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  height: 52px;
  overflow: hidden;
  width: 140px;
  position: relative;
  transition: var(--transition);
}

.logo img {
  height: 180px;
  width: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.65);
  display: block;
  transition: var(--transition);
}

.header.scrolled .logo {
  height: 38px;
  width: 110px;
}

.header.scrolled .logo img {
  height: 140px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.theme-btn .theme-label {
  display: none; /* Hide label, icon-only desktop and mobile */
}

.theme-btn .theme-icon {
  font-size: 16px;
  margin: 0;
  line-height: 1;
}

.theme-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  transform: translateY(-1px);
}

body.theme-corporate .theme-btn {
  background: rgba(28, 26, 23, 0.04);
  border-color: rgba(28, 26, 23, 0.08);
  color: #1c1a17;
}

body.theme-corporate .theme-btn:hover {
  background: rgba(28, 26, 23, 0.08);
  border-color: var(--primary);
}

/* Header links should adjust color correctly */
.header .nav-link {
  color: #a3a8b4;
}

body.theme-corporate .header .nav-link {
  color: #5c564f;
}

.header .nav-link:hover,
.header .nav-link.active {
  color: var(--primary);
}



.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 6px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-title span {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-top: 0.15em;
  padding-bottom: 0.05em;
}

.hero-desc {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline-item {
  display: flex;
  gap: 24px;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.timeline-line {
  width: 2px;
  flex-grow: 1;
  background: var(--border-glass);
  margin-top: 8px;
}

.timeline-content h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--primary);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 15px;
}

.about-mission-vision {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mission-card {
  padding: 32px;
}

.mission-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mission-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  font-size: 15px;
}

.mission-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 24px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 15px;
  flex-grow: 1;
}

/* --- Solutions Section (Tabs) --- */
.solutions-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: #0b0c10;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

.solutions-content {
  position: relative;
  min-height: 400px;
}

.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  opacity: 1;
  transform: translateY(0);
}

.solution-details {
  min-width: 0;
}

.solution-details h3 {
  font-size: 28px;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.solution-details p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.solution-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.solution-features li {
  position: relative;
  padding-left: 28px;
  color: var(--text-primary);
}

.solution-features li::before {
  content: '🟢';
  position: absolute;
  left: 0;
  font-size: 14px;
}

.solution-limits {
  margin-top: 24px;
  padding: 16px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  font-size: 14px;
  color: #f87171;
}

.solution-visual {
  height: 350px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

/* Simulated UI inside Visual */
.visual-box {
  width: 80%;
  height: 70%;
  background: rgba(11, 12, 16, 0.8);
  border: 1px solid var(--border-glass-hover);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.visual-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.visual-line.accent {
  background: var(--gradient-primary);
  width: 60%;
}

.visual-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* --- Portfolio Section --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.portfolio-item {
  display: none;
}

.portfolio-item.show {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

.portfolio-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.portfolio-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

.portfolio-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-glow);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.info-details h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.info-details p,
.info-details a {
  color: var(--text-secondary);
  font-size: 15px;
}

.info-details a:hover {
  color: var(--primary);
}

.contact-form-card {
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: block;
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition);
  width: 100%;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 12px rgba(237, 120, 58, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border-glass);
  padding: 40px 0;
  text-align: center;
  background: #08090d;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-text {
  font-size: 14px;
  color: var(--text-muted);
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {

  .about-grid,
  .tab-panel.active,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero-title {
    font-size: 38px;
  }

  .solution-visual {
    height: 300px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .solutions-tabs-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .tab-btn {
    text-align: center;
    width: 100%;
    padding: 12px 20px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(11, 12, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px;
    transition: var(--transition);
    border-left: 1px solid var(--border-glass);
  }

  .nav-menu.open {
    right: 0;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .hero-title {
    font-size: 30px;
  }

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

  .hero-btns {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-form-card {
    padding: 24px;
  }

  .header {
    top: 12px;
    width: 92%;
    padding: 6px 16px;
  }

  .header.scrolled {
    top: 8px;
    padding: 4px 16px;
  }

  .logo {
    height: 38px;
    width: 100px;
  }

  .logo img {
    height: 120px;
    transform: translate(-50%, -50%) scale(0.65);
  }

  .header.scrolled .logo {
    height: 30px;
    width: 85px;
  }

  .header.scrolled .logo img {
    height: 100px;
  }

  .theme-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    flex-shrink: 0;
  }

  .theme-btn .theme-label {
    display: none;
  }

  .theme-btn .theme-icon {
    font-size: 16px;
    margin: 0;
  }

  body.theme-corporate .nav-menu {
    background: rgba(248, 250, 252, 0.98);
    border-left: 1px solid rgba(15, 23, 42, 0.1);
  }

  body.theme-corporate .nav-menu .nav-link {
    color: #475569;
  }

  body.theme-corporate .nav-menu .nav-link.active,
  body.theme-corporate .nav-menu .nav-link:hover {
    color: var(--primary);
  }
}

/* --- Premium Scroll Progress Bar --- */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 0 0 50px 50px;
  transition: width 0.1s ease-out;
}

/* --- Dynamic Timeline Scrolling Highlight --- */
.timeline-item {
  opacity: 0.3;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item .timeline-dot {
  background: var(--text-muted);
  box-shadow: none;
  transition: var(--transition);
}

.timeline-item.active .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
}

/* --- Premium Interactive IoT Simulator Dashboard --- */
.iot-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 8px;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
}

.pulsing {
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px var(--primary); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.telemetry-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 80px;
}

.telemetry-wave {
  width: 100%;
  height: 40px;
}

.wave-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.5s linear;
}

.iot-nodes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}

.node-status-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 8px 16px;
  text-align: left;
}

.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.node-dot.green {
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.node-dot.yellow {
  background-color: #f5a623;
  box-shadow: 0 0 8px #f5a623;
}

.node-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.node-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.node-state {
  font-size: 11px;
  color: var(--text-secondary);
}

/* --- Custom Toast Notification --- */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass-hover);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg), 0 0 20px var(--primary-glow);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 18px;
}

.toast-message {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .toast-notification {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
}

/* --- Team Section Styles --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  border-radius: 20px;
}

.team-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--border-glass-hover);
  box-shadow: 0 0 20px rgba(237, 120, 58, 0.15);
  margin-bottom: 24px;
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
  transform: scale(1.05);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.team-card p {
  font-size: 13px;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
  position: relative;
}

.process-step {
  position: relative;
  padding-top: 24px;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 12px;
  line-height: 1;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Guarantees Grid --- */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.guarantee-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.guarantee-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.guarantee-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.guarantee-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .guarantees-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* --- Brochure Download Banner --- */
@media (max-width: 768px) {
  .brochure-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px !important;
  }
  .brochure-banner a {
    width: 100%;
    justify-content: center;
  }
}

/* --- Video Demo Modal --- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background: #000;
  border-radius: 20px;
  border: 1px solid var(--border-glass-hover);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(237, 120, 58, 0.25);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal.show .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(5, 5, 8, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3100;
  transition: var(--transition);
}

.video-modal-close:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: rotate(90deg);
}

.video-player-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.video-player-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Solutions Features Subgrid --- */
.features-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.feature-icon {
  font-size: 18px;
  background: rgba(237, 120, 58, 0.1);
  color: var(--primary);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(237, 120, 58, 0.05);
}

body.theme-corporate .feature-icon {
  background: rgba(237, 120, 58, 0.08);
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.3;
}

.feature-item p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0 !important;
}

@media (max-width: 768px) {
  .features-subgrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .solution-visual {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .visual-box {
    width: 90%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .visual-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .visual-box {
    width: 95%;
    height: auto;
    padding: 12px;
  }
  .solution-visual {
    height: auto;
    padding: 20px 10px;
  }
}

/* --- Deep-Dive Features Explorer --- */
.feature-item.interactive {
  cursor: pointer;
  transition: var(--transition);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid transparent;
}

.feature-item.interactive:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

body.theme-corporate .feature-item.interactive:hover {
  background: rgba(28, 26, 23, 0.03);
}

.feature-item.interactive.active {
  background: rgba(237, 120, 58, 0.08);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(237, 120, 58, 0.1);
}

.deep-dive-container {
  margin-top: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 20px;
  transition: var(--transition);
}

body.theme-corporate .deep-dive-container {
  background: rgba(0, 0, 0, 0.01);
}

.deep-dive-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 10px;
}

.deep-dive-header h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--primary);
}

.deep-dive-content {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.deep-dive-content ul {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}

.deep-dive-content li {
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.deep-dive-content li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* --- Compliance Accordion Section --- */
.compliance-wrapper {
  margin-top: 56px;
  border-top: 1px solid var(--border-glass);
  padding-top: 48px;
  width: 100%;
  grid-column: 1 / -1; /* Spans full grid width in desktop 2-column layout */
}

.compliance-title {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.compliance-title span {
  font-size: 26px;
}

.compliance-group {
  margin-bottom: 40px;
}

.compliance-group-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  letter-spacing: 0.03em;
}

.compliance-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.compliance-item {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
}

body.theme-corporate .compliance-item {
  background: #ffffff;
}

.compliance-item:hover {
  border-color: var(--border-glass-hover);
}

.compliance-header {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: var(--transition);
  white-space: normal;
  word-break: break-word;
}

.compliance-header .badge {
  background: rgba(237, 120, 58, 0.15);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

body.theme-corporate .compliance-header .badge {
  background: rgba(237, 120, 58, 0.08);
}

.compliance-header .title-text {
  flex-grow: 1;
  flex-shrink: 1;
  min-width: 0;
  font-size: 14.5px;
  white-space: normal;
  word-break: break-word;
}

.compliance-header .chevron {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: var(--text-muted);
}

.compliance-item.active {
  border-color: var(--primary);
  background: rgba(237, 120, 58, 0.02);
}

body.theme-corporate .compliance-item.active {
  background: rgba(237, 120, 58, 0.01);
}

.compliance-item.active .compliance-header .chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.compliance-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.compliance-body {
  padding: 0 20px 20px 20px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  padding-top: 16px;
}

body.theme-corporate .compliance-body {
  border-top-color: rgba(0, 0, 0, 0.02);
}

.compliance-meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.compliance-meta span strong {
  color: var(--text-primary);
}

.compliance-meta a {
  color: var(--primary);
  text-decoration: underline;
}

.compliance-meta a:hover {
  color: var(--secondary);
}

/* --- Resource Request Modal Styles --- */
.resource-request-content {
  max-width: 500px;
  padding: 40px;
  border-radius: 24px;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-glass);
  text-align: left;
  color: var(--text-primary) !important;
}

.resource-request-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-primary) !important;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resource-request-content .modal-desc {
  font-size: 13.5px;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  margin-bottom: 24px;
}

.resource-request-content .modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resource-request-content .form-group-modal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.resource-request-content .form-group-modal label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary) !important;
}

.resource-request-content .modal-input {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary) !important;
  font-size: 14px;
  width: 100%;
  transition: var(--transition);
}

body.theme-corporate .resource-request-content .modal-input {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000 !important;
}

.resource-request-content .modal-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(237, 120, 58, 0.15);
}

.resource-request-content .checkbox-group-modal {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.resource-request-content .checkbox-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary) !important;
  margin-bottom: 4px;
}

.resource-request-content .checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-primary) !important;
}

.resource-request-content .checkbox-row label {
  cursor: pointer;
  user-select: none;
  color: var(--text-primary) !important;
}

.resource-request-content .submit-modal-btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  padding: 14px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   Online Quotation Generator Section
   ========================================================================== */
#quotation {
  background: var(--gradient-dark);
}

.quotation-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.quotation-config {
  width: 100%;
  max-width: 1000px;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-sizing: border-box;
}

.config-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .config-form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.config-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 15px;
}

.config-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.group-label {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.5px;
}

.modules-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.module-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
  transition: var(--transition);
  cursor: pointer;
}

.module-item:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(237, 120, 58, 0.3);
  transform: translateX(3px);
}

.module-item.selected {
  background: var(--primary-glow);
  border-color: var(--primary);
}

.module-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  margin-top: 3px;
}

.module-item label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  width: 100%;
}

.mod-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.mod-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.mod-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 2px;
}

.range-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.range-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.range-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 550;
  color: var(--text-primary);
}

.range-val {
  color: var(--primary);
  font-weight: 700;
}

.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 8px var(--primary);
  transition: var(--transition);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}

.select-inputs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (max-width: 600px) {
  .select-inputs {
    grid-template-columns: 1fr;
  }
}

.select-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.select-item label {
  font-size: 13px;
  color: var(--text-secondary);
}

.select-styled {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 12px 15px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
}

.select-styled:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
}

.select-styled option {
  background: #0f1117;
  color: #fff;
}

body.theme-corporate .select-styled option {
  background: #fff;
  color: #1c1a17;
}

.client-info-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .info-row {
    grid-template-columns: 1fr;
  }
}

.info-input {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 12px 15px;
  border-radius: 8px;
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
}

.info-input:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
}

.quotation-preview-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 850px;
}

.preview-actions {
  display: flex;
  gap: 12px;
}

.preview-actions .btn {
  flex: 1;
  font-size: 14px;
  padding: 12px;
}

/* Simulated A4 Quotation Paper */
.quotation-document {
  background: #ffffff;
  color: #1c1a17;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-family: 'Sarabun', 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.5;
  border: 1px solid #e0e0e0;
}

.quote-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #ed783a;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.quote-logo {
  height: 35px;
  margin-bottom: 8px;
}

.quote-company-info .company-name {
  font-size: 14px;
  font-weight: 700;
  color: #1c1a17;
  margin-bottom: 4px;
}

.quote-company-info p {
  color: #5c564f;
  margin: 0;
  font-size: 11px;
}

.quote-title-block {
  text-align: right;
}

.quote-title {
  font-size: 24px;
  font-weight: 800;
  color: #ed783a;
  margin: 0;
  line-height: 1;
}

.quote-subtitle {
  font-size: 12px;
  font-weight: 600;
  color: #5c564f;
  margin: 2px 0 15px 0;
  letter-spacing: 1px;
}

.quote-meta {
  margin: 2px 0;
  font-size: 11px;
  color: #1c1a17;
}

.quote-details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 11px;
}

.details-title {
  font-weight: 700;
  color: #ed783a;
  margin-bottom: 5px;
}

.quote-client-details p {
  margin: 2px 0;
}

.client-value-name {
  font-size: 13px;
  font-weight: 700;
}

.quote-terms p {
  margin: 4px 0;
  color: #5c564f;
}

.quote-terms strong {
  color: #1c1a17;
  display: inline-block;
  width: 100px;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 11px;
}

.quote-table th {
  background: #fcfbf9;
  border-top: 1px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0;
  padding: 8px 10px;
  font-weight: 700;
  color: #1c1a17;
  text-align: left;
}

.quote-table td {
  border-bottom: 1px solid #eee;
  padding: 8px 10px;
  vertical-align: top;
  color: #1c1a17;
}

.quote-table tr:last-child td {
  border-bottom: 2px solid #e0e0e0;
}

.quote-table .item-num {
  text-align: center;
  color: #5c564f;
}

.quote-table .item-title {
  font-weight: 700;
  color: #1c1a17;
}

.quote-table .item-details {
  font-size: 10px;
  color: #5c564f;
  margin-top: 2px;
}

.quote-summary-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 600px) {
  .quote-summary-block {
    grid-template-columns: 1fr;
  }
}

.quote-remarks p {
  margin: 2px 0;
  color: #5c564f;
  font-size: 10px;
}

.quote-remarks p strong {
  color: #1c1a17;
}

.quote-totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.total-row.separator {
  border-top: 1px solid #e0e0e0;
  padding-top: 6px;
}

.total-row.grand {
  border-top: 2px solid #ed783a;
  border-bottom: 2px double #ed783a;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 700;
  color: #ed783a;
}

.quote-signatures {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.sig-col {
  width: 45%;
  text-align: center;
  position: relative;
}

.sig-col p {
  margin: 4px 0;
  font-size: 10px;
  color: #5c564f;
}

.sig-line {
  height: 1px;
  background: #999;
  margin-top: 45px;
  margin-bottom: 8px;
}

.sig-stamp {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 90px;
  border: 2px dashed rgba(237, 120, 58, 0.25);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.stamp-logo {
  height: 15px;
  margin-bottom: 2px;
}

.stamp-text {
  font-size: 7px;
  font-weight: 700;
  color: rgba(237, 120, 58, 0.4);
  letter-spacing: 0.5px;
}

/* Print CSS Media Rule */
@media print {
  body {
    background: #ffffff !important;
  }
  
  body > *:not(#quotation) {
    display: none !important;
  }
  
  #quotation {
    padding: 0 !important;
    background: none !important;
  }
  
  #quotation .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .section-header,
  .quotation-config,
  .preview-actions,
  .footer {
    display: none !important;
  }
  
  .quotation-grid {
    display: block !important;
    margin: 0 !important;
  }
  
  .quotation-preview-container {
    position: static !important;
  }
  
  .quotation-document {
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
    color: #000 !important;
    background: #fff !important;
  }

  .quote-page-break {
    page-break-before: always !important;
    break-before: page !important;
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

.quote-page-break {
  border-top: 2px dashed #ed783a;
  margin-top: 40px;
  padding-top: 40px;
}

/* --- Shopfloor to Finance Bridge Section --- */
.bridge-section {
  position: relative;
  background: var(--bg-dark);
}

.bridge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .bridge-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.bridge-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bridge-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 20px -10px rgba(237, 120, 58, 0.2);
}

.bridge-step-num {
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: var(--font-heading);
}

.bridge-card-icon {
  font-size: 32px;
  margin-bottom: 20px;
}

.bridge-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.bridge-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Quotation Lead Banner */
.quotation-lead-banner {
  margin-top: 60px;
  text-align: center;
  padding: 40px;
  border: 1px solid rgba(237, 120, 58, 0.35) !important;
  background: linear-gradient(135deg, rgba(237, 120, 58, 0.12) 0%, rgba(20, 22, 33, 0.85) 100%) !important;
  transition: var(--transition);
}

.quotation-lead-banner:hover {
  transform: scale(1.01);
  box-shadow: 0 15px 35px -10px rgba(237, 120, 58, 0.25);
}

.quotation-lead-banner .banner-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.quotation-lead-banner .banner-desc {
  color: rgba(255, 255, 255, 0.8) !important;
  max-width: 700px;
  margin: 0 auto 24px auto;
  font-size: 15px;
  line-height: 1.6;
}

.quotation-lead-banner .banner-btn {
  padding: 14px 28px;
  font-weight: 600;
}

/* Light Theme (Corporate Override) */
body.theme-corporate .quotation-lead-banner {
  background: #ffffff !important;
  border: 1.5px solid rgba(237, 120, 58, 0.3) !important;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08) !important;
}

body.theme-corporate .quotation-lead-banner .banner-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}

body.theme-corporate .quotation-lead-banner .banner-desc {
  color: #334155 !important;
  font-weight: 500 !important;
}

body.theme-corporate .form-group label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

body.theme-corporate .form-control {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-weight: 500 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.theme-corporate .form-control::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

body.theme-corporate .form-control:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(237, 120, 58, 0.2) !important;
  background: #ffffff !important;
}

/* FAQ Tab Styles */
.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 40px auto;
  flex-wrap: wrap;
  max-width: 800px;
}
.faq-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}
.faq-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}
.faq-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(237, 120, 58, 0.3);
}
body.theme-corporate .faq-tab-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}
body.theme-corporate .faq-tab-btn:hover {
  background: #e2e8f0;
}
body.theme-corporate .faq-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}
.faq-group-content {
  display: none;
}
.faq-group-content.active {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* --- INECO HUB Feature Grid Cards --- */
.hub-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 992px) {
  .hub-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .hub-features-grid {
    grid-template-columns: 1fr;
  }
}

.hub-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 32px 24px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hub-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.hub-feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25), 0 0 20px rgba(237, 120, 58, 0.15);
}

.hub-feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-glow);
  border: 1px solid rgba(237, 120, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.hub-feature-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.hub-feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Light Theme (Corporate Override) for Feature Cards */
body.theme-corporate .hub-feature-card {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

body.theme-corporate .hub-feature-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 15px 30px rgba(237, 120, 58, 0.12) !important;
}

body.theme-corporate .feature-icon-box {
  background: rgba(237, 120, 58, 0.08) !important;
  border-color: rgba(237, 120, 58, 0.25) !important;
}

body.theme-corporate .hub-feature-title {
  color: #0f172a !important;
}

body.theme-corporate .hub-feature-desc {
  color: #475569 !important;
}

/* --- INECO HUB Specific Styles --- */
.hub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-glow);
  border: 1px solid rgba(237, 120, 58, 0.4);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.hub-mockup-wrapper {
  margin-top: 50px;
  position: relative;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(237, 120, 58, 0.15);
  overflow: hidden;
}

.hub-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-glass);
}
body.theme-corporate .hub-mockup-header {
  background: #f1f5f9;
  border-bottom-color: #e2e8f0;
}

.mockup-dots {
  display: flex;
  gap: 8px;
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-dot.red { background: #ff5f56; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green { background: #27c93f; }

.mockup-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.hub-inbox-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 440px;
}
@media (max-width: 768px) {
  .hub-inbox-grid {
    grid-template-columns: 1fr;
  }
  .inbox-sidebar {
    display: none;
  }
}

.inbox-sidebar {
  border-right: 1px solid var(--border-glass);
  padding: 16px;
  background: rgba(0, 0, 0, 0.15);
}
body.theme-corporate .inbox-sidebar {
  background: #f8fafc;
  border-right-color: #e2e8f0;
}

.inbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.inbox-item:hover, .inbox-item.active {
  background: rgba(237, 120, 58, 0.1);
  border-color: rgba(237, 120, 58, 0.3);
}
body.theme-corporate .inbox-item.active {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.inbox-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.inbox-info {
  flex: 1;
  margin: 0 10px;
  text-align: left;
  min-width: 0;
}
.inbox-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.theme-corporate .inbox-name {
  color: #0f172a;
}
.inbox-msg-preview {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-channel {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-channel.line { background: rgba(6, 199, 85, 0.2); color: #06C755; border: 1px solid rgba(6, 199, 85, 0.4); }
.badge-channel.fb { background: rgba(24, 119, 242, 0.2); color: #1877F2; border: 1px solid rgba(24, 119, 242, 0.4); }
.badge-channel.email { background: rgba(234, 67, 53, 0.2); color: #ea4335; border: 1px solid rgba(234, 67, 53, 0.4); }

.badge-status {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}
.badge-status.wait { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.4); }
.badge-status.pending { background: rgba(59, 130, 246, 0.2); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-status.resolved { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.4); }

.inbox-main-view {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
body.theme-corporate .inbox-main-view {
  background: #ffffff;
}

.inbox-sidebar {
  border-right: 1px solid var(--border-glass);
  padding: 16px;
  background: rgba(0, 0, 0, 0.15);
}
body.theme-corporate .inbox-sidebar {
  background: #f8fafc;
  border-right-color: #e2e8f0;
}

.inbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: transparent;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.inbox-item:hover, .inbox-item.active {
  background: rgba(237, 120, 58, 0.1);
  border-color: rgba(237, 120, 58, 0.3);
}

.inbox-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.inbox-info {
  flex: 1;
  margin: 0 10px;
  text-align: left;
}
.inbox-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.inbox-msg-preview {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.badge-channel {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.badge-channel.line { background: rgba(6, 199, 85, 0.2); color: #06C755; border: 1px solid rgba(6, 199, 85, 0.4); }
.badge-channel.fb { background: rgba(24, 119, 242, 0.2); color: #1877F2; border: 1px solid rgba(24, 119, 242, 0.4); }
.badge-channel.email { background: rgba(234, 67, 53, 0.2); color: #ea4335; border: 1px solid rgba(234, 67, 53, 0.4); }

.badge-status {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 600;
}
.badge-status.wait { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.4); }
.badge-status.pending { background: rgba(59, 130, 246, 0.2); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.4); }
.badge-status.resolved { background: rgba(16, 185, 129, 0.2); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.4); }

.inbox-main-view {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
}
.chat-bubble.customer {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  border-top-left-radius: 2px;
}
body.theme-corporate .chat-bubble.customer {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.chat-bubble.agent {
  align-self: flex-end;
  background: var(--gradient-primary);
  color: #ffffff;
  border-top-right-radius: 2px;
}

.ticket-banner-card {
  background: rgba(237, 120, 58, 0.1);
  border: 1px dashed rgba(237, 120, 58, 0.4);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
}
.ticket-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.ticket-sla {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  font-weight: 600;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}
.channel-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glow);
}

.channel-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px auto;
}
.channel-icon.line-bg { background: rgba(6, 199, 85, 0.15); color: #06C755; }
.channel-icon.fb-bg { background: rgba(24, 119, 242, 0.15); color: #1877F2; }
.channel-icon.email-bg { background: rgba(234, 67, 53, 0.15); color: #ea4335; }
.channel-icon.webhook-bg { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 32px 24px;
  position: relative;
}
.step-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 12px;
}