body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: transparent !important; /* For background video to show */
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  color: #222;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 2.2rem;
  font-weight: 800;
  color: #E94560;
  letter-spacing: 2px;
  text-decoration: none;
}
nav a, .dev-link {
  text-decoration: none;
  color: #E94560;
  font-weight: 600;
  margin: 0 1rem;
  transition: color 0.3s;
}
nav a:hover, .dev-link:hover {
  color: #F9D423;
}
.trading-btn {
  background: linear-gradient(90deg, #e94560 30%, #ffb347 100%);
  color: #fff;
  border: none;
  border-radius: 1.5rem;
  padding: 0.7rem 1.7rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(233,69,96,0.16);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.trading-btn.large {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
}
.trading-btn:hover {
  background: linear-gradient(90deg, #ffb347 40%, #e94560 100%);
  transform: translateY(-2px) scale(1.03);
}
/* --- Responsive Universal Header --- */
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem 1rem;
  position: relative;
  z-index: 1200;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 2.2rem;
  font-weight: 800;
  color: #E94560;
  letter-spacing: 2px;
  text-decoration: none;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 1.07rem;
  z-index: 10;
}
nav.main-nav a, .dev-link {
  text-decoration: none;
  color: #E94560;
  font-weight: 600;
  transition: color 0.3s;
}
nav.main-nav a:hover, .dev-link:hover {
  color: #F9D423;
}
.trading-btn {
  background: linear-gradient(90deg, #e94560 30%, #ffb347 100%);
  color: #fff;
  border: none;
  border-radius: 1.5rem;
  padding: 0.7rem 1.7rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(233,69,96,0.16);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.trading-btn:hover {
  background: linear-gradient(90deg, #ffb347 40%, #e94560 100%);
  transform: translateY(-2px) scale(1.03);
}
/* Hamburger icon */
.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 1rem;
}
.menu-icon span {
  display: block;
  height: 4px;
  margin: 5px 0;
  background: #E94560;
  border-radius: 2px;
  transition: 0.3s;
}
/* X close icon */
.close-icon {
  display: none;
  position: fixed;
  top: 28px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #E94560;
  z-index: 1200;
  cursor: pointer;
  transition: color 0.2s;
}
.close-icon.show {
  display: block;
}

/* --- Mobile Navigation --- */
@media (max-width: 900px) {
  nav.main-nav {
    position: fixed;
    top: 0; right: -100vw;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: rgba(255,255,255,0.99);
    box-shadow: -2px 0 28px 0 rgba(73,160,157,0.13);
    flex-direction: column;
    align-items: flex-start;
    padding: 4.5rem 2rem 2rem 2rem;
    gap: 1.4rem;
    font-size: 1.2rem;
    transition: right 0.36s cubic-bezier(.75,0,.25,1);
    z-index: 1100;
  }
  nav.main-nav.nav-active {
    right: 0;
  }
  nav.main-nav a, nav.main-nav button {
    width: 100%;
    text-align: left;
    padding: 0.6rem 0 0.6rem 0.3rem;
    font-size: 1.14rem;
    border-radius: 0.6rem;
    margin: 0;
  }
  .menu-icon {
    display: flex;
  }
  .header-flex {
    padding: 1.1rem 1rem 1.1rem 1rem;
  }
  .close-icon {
    display: none;
  }
  body.nav-open {
    overflow: hidden;
  }
}
/* Make sure .container is always 100% width on mobile */
@media (max-width: 900px) {
  .container {
    width: 100%;
    max-width: 100vw;
    padding: 0;
  }
}
/* Video backgrounds */
.background-video-wrap {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -10;
  overflow: hidden;
}
.background-video-wrap video {
  min-width: 100vw; min-height: 100vh;
  object-fit: cover;
  width: 100vw; height: 100vh;
  filter: brightness(0.37) blur(2px) grayscale(0.2);
}
.background-video-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.33);
  z-index: -9;
  pointer-events: none;
}

/* Hero Video */
.video-hero {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 2.5rem auto 3.5rem auto;
  box-shadow: 0 8px 36px 0 rgba(233,69,96,0.17);
  border-radius: 1.5rem;
  overflow: hidden;
  background: #fff;
  min-height: 320px;
}
.video-hero video {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  border-radius: 1.5rem;
}

/* About Content */
.about-content {
  max-width: 1000px;
  margin: 0 auto 2.5rem auto;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 24px 0 rgba(233,69,96,0.10);
  border-radius: 1.5rem;
  padding: 2.4rem 2rem;
}
.about-content h1 {
  color: #E94560;
  margin-bottom: 0.8rem;
}
.about-content h2 {
  color: #F9D423;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}
.about-content p {
  font-size: 1.13rem;
  color: #333;
  line-height: 1.7;
}
.about-content ul {
  margin-left: 1.25rem;
  color: #E94560;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
}

/* Team Section */
.team-section {
  max-width: 1000px;
  margin: 3rem auto;
  text-align: center;
}
.team-section h2 {
  color: #E94560;
}
.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
}
.team-card {
  background: rgba(255,255,255,0.93);
  border-radius: 1.2rem;
  box-shadow: 0 2px 10px 0 rgba(233,69,96,0.09);
  padding: 1.5rem 1.2rem;
  max-width: 240px;
  flex: 1 1 220px;
  transition: transform 0.16s, box-shadow 0.16s;
  border: 1.3px solid #ffb34726;
}
.team-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 6px 26px 0 rgba(233,69,96,0.14);
}
.team-img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #F9D42333;
  background: #fdeee7;
  box-shadow: 0 0 0 7px #fff8;
}
.team-card h3 {
  margin: 0.5rem 0 0.2rem 0;
  color: #E94560;
  font-size: 1.15rem;
}
.team-card .role {
  color: #F9D423;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.team-card p {
  font-size: 0.99rem;
  color: #444;
  line-height: 1.45;
}

/* Partners Section */
.partners-section {
  max-width: 900px;
  margin: 3.5rem auto 2.5rem auto;
  background: rgba(255,255,255,0.96);
  border-radius: 1.4rem;
  box-shadow: 0 2px 24px 0 rgba(249,212,35,0.09);
  padding: 2.3rem 1.8rem 2.6rem 1.8rem;
  text-align: center;
  border: 1.3px solid #ffb34726;
}
.mesoflix-logo {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 0.7rem;
}
.mesoflix-logo svg {
  width: 76px; height: 42px;
  display: inline-block;
  vertical-align: middle;
}
.mesoflix-name {
  font-size: 2rem;
  font-weight: 700;
  color: #E94560;
  display: block;
  margin-top: 0.4rem;
  letter-spacing: 1px;
}
.mesoflix-desc {
  color: #333;
  font-size: 1.07rem;
  margin-top: 0.5rem;
  margin-bottom: 1.2rem;
}
.mesoflix-link {
  display: inline-block;
  color: #fff;
  background: linear-gradient(90deg, #e94560 30%, #ffb347 100%);
  border-radius: 1.3rem;
  padding: 0.65rem 1.6rem;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(233,69,96,0.10);
}
.mesoflix-link:hover {
  background: linear-gradient(90deg, #ffb347 50%, #e94560 100%);
  color: #E94560;
}

/* Footer */
footer {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  border-top: 1.5px solid #e9456015;
  padding: 2rem 0 0 0;
  margin-top: 4rem;
  color: #222;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}
.footer-section {
  flex: 1 1 180px;
  margin-bottom: 1rem;
}
.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: #E94560;
}
.footer-section .quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}
.footer-section .quick-links a {
  color: #E94560;
  text-decoration: none;
  font-size: 1.05rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.7rem;
  transition: background 0.18s, color 0.18s;
  width: fit-content;
}
.footer-section .quick-links a:hover {
  background: #F9D423;
  color: #fff;
}
.small-social-icons a {
  color: #E94560;
  font-size: 1.4rem;
  margin-right: 0.8rem;
  transition: color 0.2s;
}
.small-social-icons a:hover {
  color: #F9D423;
}
.footer-bottom {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 2rem;
  padding-bottom: 0.7rem;
}
.dev-link {
  display: inline-block;
  color: #E94560;
  margin-top: 1rem;
  font-size: 1rem;
  transition: color 0.2s;
}

/* Responsive */
@media (max-width: 900px) {
  .team-members { flex-direction: column; }
  .video-hero video { height: 200px; }
  .about-content, .partners-section, .contact-container { padding: 1rem 1rem; }
  .footer-container { flex-direction: column; align-items: center; }
}
