/* ==========================================================================
   Nova TeleRad - CSS Stylesheet
   ========================================================================== */

:root {
  --primary: #0a192f;
  --primary-light: #172a45;
  --primary-dark: #020c1b;
  --accent: #00bbf9;
  --accent-mint: #00f5d4;
  --accent-rose: #f72585;
  
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #f8fafc;
  --text-muted: #94a3b8;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0a192f;
  
  --border-color: #e2e8f0;
  
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-neon: 0 0 20px rgba(0, 187, 249, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Reusable Components */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.section-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 2px;
  background-color: var(--accent);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0096c7 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 187, 249, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 187, 249, 0.4);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

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

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

header.scrolled .logo {
  color: var(--primary);
}

header.scrolled nav ul li a {
  color: var(--text-primary);
}

header.scrolled nav ul li a.nav-btn {
  color: #fff;
}

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

.logo {
  display: flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  gap: 0.5rem;
  position: relative;
}

.logo-icon {
  width: 24px;
  height: 24px;
  background-color: var(--accent);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  display: inline-block;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.logo-sub {
  position: absolute;
  bottom: -10px;
  left: 32px;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  font-weight: 400;
  opacity: 0.8;
}

header.scrolled .logo-icon::after {
  background-color: #fff;
}

header.scrolled .logo-icon {
  background-color: var(--primary);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

nav ul li a:hover {
  color: #fff;
}

header.scrolled nav ul li a:hover {
  color: var(--accent);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a.nav-btn {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 187, 249, 0.2);
}

nav ul li a.nav-btn:hover {
  background: #0096c7;
  color: #fff !important;
  transform: translateY(-1px);
}

nav ul li a.nav-btn::after {
  display: none;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
}

header.scrolled .menu-toggle span {
  background-color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  color: var(--text-light);
  padding-top: 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(23, 42, 69, 0.6) 0%, rgba(2, 12, 27, 0.95) 100%);
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(0, 187, 249, 0.1);
  border-radius: 9999px;
  border: 1px solid rgba(0, 187, 249, 0.2);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 187, 249, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-image {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), var(--shadow-neon);
  border: 1px solid rgba(255,255,255,0.1);
  max-height: 500px;
  object-fit: cover;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent) 50%, rgba(255,255,255,0) 50%);
  background-size: 100% 200%;
  animation: scrollLine 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollLine {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}

/* Sections */
section {
  padding: 8rem 0;
}

/* Service Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--bg-card);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--accent), var(--accent-mint));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 187, 249, 0.2);
}

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

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-color: rgba(0, 187, 249, 0.08);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
}

.service-icon::after {
  content: '';
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-ct::after {
  border-radius: 50% !important;
  border-width: 4px !important;
  border-style: double !important;
}

.icon-emergency::after {
  clip-path: polygon(30% 0%, 70% 0%, 70% 30%, 100% 30%, 100% 70%, 70% 70%, 70% 100%, 30% 100%, 30% 70%, 0% 70%, 0% 30%, 30% 30%);
  background-color: currentColor;
  border: none !important;
  width: 20px !important;
  height: 20px !important;
}

.icon-ai::after {
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  background-color: transparent;
  border-width: 2px !important;
  width: 22px !important;
  height: 22px !important;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-details {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.service-details li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-details li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-mint);
  font-weight: bold;
}

/* Features Section */
.features-section {
  background-color: #f1f5f9;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.features-text .section-title {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-item-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  background-color: rgba(0, 187, 249, 0.08);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item-body h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-item-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.features-image-area {
  display: flex;
  justify-content: center;
}

.features-image-container {
  position: relative;
  max-width: 480px;
}

.features-image {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.network-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.shield-icon {
  width: 18px;
  height: 18px;
  background-color: var(--accent-mint);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: inline-block;
}

/* AI Interactive Demo Section */
.demo-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.demo-section .section-title {
  color: #fff;
}

.demo-section .section-desc {
  color: var(--text-muted);
}

.demo-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  margin-top: 2rem;
}

/* Medical Viewer */
.viewer-container {
  background-color: #020c1b;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-neon);
  display: flex;
  flex-direction: column;
}

.viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.viewer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--accent-mint);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--accent-mint);
  animation: pulse 2s infinite;
}

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

.viewer-slice-info {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.viewer-body {
  position: relative;
  background-color: #000;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

#medicalCanvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Loading Overlay */
.viewer-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.viewer-loading.active {
  display: flex;
}

.spinner {
  width: 45px;
  height: 45px;
  border: 3px solid rgba(0, 187, 249, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.viewer-loading p {
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* AI Detection Overlay Box */
.ai-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  display: none;
}

.ai-overlay.active {
  display: block;
}

.ai-box {
  position: absolute;
  border: 2px solid var(--accent-rose);
  box-shadow: 0 0 12px rgba(247, 37, 133, 0.6);
  border-radius: 4px;
  animation: boxBlink 1.5s ease-in-out infinite alternate;
  display: flex;
  flex-direction: column;
}

@keyframes boxBlink {
  0% { border-color: rgba(247, 37, 133, 0.4); box-shadow: 0 0 4px rgba(247, 37, 133, 0.2); }
  100% { border-color: rgba(247, 37, 133, 1); box-shadow: 0 0 15px rgba(247, 37, 133, 0.8); }
}

.ai-label {
  position: absolute;
  top: -24px;
  left: -2px;
  background-color: var(--accent-rose);
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* Slider Controller */
.viewer-slider-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.slider-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.viewer-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  height: 6px;
  border-radius: 9999px;
  outline: none;
}

.viewer-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0, 187, 249, 0.5);
  transition: var(--transition);
}

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

.viewer-footer-actions {
  display: flex;
  gap: 1rem;
}

.btn-action {
  flex-grow: 2;
  background-color: var(--accent);
  color: var(--primary-dark);
  font-weight: bold;
}

.btn-action:hover {
  background-color: var(--accent-mint);
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.4);
}

.btn-action-secondary {
  flex-grow: 1;
  background-color: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-action-secondary:hover:not([disabled]) {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-action-secondary[disabled] {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Sidebar and Report */
.demo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.case-selector h4 {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.case-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
  font-family: var(--font-sans);
}

.case-btn h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.case-btn p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.case-btn:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 187, 249, 0.3);
}

.case-btn.active {
  background-color: rgba(0, 187, 249, 0.06);
  border-color: var(--accent);
  box-shadow: var(--shadow-neon);
}

/* Diagnostic Report Paper */
.report-box {
  background-color: #fff;
  border-radius: 16px;
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 380px;
}

.report-header {
  background-color: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.report-header h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.report-status {
  font-size: 0.75rem;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 9999px;
  background-color: #e2e8f0;
  color: var(--text-secondary);
}

.report-status.analyzed {
  background-color: rgba(0, 245, 212, 0.15);
  color: #00b4d8;
}

.report-content {
  padding: 2rem 1.5rem;
  flex-grow: 1;
}

.report-row {
  display: flex;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.report-row .report-label {
  color: var(--text-secondary);
  font-weight: 600;
  width: 90px;
  flex-shrink: 0;
}

.report-row .report-val {
  color: var(--text-primary);
}

.report-box hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 1.5rem 0;
}

.report-findings, .report-impression {
  margin-bottom: 1.5rem;
}

.report-findings h5, .report-impression h5 {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.report-findings p, .report-impression p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.placeholder-text {
  color: var(--text-muted);
  font-style: italic;
}

.typing-animation {
  position: relative;
}

.report-footer {
  background-color: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

.doctor-signature {
  font-size: 0.85rem;
}

.sig-title {
  color: var(--text-secondary);
}

.sig-name {
  font-weight: 600;
  color: var(--primary);
}

/* Workflow Steps */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.step-card {
  position: relative;
  background-color: var(--bg-card);
  padding: 3rem 2rem 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 187, 249, 0.15);
}

.step-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 187, 249, 0.12);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

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

/* Info & Access Section */
.info-section {
  background-color: #f1f5f9;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.info-table {
  background-color: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.info-row {
  display: flex;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-weight: 700;
  color: var(--primary);
  width: 140px;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.info-value {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mock Map */
.map-wrapper {
  display: flex;
  justify-content: center;
}

.map-container {
  width: 100%;
  max-width: 450px;
}

.mock-map {
  background-color: #e2e8f0;
  border-radius: 16px;
  height: 320px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid #fff;
}

.map-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background-image: 
    linear-gradient(rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: rotate(-15deg);
  opacity: 0.6;
}

.map-route {
  position: absolute;
  top: 40%;
  left: 10%;
  width: 60%;
  height: 8px;
  background-color: var(--accent);
  border-radius: 9999px;
  transform: rotate(20deg);
  opacity: 0.7;
}

.map-pin {
  position: absolute;
  top: 45%;
  left: 55%;
  width: 24px;
  height: 24px;
  background-color: var(--accent-rose);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg) translate(-50%, -50%);
  animation: pinBounce 2s infinite alternate;
  box-shadow: -2px 2px 5px rgba(0,0,0,0.2);
}

.map-pin::after {
  content: '';
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 7px;
}

@keyframes pinBounce {
  0% { top: 43%; }
  100% { top: 48%; }
}

.map-card {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  width: 85%;
  border: 1px solid var(--border-color);
}

.map-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.map-card p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* Contact Form Section */
.contact-section {
  background-color: var(--bg-body);
}

.contact-box {
  background-color: var(--bg-card);
  border-radius: 20px;
  padding: 4rem 3.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 900px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.contact-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
  font-family: var(--font-sans);
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background-color: #f8fafc;
  color: var(--text-primary);
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 187, 249, 0.1);
}

.msg-group {
  margin-bottom: 2.5rem;
}

.form-submit {
  display: flex;
  justify-content: center;
}

.btn-submit {
  padding: 1rem 3.5rem;
  font-size: 1.05rem;
  background-color: var(--primary);
  color: #fff;
  border-radius: 9999px;
  font-weight: bold;
}

.btn-submit:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 187, 249, 0.3);
}

/* Footer Styles */
footer {
  background-color: var(--primary-dark);
  color: var(--text-muted);
  padding: 5rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.9rem;
}

.footer-links ul {
  display: flex;
  gap: 2rem;
}

.footer-links ul li a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.copyright {
  opacity: 0.8;
}

/* Reveal Elements on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
  section {
    padding: 6rem 0;
  }
  
  .hero-grid, .features-grid, .demo-wrapper, .info-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 6rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-image-wrapper {
    order: -1;
  }
  
  .features-image-area {
    order: -1;
  }
  
  .network-badge {
    right: 0;
  }
}

@media (max-width: 768px) {
  /* Navigation mobile menu trigger */
  .menu-toggle {
    display: flex;
  }
  
  #mainNav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--primary-dark);
    padding: 80px 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: var(--transition);
    z-index: 999;
  }
  
  #mainNav.open {
    right: 0;
  }
  
  #mainNav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  #mainNav ul li a {
    font-size: 1.1rem;
    color: var(--text-light);
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-box {
    padding: 2.5rem 1.5rem;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links ul {
    flex-direction: column;
    gap: 1rem;
  }
}
