* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ================= CONTAINER ================= */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ================= NAV ================= */

.nav {
  width: 100%;
  background: #000;
  position: relative;
  z-index: 10;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo img {
  width: 70px;
}

.logo span {
  font-size: 28px;
  color: #fff;
  margin-left: -32px;
  margin-top: 10px;
}

.logo .v {
  color: #2d6bff;
  font-weight: 700;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: -5px;
}

.nav-btn {
  background: #fff;
  color: #000;
  padding: 10px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 30%;
}

/* ================= HERO ================= */

.hero {
  width: 100%;
  background: #0000007c;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 150px 40px;
  position: relative;
  margin-top: -130px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.side-text {
  font-size: clamp(60px, 6vw, 110px);
  white-space: nowrap;
  margin-left: -75px;
}



.center-visual video {
  width: 750px;
  margin-left: 50px;
  display: block;
}

/* arcs */

.arc {
  position: absolute;
  width: 440px;
  height: 350px;
  border: 1px solid #ffffff3b;
  border-radius: 29%;
  top: 50%;
  transform: translateY(-50%);
}

.arc.left {
  left: -100px;
  clip-path: inset(0 55% 0 0);
}

.arc.right {
  right: -100px;
  clip-path: inset(0 0 0 55%);
}

/* ================= BOTTOM CONTENT ================= */

.bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 0;
}

.bottom-content h1 {
  font-size: 56px;
  font-weight: 400;
  margin-top: -210px;
  margin-left: -135px;
}

.bottom-content h1 span {
  color: #2d6bff;
}

.bottom-content p {
  margin-top: 16px;
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  margin-left: -135px;
}

.bottom-content button {
  margin-top: 25px;
  padding: 10px 26px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-left: -135px;
}

/* ================= FOOTER ================= */

.footer {
  width: 100%;
  background: #000;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left a {
  margin-right: 20px;
  font-size: 20px;
  text-decoration: none;
  background: linear-gradient(90deg,#2f66ff,#6f8cff,#fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-center {
  font-size: 15px;
  opacity: 0.85;
}

.footer-right a {
  margin-left: 20px;
  font-size: 13px;
  color: #fff;
  opacity: 0.75;
  text-decoration: none;
}

/* ================= CONTACT DRAWER ================= */

.contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 999;
}

.contact-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: #2c3553;
  padding: 40px 30px;
  transition: 0.5s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

.contact-drawer.active {
  right: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 12px;
  border: 2px solid #000;
  background: #e6e6e6;
}

.contact-form textarea {
  height: 140px;
  resize: none;
}

.contact-form button {
  margin-top: 20px;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid #000;
  font-size: 18px;
  cursor: pointer;
  background: #f1f1f1;
  width: 150px;
  margin-left: 90px;
}

.form-success {
  display: none;
}


.contact-drawer {
  position: fixed;
}

/* success message should not push layout */
.form-success {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  margin: 0;
}

.contact-header {
  position: sticky;
  top: 0;
  background: #2c3553;
  padding: 18px 20px 10px;
  z-index: 10;
}

.contact-header h2 {
  margin: 0;
  font-size: 26px;
  margin-left: -20px;
}

.contact-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}




/* ===================================================== */
/* ================= MOBILE OVERRIDE ONLY =============== */
/* ===================================================== */

@media (max-width: 768px) {

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 18px;
  }

  .nav-inner {
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .logo {
    justify-content: center;
    width: 100%;
  }

  .logo img {
    width: 55px;
  }

  .logo span {
    font-size: 22px;
    margin-left: -18px;
    margin-top: 6px;
  }

  .nav-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .dot {
    display: none;
  }

  .hero-container {
    padding: 110px 18px 50px;
    margin-top: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
  }

  .side-text {
    display: none;
  }

  .center-visual video {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .arc {
    display: none;
  }

  .bottom-content {
    padding: 30px 18px;
    text-align: center;
  }

  .bottom-content h1,
  .bottom-content p,
  .bottom-content button {
    margin-left: 0;
    margin-top: 0;
  }

  .bottom-content h1 {
    font-size: 32px;
  }

  .bottom-content p {
    font-size: 15px;
  }

  .bottom-content button {
    margin: 22px auto 0;
    display: block;
  }

  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px 16px;
  }

  .contact-drawer {
    width: 100%;
    right: -100%;
    padding: 30px 20px;
  }

  .contact-drawer.active {
    right: 0;
  }

  .contact-form button {
    width: 100%;
    margin-left: 0;
  }
}



/* FIX ONLY FOR 1200–1400 SCREENS */
@media (max-width: 1400px) and (min-width: 1100px) {

  .hero-inner {
    padding: 0 40px;
  }

  .side-text {
    font-size: 78px;

  }

  .center-visual video {
    width: 380px;
  }
}

/* ===== FIX FOR 1200 × 1400 ===== */
@media (max-width: 1400px) and (min-width: 1100px) {

  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-inner {
    margin-top: 0;
    transform: translateY(-40px);
  }

  .center-visual {
    position: relative;
    top: 0;
  }

  .home-wrap {
    margin-top: -60px;
  }
}

/* FIX HERO TEXT POSITION (1200–1400) */
@media (max-width: 1400px) and (min-width: 1100px) {

  .side-text {
    position: relative;
    top: 30px;
  }
}

@media (max-width: 1400px) and (min-width: 1100px) {
  .right-text {
    position: relative;
    left: 60px;
  }
}

html, body {
  overflow-x: hidden;
}

@media (max-width: 1400px) and (min-width: 1100px) {
  .bottom-content {
    position: relative;
    left: 160px;
    top: -160px;
  }
}

@media (max-width: 1400px) and (min-width: 1100px) {
  .center-visual {
    transform: translateX(-30px);
  }
}




@media (max-width: 1000px) and (min-width: 800px) {

  .hero {
    min-height: 100vh;
  }

  .hero-inner {
    padding: 0 24px;
  }

  .side-text {
    font-size: 56px;
  }

  .center-visual video {
    width: 320px;
  }

  .bottom-content h1 {
    font-size: 34px;
  }

  .bottom-content p {
    font-size: 14px;
  }
}

@media (max-width: 1000px) and (min-width: 800px) {
  .left-text {
    transform: translateX(80px);
  }
}



@media (max-width: 1000px) and (min-width: 800px) {
  .right-text {
    transform: translateX(110px);
  }
}




@media (max-width: 1000px) and (min-width: 800px) {

  /* left arc */
  .arc.left {
    left: 15px;
  }

  /* right arc */
  .arc.right {
    right: 20px;
  }

}

@media (max-width: 1000px) and (min-width: 800px) {

  .arc {
    width: 360px;
    height: 280px;
    border-radius: 29%;
  }

}

@media (max-width: 1000px) and (min-width: 800px) {

  .hero {
    padding-top: 100px;
  }

}

@media (max-width: 1000px) and (min-width: 800px) {
  .bottom-content {
    padding-left: 170px;
  }
}

@media (max-width: 1000px) and (min-width: 800px) {
  .bottom-content {
    margin-top: -120px;
  }
}

@media (max-width: 1000px) and (min-width: 800px) {
  .center-visual {
    transform: translateX(-30px);
  }
}


/* animation*/

.center-visual video {
  animation: floatRotate 14s linear infinite;
  transform-origin: center;
}

@keyframes floatRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.arc {
  animation: arcGlow 4s ease-in-out infinite;
}

@keyframes arcGlow {
  0% {
    opacity: 0.25;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    opacity: 0.25;
  }
}


.side-text {
  animation: textGlow 3.5s ease-in-out infinite;
}

@keyframes textGlow {
  0% {
    text-shadow: 0 0 0 rgba(45,107,255,0);
  }
  50% {
    text-shadow: 0 0 18px rgba(45,107,255,0.35);
  }
  100% {
    text-shadow: 0 0 0 rgba(45,107,255,0);
  }
}

.bottom-content button {
  transition: 0.25s ease;
}

.bottom-content button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255,255,255,0.15);
}




.typing {
  white-space: nowrap;
  border-right: 2px solid #2d6bff;
  padding-right: 6px;
  animation: blink 0.8s step-end infinite;

}



@keyframes blink {
  50% {
    border-color: transparent;
  }
}







