/* =============================================
   るーくんラボ — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700;900&family=Inter:wght@400;600;700;900&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg: #0a0a0a;
  --bg-sub: #1a1a1a;
  --bg-card: #141414;
  --accent: #f0b429;
  --accent-dark: #c89420;
  --accent-glow: rgba(240, 180, 41, 0.18);
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #444444;
  --border: rgba(255, 255, 255, 0.07);
  --border-accent: rgba(240, 180, 41, 0.35);
  --radius: 8px;
  --nav-h: 64px;
  --transition: 0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.nav-logo span { color: var(--text); font-weight: 300; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.875rem;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-links a.active { color: var(--accent); }

.nav-links a.nav-cta {
  background: var(--accent);
  color: #0a0a0a !important;
  font-weight: 700;
  margin-left: 0.5rem;
  padding: 0.45rem 1.1rem;
}
.nav-links a.nav-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10, 10, 10, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); }
.mobile-menu .mob-cta {
  margin-top: 0.75rem;
  background: var(--accent);
  color: #0a0a0a !important;
  font-weight: 700;
  text-align: center;
  padding: 0.875rem;
  border-radius: var(--radius);
  border-bottom: none;
}

/* =============================================
   PAGE WRAPPER
   ============================================= */
.page-wrapper { padding-top: var(--nav-h); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(240,180,41,0.05) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(240,180,41,0.03) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 820px;
  animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(240,180,41,0.1);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-headline {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.hero-headline .line-gold { color: var(--accent); display: block; }
.hero-headline .line-white { color: var(--text); display: block; }

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.9;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
}
.stat-num .plus { font-size: 1.5rem; opacity: 0.8; }
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Scroll indicator */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-down svg { opacity: 0.4; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.975rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(240, 180, 41, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-gold-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-accent);
}
.btn-gold-outline:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.75rem;
  font-size: 1.075rem;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 6rem 2rem;
}
.section-sm { padding: 4rem 2rem; }
.section-dark { background: var(--bg); }
.section-sub { background: var(--bg-sub); }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header { margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.section-title .accent { color: var(--accent); }
.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
  line-height: 1.9;
  font-weight: 300;
}

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card-icon {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =============================================
   GRIDS
   ============================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* =============================================
   TAGS / BADGES
   ============================================= */
.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-right: 0.3rem;
  margin-bottom: 0.3rem;
}
.tag-gold { background: rgba(240,180,41,0.12); color: var(--accent); border: 1px solid rgba(240,180,41,0.25); }
.tag-blue { background: rgba(99,179,237,0.1); color: #63b3ed; border: 1px solid rgba(99,179,237,0.25); }
.tag-green { background: rgba(104,211,145,0.1); color: #68d391; border: 1px solid rgba(104,211,145,0.25); }
.tag-red { background: rgba(252,129,129,0.1); color: #fc8181; border: 1px solid rgba(252,129,129,0.25); }

/* =============================================
   DIVIDERS
   ============================================= */
.divider { width: 100%; height: 1px; background: var(--border); margin: 2rem 0; }
.divider-accent { background: linear-gradient(90deg, transparent, var(--accent), transparent); }

/* =============================================
   TRADINGVIEW SECTION
   ============================================= */
.chart-section { padding: 4rem 2rem; background: var(--bg-sub); }
.chart-container {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 500px;
}
.tradingview-widget-container {
  height: 100%;
}
.tradingview-widget-container__widget {
  height: calc(100% - 32px);
}
.tradingview-widget-copyright {
  font-size: 0.7rem;
  text-align: center;
  padding: 8px;
  background: #131722;
}
.tradingview-widget-copyright a {
  color: #5d606b;
}

/* =============================================
   DATA SOURCES
   ============================================= */
.sources-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.source-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: all var(--transition);
}
.source-chip:hover {
  border-color: var(--border-accent);
  color: var(--text);
}
.source-chip .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(240,180,41,0.07) 0%, transparent 65%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band .section-title { margin: 0 auto 0.75rem; }
.cta-band .section-desc { margin: 0 auto 2.5rem; }

/* Email form inline */
.email-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  background: var(--bg-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
  padding: 0.875rem 1.25rem;
  outline: none;
  font-family: 'Noto Sans JP', sans-serif;
  transition: border-color var(--transition);
}
.email-form input[type="email"]:focus {
  border-color: var(--accent);
}
.email-form input[type="email"]::placeholder { color: var(--text-dim); }

.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  text-align: center;
}

/* =============================================
   CONTENT HUB
   ============================================= */
.category-block {
  margin-bottom: 3.5rem;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.category-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.category-name {
  font-size: 1.3rem;
  font-weight: 900;
}
.category-desc { font-size: 0.85rem; color: var(--text-muted); }

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
}
.content-card:hover {
  border-color: var(--border-accent);
  transform: translateX(4px);
}
.content-type-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.yt-icon { background: rgba(255,50,50,0.12); border: 1px solid rgba(255,50,50,0.25); }
.note-icon { background: rgba(0,200,80,0.1); border: 1px solid rgba(0,200,80,0.2); }
.content-info { flex: 1; }
.content-title { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.2rem; }
.content-meta { font-size: 0.75rem; color: var(--text-muted); }
.content-arrow { color: var(--accent); opacity: 0.6; font-size: 1.1rem; }

/* =============================================
   DATA DL PAGE
   ============================================= */
.lock-banner {
  background: linear-gradient(135deg, rgba(240,180,41,0.1), rgba(240,180,41,0.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}
.lock-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.lock-title { font-size: 1.25rem; font-weight: 900; color: var(--accent); margin-bottom: 0.5rem; }
.lock-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.dl-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.dl-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.dl-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
.dl-item:hover { border-color: var(--border-accent); }
.dl-item-icon {
  width: 42px; height: 42px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.dl-item-info { flex: 1; }
.dl-item-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.3rem; }
.dl-item-meta { font-size: 0.78rem; color: var(--text-muted); }
.dl-badge {
  background: rgba(240,180,41,0.1);
  border: 1px solid rgba(240,180,41,0.2);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  white-space: nowrap;
}
.dl-locked { filter: blur(0px); }
.dl-locked .dl-item-title { color: var(--text-muted); }

/* =============================================
   PROFILE PAGE
   ============================================= */
.profile-hero {
  padding: 5rem 2rem;
  background: var(--bg-sub);
  border-bottom: 1px solid var(--border);
}
.profile-card {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}
.profile-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(240,180,41,0.1);
}
.profile-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.profile-handle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.profile-bio {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 1.5rem;
}
.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all var(--transition);
}
.social-yt { background: rgba(255,50,50,0.12); border: 1px solid rgba(255,50,50,0.3); color: #ff6b6b; }
.social-yt:hover { background: rgba(255,50,50,0.2); color: #ff6b6b; transform: translateY(-2px); }
.social-note { background: rgba(0,200,80,0.1); border: 1px solid rgba(0,200,80,0.2); color: #48bb78; }
.social-note:hover { background: rgba(0,200,80,0.18); color: #48bb78; transform: translateY(-2px); }

.skills-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.skill-row { display: flex; align-items: center; gap: 1rem; }
.skill-label { min-width: 150px; font-size: 0.85rem; color: var(--text-muted); flex-shrink: 0; }
.skill-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--accent); border-radius: 2px; animation: barFill 1.5s ease forwards; }
@keyframes barFill { from { width: 0 !important; } }

/* =============================================
   DISCLAIMER PAGE
   ============================================= */
.prose h2 { font-size: 1.2rem; font-weight: 700; color: var(--accent); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.prose p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 1rem; font-weight: 300; }
.prose ul { padding-left: 1.25rem; }
.prose ul li { font-size: 0.9rem; color: var(--text-muted); line-height: 1.9; font-weight: 300; margin-bottom: 0.4rem; list-style: disc; }
.prose-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.prose-box p { margin-bottom: 0; font-size: 0.9rem; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 5rem 2rem 3.5rem;
  background: var(--bg-sub);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(240,180,41,0.05) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.page-title .accent { color: var(--accent); }
.page-subtitle { color: var(--text-muted); font-size: 0.95rem; font-weight: 300; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-dim); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg-sub);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--text); font-weight: 300; }
.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.25rem;
}
.footer-social { display: flex; gap: 0.75rem; }
.f-social-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.f-social-yt { background: rgba(255,50,50,0.1); border: 1px solid rgba(255,50,50,0.2); color: #ff6b6b; }
.f-social-yt:hover { background: rgba(255,50,50,0.2); color: #ff6b6b; }
.f-social-note { background: rgba(0,200,80,0.08); border: 1px solid rgba(0,200,80,0.18); color: #48bb78; }
.f-social-note:hover { background: rgba(0,200,80,0.15); color: #48bb78; }

.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-links-list { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-list a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links-list a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 0.78rem; color: var(--text-dim); }
.footer-disclaimer-link { font-size: 0.78rem; color: var(--text-dim); transition: color var(--transition); }
.footer-disclaimer-link:hover { color: var(--text-muted); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
  .profile-card { flex-direction: column; align-items: center; text-align: center; }
  .social-links { justify-content: center; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .section { padding: 4rem 1.25rem; }
  .section-sm { padding: 2.5rem 1.25rem; }

  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.75rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  .chart-container { height: 380px; }
  .tradingview-widget-container__widget { height: calc(100% - 32px); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .email-form { flex-direction: column; }
  .email-form input[type="email"], .email-form .btn { width: 100%; }

  .page-hero { padding: 3.5rem 1.25rem 2.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { padding: 0.95rem 2rem; font-size: 1rem; width: 100%; justify-content: center; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
}
