/* ============================================
   WEALTHASIA — Family Office Website
   Private Banking Aesthetic
   ============================================ */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a2e;
  background: #fafaf8;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === COLORS === */
:root {
  --navy: #0a1628;
  --navy-light: #142240;
  --navy-mid: #1a2a4a;
  --gold: #c8a96e;
  --gold-light: #d4b87a;
  --gold-dark: #b8984e;
  --white: #ffffff;
  --cream: #fafaf8;
  --grey-light: #f0f0eb;
  --grey: #8a8a8a;
  --grey-dark: #666;
  --text: #1a1a2e;
  --text-light: #555;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: 1rem; }
p { margin-bottom: 1rem; color: var(--text-light); font-size: 0.95rem; line-height: 1.7; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-padding { padding: 100px 0; }
.gold-accent { color: var(--gold); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-white-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* === SECTION DIVIDER === */
.section-divider {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1rem;
}
.section-divider-left {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 0 0 1rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}
.header.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.1);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
}
.logo-text span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after { width: 100%; }
.nav-cta {
  background: transparent !important;
  color: var(--gold) !important;
  border: 1.5px solid var(--gold) !important;
  padding: 8px 22px !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
  letter-spacing: 1px !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}
.nav-cta::after { display: none !important; }

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(200,169,110,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,169,110,0.2), transparent);
}
.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s ease forwards;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0.8;
}
.hero-badge::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero h1 .gold-accent {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
  margin-top: 4px;
}
.hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-stat h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 4px;
}
.hero-stat p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview {
  background: var(--white);
}
.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-preview h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
}
.about-preview h2 span { color: var(--gold); }
.about-preview p { font-size: 0.95rem; }
.about-preview .btn { margin-top: 1rem; }
.about-image {
  position: relative;
  height: 450px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-image::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(200,169,110,0.08) 0%, transparent 70%);
  top: -50px;
  right: -50px;
}
.about-image-inner {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
}
.about-image-inner strong {
  display: block;
  color: var(--gold);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  background: var(--cream);
  text-align: center;
}
.services h2 { margin-bottom: 0.5rem; }
.services > .container > p {
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 0.95rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 40px rgba(10,22,40,0.08);
  transform: translateY(-4px);
}
.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  transition: all 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--navy);
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0;
  line-height: 1.7;
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.approach h2 { color: var(--white); }
.approach h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin: 16px auto 0;
}
.approach > .container > p {
  max-width: 600px;
  margin: 0 auto 60px;
  color: rgba(255,255,255,0.6);
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.approach-step {
  text-align: center;
  padding: 0 12px;
}
.approach-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 12px;
}
.approach-step h4 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.approach-step p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   WHY WEALTHASIA
   ============================================ */
.why-us {
  background: var(--white);
  text-align: center;
}
.why-us h2 { margin-bottom: 0.5rem; }
.why-us > .container > p {
  max-width: 600px;
  margin: 0 auto 60px;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: left;
}
.why-us-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  margin-bottom: 8px;
}
.why-us-item p {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0;
}
.why-us-item .section-divider-left { margin-bottom: 16px; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-text { font-size: 1.1rem; }
.footer-brand p {
  color: var(--grey);
  font-size: 0.85rem;
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}
.footer h5 {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.footer-links a {
  display: block;
  color: var(--grey);
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p {
  color: var(--grey);
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
}
.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.page-header p {
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
}
.page-header .section-divider { margin-bottom: 24px; }

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-content {
  background: var(--white);
  padding: 80px 0;
}
.page-content .container {
  max-width: 800px;
}
.page-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}
.page-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--navy);
}
.page-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}
.page-content ul {
  margin-bottom: 1rem;
  padding-left: 20px;
}
.page-content ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
}
.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
.page-content .phase-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  border-left: 3px solid var(--gold);
}
.page-content .phase-card h3 {
  color: var(--navy);
  margin-top: 0;
}
.page-content .phase-card p {
  margin-bottom: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  margin-top: 0;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}
.contact-info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0;
}

/* === CONTACT FORM === */
.contact-form {
  background: var(--cream);
  border-radius: 12px;
  padding: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0dcd4;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .why-us-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview .container { grid-template-columns: 1fr; gap: 40px; }
  .about-image { height: 300px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    padding: 100px 40px;
    gap: 24px;
    transition: all 0.4s ease;
    z-index: 1001;
  }
  .nav-links.open { right: 0; }
  .mobile-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stat h3 { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .page-header { padding: 140px 0 60px; }
}
