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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  line-height: 1.6;
  font-size: 16px;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #e2e8f0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  min-height: 96px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #000000;
  font-weight: 700;
  font-size: 16px;
}

.logo-img {
  height: 96px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 16px;
  color: #000000;
  display: none;
}

.logo-img:not([src]) ~ .logo-text,
.logo-img[style*="display: none"] ~ .logo-text {
  display: block;
}

.nav {
  display: none;
  gap: 16px;
  align-items: center;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #000000;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: #2152FF;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1a3fcc;
}

.btn-secondary {
  background-color: #f6f7fb;
  color: #33456e;
  border: 1px solid #d7dcef;
}

.btn-secondary:hover {
  background-color: #eef0f7;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0b1020 0%, #1a2a4a 100%);
  color: #ffffff;
  padding: 80px 16px;
  text-align: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 16, 32, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .hero {
    padding: 120px 16px;
  }
}

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

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 48px;
  }
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 18px;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Sections */
.section {
  padding: 64px 16px;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .section {
    padding: 96px 16px;
  }
}

.section-dark {
  background-color: #0b1020;
  color: #ffffff;
}

.section-cta {
  background-color: #1a2a4a;
  color: #ffffff;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 32px;
  }
}

.section-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 32px;
}

.section-dark .section-subtitle {
  color: #ffffff;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

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

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

@media (min-width: 640px) {
  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Cards */
.card {
  border-radius: 16px;
  padding: 24px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card-dark {
  background-color: #1a2a4a;
  color: #ffffff;
  border: 1px solid #2a3a5a;
}

.card-medium {
  background-color: #2a3a5a;
  color: #ffffff;
  border: 1px solid #3a4a6a;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
}

.card-dark .card-title {
  color: #ffffff;
}

.card-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.card-dark .card-text {
  color: rgba(255, 255, 255, 0.9);
}

.card-step {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card-list li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.card-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* Case Studies Placeholder */
.case-studies-placeholder {
  background-color: #1a2a4a;
  color: #ffffff;
  padding: 48px 24px;
  border-radius: 16px;
  text-align: center;
  font-size: 16px;
}

/* VAI Section */
.vai-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .vai-content {
    grid-template-columns: 1fr 1fr;
  }
}

.vai-label {
  font-size: 12px;
  font-weight: 600;
  color: #2152FF;
  margin-bottom: 8px;
}

.vai-features {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.vai-features li {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.vai-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2152FF;
}

.vai-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

@media (min-width: 640px) {
  .vai-buttons {
    flex-direction: row;
  }
}

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 640px) {
  .architecture-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.arch-box {
  background-color: #3a4a6a;
  border: 1px solid #4a5a7a;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 32px;
  }
}

.cta-subtitle {
  font-size: 16px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 48px 16px 24px;
}

@media (min-width: 768px) {
  .footer {
    padding: 64px 16px 32px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  height: 96px;
  width: auto;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  color: #000000;
  font-weight: 600;
  line-height: 1.6;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: #2152FF;
}

.footer-label {
  color: #2152FF;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #666666;
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid #d7dcef;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  background-color: #ffffff;
  color: #000000;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2152FF;
  box-shadow: 0 0 0 3px rgba(33, 82, 255, 0.1);
}

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

/* Grid 2 */
.grid-2 {
  grid-template-columns: 1fr;
}

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

/* Case Study Cards */
.case-study-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.case-study-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.case-study-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.founder-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 16px;
  margin-bottom: 16px;
}

/* Section Overlay */
.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 16, 32, 0.7);
  z-index: 1;
}
