/* Custom Reset and Base Styles */
:root {
  /* Color Palette */
  --bg-primary: #eafaf1;
  --bg-secondary: #ffffff;
  --bg-secondary-soft: #f4fbf7;
  --bg-dark-accent: #0f172a;
  --bg-console: #1e293b;

  --primary: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.15);
  --primary-hover: #059669;
  --secondary: #84cc16;
  --secondary-glow: rgba(132, 204, 22, 0.15);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #ffffff;
  --text-light-muted: #cbd5e1;

  --gradient-primary: linear-gradient(135deg, #10b981 0%, #84cc16 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #064e3b 100%);

  --border-light: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(16, 185, 129, 0.5);

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-premium: 0 24px 64px rgba(16, 185, 129, 0.12);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Fonts */
  --font-sans: 'Inter', 'Noto Sans KR', sans-serif;
  --font-display: 'Outfit', 'Inter', 'Noto Sans KR', sans-serif;
}

.hidden {
  display: none !important;
}


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

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

li {
  list-style: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

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

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

/* Badges */
.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--primary-glow);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.35);
}

.btn-outline {
  background-color: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background-color: var(--bg-primary);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--bg-secondary);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  background-color: #f8fafc;
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

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

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle .bar {
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 10% 40%, rgba(132, 204, 22, 0.04) 0%, transparent 35%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-primary) 85%, var(--bg-primary) 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto 64px auto;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 40px;
  word-break: keep-all;
  color: var(--text-muted);
}

.highlight-text {
  font-weight: 700;
  color: var(--primary);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Visualizer Card (Console) */
.hero-visualizer-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-console);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-premium), 0 30px 60px rgba(15, 23, 42, 0.2);
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-color: rgba(15, 23, 42, 0.3);
}

.console-dots {
  display: flex;
  gap: 8px;
  margin-right: 24px;
}

.console-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.console-dots .dot.red {
  background-color: #ef4444;
}

.console-dots .dot.yellow {
  background-color: #f59e0b;
}

.console-dots .dot.green {
  background-color: #10b981;
}

.console-title {
  color: var(--text-light-muted);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  margin-right: auto;
}

.console-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.console-body {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.wave-visualizer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100px;
  width: 100%;
  margin-bottom: 40px;
}

.wave-bar {
  width: 6px;
  background: var(--gradient-primary);
  border-radius: 10px;
  height: 10px;
  transition: height 0.1s ease;
}

.visualizer-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  z-index: 10;
}

.visualizer-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.6);
}

.play-icon-wrapper svg {
  width: 1.5rem;
  height: 1.5rem;
}

.play-instruction {
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

.console-footer {
  display: flex;
  background-color: rgba(15, 23, 42, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-item {
  flex: 1;
  padding: 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.metric-item:last-child {
  border-right: none;
}

.metric-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
}

/* Sections Global */
section {
  padding: 96px 0;
  overflow: hidden;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  word-break: keep-all;
}

/* Core Competence & Architecture Sections */
.core-competence-section {
  background: var(--bg-primary);
}

.architecture-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary-soft) 100%);
}

.arch-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 56px;
  margin-bottom: 60px;
}

@media (max-width: 991px) {
  .arch-compare-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Pipeline Section */
.pipeline-section {
  background: linear-gradient(180deg, var(--bg-secondary-soft) 0%, var(--bg-primary) 100%);
  margin-top: -2px;
  position: relative;
  z-index: 1;
}

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

.pipeline-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pipeline-feature-card {
  display: flex;
  gap: 24px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.pipeline-feature-card:hover {
  transform: translateX(10px);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  opacity: 0.8;
}

.feature-info h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.feature-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  word-break: keep-all;
}

.pipeline-visual-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pipeline-visual-container {
  position: relative;
  width: 420px;
  height: 420px;
}

.visual-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg), 0 0 40px var(--primary-glow);
  z-index: 5;
}

.core-logo {
  width: 100%;
  height: 100%;
}

.visual-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(16, 185, 129, 0.2);
  border-radius: 50%;
}

.ring-outer {
  width: 322px;
  height: 322px;
  animation: rotateClockwise 30s linear infinite;
}

.ring-middle {
  width: 230px;
  height: 230px;
  border-style: solid;
  border-color: rgba(132, 204, 22, 0.15);
  animation: rotateCounterClockwise 20s linear infinite;
}

.ring-inner {
  width: 150px;
  height: 150px;
  animation: rotateClockwise 10s linear infinite;
}

.visual-label {
  position: absolute;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  z-index: 4;
}

.label-top {
  left: 50%;
  top: 49px;
  transform: translate(-50%, -50%);
}

.label-right {
  left: 371px;
  top: 50%;
  transform: translate(-50%, -50%);
}

.label-bottom {
  left: 50%;
  top: 371px;
  transform: translate(-50%, -50%);
}

.label-left {
  left: 49px;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Services Section */
.services-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary-soft) 100%);
}

/* Infrastructure Section */
.infrastructure-section {
  background: var(--bg-secondary-soft);
}

.agent-services-layout {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.services-text-col,
.services-demo-col {
  display: flex;
  flex-direction: column;
}

.services-text-col h3,
.services-demo-col h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-main);
}

.services-demo-col .demo-image-container {
  margin-bottom: 0;
}

.services-text-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-text-item {
  display: flex;
  gap: 20px;
  padding: 14px 0;
  transition: all 0.3s ease;
}

.service-text-item:hover {
  transform: translateX(6px);
}

.service-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  opacity: 0.8;
}

.service-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.3s ease;
}

.service-text-item:hover .service-icon-wrap {
  transform: scale(1.1);
}

.service-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.service-info h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.service-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  word-break: keep-all;
}

.demo-image-container {
  position: relative;
  background-color: var(--bg-console);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.mock-dashboard {
  font-family: monospace;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.mock-db-header {
  background-color: rgba(15, 23, 42, 0.6);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-db-title {
  font-weight: bold;
  color: var(--primary);
}

.mock-db-status {
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.mock-db-body {
  padding: calc(24px + 0.35cm) 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: rgba(15, 23, 42, 0.4);
}

.mock-chat-bubble {
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  max-width: 85%;
  line-height: 1.5;
}

.mock-chat-bubble.user {
  background-color: rgba(255, 255, 255, 0.08);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  border-left: 3px solid var(--secondary);
}

.mock-chat-bubble.agent {
  background-color: rgba(16, 185, 129, 0.08);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border-left: 3px solid var(--primary);
}

.mock-reasoning-step {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
}

.step-icon {
  display: inline-block;
  animation: spin 4s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 0.4;
  }
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.demo-overlay:hover {
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 1px solid var(--primary);
  color: white;
  background: var(--primary);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  z-index: 12;
}

.demo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  background: var(--primary);
  color: white;
}

.demo-intro-box {
  margin-top: 0;
  margin-bottom: 20px;
}

.demo-intro-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 0;
  word-break: keep-all;
}

.demo-disclaimer-note {
  font-size: 0.72rem;
  color: rgba(16, 185, 129, 0.85);
  text-align: center;
  margin-top: 8px;
}

/* Infrastructure Section */
.infra-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.infra-card {
  background-color: var(--bg-secondary);
  padding: 40px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.infra-card:hover {
  background-color: var(--bg-primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.infra-card-icon {
  color: var(--primary);
  margin-bottom: 20px;
}

.infra-card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.infra-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.infra-card p {
  font-size: 0.9rem;
  word-break: keep-all;
}

.infra-action {
  margin-top: 40px;
}

/* Company Team / Strengths Section */
.team-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

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

.team-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all 0.3s ease;
  position: relative;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

/* Top span badge */
.team-card-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
  background-color: var(--primary-glow);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.team-card h3 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.team-card p {
  font-size: 0.92rem;
  word-break: keep-all;
}

/* Span the last item across columns or center if desired */
.team-grid .team-card:nth-child(4) {
  grid-column: span 1;
}

/* Contact CTA Section */
.contact-section {
  padding-bottom: 120px;
  background: linear-gradient(180deg, var(--bg-secondary-soft) 0%, var(--bg-primary) 100%);
}

.contact-banner-card {
  background: var(--gradient-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 60px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-banner-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.contact-banner-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.contact-banner-content h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.contact-banner-content p {
  color: var(--text-light-muted);
  font-size: 1.1rem;
}

.contact-banner-action {
  position: relative;
  z-index: 2;
}

/* Footer Section */
.site-footer {
  background-color: var(--bg-dark-accent);
  color: var(--text-light);
  padding: 30px 0;
}

.footer-inline-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  color: var(--text-light) !important;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.15);
  font-weight: 300;
  font-size: 0.9rem;
}

.footer-tagline {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  font-weight: 400;
}

.footer-copyright {
  color: var(--text-light-muted);
  font-size: 0.85rem;
}


@media (max-width: 576px) {
  .footer-inline-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 8px;
  }

  .footer-divider {
    display: none;
  }
}

/* Animations */
@keyframes rotateClockwise {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotateCounterClockwise {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

/* Scroll reveal trigger classes */
.scroll-reveal>.container {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active>.container {
  opacity: 1;
  transform: translateY(0);
}

/* Entrance Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

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

/* Header Hamburger Styles */
.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* Media Queries - Responsive Design */
@media (max-width: 1024px) {
  html {
    font-size: 16px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .pipeline-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pipeline-visual-wrapper {
    order: -1;
  }

  .agent-services-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .contact-banner-card {
    flex-direction: column;
    text-align: center;
    gap: 32px;
    padding: 48px;
  }

  .contact-banner-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16.5px;
  }

  .section-header h2 {
    font-size: 2.1rem;
  }

  /* Navbar */
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-secondary);
    padding: 40px 24px;
    border-top: 1px solid var(--border-light);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .main-nav a {
    font-size: 1.25rem;
  }


  /* Sections */
  section {
    padding: 40px 0;
  }

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

  .hero-section {
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .hero-content {
    margin-bottom: 32px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .services-main-grid {
    grid-template-columns: 1fr;
  }

  .services-sub-grid {
    grid-template-columns: 1fr;
  }

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

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


  .console-body {
    padding: 40px 20px;
  }

  .console-footer {
    flex-direction: column;
  }

  .metric-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .metric-item:last-child {
    border-bottom: none;
  }

  .pipeline-visual-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 380px;
    margin: 0 auto;
  }

  .pipeline-visual-container {
    transform: scale(0.85);
    transform-origin: center center;
    flex-shrink: 0;
  }

  .visual-label {
    font-size: 1.1rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 17.5px;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wave-visualizer {
    gap: 4px;
  }

  .wave-bar {
    width: 4px;
  }

  .pipeline-visual-wrapper {
    height: 300px;
  }

  .pipeline-visual-container {
    transform: scale(0.65);
  }

  .visual-label {
    font-size: 1.35rem;
    padding: 10px 18px;
  }
}

.chat-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chat-send-btn svg {
  width: 14px;
  height: 14px;
}

.rw-voice-wave span {
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
  animation: pulse-wave 1s infinite alternate ease-in-out;
}

.rw-voice-wave span:nth-child(1) {
  animation-delay: 0.1s;
}

.rw-voice-wave span:nth-child(2) {
  animation-delay: 0.3s;
}

.rw-voice-wave span:nth-child(3) {
  animation-delay: 0.0s;
}

.rw-voice-wave span:nth-child(4) {
  animation-delay: 0.4s;
}

.rw-voice-wave span:nth-child(5) {
  animation-delay: 0.2s;
}

@keyframes pulse-wave {
  0% {
    transform: scaleY(0.4);
  }

  100% {
    transform: scaleY(1.3);
  }
}

.rw-stt-text {
  font-size: 0.9rem;
  color: var(--text-main);
  background: #f1f5f9;
  padding: 10px 14px;
  border-radius: 12px;
  border-bottom-right-radius: 2px;
}

.rw-voice-output {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--primary);
  color: white;
  padding: 16px;
  border-radius: 12px;
  border-bottom-left-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.rw-tts-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-opacity 1.5s infinite alternate;
}

@keyframes pulse-opacity {
  0% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.rw-tts-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .realworld-layout {
    flex-direction: column;
  }
}