:root {
  /* Colors */
  --bg-color: #0A192F;
  --bg-color-alt: #0D1117;
  --bg-terminal: #010409;

  --text-primary: #E6F1FF;
  --text-secondary: #8892B0;

  --accent-blue: #58A6FF;
  --accent-green: #3FB950;
  --accent-red: #F85149;

  --border-color: rgba(88, 166, 255, 0.2);

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', 'Courier New', Courier, monospace;

  /* Spacing */
  --section-padding: 6rem;
  --container-width: 1450px;
}

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

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

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

/* Typography styles */
h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Code / Terminal Text */
.mono {
  font-family: var(--font-mono);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: var(--bg-terminal);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(88, 166, 255, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.btn-secondary:hover {
  background-color: rgba(63, 185, 80, 0.1);
  box-shadow: 0 0 15px rgba(63, 185, 80, 0.3);
}

/* Sections */
section {
  padding: var(--section-padding) 0;
}

.section-alt {
  background-color: var(--bg-color-alt);
}

/* Header / Nav */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

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

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--accent-blue);
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  /* header height approx */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Background grid effect */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(88, 166, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 166, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  z-index: -1;
  pointer-events: none;
}

/* Gradient glow */
.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88, 166, 255, 0.1) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 600px;
  min-width: 0;
}

.kicker {
  color: var(--accent-blue);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Hero Slider */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  display: none;
  animation: fadeIn 0.5s;
}

.hero-slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.browser-window {
  background-color: var(--bg-terminal);
  border-radius: 8px;
  border: 1px solid rgba(88, 166, 255, 0.2);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.browser-window .window-header {
  background-color: #161B22;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 1rem;
}

.browser-window .address-bar {
  flex: 1;
  background: rgba(1, 4, 9, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  text-align: center;
}

.browser-content img {
  width: 100%;
  display: block;
  height: auto;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-secondary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn nav {
  font-size: 1.5rem;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.3s ease;
}

.slider-dot.active {
  background: var(--accent-blue);
}

/* Code Split Screen */
.hero-code-split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  min-width: 0;
}

/* Connecting line */
.hero-code-split::before {
  content: '↓ Translates to';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
  z-index: 10;
  box-shadow: 0 0 15px rgba(63, 185, 80, 0.2);
}

.code-window {
  background-color: var(--bg-terminal);
  border-radius: 8px;
  border: 1px solid rgba(88, 166, 255, 0.2);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.window-header {
  background-color: #161B22;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.dot.red {
  background-color: var(--accent-red);
}

.dot.yellow {
  background-color: #D29922;
}

.dot.green {
  background-color: var(--accent-green);
}

.window-title {
  margin-left: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.code-window pre {
  padding: 1.5rem;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #E6F1FF;
  line-height: 1.5;
  height: 250px;
  overflow-y: hidden;
}

.code-yaml pre,
.code-target-yaml pre,
.code-initiator-yaml pre {
  color: #8B949E;
}

.code-yaml code,
.code-target-yaml code,
.code-initiator-yaml code {
  color: #79C0FF;
}

.yaml-split {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

.yaml-split .code-window {
  flex: 1;
  min-width: 0;
}

.code-cli pre {
  color: #A5D6FF;
}

.code-cli code {
  color: #3FB950;
}

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-code-split::before {
    display: none;
  }

  .yaml-split {
    flex-direction: column;
  }
}

/* Security Section */
.security {
  background-color: var(--bg-color-alt);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.security-content h2 {
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-size: 2rem;
}

.security-list {
  list-style: none;
  margin-top: 2rem;
}

.security-list li {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  position: relative;
}

.security-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
  font-family: var(--font-mono);
  font-weight: bold;
}

.security-list h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.security-list p {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Blueprint Diagram */
.blueprint-wrapper {
  background-color: var(--bg-terminal);
  border-radius: 8px;
  border: 1px solid var(--accent-green);
  padding: 2rem;
  box-shadow: inset 0 0 20px rgba(63, 185, 80, 0.1), 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Blueprint grid Background */
.blueprint-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(63, 185, 80, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 185, 80, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  opacity: 0.5;
}

.blueprint-diagram {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.bp-node {
  border: 2px dashed var(--accent-green);
  padding: 1rem 2rem;
  background-color: rgba(1, 4, 9, 0.8);
  backdrop-filter: blur(4px);
  color: var(--accent-green);
  font-family: var(--font-mono);
  text-align: center;
  border-radius: 4px;
  position: relative;
}

.bp-node.main {
  border-style: solid;
  background-color: rgba(63, 185, 80, 0.1);
  font-weight: bold;
}

.bp-arrow {
  width: 2px;
  height: 40px;
  background-color: var(--accent-green);
  position: relative;
}

.bp-arrow::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: -4px;
  border-width: 5px 5px 0;
  border-style: solid;
  border-color: var(--accent-green) transparent transparent;
}

/* Red "No Cloud" indicator */
.bp-cloud-block {
  position: absolute;
  top: 2rem;
  right: 2rem;
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  transform: rotate(15deg);
  opacity: 0.8;
  background: rgba(1, 4, 9, 0.9);
}

.bp-cloud-block::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  right: -10%;
  height: 2px;
  background-color: var(--accent-red);
}

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

/* Universal Logic Section */
.universal-logic {
  text-align: center;
}

.logic-diagram {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.logic-node {
  background-color: var(--bg-terminal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
  position: relative;
}

.logic-node.top {
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(88, 166, 255, 0.2);
}

.logic-node h4 {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.logic-node p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

.logic-split {
  display: flex;
  justify-content: center;
  gap: 2rem;
  position: relative;
  width: 100%;
}

.logic-split::after {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  width: 2px;
  height: 1rem;
  background-color: var(--text-secondary);
  transform: translateX(-50%);
  z-index: 1;
}

.fabric-node {
  position: relative;
}

.fabric-node::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  width: 2px;
  height: 1rem;
  background-color: var(--text-secondary);
  transform: translateX(-50%);
  z-index: 1;
}

.fabric-node::after {
  content: '';
  position: absolute;
  top: -1rem;
  height: 2px;
  background-color: var(--text-secondary);
  z-index: 1;
}

.fabric-node:first-child::after {
  left: 50%;
  right: -1rem;
}

.fabric-node:last-child::after {
  right: 50%;
  left: -1rem;
}

.fabric-node .logic-node {
  border-color: #D29922;
}

.vendor-split {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.vendor-split::after {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  width: 2px;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  z-index: 1;
}

.vendor-node {
  background-color: rgba(1, 4, 9, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 4px;
  position: relative;
  min-width: 150px;
}

.vendor-node::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  width: 2px;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  z-index: 1;
}

.vendor-node::after {
  content: '';
  position: absolute;
  top: -1rem;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.vendor-node:first-child::after {
  left: 50%;
  right: -1rem;
}

.vendor-node:last-child::after {
  right: 50%;
  left: -1rem;
}

.vendor-node.cisco {
  border-bottom: 2px solid var(--accent-blue);
}

.vendor-node.brocade {
  border-bottom: 2px solid var(--accent-green);
}

.feature-pill {
  display: inline-block;
  background: rgba(88, 166, 255, 0.1);
  color: var(--accent-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .logic-split {
    flex-direction: column;
    gap: 4rem;
  }

  .logic-split::before,
  .logic-split::after,
  .fabric-node::before,
  .vendor-split::before,
  .vendor-node::before {
    display: none;
  }
}

/* Features Grid Sections */
.feature-grid-section {
  background-color: var(--bg-color-alt);
}

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

.feature-card {
  background-color: var(--bg-color);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(88, 166, 255, 0.1);
  border-color: rgba(88, 166, 255, 0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.feature-card h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.feature-visual {
  background-color: var(--bg-terminal);
  border-radius: 4px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #8B949E;
}

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

.cases-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}

.case-item {
  background-color: var(--bg-terminal);
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.case-header {
  background-color: rgba(88, 166, 255, 0.1);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(88, 166, 255, 0.2);
  display: flex;
  align-items: center;
}

.case-header h3 {
  margin: 0;
  color: var(--accent-blue);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.case-header h3::before {
  content: '▶';
  font-size: 0.875rem;
}

.case-body {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.case-context h4 {
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.case-context p {
  font-size: 0.875rem;
  color: var(--text-primary);
}

.case-result {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 2rem;
}

.case-result h4 {
  color: var(--accent-green);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.case-result p {
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 0;
}

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

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

  .case-result {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
  }
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-color-alt) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background-color: var(--bg-terminal);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

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

.privacy-note {
  font-size: 0.75rem;
  color: var(--accent-green);
  margin-left: 0.5rem;
  font-family: var(--font-mono);
}

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

/* Pricing Section */
.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  background-color: var(--bg-terminal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 3rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.pricing-card.premium {
  border-color: var(--accent-blue);
  box-shadow: 0 10px 30px rgba(88, 166, 255, 0.1);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--accent-blue);
  color: var(--bg-terminal);
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 1rem;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.price {
  font-size: 1.5rem;
  font-family: var(--font-mono);
  color: var(--accent-green);
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-desc {
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 2rem;
  min-height: 40px;
}

.pricing-features {
  list-style: none;
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-features li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.875rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.pricing-features li.sub-feature {
  padding-left: 2rem;
  color: var(--text-secondary);
}

.pricing-features li.sub-feature::before {
  content: '-';
  color: var(--text-secondary);
}

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