/* AI1st Website Styles */
:root {
  --primary: #5bf28c;
  --primary-dark: #34d96a;
  --secondary: #06110c;
  --accent: #8fffc1;
  --light: #081710;
  --gray: #c5e8d1;
  --gray-light: #7fb693;
  --white: #e8fff1;
  --surface: #0b1a13;
  --surface-elevated: #10261b;
  --surface-muted: #0a1510;
  --text-primary: #e8fff1;
  --terminal-border: rgba(91, 242, 140, 0.22);
  --terminal-border-strong: rgba(91, 242, 140, 0.45);
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 24px rgba(91, 242, 140, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'SFMono-Regular', 'Cascadia Code', 'JetBrains Mono', Consolas, 'Liberation Mono', Menlo, monospace;
  line-height: 1.6;
  color: var(--text-primary);
  background:
    radial-gradient(circle at top left, rgba(91, 242, 140, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(143, 255, 193, 0.08), transparent 24%),
    linear-gradient(180deg, #05100b 0%, #020604 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.02) 50%, transparent 50%);
  background-size: 100% 4px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

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

/* Navigation */
nav {
  background: rgba(3, 10, 7, 0.88);
  padding: 16px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--terminal-border);
  backdrop-filter: blur(14px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(91, 242, 140, 0.25);
}

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

.logo::after {
  content: "▍";
  margin-left: 6px;
  color: var(--primary);
  animation: cursor-blink 1s steps(1) infinite;
  text-shadow: 0 0 10px rgba(91, 242, 140, 0.6);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(91, 242, 140, 0.35);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--secondary) !important;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s !important;
  box-shadow: 0 0 18px rgba(91, 242, 140, 0.22);
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, rgba(8, 23, 16, 0.7) 0%, rgba(5, 16, 11, 0.2) 100%);
}

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

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero h1 span {
  color: var(--primary);
  text-shadow: 0 0 18px rgba(91, 242, 140, 0.35);
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--secondary);
  box-shadow: 0 0 18px rgba(91, 242, 140, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  border: 1px solid var(--terminal-border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 16px rgba(91, 242, 140, 0.12);
}

.hero-visual {
  background: var(--surface-elevated);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--terminal-border);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "status: online";
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0.8;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

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

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Generic vs Tuned comparison */
.response-comparison {
  margin-top: 64px;
  padding: 48px;
  background: var(--surface-elevated);
  border: 1px solid var(--terminal-border);
  border-radius: 16px;
}

.comparison-heading {
  text-align: center;
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.comparison-heading span {
  color: var(--gray-light);
  font-weight: 400;
  font-size: 1.2rem;
  margin: 0 8px;
}

.comparison-intro {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.comparison-examples {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.comparison-example {
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-prompt {
  padding: 16px 24px;
  background: rgba(91, 242, 140, 0.06);
  border-bottom: 1px solid var(--terminal-border);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.comparison-prompt em {
  color: var(--primary);
  font-style: normal;
  font-weight: 600;
}

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

.comparison-col {
  padding: 24px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.comparison-col.generic {
  background: rgba(255, 80, 80, 0.04);
  border-right: 1px solid var(--terminal-border);
}

.comparison-col.generic p {
  color: var(--gray-light);
  font-style: italic;
}

.comparison-col.tuned {
  background: rgba(91, 242, 140, 0.04);
}

.comparison-col.tuned p {
  color: var(--text-primary);
  font-weight: 500;
}

.col-label {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.comparison-col.generic .col-label {
  color: #ff7b7b;
}

.comparison-col.tuned .col-label {
  color: var(--primary);
}

@media (max-width: 768px) {
  .response-comparison {
    padding: 24px 16px;
    margin-top: 40px;
  }

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

  .comparison-col.generic {
    border-right: none;
    border-bottom: 1px solid var(--terminal-border);
  }

  .comparison-heading {
    font-size: 1.4rem;
  }
}

/* Eliminate Toil Section — collapsing panels */
.eliminate-toil {
  height: 500vh;
  position: relative;
  background: linear-gradient(180deg, rgba(5, 16, 11, 0.6) 0%, rgba(11, 26, 19, 0.4) 100%);
  padding: 0;
}

.toil-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

/* Each card: collapsed = thin tab strip, active = fills remaining space */
.toil-card {
  display: flex;
  flex: 0 0 60px;
  min-width: 0;
  overflow: hidden;
  transition: flex 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  border-right: 1px solid var(--terminal-border);
  position: relative;
}

.toil-card.active {
  flex: 1 1 0%;
}

.toil-card.future {
  flex: 0 0 0px;
  border-right: none;
}

/* Collapsed tab strip */
.toil-card-tab {
  width: 60px;
  min-width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--surface-muted);
  cursor: pointer;
  transition: background 0.3s;
  border-right: 1px solid var(--terminal-border);
  position: relative;
  z-index: 2;
}

.toil-card-tab:hover {
  background: var(--surface-elevated);
}

.toil-card.active .toil-card-tab {
  background: rgba(91, 242, 140, 0.08);
  border-right-color: var(--primary);
}

.toil-tab-emoji {
  font-size: 1.5rem;
}

.toil-tab-label {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.3s;
}

.toil-card.active .toil-tab-label {
  color: var(--primary);
}

/* Expanded card body */
.toil-card-body {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 0.45s 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--surface-elevated) 0%, var(--surface-muted) 100%);
}

.toil-card.active .toil-card-body {
  opacity: 1;
}

.toil-card-inner {
  max-width: 900px;
  width: 100%;
  padding: 48px 56px;
}

.scenario-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.scenario-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.scenario-header h3 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin: 0;
}

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

.before,
.after {
  padding: 28px;
  border-radius: 14px;
  font-size: 1rem;
  line-height: 1.8;
}

.before {
  background: rgba(255, 80, 80, 0.06);
  border: 1px solid rgba(255, 80, 80, 0.18);
}

.after {
  background: rgba(91, 242, 140, 0.06);
  border: 1px solid rgba(91, 242, 140, 0.18);
}

.ba-label {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.before .ba-label {
  color: #ff7b7b;
}

.after .ba-label {
  color: var(--primary);
}

.before p,
.after p {
  color: var(--gray);
  margin: 0;
}

@media (max-width: 768px) {
  .eliminate-toil {
    height: auto;
    padding: 80px 0;
  }

  .toil-viewport {
    position: relative;
    top: auto;
    height: auto;
    flex-direction: column;
    gap: 24px;
    padding: 0 16px;
  }

  .toil-card,
  .toil-card.active,
  .toil-card.future {
    flex: none;
    display: block;
    border-right: none;
    border-bottom: 1px solid var(--terminal-border);
  }

  .toil-card-tab {
    width: 100%;
    min-width: unset;
    flex-direction: row;
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid var(--terminal-border);
  }

  .toil-tab-label {
    writing-mode: horizontal-tb;
  }

  .toil-card-body {
    opacity: 1;
    display: block;
  }

  .toil-card-inner {
    padding: 24px 20px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .scenario-header h3 {
    font-size: 1.2rem;
  }
}

/* Scroll reveal animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Invoicing Section */
.invoicing-section {
  background: linear-gradient(180deg, rgba(11, 26, 19, 0.5) 0%, rgba(6, 17, 12, 0.7) 100%);
  padding: 100px 0;
}

.invoicing-section .section-header h2 span {
  color: var(--primary);
  text-shadow: 0 0 18px rgba(91, 242, 140, 0.3);
}

.invoicing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.invoicing-card {
  background: var(--surface-elevated);
  border: 1px solid var(--terminal-border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.invoicing-card:hover {
  border-color: var(--terminal-border-strong);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(91, 242, 140, 0.08);
}

.invoicing-card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.invoicing-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.invoicing-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Invoicing Flow */
.invoicing-flow {
  background: var(--surface-elevated);
  border: 1px solid var(--terminal-border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 60px;
}

.invoicing-flow h3 {
  text-align: center;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 36px;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(91, 242, 140, 0.04);
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  min-width: 200px;
  flex: 1;
}

.flow-step-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.flow-step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flow-step-text strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.flow-step-text span {
  color: var(--gray);
  font-size: 0.82rem;
  line-height: 1.4;
}

.flow-connector {
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  flex-shrink: 0;
}

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

.invoicing-cta p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.8;
}

.invoicing-cta strong {
  color: var(--text-primary);
}

@media (max-width: 1024px) {
  .invoicing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    flex-direction: column;
    gap: 8px;
  }

  .flow-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
  }

  .flow-step {
    min-width: unset;
    width: 100%;
    max-width: 400px;
  }
}

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

  .invoicing-section {
    padding: 60px 0;
  }

  .invoicing-flow {
    padding: 24px;
  }
}

/* Services Section */
.services {
  background: rgba(8, 23, 16, 0.45);
}

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

.service-track {
  background: var(--surface-elevated);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--terminal-border);
}

.service-track h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-track .price {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 20px;
}

.service-track ul {
  list-style: none;
  margin-bottom: 24px;
}

.service-track li {
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.service-track li:last-child {
  border-bottom: none;
}

.service-track li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

/* Agent Teams Section */
.agent-teams {
  background: linear-gradient(135deg, #07130d 0%, #0b2117 100%);
  color: var(--white);
}

.agent-teams .section-header h2 {
  color: var(--white);
}

.agent-teams .section-header p {
  color: var(--gray-light);
}

.agent-intro {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-light);
}

.agent-intro strong {
  color: var(--white);
}

.agent-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.agent-benefit {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.agent-benefit:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.agent-icon {
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.agent-benefit h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: var(--white);
}

.agent-benefit p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.agent-examples {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 48px;
}

.agent-examples h3 {
  text-align: center;
  margin-bottom: 32px;
  font-size: 1.4rem;
  color: var(--white);
}

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

.example-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--gray-light);
}

.example-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.agent-cta {
  text-align: center;
  padding-top: 20px;
}

.agent-cta p {
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: var(--gray-light);
}

.agent-cta strong {
  color: var(--white);
}

/* Packages Section */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.package {
  background: var(--surface-elevated);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--terminal-border);
  transition: all 0.3s;
}

.package:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.package.featured {
  border-color: var(--primary);
  position: relative;
}

.package.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.package h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.package .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.package .price-note {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.package ul {
  list-style: none;
  margin-bottom: 24px;
}

.package li {
  padding: 8px 0;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.package li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
}

/* Why Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  text-align: center;
  padding: 32px 24px;
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--surface-elevated);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  border: 1px solid var(--terminal-border);
  box-shadow: inset 0 0 18px rgba(91, 242, 140, 0.05);
}

.why-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.why-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* About Section */
.about {
  background: rgba(8, 23, 16, 0.38);
}

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

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.credential {
  background: var(--surface-elevated);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--gray);
  border: 1px solid var(--terminal-border);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.highlight {
  background: var(--surface-elevated);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--terminal-border);
}

.highlight-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.highlight-text {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Team Section */
.team {
  padding: 80px 0;
  background: rgba(5, 16, 11, 0.28);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  background: var(--surface-elevated);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--terminal-border);
}

.team-member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  font-size: 4rem;
  margin-bottom: 16px;
}

.team-member h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.team-title {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 20px;
}

.team-responsibilities {
  list-style: none;
  text-align: left;
}

.team-responsibilities li {
  padding: 8px 0;
  color: var(--gray);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--gray-light);
}

.team-responsibilities li:last-child {
  border-bottom: none;
}

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

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface-elevated);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid var(--terminal-border);
}

.faq-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Contact Section */
.contact {
  background: var(--secondary);
  color: var(--white);
}

.contact .section-header h2 {
  color: var(--white);
}

.contact .section-header p {
  color: var(--gray-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-detail-text span {
  display: block;
  color: var(--gray-light);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--surface-elevated);
  padding: 40px;
  border-radius: 16px;
  color: var(--text-primary);
  border: 1px solid var(--terminal-border);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--terminal-border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  font-family: inherit;
  background: var(--surface-muted);
  color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 242, 140, 0.12);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

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

.form-submit {
  width: 100%;
}

.form-note {
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
  margin-top: 16px;
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--gray-light);
  padding: 40px 0 24px;
  border-top: 1px solid var(--terminal-border);
}

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

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

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

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .agent-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .example-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(4, 12, 8, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--terminal-border);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .agent-benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .agent-examples {
    padding: 24px;
  }

  section {
    padding: 60px 0;
  }
}

/* Success Message */
.success-message {
  background: var(--accent);
  color: var(--secondary);
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  margin-top: 16px;
  display: none;
}

.success-message.show {
  display: block;
}

/* Loading State */
.btn.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

@keyframes cursor-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}
