:root {
  /* Lux Wealth Hub Premium Theme */
  --bg-main: #040812;          /* Ultra dark navy/black */
  --bg-card: #0c1221;          /* Elegant navy card background */
  --bg-nav: rgba(4, 8, 18, 0.85);
  --bg-input: #111a30;
  --border-color: rgba(255, 255, 255, 0.05);
  --border-gold: rgba(205, 160, 82, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  
  /* Brand Accent: Luxury Gold */
  --accent-gold: #cda052;
  --accent-gold-light: #f3cd82;
  --accent-gold-dark: #9c7a43;
  --gold-gradient: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 50%, var(--accent-gold-dark) 100%);
  --gold-text-gradient: linear-gradient(135deg, #ffecc7 0%, var(--accent-gold) 60%, var(--accent-gold-dark) 100%);
  
  /* Secondary Accent: Sky Blue (representing high-tech, execution speed) */
  --accent-blue: #0ea5e9;
  --accent-blue-light: #38bdf8;
  --blue-gradient: linear-gradient(135deg, var(--accent-blue-light) 0%, var(--accent-blue) 100%);
  
  --font-family: 'Outfit', 'Sarabun', sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.7);
  --shadow-gold-glow: 0 0 25px rgba(205, 160, 82, 0.15);
  --shadow-blue-glow: 0 0 25px rgba(14, 165, 233, 0.15);
  
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #151e33;
  border-radius: 5px;
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 100;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: var(--bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 70px;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-btn {
  background: var(--gold-gradient);
  color: #040812;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 15px rgba(205, 160, 82, 0.2);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(205, 160, 82, 0.35);
  filter: brightness(1.05);
}

.nav-btn-mobile {
  display: none;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  height: auto;
  position: relative;
  overflow: hidden;
  padding-top: 125px;
  padding-bottom: 40px;
}

.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 160, 82, 0.08) 0%, rgba(205, 160, 82, 0) 70%);
  filter: blur(80px);
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, rgba(14, 165, 233, 0) 70%);
  filter: blur(80px);
  z-index: 0;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  background: rgba(205, 160, 82, 0.04);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 16px;
  box-shadow: inset 0 0 10px rgba(205, 160, 82, 0.05);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 12px;
  background: var(--gold-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 640px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #040812;
  box-shadow: 0 4px 18px rgba(205, 160, 82, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(205, 160, 82, 0.4);
  filter: brightness(1.05);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

/* Sections Base */
.section {
  padding: 55px 0;
  position: relative;
}

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

.section-badge {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-blue-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-family: 'Outfit', 'Sarabun', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title.text-center {
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.section-subtitle.text-center {
  text-align: center;
}

/* Philosophy Section (Section 1) */
.philosophy-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: flex-start;
}

/* Client Image Frame Style */
.philosophy-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transform: rotate(-1deg);
  transition: transform var(--transition-normal);
}

.philosophy-image-wrapper:hover {
  transform: rotate(0) scale(1.02);
}

.image-border-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  pointer-events: none;
  box-shadow: inset 0 0 20px rgba(205, 160, 82, 0.2);
  z-index: 2;
}

.philosophy-img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/5;
  filter: brightness(0.92) contrast(1.03);
}

.image-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(4, 8, 18, 0.95) 40%, rgba(4, 8, 18, 0));
  padding: 24px 20px 16px 20px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  z-index: 3;
}

.philosophy-lead {
  font-size: 1.25rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 30px;
  border-left: 3px solid var(--accent-gold);
  padding-left: 16px;
}

/* Tab/Card stack for Right System vs Opportunities */
.philosophy-card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 35px;
}

.philosophy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.philosophy-card:hover {
  border-color: rgba(205, 160, 82, 0.25);
  box-shadow: var(--shadow-md), var(--shadow-gold-glow);
}

.card-icon-gold, .card-icon-blue {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-gold {
  background: rgba(205, 160, 82, 0.1);
  color: var(--accent-gold-light);
  border: 1px solid rgba(205, 160, 82, 0.2);
}

.card-icon-blue {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-blue-light);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.card-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 10px;
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bullet-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.bullet-list li::before {
  content: "•";
  position: absolute;
  left: 5px;
  color: var(--accent-gold);
  font-weight: bold;
}

/* Philosophy Summary Section */
.philosophy-summary {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.philosophy-summary p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.philosophy-summary p:last-child {
  margin-bottom: 0;
}

.philosophy-summary .highlight-text {
  color: var(--text-main);
  font-weight: 500;
  background: rgba(205, 160, 82, 0.05);
  border: 1px solid var(--border-gold);
  padding: 14px 18px;
  border-radius: 8px;
}

/* Why EA Section (Section 2) */
.why-ea {
  background: #060b19;
  overflow: hidden;
}

.why-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.04) 0%, rgba(14, 165, 233, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: var(--shadow-lg), var(--shadow-blue-glow);
}

.why-icon-wrapper {
  width: 56px;
  height: 56px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.why-icon {
  font-size: 1.6rem;
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.why-summary-callout {
  background: linear-gradient(135deg, rgba(205, 160, 82, 0.08) 0%, rgba(4, 8, 18, 0.4) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.callout-icon {
  font-size: 1.8rem;
}

.why-summary-callout p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* Portfolio Section */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16/10;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(4, 8, 18, 0.9) 0%, rgba(4, 8, 18, 0.4) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal);
  z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-zoom {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-gold-light);
  border: 1px solid var(--border-gold);
  background: rgba(205, 160, 82, 0.1);
  padding: 8px 18px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.span-col-2 {
  grid-column: span 2;
  aspect-ratio: auto;
}

.portfolio-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(4, 8, 18, 0.96);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 85%;
  max-height: 75%;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  animation: zoom var(--transition-normal);
}

@keyframes zoom {
  from {transform: scale(0.95); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

.close-lightbox {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--text-muted);
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-fast);
}

.close-lightbox:hover {
  color: var(--accent-gold-light);
}

.lightbox-caption {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-main);
  text-align: center;
  max-width: 600px;
  padding: 0 20px;
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: #02050b;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 38px;
  width: 38px;
}

.footer-brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h3, .footer-legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
  font-family: 'Outfit', 'Sarabun', sans-serif;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  padding-left: 5px;
}

.risk-disclaimer {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
  text-align: justify;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #64748b;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .navbar {
    height: 70px;
  }
  .hero {
    height: auto;
    min-height: auto;
    padding: 130px 0 70px 0;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .section {
    padding: 60px 0;
  }
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .philosophy-image-wrapper {
    max-width: 420px;
    margin: 0 auto;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 65px;
  }
  .nav-logo {
    height: 34px;
    width: 34px;
  }
  .brand-text {
    font-size: 1.05rem;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 65px);
    background-color: #040812;
    flex-direction: column;
    padding: 40px 0;
    gap: 20px;
    transition: var(--transition-normal);
    z-index: 100;
  }
  .nav-menu.active {
    left: 0;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .nav-btn {
    display: none;
  }
  .nav-btn-mobile {
    display: inline-block;
    background: var(--gold-gradient);
    color: #040812;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 8px;
    margin-top: 5px;
  }
  .hero {
    padding: 110px 0 50px 0;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .section {
    padding: 45px 0;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .philosophy-lead {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  .philosophy-card {
    padding: 16px;
    gap: 15px;
  }
  .philosophy-summary {
    padding: 16px;
  }
  .philosophy-summary .highlight-text {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  .why-card {
    padding: 20px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .close-lightbox {
    top: 15px;
    right: 20px;
  }
}

