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

:root {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: dark;
  color: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --text-primary: #fff;
  --text-secondary: #999;
  --text-tertiary: #666;
  --bg-primary: #0e140c;
  --bg-secondary: #0e140c;
  --border: #333;
  --accent: #fff;
}

body {
  margin: 0;
  background: #0e140c;
  color: #fff;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: -0.01em;
  position: relative;
  text-wrap: balance;
  font-size: 18px;
  line-height: 1.7;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.app {
  position: relative;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.hero .container {
  width: 100%;
  padding: 8rem 2rem;
  text-align: left;
}

.hero-title {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #fff;
  max-width: 600px;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-preview {
  margin: 2rem 0;
  max-width: 100%;
}

.ui-preview {
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  display: block;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

/* Hero Features */
.hero-features {
  display: none;
}

.hero-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem;
  text-align: left;
  border: 1px solid var(--border);
  border-right: none;
}

.hero-feature:last-child {
  border-right: 1px solid var(--border);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.feature-icon i {
  font-size: inherit;
}

.feature-content h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* Hero Use Cases */
.hero-use-cases {
  margin: 4rem 0;
  max-width: 100%;
}

.use-cases-title {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.use-case-item {
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
}

.use-case-item i {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Card Base */
.card {
  border: 1px solid #333;
  padding: 1.2rem;
  margin-bottom: 0;
  color: #fff;
  text-align: left;
}

.card:last-child {
  border-bottom: 1px solid #333;
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agent-card h3 {
  font-size: 1.25rem;
}

.card p {
  color: inherit;
  line-height: 1.6;
  font-size: 0.875rem;
  font-weight: 400;
  opacity: 0.8;
}

.card-icon {
  display: none;
}

.card-icon i {
  font-size: inherit;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

/* Sections */
section {
  margin-bottom: 0;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 3rem;
  margin-top: 4rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

h2,
h3 {
  font-weight: 600;
  color: #fff;
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}

p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  line-height: 1.7;
  color: #fff;
}

strong {
  font-weight: 600;
  color: #fff;
}

/* Agents Section */
.agents {
  border-top: 1px solid var(--border);
}

.agents-intro {
  font-size: 1rem;
  color: #fff;
  max-width: 700px;
  margin: 0 0 1rem;
  text-align: left;
  line-height: 1.6;
  font-weight: 400;
}

.agents-grid {
  display: block;
}

.agent-card {
  margin-bottom: 0;
}

/* Services Section */
.services-grid {
  display: block;
}

.service-card {
  margin-bottom: 0;
}

/* Benefits Section */
.benefits-list {
  display: block;
}

.benefit-item {
  margin-bottom: 1.5rem;
}

.benefit-item h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.benefit-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.875rem;
  font-weight: 400;
}

/* Process Section */
.process {
  padding-bottom: 2rem;
}

.process-steps {
  display: block;
}

.process-step {
  text-align: left;
  position: relative;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #333;
}

.step-number {
  display: none;
}

section:last-child {
  padding-bottom: 30vh;
}

/* Contact Section */
.contact {
  text-align: left;
  padding-top: 2rem;
}

.contact-subtitle {
  font-size: 1rem;
  color: #fff;
  max-width: 600px;
  margin: 0 0 1rem;
  line-height: 1.6;
  font-weight: 400;
}

.contact-info {
  margin-top: 2rem;
  margin-bottom: 3rem;
  word-break: break-word;
  line-height: 1;
}

.contact-link {
  display: inline-block;
  font-size: 2.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 0.6;
}

.contact-cta {
  margin-top: 3rem;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-features,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero .container {
    padding: 5rem 1.5rem;
  }

  .hero-title {
    margin-bottom: 1.5rem;
  }

  .hero-subtitle {
    margin-bottom: 3rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-feature {
    padding: 1.5rem;
  }

  .tech-tags {
    flex-direction: column;
  }

  .tech-tag {
    margin-right: 0;
    margin-bottom: 0;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .use-case-item {
    border-right: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 3rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .agents-intro {
    margin-bottom: 3rem;
  }

  .agents-grid,
  .services-grid,
  .benefits-list {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 2rem;
  }
}

/* Language Switcher */
.lang-switcher {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.lang-switcher.has-suggestion {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#lang-select {
  background: #000;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
}

#lang-select:hover,
.lang-select:hover {
  border-color: #555;
  background-color: #0a0a0a;
  transform: translateY(-1px);
}

#lang-select:active,
.lang-select:active {
  transform: translateY(0);
}

/* Language Suggestion */
.lang-suggestion {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.lang-suggestion-text {
  color: var(--text-secondary);
}

.lang-select {
  background: #2a2a2a;
  color: #fff;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 0.4rem 0.875rem;
  padding-right: 2.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='%23ffffff' d='M9 13.5L3 7.5h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
  min-width: 70px;
}

.lang-select:focus {
  border-color: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.lang-select option {
  background: #000;
  color: #fff;
  padding: 0.5rem;
}
