/* ============================================
   ENCOM IT — AI Chat Agent Website
   Design System: Dark AI Automation Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  --text-primary: #f0f4ff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #06d6a0;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-orange: #f59e0b;

  --gradient-main: linear-gradient(135deg, #06d6a0 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-hero: linear-gradient(180deg, #0a0e1a 0%, #0f172a 50%, #0a0e1a 100%);
  --gradient-card: linear-gradient(135deg, rgba(6, 214, 160, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  --gradient-glow: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(6, 214, 160, 0.06), transparent 40%);

  --border-glass: 1px solid rgba(255, 255, 255, 0.08);
  --border-accent: 1px solid rgba(6, 214, 160, 0.3);

  --shadow-glow: 0 0 30px rgba(6, 214, 160, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* --- Animated Background --- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orbs .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orb-float 20s ease-in-out infinite;
}

.bg-orbs .orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.bg-orbs .orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--accent-purple);
  top: 40%;
  right: -10%;
  animation-delay: -7s;
}

.bg-orbs .orb:nth-child(3) {
  width: 350px;
  height: 350px;
  background: var(--accent-blue);
  bottom: -5%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes orb-float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(40px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 40px) scale(0.95);
  }

  75% {
    transform: translate(30px, 20px) scale(1.02);
  }
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

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

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  text-align: center;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-smooth);
  backdrop-filter: blur(0px);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: var(--border-glass);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-primary);
}

.logo-dot {
  color: var(--accent-cyan);
  animation: blink-cursor 1.2s step-end infinite;
  font-weight: 400;
}

@keyframes blink-cursor {
  50% {
    opacity: 0;
  }
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gradient-main) !important;
  color: var(--bg-primary) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth) !important;
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(6, 214, 160, 0.4) !important;
}

.nav-cta::after {
  display: none !important;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 3px;
  margin-left: 8px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: var(--accent-green);
  color: var(--bg-primary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero h1 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-main);
  color: var(--bg-primary);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 0 30px rgba(6, 214, 160, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(6, 214, 160, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--bg-glass);
  color: var(--text-primary);
  border: var(--border-glass);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(6, 214, 160, 0.3);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: var(--border-glass);
}

.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-chat-preview {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.preview-avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.preview-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.preview-info span {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 4px;
}

.preview-info span::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.preview-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
}

.preview-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.5;
  animation: msg-appear 0.4s ease-out forwards;
  opacity: 0;
}

@keyframes msg-appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.preview-msg.bot {
  background: var(--bg-glass);
  border: var(--border-glass);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.preview-msg.user {
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(6, 214, 160, 0.2);
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.hero-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

/* --- Features Section --- */
.features {
  background: var(--gradient-hero);
}

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

.features-header .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  border-color: rgba(6, 214, 160, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-card);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* --- Chat Section --- */
.chat-section {
  position: relative;
}

.chat-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.chat-info {
  padding-top: 20px;
}

.chat-info .section-subtitle {
  margin-bottom: 32px;
}

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

.chat-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.chat-features-list .check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: rgba(6, 214, 160, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 0.75rem;
  margin-top: 2px;
}

/* Chat Widget */
.chat-widget {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  height: 520px;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.chat-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.chat-header-info h4 {
  font-size: 0.95rem;
}

.chat-header-info .status {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-header-info .status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.chat-clear-btn {
  background: var(--bg-glass);
  border: var(--border-glass);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chat-clear-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.message {
  display: flex;
  gap: 10px;
  max-width: 85%;
  animation: msg-slide 0.3s ease-out;
}

@keyframes msg-slide {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 4px;
}

.message.bot .message-avatar {
  background: var(--gradient-main);
}

.message.user .message-avatar {
  background: rgba(139, 92, 246, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.message-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.6;
}

.message.bot .message-bubble {
  background: var(--bg-glass);
  border: var(--border-glass);
  border-bottom-left-radius: 4px;
  color: var(--text-primary);
}

.message.user .message-bubble {
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.15), rgba(59, 130, 246, 0.15));
  border: 1px solid rgba(6, 214, 160, 0.15);
  border-bottom-right-radius: 4px;
  color: var(--text-primary);
}

.message-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 4px;
  padding: 0 4px;
}

.message.user .message-time {
  text-align: right;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 10px;
  max-width: 85%;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: var(--transition-fast);
}

.typing-indicator.visible {
  opacity: 1;
  height: auto;
  overflow: visible;
}

.typing-dots {
  padding: 14px 18px;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 5px;
  align-items: center;
}

.typing-dots span {
  width: 7px;
  height: 7px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: typing-bounce 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing-bounce {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }

  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

.chat-input-area {
  padding: 16px 24px;
  border-top: var(--border-glass);
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.chat-input {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.chat-input:focus {
  border-color: rgba(6, 214, 160, 0.4);
  box-shadow: 0 0 0 3px rgba(6, 214, 160, 0.1);
}

.chat-input::placeholder {
  color: var(--text-muted);
}

.chat-send-btn {
  width: 44px;
  height: 44px;
  background: var(--gradient-main);
  border: none;
  border-radius: 50%;
  color: var(--bg-primary);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.3);
}

.chat-send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* --- Sheets Section --- */
.sheets-section {
  background: var(--gradient-hero);
}

.sheets-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}

.sheets-widget {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.sheets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: var(--border-glass);
  background: rgba(255, 255, 255, 0.02);
}

.sheets-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sheets-icon {
  width: 36px;
  height: 36px;
  background: rgba(52, 168, 83, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.sheets-header h4 {
  font-size: 0.95rem;
}

.sheets-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--accent-cyan);
}

.sheets-status .live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.sheets-table-wrapper {
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
}

.sheets-table-wrapper::-webkit-scrollbar {
  height: 4px;
  width: 4px;
}

.sheets-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.sheets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.sheets-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

.sheets-table th {
  background: rgba(17, 24, 39, 0.95);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: var(--border-glass);
  white-space: nowrap;
}

.sheets-table td {
  padding: 12px 16px;
  border-bottom: var(--border-glass);
  color: var(--text-primary);
  white-space: nowrap;
}

.sheets-table tbody tr {
  transition: var(--transition-fast);
}

.sheets-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.sheets-table tbody tr.new-row {
  animation: row-highlight 2s ease-out;
}

@keyframes row-highlight {
  0% {
    background: rgba(6, 214, 160, 0.15);
  }

  100% {
    background: transparent;
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.processing {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-badge.completed {
  background: rgba(6, 214, 160, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 214, 160, 0.2);
}

.sheets-info {
  padding-top: 20px;
}

.sheets-info .section-subtitle {
  margin-bottom: 32px;
}

.sheets-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.metric-card {
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Use Cases Section --- */
.usecases {
  position: relative;
}

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

.usecases-header .section-subtitle {
  margin: 0 auto;
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.usecase-card {
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  display: flex;
  gap: 20px;
}

.usecase-card:hover {
  border-color: rgba(6, 214, 160, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.usecase-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--gradient-card);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.usecase-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.usecase-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.usecase-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(6, 214, 160, 0.1);
  border: 1px solid rgba(6, 214, 160, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: 12px;
}

/* --- Pricing Section --- */
.pricing {
  background: var(--gradient-hero);
}

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

.pricing-header .section-subtitle {
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 36px;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: rgba(6, 214, 160, 0.3);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.06), rgba(59, 130, 246, 0.06));
}

.pricing-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: var(--gradient-main);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card .price-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li .icon {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

.pricing-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  text-decoration: none;
  display: block;
}

.pricing-btn.primary {
  background: var(--gradient-main);
  color: var(--bg-primary);
  border: none;
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.15);
}

.pricing-btn.primary:hover {
  box-shadow: 0 0 30px rgba(6, 214, 160, 0.3);
  transform: translateY(-2px);
}

.pricing-btn.secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: var(--border-glass);
}

.pricing-btn.secondary:hover {
  border-color: rgba(6, 214, 160, 0.3);
  transform: translateY(-2px);
}

.pricing-setup {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  text-align: center;
  padding: 8px 16px;
  margin: 12px 0 4px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: var(--radius-md);
  line-height: 1.5;
}

/* --- Full-Width Sheets Layout --- */
.sheets-layout--fullwidth {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sheets-layout--fullwidth .sheets-widget {
  width: 100%;
}

.sheets-layout--fullwidth .sheets-info {
  text-align: center;
}

.sheets-layout--fullwidth .sheets-info .section-subtitle {
  margin: 0 auto;
}

/* Insight pills — replaces old metric counters */
.sheets-insight-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.insight-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.insight-pill:hover {
  border-color: rgba(6, 214, 160, 0.25);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.insight-icon {
  font-size: 1rem;
}

/* --- FAQ Section --- */
.faq-section {
  position: relative;
}

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

.faq-header .section-subtitle {
  margin: 0 auto;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(6, 214, 160, 0.2);
}

.faq-item[open] {
  border-color: rgba(6, 214, 160, 0.25);
  box-shadow: 0 0 20px rgba(6, 214, 160, 0.05);
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  user-select: none;
  transition: var(--transition-fast);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-toggle {
  font-size: 1.4rem;
  color: var(--accent-cyan);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  animation: faq-slide-down 0.3s ease;
}

@keyframes faq-slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  position: relative;
}

.cta-box {
  background: var(--gradient-card);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-main);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.15;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

.cta-box .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  padding: 48px 0 32px;
  border-top: var(--border-glass);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-chat-preview {
    max-width: 380px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .chat-layout {
    grid-template-columns: 1fr;
  }

  .sheets-layout {
    grid-template-columns: 1fr;
  }

  .sheets-info {
    order: -1;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: var(--border-glass);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

  .usecase-card {
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .sheets-metrics {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .chat-widget {
    height: 460px;
  }

  .chat-input-area {
    padding: 12px 16px;
  }
}


/* ============================================
   SERVICE PAGES — Shared Styles
   ============================================ */

/* --- Page Hero --- */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.page-hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

/* --- Content Sections --- */
.content-section {
  padding: 80px 0;
}

.content-section.alt-bg {
  background: rgba(17, 24, 39, 0.4);
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* --- Pain Points Grid --- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pain-card {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.pain-card:hover {
  border-color: rgba(6, 214, 160, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.pain-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pain-card h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.pain-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* --- Workflow Cases --- */
.workflow-case {
  margin-bottom: 3rem;
}

.workflow-case-content {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.case-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  background: rgba(6, 214, 160, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.workflow-case h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.workflow-case>.workflow-case-content>p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* --- Workflow Flow Diagram --- */
.workflow-flow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1.25rem;
  background: rgba(6, 214, 160, 0.04);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.flow-step {
  background: var(--bg-glass);
  border: var(--border-glass);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.flow-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- ROI Box --- */
.roi-box {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.roi-box h4 {
  font-family: var(--font-heading);
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.roi-box p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.roi-note {
  color: var(--accent-cyan) !important;
  font-style: italic;
  margin-top: 0.5rem;
}

/* --- Case Route Subtitle --- */
.case-route {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-cyan);
  background: rgba(6, 214, 160, 0.08);
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

/* --- Case Content Blocks --- */
.case-block {
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.case-block:last-child {
  margin-bottom: 0;
}

.case-block h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.case-block.problem {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.case-block.problem h4 {
  color: #ef4444;
}

.case-block.automate {
  background: rgba(6, 214, 160, 0.06);
  border: 1px solid rgba(6, 214, 160, 0.15);
}

.case-block.automate h4 {
  color: var(--accent-cyan);
}

.case-block.output {
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.case-block.output h4 {
  color: var(--accent-blue);
}

.case-block.complexity {
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.case-block.complexity h4 {
  color: #a855f7;
}

.case-block p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.case-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-steps li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 6px 0 6px 24px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.case-steps li:last-child {
  border-bottom: none;
}

.case-steps li::before {
  content: '→';
  position: absolute;
  left: 4px;
  color: var(--accent-cyan);
  font-weight: 700;
}

/* --- Systems Grid --- */
.systems-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.system-tag {
  background: var(--bg-glass);
  border: var(--border-glass);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.system-tag:hover {
  border-color: rgba(6, 214, 160, 0.3);
  background: rgba(6, 214, 160, 0.08);
  color: var(--accent-cyan);
}

/* --- Compliance Page --- */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.compliance-card {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition-smooth);
}

.compliance-card:hover {
  border-color: rgba(6, 214, 160, 0.3);
  transform: translateY(-3px);
}

.compliance-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.compliance-card h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.compliance-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* AI Act grid */
.ai-act-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.ai-act-item {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.ai-act-item h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.ai-act-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* NIS2 grid */
.nis2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.nis2-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.nis2-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.nis2-item h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.nis2-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Delivery Model Comparison */
.delivery-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.delivery-col {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.delivery-good {
  border: 1px solid rgba(6, 214, 160, 0.3);
}

.delivery-risk {
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.delivery-col h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.delivery-col ul {
  list-style: none;
  padding: 0;
}

.delivery-col li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  line-height: 1.4;
}

.delivery-col li:last-child {
  border-bottom: none;
}

/* Trust Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.trust-item {
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.trust-item:hover {
  border-color: rgba(6, 214, 160, 0.3);
  background: rgba(6, 214, 160, 0.06);
}

/* ============================================
   PRICING PAGE
   ============================================ */

.pricing-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.package-card {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.package-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.package-card.featured {
  border-color: rgba(6, 214, 160, 0.4);
  background: linear-gradient(180deg, rgba(6, 214, 160, 0.06), var(--bg-card));
}

.package-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 0 var(--radius-xl) 0 var(--radius-md);
}

.package-header {
  padding: 2rem 2rem 1rem;
}

.package-phase {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-cyan);
}

.package-header h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.4rem;
  margin: 0.5rem 0 0.25rem;
}

.package-duration {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.package-price {
  padding: 0 2rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.price-from,
.price-to {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-separator {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.price-period {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.package-body {
  padding: 0 2rem 1.5rem;
  flex: 1;
}

.package-body h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.package-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.package-body li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding: 0.35rem 0;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.4;
}

.package-body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 700;
}

.package-scope {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.package-scope h4 {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.package-scope p {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0;
}

.package-btn {
  display: block;
  text-align: center;
  padding: 1rem 2rem;
  margin: 0 2rem 2rem;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: var(--border-glass);
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.package-btn:hover {
  background: rgba(6, 214, 160, 0.1);
  border-color: rgba(6, 214, 160, 0.3);
  color: var(--accent-cyan);
}

.featured-btn {
  background: var(--gradient-main) !important;
  border: none !important;
  color: #fff !important;
}

.featured-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* --- Retainer Banner --- */
.retainer-banner {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
}

.retainer-banner-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  transition: var(--transition-smooth);
}

.retainer-banner-content:hover {
  border-color: rgba(6, 214, 160, 0.3);
  box-shadow: var(--shadow-glow);
}

.retainer-banner-info {
  flex: 1;
}

.retainer-banner-info .package-phase {
  margin-bottom: 0.25rem;
}

.retainer-banner-info h3 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.retainer-banner-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.retainer-banner-price {
  text-align: center;
  white-space: nowrap;
}

.retainer-banner-price .price-from,
.retainer-banner-price .price-to {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
}

.retainer-banner-price .price-separator {
  color: var(--text-secondary);
  margin: 0 4px;
}

.retainer-banner-price .price-period {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.retainer-btn {
  margin: 0 !important;
  white-space: nowrap;
  padding: 0.75rem 1.5rem !important;
}

@media (max-width: 768px) {
  .retainer-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .retainer-btn {
    width: 100%;
  }
}

/* Includes Grid */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.include-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.include-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.include-item p {
  color: var(--text-primary);
  font-size: 0.88rem;
  margin: 0;
}

/* SLA Note */
.sla-note {
  background: var(--bg-card);
  border: var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 1rem;
}

.sla-note h3 {
  font-family: var(--font-heading);
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.sla-note p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* Active nav link */
.nav-links a.active {
  color: var(--accent-cyan);
}

/* --- Nav Dropdown --- */
.has-dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: default !important;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 180px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(8px);
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7) !important;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--accent-cyan) !important;
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   RESPONSIVE — Service Pages
   ============================================ */

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 40px;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .content-section {
    padding: 50px 0;
  }

  .workflow-flow {
    flex-direction: column;
    align-items: flex-start;
  }

  .flow-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .delivery-compare {
    grid-template-columns: 1fr;
  }

  .pricing-packages {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   HOW IT WORKS — Process Steps
   ============================================ */
.how-it-works {
  padding: 100px 0;
  background: var(--gradient-hero);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-top: 60px;
}

.process-step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 40px 30px;
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  transition: var(--transition-smooth);
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.process-step h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: var(--gradient-main);
  align-self: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .step-connector {
    width: 2px;
    height: 40px;
  }

  .process-step {
    max-width: 100%;
  }
}

/* ============================================
   CASES PAGE
   ============================================ */
.cases-grid {
  display: grid;
  gap: 60px;
  margin-top: 60px;
}

.case-study {
  background: var(--bg-card);
  border: var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.case-study:hover {
  box-shadow: var(--shadow-glow);
}

.case-header {
  padding: 40px 40px 20px;
  border-bottom: var(--border-glass);
}

.case-industry {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(6, 214, 160, 0.12);
  border: 1px solid rgba(6, 214, 160, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 500;
  margin-bottom: 16px;
}

.case-header h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.case-header p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.case-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.case-challenge,
.case-solution {
  padding: 30px 40px;
}

.case-challenge {
  border-right: var(--border-glass);
}

.case-challenge h4,
.case-solution h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.case-challenge ul,
.case-solution ul {
  list-style: none;
  padding: 0;
}

.case-challenge ul li,
.case-solution ul li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}

.case-challenge ul li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: #ef4444;
  font-weight: 600;
}

.case-solution ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 600;
}

.case-results {
  padding: 30px 40px;
  background: rgba(6, 214, 160, 0.04);
  border-top: var(--border-glass);
}

.case-results h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.results-metrics {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.result-metric {
  text-align: center;
}

.result-metric .metric-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.result-metric .metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .case-body {
    grid-template-columns: 1fr;
  }

  .case-challenge {
    border-right: none;
    border-bottom: var(--border-glass);
  }

  .case-header,
  .case-challenge,
  .case-solution,
  .case-results {
    padding: 24px;
  }

  .results-metrics {
    flex-direction: column;
    gap: 20px;
  }

  .case-header h3 {
    font-size: 1.4rem;
  }
}