:root {
  --color-bg: #0b0f19;
  --color-surface: #141b2d;
  --color-surface-hover: #1e293b;
  --color-primary: #00d2ff;
  --color-primary-dark: #0088cc;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-border: #334155;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1200px;
}

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

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

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

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

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
}

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

.mobile-menu-btn svg {
  stroke: var(--color-text);
  width: 24px;
  height: 24px;
}

/* Footer */
footer {
  background-color: var(--color-surface);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  max-width: 300px;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

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

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 210, 255, 0.08) 0%, transparent 60%);
  z-index: -1;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: #fff;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #000;
}

.btn-primary:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}

.section-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

/* Grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

/* Cards */
.card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

/* Hover Elevation System */
.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.card-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

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

/* Feature Image/Text */
.feature-image {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.feature-image:hover img {
  transform: scale(1.05);
}

/* Progressive Reveal Utilities */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* SVG Choreography */
.svg-choreo path, .svg-choreo line, .svg-choreo polyline, .svg-choreo rect {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.svg-choreo.active path, .svg-choreo.active line, .svg-choreo.active polyline, .svg-choreo.active rect {
  animation: drawLine 2s ease-in-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Interactive Solution Map */
.solution-map {
  position: relative;
  padding: 3rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.map-node {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.map-node:hover circle {
  fill: var(--color-primary);
}

.map-details {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 210, 255, 0.05);
  border-left: 3px solid var(--color-primary);
  display: none;
}

.map-details.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page Header */
.page-header {
  padding: 160px 0 80px;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

/* Contact form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    flex-direction: column;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .hero h1 { font-size: 2.8rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  
  .section { padding: 60px 0; }
  .page-header { padding: 120px 0 60px; }
  .page-header h1 { font-size: 2.5rem; }
}

/* Article/Content styles */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  color: #fff;
  margin: 2.5rem 0 1rem;
  font-size: 2rem;
}

.content-block h3 {
  color: #fff;
  margin: 1.5rem 0 0.5rem;
}

.content-block p {
  margin-bottom: 1.5rem;
}

.content-block ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.content-block li {
  margin-bottom: 0.5rem;
}

/* Insights Cards */
.insight-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.insight-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.insight-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.insight-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.insight-meta {
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.insight-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
}

.insight-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.insight-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.insight-link::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.insight-card:hover .insight-link::after {
  transform: translateX(4px);
}
