/* ============================================
   Nexus Growth Advisors - Main Stylesheet
   Brand: Teal #005F63 + Orange #FF6B00
   ============================================ */

/* CSS Variables */
:root {
  --nexus-teal: #005F63;
  --nexus-teal-dark: #00474A;
  --nexus-teal-light: #007A80;
  --nexus-orange: #FF6B00;
  --nexus-orange-light: #FF8533;
  --nexus-orange-dark: #CC5500;
  --nexus-bg: #F5F5F7;
  --nexus-bg-alt: #EBEBED;
  --nexus-dark: #1A1A2E;
  --nexus-gray: #6B7280;
  --nexus-gray-light: #9CA3AF;
  --nexus-light: #FFFFFF;
  --nexus-font: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nexus-font-en: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--nexus-font);
  color: var(--nexus-dark);
  background: var(--nexus-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--nexus-teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--nexus-orange); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
  transition: all 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nexus-dark);
  letter-spacing: -0.5px;
}

.logo-accent {
  color: var(--nexus-teal);
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--nexus-gray);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  color: var(--nexus-dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nexus-teal);
  transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

.nav-cta {
  background: var(--nexus-teal) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  transition: background 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--nexus-teal-dark) !important; color: white !important; }

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nexus-dark);
  transition: all 0.3s;
}

/* Language Switcher */
.lang-switcher {
  margin-left: 20px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.lang-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--nexus-gray);
  border: 1px solid rgba(0,0,0,0.12);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.lang-btn:hover {
  color: var(--nexus-teal);
  border-color: var(--nexus-teal);
}

.lang-btn.active {
  color: #fff;
  background: var(--nexus-teal);
  border-color: var(--nexus-teal);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--nexus-dark) 0%, #0D3B3E 50%, var(--nexus-teal) 100%);
  color: white;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,208C384,192,480,128,576,133.3C672,139,768,213,864,213.3C960,213,1056,139,1152,117.3C1248,96,1344,128,1392,144L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
  background-size: cover;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-subtitle {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  color: var(--nexus-orange);
  margin-top: 8px;
}

.hero-description {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--nexus-orange);
  color: white;
}

.btn-primary:hover {
  background: var(--nexus-orange-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,107,0,0.3);
}

.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: white;
  background: transparent;
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
  color: white;
  transform: translateY(-2px);
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--nexus-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--nexus-gray);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============ ABOUT ============ */
.about {
  background: var(--nexus-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  background: white;
  padding: 40px 32px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.06);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.about-icon {
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.2rem;
  color: var(--nexus-dark);
  margin-bottom: 12px;
}

.about-card p {
  color: var(--nexus-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ SERVICES ============ */
.services {
  background: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  padding: 40px 36px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--nexus-teal);
  box-shadow: 0 8px 30px rgba(0,95,99,0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--nexus-teal);
  transition: height 0.3s;
}

.service-card:hover::before {
  height: 100%;
}

.service-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0,95,99,0.1);
  position: absolute;
  top: 20px;
  right: 24px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--nexus-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--nexus-gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ TEAM ============ */
.team {
  background: var(--nexus-bg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.team-card {
  background: white;
  padding: 32px 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0,0,0,0.06);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nexus-teal), var(--nexus-teal-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 auto 16px;
}

.team-card h3 {
  font-size: 1.05rem;
  color: var(--nexus-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8rem;
  color: var(--nexus-teal);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-bio {
  font-size: 0.82rem;
  color: var(--nexus-gray);
  line-height: 1.6;
}

/* ============ CONTACT ============ */
.contact {
  background: var(--nexus-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  padding: 40px;
  background: var(--nexus-dark);
  color: white;
  border-radius: 12px;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: white;
}

.contact-item {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-item strong {
  color: var(--nexus-orange);
  display: block;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--nexus-orange-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  font-family: var(--nexus-font);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--nexus-teal);
  box-shadow: 0 0 0 3px rgba(0,95,99,0.1);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--nexus-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  color: white;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
}

.footer-links li,
.footer-services li {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-links a,
.footer-services li {
  color: rgba(255,255,255,0.5);
}

.footer-links a:hover {
  color: var(--nexus-orange);
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--nexus-orange-light);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-legal {
  margin-top: 8px;
}
