/* ==========================================================================
   WAVCX - SMART CRYPTO INVESTING PLATFORM (EXACT MATCH REFERENCE DESIGN)
   FULL RESPONSIVE STYLESHEET FOR DESKTOP, TABLET & MOBILE
   ========================================================================== */

:root {
  --wavcx-gold: #dfa51a;
  --wavcx-gold-dark: #b8860b;
  --wavcx-gold-light: #fffbeb;
  --wavcx-gold-border: rgba(223, 165, 26, 0.3);
  --grad-gold: linear-gradient(135deg, #e5a91b 0%, #b8860b 100%);
  --grad-gold-text: linear-gradient(135deg, #dfa51a 0%, #b8860b 100%);
  --grad-gold-btn: linear-gradient(135deg, #c58d1b 0%, #a87210 100%);

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #090d16;
  --bg-dark-card: #0f172a;

  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Layout Container */
.container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 700;
  font-size: 15px;
}

.nav-links a {
  color: #475569;
  padding: 4px 0;
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--grad-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-outline-pill {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  border-radius: var(--radius-full);
  padding: 9px 24px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-outline-pill:hover {
  border-color: var(--wavcx-gold);
  color: var(--wavcx-gold);
  background: #fffdf5;
}

.btn-gold-primary {
  background: var(--grad-gold-btn);
  color: #ffffff !important;
  border-radius: var(--radius-full);
  padding: 10px 28px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(197, 141, 27, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-gold-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(197, 141, 27, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #0f172a;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 24px;
  flex-direction: column;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.mobile-nav-drawer a {
  padding: 8px 0;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-drawer a.active {
  color: var(--wavcx-gold);
}

/* ==========================================================================
   2. HERO SECTION (INDEX PAGE)
   ========================================================================== */
.hero-section {
  padding-top: 130px;
  padding-bottom: 50px;
  background: radial-gradient(circle at 50% 10%, rgba(223, 165, 26, 0.08) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
  font-weight: 700;
  font-size: 13.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -1.5px;
  color: var(--text-dark);
  margin-bottom: 18px;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #dfa51a 0%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

.feature-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff3d6;
  color: #dfa51a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  margin-left: -8px;
}

.avatar-circle:first-child {
  margin-left: 0;
}

.hero-visual {
  flex: 1;
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle at 50% 50%, rgba(223, 165, 26, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}

.hero-graphic-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 15px 35px rgba(223, 165, 26, 0.15));
}

/* ==========================================================================
   3. ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */
.about-hero-section {
  padding-top: 130px;
  padding-bottom: 60px;
  background: radial-gradient(circle at 50% 0%, rgba(223, 165, 26, 0.08) 0%, transparent 70%);
}

.about-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-hero-content {
  flex: 1;
  max-width: 600px;
}

.about-hero-visual {
  flex: 1;
  max-width: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.about-timeline-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  position: relative;
}

.about-timeline-card:hover {
  border-color: var(--wavcx-gold-border);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(223, 165, 26, 0.1);
}

.about-year-badge {
  display: inline-block;
  background: var(--wavcx-gold-light);
  border: 1px solid #fde68a;
  color: var(--wavcx-gold-dark);
  font-weight: 900;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

/* ==========================================================================
   4. INVESTMENTS PAGE SPECIFIC STYLES
   ========================================================================== */
.invest-hero-section {
  padding-top: 130px;
  padding-bottom: 60px;
  background: radial-gradient(circle at 50% 0%, rgba(223, 165, 26, 0.08) 0%, transparent 70%);
  text-align: center;
}

.invest-flagship-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  margin-bottom: 70px;
}

.invest-flagship-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.invest-markets-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  margin-bottom: 80px;
}

.invest-calculator-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  margin-bottom: 80px;
}

.invest-calculator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.bullet-gold-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.bullet-gold-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: #334155;
  font-weight: 600;
}

.bullet-gold-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: var(--wavcx-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   5. STATS BAR & WIDGETS
   ========================================================================== */
.stats-bar-section {
  margin-bottom: 60px;
}

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

.stat-card-white {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.stat-card-white:hover {
  border-color: var(--wavcx-gold-border);
  box-shadow: 0 10px 30px rgba(223, 165, 26, 0.1);
  transform: translateY(-2px);
}

.stat-title {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.stat-change-green {
  font-size: 13px;
  color: var(--accent-green);
  font-weight: 700;
}

.stat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fffbeb;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  border: 1px solid #fef3c7;
}

.ticker-section { margin-bottom: 64px; }
.ticker-box {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-full);
  padding: 12px 24px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.ticker-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: tickerScroll 30s linear infinite; }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.ticker-symbol { color: #334155; display: flex; align-items: center; gap: 6px; }
.ticker-price-up { color: var(--accent-green); background: #ecfdf5; padding: 3px 9px; border-radius: var(--radius-full); font-size: 13px; }
.ticker-price-down { color: var(--accent-red); background: #fef2f2; padding: 3px 9px; border-radius: var(--radius-full); font-size: 13px; }

.dashboard-widgets-section { margin-bottom: 80px; }
.dashboard-widgets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.widget-card {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-xl);
  padding: 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; justify-content: space-between;
  transition: all 0.3s ease;
}
.widget-card:hover { border-color: var(--wavcx-gold-border); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07); }
.widget-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.widget-title { font-size: 16.5px; font-weight: 800; color: var(--text-dark); }
.widget-subtitle { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.widget-badge-pill { background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-full); }

.why-invest-section { margin-bottom: 80px; }
.section-header-center { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-title { font-size: 38px; font-weight: 900; letter-spacing: -0.75px; color: var(--text-dark); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--text-muted); line-height: 1.6; }
.why-invest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-xl);
  padding: 30px 24px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); transition: all 0.3s ease;
}
.why-card:hover { border-color: var(--wavcx-gold-border); box-shadow: 0 12px 30px rgba(223, 165, 26, 0.1); transform: translateY(-3px); }
.why-icon-box {
  width: 52px; height: 52px; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a;
  color: var(--wavcx-gold); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.why-card-title { font-size: 18px; font-weight: 800; color: var(--text-dark); margin-bottom: 10px; }
.why-card-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.bottom-cta-section { margin-bottom: 70px; }
.bottom-cta-card {
  background: linear-gradient(135deg, #090d16 0%, #172033 100%);
  border: 1px solid var(--wavcx-gold-border); border-radius: var(--radius-xl);
  padding: 48px 56px; color: #ffffff; display: flex; justify-content: space-between; align-items: center;
  position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.cta-headline { font-size: 38px; font-weight: 900; letter-spacing: -0.75px; line-height: 1.2; margin-bottom: 12px; }
.cta-subtext { font-size: 16.5px; color: #94a3b8; max-width: 520px; }
.cta-banner-graphic { max-width: 320px; height: auto; object-fit: contain; }

.footer-dark { background: var(--bg-dark); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 70px 5% 40px; color: #94a3b8; }
.footer-grid-5 { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px; margin-bottom: 50px; }
.footer-brand-desc { font-size: 14px; color: #64748b; line-height: 1.6; margin: 16px 0 24px; max-width: 320px; }
.social-icons-flex { display: flex; gap: 12px; }
.social-icon-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; color: #ffffff; font-size: 14px; }
.footer-col-title { font-size: 15px; font-weight: 800; color: #ffffff; margin-bottom: 20px; }
.footer-links-list { display: flex; flex-direction: column; gap: 12px; font-size: 14px; list-style: none; padding: 0; }
.footer-links-list a { color: #64748b; }
.newsletter-form { display: flex; gap: 8px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 4px; margin-top: 16px; }
.newsletter-input { background: transparent; border: none; padding: 8px 12px; color: #ffffff; font-size: 13.5px; flex: 1; }
.newsletter-btn { background: var(--wavcx-gold); border: none; width: 36px; height: 36px; border-radius: 8px; color: #ffffff; font-size: 15px; font-weight: bold; }
.footer-bottom-bar { border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #64748b; }
.floating-chat-bubble { position: fixed; bottom: 28px; right: 28px; width: 54px; height: 54px; border-radius: 50%; background: var(--grad-gold); color: #ffffff; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 8px 25px rgba(223, 165, 26, 0.4); z-index: 999; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP, TABLET & MOBILE)
   ========================================================================== */

/* Large Tablets & Laptops (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-headline { font-size: 42px; }
  .about-timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .about-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .crypto-grid-9 { grid-template-columns: repeat(5, 1fr); }
}

/* Medium Tablet & Mobile Header (up to 991px) */
@media (max-width: 991px) {
  .navbar { height: 72px; padding: 0 4%; }
  .nav-links { display: none; }
  .header-actions { display: flex !important; gap: 8px; }
  .btn-outline-pill { padding: 6px 14px; font-size: 12px; }
  .btn-gold-primary { padding: 7px 16px; font-size: 12.5px; }
  .mobile-menu-btn { display: block; }
  .hero-section, .about-hero-section, .invest-hero-section { padding-top: 100px; }
  .hero-grid, .about-hero-grid, .invest-flagship-grid, .invest-markets-grid, .invest-calculator-grid { flex-direction: column; grid-template-columns: 1fr !important; text-align: center; }
  .hero-content, .about-hero-content { max-width: 100%; }
  .about-hero-visual { max-width: 100%; }
  .hero-desc, .hero-features-grid { margin-left: auto; margin-right: auto; text-align: left; }
  .hero-actions, .social-proof { justify-content: center; }
  .about-mission-grid { grid-template-columns: 1fr; }
  .about-why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid-3, .dashboard-widgets-grid, .why-invest-grid { grid-template-columns: 1fr; }
  .bottom-cta-card { flex-direction: column; text-align: center; padding: 36px 24px; gap: 24px; }
  .footer-grid-5 { grid-template-columns: 1fr 1fr; }
  .invest-flagship-card, .invest-calculator-card { padding: 32px 24px; }
}

/* Mobile Devices (<767px) */
@media (max-width: 767px) {
  .hero-headline { font-size: 32px; }
  .about-timeline-grid,
  .about-pillars-grid,
  .about-why-grid,
  .stats-grid-3,
  .invest-flagship-grid,
  .invest-markets-grid,
  .invest-calculator-grid { grid-template-columns: 1fr !important; }
  .hero-features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions a { width: 100%; }
  .footer-grid-5 { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; gap: 16px; text-align: center; }
  .cta-headline { font-size: 26px; }
  .invest-flagship-card, .invest-calculator-card { padding: 24px 16px; }
}
