/* ==========================================================================
   Eyan Innovations - Corporate & Technology Design System
   ========================================================================== */

:root {
  --bg-dark: #070a11;
  --bg-card: #0f1627;
  --bg-card-subtle: #141e34;
  --bg-input: #19243d;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(56, 189, 248, 0.4);
  
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --cyan: #06b6d4;
  --emerald: #10b981;
  --purple: #8b5cf6;
  --rose: #f43f5e;
  
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.text-red { color: #f87171 !important; }
.text-blue { color: #60a5fa !important; }
.text-green { color: #4ade80 !important; }
.text-emerald { color: #34d399 !important; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

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

/* ==========================================================================
   Announcement Bar & Navbar
   ========================================================================== */

.announcement-bar {
  background: linear-gradient(90deg, #1e1b4b, #0f172a, #042f2e);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-sub);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-ring 1.8s infinite;
}

.phone-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: underline;
}

.announcement-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 17, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}

.logo-icon.small {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.logo-inner {
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 4px;
  transform: rotate(45deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #38bdf8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  transition: var(--transition);
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-deck-btn {
  padding: 8px 16px;
  font-size: 13px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(6, 182, 212, 0.08) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #38bdf8;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.2px;
  max-width: 950px;
  margin-bottom: 22px;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-sub);
  max-width: 780px;
  margin-bottom: 36px;
  line-height: 1.55;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.hero-btn-main {
  padding: 14px 28px;
  font-size: 15.5px;
}

.hero-btn-sub {
  padding: 14px 26px;
  font-size: 15.5px;
}

.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  margin-top: 10px;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.metric-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}

.metric-val {
  font-size: 32px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.metric-lbl {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
}

/* ==========================================================================
   Telecom Proof Banner
   ========================================================================== */

.telecom-proof-section {
  padding: 30px 0;
}

.telecom-card {
  background: linear-gradient(135deg, #0e172a 0%, #172554 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.6);
}

.telecom-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.live-dot-green {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-ring 1.8s infinite;
}

.telecom-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.telecom-info p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 18px;
}

.telecom-features {
  display: flex;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  flex-wrap: wrap;
}

.telecom-cta-box {
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.phone-display-badge {
  margin-bottom: 16px;
}

.phone-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-sub);
  margin-bottom: 4px;
}

.phone-number {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #38bdf8;
  letter-spacing: 1px;
}

.call-btn-wide {
  width: 100%;
  padding: 13px 20px;
  font-size: 15px;
  margin-bottom: 8px;
}

.phone-subtext {
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   Section General Styles
   ========================================================================== */

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

.section-header {
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #38bdf8;
  margin-bottom: 10px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ==========================================================================
   What We Do (Comparison Grid)
   ========================================================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
}

.comp-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.comp-badge.bad {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.comp-badge.good {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.comp-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 24px;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comp-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.icon-cross {
  color: #ef4444;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}

.icon-check {
  color: #10b981;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}

.comp-card.eyan-way {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   Capabilities Grid
   ========================================================================== */

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

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
}

.cap-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.cap-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cap-icon-box.blue { background: rgba(37, 99, 235, 0.2); color: #60a5fa; }
.cap-icon-box.cyan { background: rgba(6, 182, 212, 0.2); color: #38bdf8; }
.cap-icon-box.green { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.cap-icon-box.purple { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }

.cap-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cap-card p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 20px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: #7dd3fc;
}

/* ==========================================================================
   Interactive Live Demo Console Styles
   ========================================================================== */

.demo-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.demo-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 20px;
}

.demo-selectors {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.control-box {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

.control-box label {
  color: var(--text-sub);
}

.control-box select {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.demo-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #34d399;
}

.main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
}

.card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.channel-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #38bdf8;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background: #38bdf8;
  border-radius: 50%;
  animation: pulse-ring 1.8s infinite;
}

.queue-time-badge {
  font-size: 12px;
  color: var(--text-sub);
}

.queue-time-badge strong {
  color: #34d399;
}

.voice-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0;
}

.agent-avatar-wrapper {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 14px;
}

.agent-avatar {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1e40af, #0284c7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.agent-pulse {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.agent-pulse.speaking {
  opacity: 1;
  animation: pulse-scale 1.5s infinite;
}

.agent-display-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.voice-status {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

/* Audio Waveform */
.waveform-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 36px;
  margin-bottom: 18px;
}

.waveform-container .bar {
  width: 4px;
  height: 8px;
  background: #334155;
  border-radius: 2px;
  transition: height 0.15s ease;
}

.waveform-container.active .bar {
  background: #38bdf8;
  animation: wave 1s infinite ease-in-out;
}

.waveform-container.active .bar:nth-child(1) { animation-delay: 0.1s; }
.waveform-container.active .bar:nth-child(2) { animation-delay: 0.2s; }
.waveform-container.active .bar:nth-child(3) { animation-delay: 0.3s; }
.waveform-container.active .bar:nth-child(4) { animation-delay: 0.4s; }
.waveform-container.active .bar:nth-child(5) { animation-delay: 0.5s; }
.waveform-container.active .bar:nth-child(6) { animation-delay: 0.6s; }
.waveform-container.active .bar:nth-child(7) { animation-delay: 0.7s; }
.waveform-container.active .bar:nth-child(8) { animation-delay: 0.8s; }
.waveform-container.active .bar:nth-child(9) { animation-delay: 0.9s; }
.waveform-container.active .bar:nth-child(10) { animation-delay: 1.0s; }
.waveform-container.active .bar:nth-child(11) { animation-delay: 1.1s; }
.waveform-container.active .bar:nth-child(12) { animation-delay: 1.2s; }

.call-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.mic-btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #2563eb;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
  transition: var(--transition);
}

.mic-btn:hover {
  transform: scale(1.05);
  background: #1d4ed8;
}

.mic-btn.active {
  background: #ef4444;
  box-shadow: 0 0 25px rgba(239, 68, 68, 0.7);
  animation: pulse-ring 1.5s infinite;
}

.mic-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

.quick-prompts {
  width: 100%;
  text-align: left;
}

.prompts-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #cbd5e1;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.chip-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.text-fallback {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.text-fallback input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  outline: none;
}

.text-fallback input:focus {
  border-color: #38bdf8;
}

.text-fallback button {
  background: var(--primary);
  border: none;
  color: #fff;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Co-Pilot Card */
.copilot-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #818cf8;
}

.security-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.security-status.verified {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}

.bankid-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.dossier-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.dossier-item {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
}

.d-label { color: var(--text-dim); }
.d-val { font-weight: 600; color: #ffffff; }

.badge-category {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
}

.transcript-wrapper h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.transcript-feed {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  height: 180px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 14px;
}

.msg {
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 1.4;
  max-width: 90%;
}

.msg.user-msg {
  align-self: flex-end;
  background: #1e3a8a;
  color: #ffffff;
}

.msg.ai-msg {
  align-self: flex-start;
  background: #1e293b;
  color: #cbd5e1;
}

.msg.system-msg {
  align-self: center;
  font-size: 11.5px;
  color: var(--text-dim);
  font-style: italic;
}

.escalation-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.action-btn-small {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notes-body {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.45;
}

/* ==========================================================================
   Unit Economics & Calculator Section
   ========================================================================== */

.econ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.econ-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  text-align: center;
}

.econ-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.econ-tag.highlight { color: #38bdf8; }
.econ-tag.profit { color: #34d399; }

.econ-amount {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 6px;
}

.human-cost .econ-amount { color: #f87171; }
.eyan-price .econ-amount { color: #38bdf8; }
.raw-margin .econ-amount { color: #34d399; }

.econ-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.econ-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.5;
}

.calculator-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, #172554 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.calc-header {
  text-align: center;
  margin-bottom: 28px;
}

.calc-header h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.calc-header p {
  font-size: 15px;
  color: #cbd5e1;
}

.calc-controls {
  max-width: 600px;
  margin: 0 auto 36px;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

.slider-header strong {
  font-size: 22px;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-mono);
}

.custom-slider {
  width: 100%;
  height: 8px;
  background: #334155;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  accent-color: #38bdf8;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.calc-stat {
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.calc-stat.highlight-stat {
  background: rgba(6, 78, 59, 0.4);
  border-color: rgba(52, 211, 153, 0.5);
}

.calc-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.calc-stat-val {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-mono);
}

/* ==========================================================================
   Direct Procurement (Direktupphandling)
   ========================================================================== */

.procurement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.proc-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #38bdf8;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.procurement-card h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
}

.proc-desc {
  font-size: 17px;
  color: var(--text-sub);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

.proc-phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.phase-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.phase-number {
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.phase-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.phase-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.5;
}

/* ==========================================================================
   About Eyan Innovations & Founder
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 18px;
}

.about-text p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.6;
}

.founder-credentials {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
}

.cred-item strong {
  color: #ffffff;
}

.founder-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, #1e1b4b 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  text-align: center;
}

.founder-avatar-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.founder-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

.founder-role {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
  margin-bottom: 18px;
}

.founder-quote {
  font-size: 14.5px;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.55;
  margin-bottom: 20px;
}

.founder-meta {
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   Contact / Pilot Request Section
   ========================================================================== */

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-header {
  margin-bottom: 32px;
}

.contact-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 15.5px;
  color: var(--text-sub);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #38bdf8;
  background: #17233e;
}

.form-submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 15.5px;
  margin-top: 6px;
}

.form-success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
  background: #04060b;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

.copyright {
  font-size: 12px;
  color: #475569;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-sub);
  transition: var(--transition);
}

.footer-col a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   BankID Modal
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bankid-card {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.bankid-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.bankid-logo-icon {
  font-size: 24px;
}

.bankid-header h3 {
  font-size: 18px;
  font-weight: 800;
}

.bankid-instruction {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.bankid-qr-box {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 22px;
}

.mock-qr {
  width: 140px;
  height: 140px;
  background: #0f172a;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
}

.qr-cell {
  background: #38bdf8;
  border-radius: 4px;
}

.qr-center {
  background: #ffffff;
  color: #0f172a;
  font-weight: 900;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.qr-hint {
  display: block;
  font-size: 11px;
  color: #475569;
  margin-top: 8px;
  font-weight: 600;
}

.bankid-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-bankid-confirm {
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.btn-bankid-cancel {
  background: transparent;
  color: var(--text-sub);
  border: 1px solid var(--border-light);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  cursor: pointer;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes pulse-scale {
  0% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.25); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.4; }
}

@keyframes wave {
  0%, 100% { height: 8px; }
  50% { height: 28px; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .telecom-card { grid-template-columns: 1fr; }
  .main-grid { grid-template-columns: 1fr; }
  .econ-grid { grid-template-columns: 1fr; }
  .calc-results-grid { grid-template-columns: repeat(2, 1fr); }
  .proc-phases-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 32px; }
  .hero-metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .calc-results-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr !important; }
  .web-cta-card { flex-direction: column !important; text-align: center !important; }
}

/* ==========================================================================
   IT Services & Web Development Offerings
   ========================================================================== */

.services-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #070a11 0%, #0b1120 50%, #070a11 100%);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: rgba(15, 22, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  background: rgba(18, 28, 51, 0.85);
}

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

.service-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-icon-box.blue {
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.service-icon-box.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.service-icon-box.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.service-icon-box.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.service-desc {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  font-size: 13px;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li svg {
  color: #34d399;
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #38bdf8;
  margin-top: auto;
  transition: var(--transition);
}

.service-link:hover {
  color: #7dd3fc;
  gap: 10px;
}

/* Web Offer Promo Card */
.web-promo-box {
  margin-top: 48px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.45) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.web-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.web-cta-content h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.web-cta-content p {
  color: #94a3b8;
  font-size: 15px;
  max-width: 650px;
  line-height: 1.6;
}

.web-cta-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Product Architecture Header */
.flagship-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(90deg, rgba(234, 179, 8, 0.2), rgba(249, 115, 22, 0.2));
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

