/* ==========================================================================
   Adhyarth Wealth & Asset Management — Research Page
   Extends the token system and component patterns established on the
   homepage (adhyarth-homepage.html) for visual consistency.
   ========================================================================== */

:root{
  --navy:#0D1B3D;
  --navy-deep:#081226;
  --gold:#C9A227;
  --gold-soft:#DCC066;
  --warm-white:#FAFAF8;
  --ivory:#F6F4EF;
  --charcoal:#2A2A27;
  --charcoal-soft:#5A5A54;
  --sage:#8A9A85;
  --pale-blue:#C6D2DE;
  --beige:#E9E2D3;
  --line:rgba(13,27,61,0.10);
  --radius:10px;
  --max:1240px;

  /* research-page-only accents */
  --up:#3F7D5C;
  --down:#B4482F;
  --hold:#B8912E;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter', sans-serif;
  color:var(--charcoal);
  background:var(--warm-white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Manrope', sans-serif;
  font-weight:600;
  color:var(--navy);
  letter-spacing:-0.02em;
  line-height:1.15;
}
a{text-decoration:none; color:inherit;}
img{max-width:100%; display:block;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
.eyebrow{
  font-family:'Manrope', sans-serif;
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.16em;
  text-transform:uppercase;
  color:var(--gold);
}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important; transition-duration:0.001ms !important;}
}

/* ---------- NAV ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(250,250,248,0.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
nav.wrap{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.logo-mount{display:flex; align-items:center;}
.logo{
  font-family:'Manrope', sans-serif;
  font-weight:700;
  font-size:17px;
  color:var(--navy);
  letter-spacing:-0.01em;
  display:flex; align-items:center; gap:10px;
}
.logo .mark{width:30px;height:30px;display:flex;align-items:center;justify-content:center;}
.logo .name-block{display:flex; flex-direction:column; line-height:1.1;}
.logo .sub{font-family:'Inter'; font-weight:500; font-size:9.5px; letter-spacing:0.14em; color:var(--gold); text-transform:uppercase; margin-top:2px;}
.logo--footer{color:var(--warm-white); font-size:16px; margin-bottom:16px;}
.nav-links{display:flex; align-items:center; gap:38px;}
.nav-links a{
  font-size:14.5px; font-weight:500; color:var(--charcoal-soft);
  position:relative; padding:4px 0;
  transition:color 0.25s ease;
}
.nav-links a.active{color:var(--navy);}
.nav-links a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px;
  background:var(--gold); transition:width 0.3s ease;
}
.nav-links a:hover{color:var(--navy);}
.nav-links a:hover::after, .nav-links a.active::after{width:100%;}
.btn{
  font-family:'Manrope', sans-serif;
  font-weight:600; font-size:13.5px;
  padding:12px 26px; border-radius:6px;
  cursor:pointer; border:1px solid transparent;
  transition:all 0.25s ease;
  display:inline-block;
}
.btn-primary{background:var(--navy); color:var(--warm-white);}
.btn-primary:hover{background:var(--gold); color:var(--navy-deep);}
.btn-outline{background:transparent; color:var(--navy); border-color:var(--navy);}
.btn-outline:hover{background:var(--navy); color:var(--warm-white);}
.btn-gold-outline{background:transparent; color:var(--warm-white); border-color:rgba(255,255,255,0.4);}
.btn-gold-outline:hover{border-color:var(--gold); color:var(--gold);}
.btn-sm{padding:9px 18px; font-size:12.5px;}
.btn[disabled]{opacity:0.55; cursor:not-allowed;}
.btn[disabled]:hover{background:var(--navy); color:var(--warm-white);}

/* ---------- PAGE HERO (compact, sub-page variant) ---------- */
.page-hero{
  padding:72px 0 56px;
  background:var(--ivory);
  border-bottom:1px solid var(--line);
}
.page-hero h1{font-size:clamp(30px, 3.8vw, 44px); margin:14px 0 16px;}
.page-hero p{color:var(--charcoal-soft); font-size:16px; max-width:560px;}
.page-hero .crumb{
  display:flex; gap:8px; align-items:center; margin-top:22px;
  font-family:'Manrope'; font-size:12.5px; font-weight:600; color:var(--sage);
  text-transform:uppercase; letter-spacing:0.06em;
}
.page-hero .crumb span{color:var(--navy);}

/* ---------- SECTION GENERAL ---------- */
section{padding:100px 0;}
section.alt{background:var(--ivory);}
.section-head{max-width:640px; margin-bottom:48px;}
.section-head.center{max-width:640px; margin-left:auto; margin-right:auto; text-align:center;}
.section-head h2{font-size:clamp(26px,2.8vw,36px); margin-top:14px;}
.section-head p{color:var(--charcoal-soft); margin-top:16px; font-size:16px;}
.section-head-row{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; flex-wrap:wrap; margin-bottom:48px;
}
.section-head-row .section-head{margin-bottom:0;}

/* ---------- NEWSLETTER ---------- */
.newsletter{
  background:linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 70%);
  color:var(--warm-white);
  position:relative; overflow:hidden;
}
.newsletter::before{
  content:''; position:absolute; top:-30%; right:-6%; width:420px; height:420px;
  border:1px solid rgba(201,162,39,0.18); border-radius:50%;
}
.newsletter .wrap{position:relative; z-index:1; display:grid; grid-template-columns:1fr 0.85fr; gap:64px; align-items:center;}
.newsletter .eyebrow{color:var(--gold-soft);}
.newsletter h2{color:var(--warm-white); font-size:clamp(26px,2.8vw,36px); margin:14px 0 16px;}
.newsletter p.lead{color:rgba(250,250,248,0.68); font-size:16px; max-width:420px; margin-bottom:0;}
.newsletter-perks{list-style:none; margin-top:26px; display:flex; flex-direction:column; gap:12px;}
.newsletter-perks li{
  display:flex; align-items:center; gap:12px;
  font-family:'Manrope'; font-weight:500; font-size:14.5px; color:rgba(250,250,248,0.85);
}
.newsletter-perks li::before{content:''; width:6px; height:6px; border-radius:50%; background:var(--gold); flex-shrink:0;}
.signup-card{
  background:rgba(250,250,248,0.04);
  border:1px solid rgba(250,250,248,0.14);
  border-radius:var(--radius);
  padding:34px;
  backdrop-filter:blur(6px);
}
.field{margin-bottom:18px;}
.field label{display:block; font-family:'Manrope'; font-weight:600; font-size:13px; color:var(--navy); margin-bottom:8px;}
.newsletter .field label{color:var(--warm-white);}
.field input, .field textarea, .field select{
  width:100%; padding:13px 16px; border:1px solid var(--line); border-radius:6px;
  font-family:'Inter'; font-size:14.5px; background:var(--warm-white); color:var(--charcoal);
  transition:border-color 0.25s ease;
}
.newsletter .field input{background:rgba(250,250,248,0.92); border-color:rgba(250,250,248,0.2);}
.field input:focus, .field textarea:focus, .field select:focus{outline:none; border-color:var(--gold);}
.field textarea{resize:vertical; min-height:110px;}
.field-note{font-size:12px; color:rgba(250,250,248,0.5); margin-top:14px; line-height:1.6;}
.form-status{
  font-family:'Manrope'; font-size:13px; font-weight:600; margin-top:14px;
  display:none;
}
.form-status.show{display:block;}
.form-status.success{color:var(--gold-soft);}

/* ---------- STOCK RESEARCH ---------- */
.stock-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.stock-card{
  background:var(--warm-white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px 26px;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  display:flex; flex-direction:column;
}
.stock-card:hover{transform:translateY(-4px); box-shadow:0 20px 40px -20px rgba(13,27,61,0.18);}
.stock-card-top{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:18px;}
.stock-ticker{font-family:'Manrope'; font-weight:700; font-size:13px; color:var(--navy); letter-spacing:0.03em;}
.stock-sector{display:block; font-size:12px; color:var(--charcoal-soft); margin-top:4px;}
.stock-tag{
  font-family:'Manrope'; font-weight:700; font-size:11px; letter-spacing:0.06em; text-transform:uppercase;
  padding:5px 11px; border-radius:20px; white-space:nowrap;
}
.stock-tag.buy{background:rgba(63,125,92,0.12); color:var(--up);}
.stock-tag.hold{background:rgba(184,145,46,0.14); color:var(--hold);}
.stock-tag.accumulate{background:rgba(201,162,39,0.14); color:var(--gold);}
.stock-card h3{font-size:18px; margin-bottom:10px;}
.stock-card p{color:var(--charcoal-soft); font-size:14.5px; margin-bottom:20px; flex-grow:1;}
.stock-meta{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:18px; border-top:1px solid var(--line);
  font-family:'Manrope'; font-size:12px; color:var(--sage); font-weight:600;
}
.learn-more{
  font-family:'Manrope'; font-weight:700; font-size:12.5px; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--navy); display:inline-flex; align-items:center; gap:6px;
}
.learn-more svg{transition:transform 0.25s ease;}
.stock-card:hover .learn-more svg{transform:translateX(4px);}

/* ---------- NEWS FEED (Twitter/X) ---------- */
.feed-panel{
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  background:var(--warm-white);
}
.feed-panel-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:20px 26px; border-bottom:1px solid var(--line); background:var(--ivory);
}
.feed-panel-head .who{display:flex; align-items:center; gap:12px;}
.feed-avatar{
  width:38px; height:38px; border-radius:50%; background:var(--navy);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.feed-panel-head h3{font-size:15.5px;}
.feed-panel-head .handle{font-size:13px; color:var(--charcoal-soft);}
.live-dot{
  display:inline-flex; align-items:center; gap:6px;
  font-family:'Manrope'; font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--sage);
}
.live-dot::before{content:''; width:6px; height:6px; border-radius:50%; background:var(--sage); animation:pulse 2s infinite;}
@keyframes pulse{0%,100%{opacity:1;} 50%{opacity:0.35;}}
.tweet{
  padding:22px 26px; border-bottom:1px solid var(--line);
  display:grid; grid-template-columns:38px 1fr; gap:14px;
}
.tweet:last-child{border-bottom:none;}
.tweet-avatar{width:38px; height:38px; border-radius:50%; background:var(--ivory); border:1px solid var(--line);}
.tweet-head{display:flex; align-items:baseline; gap:8px; margin-bottom:6px; flex-wrap:wrap;}
.tweet-head .name{font-family:'Manrope'; font-weight:700; font-size:14px; color:var(--navy);}
.tweet-head .handle{font-size:13px; color:var(--charcoal-soft);}
.tweet-head .time{font-size:13px; color:var(--sage);}
.tweet p{font-size:14.5px; color:var(--charcoal); margin-bottom:0;}
.feed-panel-foot{padding:18px 26px; text-align:center; border-top:1px solid var(--line);}

/* ---------- MARKET VIDEOS (YouTube) ---------- */
.video-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.video-card{
  border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:var(--warm-white);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}
.video-card:hover{transform:translateY(-4px); box-shadow:0 20px 40px -20px rgba(13,27,61,0.18);}
.video-thumb{
  aspect-ratio:16/9; position:relative;
  background:linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display:flex; align-items:center; justify-content:center;
}
.play-btn{
  width:52px; height:52px; border-radius:50%; background:rgba(250,250,248,0.14);
  border:1px solid rgba(250,250,248,0.4);
  display:flex; align-items:center; justify-content:center;
  transition:background 0.25s ease, transform 0.25s ease;
}
.video-card:hover .play-btn{background:var(--gold); transform:scale(1.06);}
.video-duration{
  position:absolute; bottom:10px; right:10px;
  background:rgba(8,18,38,0.75); color:var(--warm-white);
  font-family:'Manrope'; font-size:11px; font-weight:700;
  padding:3px 7px; border-radius:4px;
}
.video-body{padding:18px 20px 22px;}
.video-tag{font-family:'Manrope'; font-size:11px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--sage);}
.video-body h3{font-size:15.5px; margin:10px 0 8px; line-height:1.35;}
.video-body .video-meta{font-size:13px; color:var(--charcoal-soft);}
.videos-cta{text-align:center; margin-top:44px;}

/* ---------- FOOTER ---------- */
footer{background:var(--navy-deep); color:rgba(250,250,248,0.65); padding:76px 0 0;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(250,250,248,0.1);}
.footer-brand .logo{color:var(--warm-white); margin-bottom:16px;}
.footer-brand p{font-size:13.5px; line-height:1.7; max-width:280px; color:rgba(250,250,248,0.5);}
footer h4{font-family:'Manrope'; color:var(--warm-white); font-size:13px; letter-spacing:0.06em; text-transform:uppercase; margin-bottom:20px; font-weight:700;}
footer ul{list-style:none;}
footer li{margin-bottom:12px;}
footer a{font-size:14px; color:rgba(250,250,248,0.6); transition:color 0.25s ease;}
footer a:hover{color:var(--gold-soft);}
.footer-bottom{
  padding:26px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  font-size:12.5px; color:rgba(250,250,248,0.4);
}
.disclaimer{
  padding:24px 0; border-top:1px solid rgba(250,250,248,0.08);
  font-size:12px; color:rgba(250,250,248,0.35); line-height:1.7;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal{opacity:0; transform:translateY(18px); transition:opacity 0.7s ease, transform 0.7s ease;}
.reveal.in{opacity:1; transform:translateY(0);}

/* ---------- RESPONSIVE ---------- */
@media (max-width:980px){
  .nav-links{display:none;}
  .newsletter .wrap{grid-template-columns:1fr; gap:40px;}
  .stock-grid{grid-template-columns:repeat(2,1fr);}
  .video-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
  section{padding:72px 0;}
}
@media (max-width:560px){
  .stock-grid{grid-template-columns:1fr;}
  .video-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
  .tweet{grid-template-columns:32px 1fr;}
  .tweet-avatar{width:32px; height:32px;}
  .page-hero{padding:56px 0 40px;}
}