/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.hero-title,
.section-heading,
.modal-title,
.btn-contact {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  text-decoration: none;
}

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

.btn-contact {
  background: #fff;
  color: #000;
  border: 1.5px solid #fff;
  border-radius: 6px;
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  transition: background 0.2s, color 0.2s;
}

.btn-contact:hover {
  background: transparent;
  color: #fff;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
  margin-top: 60px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 300;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.9;
}

/* === About === */
.about {
  background: #fff;
  color: #000;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 500px;
}

.about-text {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 3px solid #000;
  margin-left: clamp(20px, 4vw, 60px);
}

.about-lead {
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 30px;
}

.about-body {
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 300;
  line-height: 1.7;
  color: #333;
}

.about-video {
  overflow: hidden;
}

.about-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Sense Language Action === */
.sense {
  background: #000;
  color: #fff;
}

.sense-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.sense-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sense-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sense-text {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-heading {
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin-bottom: 24px;
}

.section-body {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 400;
  line-height: 1.7;
  opacity: 0.85;
}

/* === High-Fidelity Simulation === */
.simulation {
  background: #000;
  color: #fff;
}

.simulation-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 500px;
}

.simulation-text {
  padding: clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.simulation-video {
  overflow: hidden;
}

.simulation-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === Footer === */
.site-footer {
  background: #000;
  color: #fff;
  padding: 60px 40px 30px;
  border-top: 1px solid #222;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: inline-block;
}

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

.footer-logo {
  margin-bottom: 40px;
  text-align: left;
}

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

.footer-table {
  width: auto;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 300;
  text-align: left;
}

.footer-table td {
  padding: 6px 0;
}

.footer-table .footer-label {
  opacity: 0.7;
  padding-right: 30px;
  white-space: nowrap;
}

.footer-table .footer-value {
  opacity: 0.9;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-copyright {
  font-size: 12px;
  opacity: 0.5;
  padding-top: 30px;
  border-top: 1px solid #222;
  text-align: left;
}

/* === Contact Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  color: #000;
  width: 90%;
  max-width: 500px;
  padding: 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.modal-title {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #000;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 0.5;
}

.modal-body p {
  font-size: 14px;
  font-weight: 350;
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-email {
  font-size: 14px;
  color: #1a73e8;
  text-decoration: none;
}

.modal-email:hover {
  text-decoration: underline;
}

.modal-illustration {
  margin-top: 30px;
  max-width: 160px;
}

.modal-illustration img {
  width: 100%;
  height: auto;
}

/* === Responsive === */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-text {
    padding: 50px 30px;
    margin-left: 20px;
    order: 1;
  }

  .about-video {
    order: 2;
    min-height: 300px;
  }

  .sense-inner {
    grid-template-columns: 1fr;
  }

  .sense-image {
    min-height: 300px;
    order: 2;
  }

  .sense-text {
    order: 1;
  }

  .simulation-inner {
    grid-template-columns: 1fr;
  }

  .simulation-text {
    padding: 50px 30px;
    order: 1;
  }

  .simulation-video {
    min-height: 300px;
    order: 2;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 15px 20px;
  }

  .logo-img {
    height: 40px;
  }

  .btn-contact {
    padding: 6px 18px;
    font-size: 13px;
  }

  .hero-content {
    margin-top: 40px;
  }

  .about-text {
    padding: 40px 24px;
    margin-left: 16px;
  }

  .sense-text,
  .simulation-text {
    padding: 40px 24px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .footer-table .footer-label {
    display: block;
    padding-right: 0;
    padding-bottom: 2px;
    text-align: left;
  }

  .footer-table td {
    display: block;
    padding: 4px 0;
  }

  .footer-table tr + tr td:first-child {
    padding-top: 12px;
  }

  .site-footer {
    padding: 40px 24px 24px;
  }

  .modal {
    padding: 30px 24px;
    width: 95%;
  }
}
