/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #000000;
  --color-surface: #0a0a0a;
  --color-border: #1a1a1a;
  --color-text-primary: #ffffff;
  --color-text-secondary: #a0a0a0;
  --color-text-tertiary: #666666;
  --color-accent-gold: #d4af37;
  --color-accent-orange: #ff6b35;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  background: #000000;
  color: var(--color-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('bg-tech.jpg') center/cover no-repeat;
  z-index: 0;
  opacity: 0.4;
}

.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, rgba(10, 10, 10, 0.8) 0%, #000000 70%, #000000 100%);
  z-index: 0;
  pointer-events: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Glass Card */
.glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transition: left 0.6s ease;
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card-small {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  gap: 2rem;
}

.nav__logo .logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.nav__menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
}

.nav__link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav__link:hover {
  color: var(--color-text-primary);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-orange));
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-orange) 100%);
  color: #000000;
  border: none;
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  white-space: nowrap;
}

.nav__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.nav__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav__toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-text-primary);
}

/* Hero Section */
.hero {
  padding: 10rem 0 4rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero__title-line {
  display: inline-block;
  position: relative;
}

.hero__title-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -10%;
  width: 120%;
  height: 40%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero__tags {
  display: flex;
  gap: 1rem;
}

.hero__tag {
  padding: 0.5rem 1.5rem;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  padding: 0.9rem 2.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
}

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

.btn--primary:hover {
  background: var(--color-text-primary);
  color: #000000;
}

.btn--play {
  background: transparent;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 2rem;
  border: 1px solid var(--color-border);
}

.btn__play-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  padding-left: 2px;
}

.btn--play:hover {
  border-color: var(--color-text-primary);
}

.btn--white {
  background: var(--color-text-primary);
  color: #000000;
  padding: 1rem 3rem;
}

.btn--white:hover {
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

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

.hero__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem 2rem;
  min-width: 180px;
}

.stat-card__number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__label {
  color: var(--color-text-tertiary);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__helmet-small {
  width: 200px;
  height: 230px;
  background: linear-gradient(180deg, #151515 0%, #000000 100%);
  border: 2px solid #2a2a2a;
  clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 100% 70%, 80% 100%, 20% 100%, 0% 70%, 0% 30%);
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
  position: relative;
}

.hero__helmet-small::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 30px;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.6) 0%, transparent 70%);
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
}

/* Partners */
.partners {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.01);
  position: relative;
  z-index: 1;
}

.partners__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner__logo {
  color: var(--color-text-tertiary);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.partner__logo:hover {
  opacity: 1;
}

/* Value Proposition */
.value-prop {
  padding: 5rem 0;
  position: relative;
  z-index: 1;
}

.value-prop__box {
  padding: 3rem 4rem;
  text-align: center;
}

.value-prop__text {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.text-highlight {
  color: var(--color-accent-gold);
}

/* AI x Humanity */
.ai-humanity {
  padding: 5rem 0 6rem;
  position: relative;
  z-index: 1;
}

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

.ai-humanity__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.ai-humanity__text {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.ai-humanity__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.chip-card {
  width: 350px;
  height: 250px;
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8),
              0 0 60px rgba(212, 175, 55, 0.1);
  transition: transform 0.5s ease;
}

.chip-card:hover {
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
}

.chip-card__inner {
  width: 100%;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.03) 50%, transparent 52%);
  background-size: 20px 20px;
}

.chip-card__logo {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.chip-card__circuit {
  width: 100%;
  height: 60px;
  background: 
    repeating-linear-gradient(
      90deg,
      rgba(212, 175, 55, 0.3) 0px,
      rgba(212, 175, 55, 0.3) 2px,
      transparent 2px,
      transparent 8px
    );
  opacity: 0.6;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0 6rem;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.title-highlight {
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2.5rem;
  max-width: 1150px;
  margin: 0 auto;
}

.contact__info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-radius: 16px;
}

.contact__info h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact__item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateX(4px);
}

.contact__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.contact__label {
  color: var(--color-text-tertiary);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact__value {
  color: var(--color-text-primary);
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 500;
}

a.contact__value:hover {
  color: var(--color-accent-gold);
}

.contact__form {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  border-radius: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.form-label {
  color: var(--color-text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:hover,
.form-textarea:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-feedback {
  text-align: center;
  font-size: 0.9rem;
  min-height: 20px;
}

.form-feedback.success {
  color: #10b981;
}

.form-feedback.error {
  color: #ef4444;
}

/* AI Chatbot */
.chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-orange) 100%);
  border: none;
  color: #000000;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
  transition: all 0.3s ease;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6);
}

.chat-window {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 350px;
  height: 450px;
  z-index: 1001;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.chat-window.active {
  display: flex;
}

.chat-window__header {
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-window__info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.chat-window__avatar {
  font-size: 1.5rem;
}

.chat-window__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-window__status {
  font-size: 0.75rem;
  color: #10b981;
}

.chat-window__close {
  background: transparent;
  border: none;
  color: var(--color-text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.chat-window__messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.chat-message {
  display: flex;
  gap: 0.6rem;
  max-width: 85%;
}

.chat-message--bot {
  align-self: flex-start;
}

.chat-message--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message__avatar {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chat-message__bubble {
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-message--user .chat-message__bubble {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(255, 107, 53, 0.3) 100%);
}

.chat-window__input-area {
  padding: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 0.6rem;
}

.chat-window__input {
  flex: 1;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

.chat-window__input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.5);
}

.chat-window__send {
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-orange) 100%);
  border: none;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chat-window__send:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.footer__container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.footer__tagline {
  color: var(--color-text-tertiary);
  font-size: 0.9rem;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-tertiary);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
  .hero__container,
  .ai-humanity__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual {
    order: -1;
  }

  .nav__menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    transition: left 0.3s ease;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__menu.active {
    left: 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__cta {
    display: none;
  }

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

  .chat-window {
    width: calc(100vw - 2rem);
    right: 1rem;
    bottom: 5rem;
  }

  .chat-toggle {
    right: 1rem;
    bottom: 1rem;
  }
}

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

  .hero {
    padding: 8rem 0 3rem;
  }

  .hero__stats {
    flex-direction: column;
  }

  .stat-card {
    width: 100%;
  }

  .value-prop__box {
    padding: 2rem 1.5rem;
  }

  .partners__grid {
    justify-content: center;
  }

  .chip-card {
    width: 280px;
    height: 200px;
    transform: none;
  }

  .chip-card:hover {
    transform: none;
  }

  .contact__info,
  .contact__form {
    padding: 2rem 1.5rem;
  }
}
