/* ══════════════════════════════════════════
 MAI Deal - Landing Page Styles
 ══════════════════════════════════════════ */

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.7);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  transition: all 0.4s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-text {
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--black) !important;
}


/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-tag-line {
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.hero-tag-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: 1.08;
  font-weight: 400;
  max-width: 900px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-chinese {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-top: auto;
  padding-top: 4rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}


/* ── Sections common ── */
section {
  padding: 7rem 3rem;
  position: relative;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dark-border), transparent);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-tag-num {
  font-family: 'DM Serif Display', serif;
  font-size: 0.85rem;
  color: var(--gold);
}

.section-tag-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3.5rem;
}


/* ── What We Do ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--dark);
  border: 1px solid var(--dark-border);
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  border-color: rgba(201,168,76,0.2);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.service-card .service-zh {
  font-family: 'DM Serif Display', serif;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.service-markets {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.market-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--dark-border);
  color: var(--text-muted);
}

/* ── Edge / Why MAI ── */
.edge-section {
  background: var(--dark);
}

.edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.edge-content {
  max-width: 500px;
}

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

.edge-feature {
  padding-left: 1.5rem;
  border-left: 2px solid var(--dark-border);
  transition: border-color 0.3s;
}

.edge-feature:hover {
  border-color: var(--gold);
}

.edge-feature h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.edge-feature p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── How It Works ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: steps;
}

.process-step {
  counter-increment: steps;
  position: relative;
  padding-top: 2.5rem;
}

.process-step::before {
  content: counter(steps, decimal-leading-zero);
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--dark-border);
  position: absolute;
  top: 0;
  left: 0;
  transition: color 0.3s;
}

.process-step:hover::before {
  color: var(--gold-dim);
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
  color: var(--text-primary);
}

.process-step p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ── CTA ── */
.cta-section {
  text-align: center;
  padding: 8rem 3rem;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}

.cta-section .section-desc {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cta-email {
  display: block;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-email a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s;
}

.cta-email a:hover {
  color: var(--gold-light);
}

/* ── Footer ── */
footer {
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--dark-border);
}

.footer-left {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.footer-right {
  display: flex;
  gap: 2rem;
}

.footer-right a {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: var(--gold);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav { padding: 1rem 2rem; }
  section { padding: 5rem 2rem; }
  .hero { padding: 7rem 2rem 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .edge-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 6rem 1.5rem 2rem; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-right { gap: 1.5rem; }
}

/* Mobile language toggle */
.mobile-lang-switch {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 101;
}

@media (max-width: 768px) {
  .mobile-lang-switch { display: flex; }
}
