/* ================================================
   ANGEL ANALYST RESEARCH & CONSULTING
   Brand theme — matches AARC logo: red -> charcoal
   gradient, clean Poppins typography, white surfaces.
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

:root {
  /* Angel Analyst Research & Consulting — brand palette
     (exact colors from AARC Logo Design.pptx / AARC_mark.png: red -> charcoal) */
  --gold: #DF0000;            /* primary brand red */
  --gold-light: #ff5252;
  --gold-dim: rgba(223,0,0,0.08);
  --charcoal: #323232;        /* exact logo charcoal — gradient endpoint */
  --cyan: #6b7280;            /* neutral grey secondary accent for labels/tags */
  --cyan-dim: rgba(107,114,128,0.08);
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --bg-card2: #fafafa;
  --text-main: #1f1f1f;
  --text-muted: #62646a;
  --text-dim: #9a9ca2;
  --border: #e7e3e3;
  --border-cyan: #e6e7e9;
  --wire: rgba(223,0,0,0.03);
  --glow-gold: 0 8px 22px rgba(223,0,0,0.14);
  --glow-cyan: 0 8px 18px rgba(50,50,50,0.10);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Rajdhani', 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ── CANVAS BACKGROUND — disabled; the floating wire effect
   doesn't suit a clean professional brand look ── */
#neural-canvas {
  display: none;
}

.page-wrap {
  position: relative;
  z-index: 1;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -0.01em; }

h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.18; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.mono { font-family: 'Share Tech Mono', monospace; }
.gold {
  background: linear-gradient(90deg, var(--gold) 0%, var(--charcoal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cyan { color: var(--cyan); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: all 0.3s;
}

nav.scrolled {
  background: rgba(255,255,255,1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

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

.nav-logo .logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--charcoal));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

.nav-logo .logo-icon::before {
  content: '✦';
  color: #ffffff;
  font-size: 15px;
}

.nav-logo-text {
  display: flex; flex-direction: column;
  line-height: 1;
}

.nav-logo-text .brand { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--text-main); letter-spacing: -0.01em; }
.nav-logo-text .sub { font-family: 'Rajdhani', sans-serif; font-size: 10px; color: var(--text-muted); letter-spacing: 0.18em; text-transform: uppercase; margin-top: 1px; }

.nav-links {
  display: flex; gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.3s;
  font-family: 'Rajdhani', sans-serif;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #ffffff !important;
  padding: 9px 22px !important;
  border-radius: 6px;
  transition: all 0.3s !important;
}

.nav-cta:hover {
  background: var(--charcoal) !important;
  border-color: var(--charcoal) !important;
  color: #ffffff !important;
}

.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 2rem 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(223,0,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(223,0,0,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-content {
  text-align: center;
  max-width: 880px;
  position: relative;
}

.hero-eyebrow {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-eyebrow::before { content: ''; }
.hero-eyebrow::after { content: ''; }

.hero h1 {
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero h1 span { 
  display: block;
  background: linear-gradient(90deg, var(--gold) 0%, var(--charcoal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero-stats {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 1.1s forwards;
}

.stat-item { text-align: center; }
.stat-num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 2.1rem; color: var(--gold); line-height: 1; }
.stat-label { font-size: 11px; color: var(--text-muted); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 8px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-radius: 7px;
  transition: all 0.25s;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--charcoal));
  color: #ffffff;
}

.btn-primary:hover {
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}

.btn-cyan {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--border);
}

.btn-cyan:hover {
  background: var(--cyan-dim);
  border-color: var(--charcoal);
}

/* ── SECTION ── */
section {
  padding: 90px 2rem;
}

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

.section-header {
  margin-bottom: 56px;
  text-align: center;
}

.section-tag {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 16px;
}

.section-line {
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--charcoal));
  margin: 16px auto 0;
}

.section-desc {
  color: var(--text-muted);
  max-width: 580px;
  margin: 20px auto 0;
  font-size: 1.05rem;
}

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px 28px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--charcoal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.card:hover { 
  border-color: rgba(223,0,0,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 50px; height: 50px;
  border-radius: 10px;
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
  color: var(--gold);
  position: relative;
}

.card-icon::after { content: none; }

.card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── PAGE HERO ── */
.page-hero {
  padding: 150px 2rem 70px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(223,0,0,0.035) 0%, transparent 100%);
}

.page-hero-tag {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb span { color: var(--text-dim); }

/* ── TICKER ── */
.ticker-bar {
  background: var(--bg-card2);
  border-top: 1px solid var(--border-cyan);
  border-bottom: 1px solid var(--border-cyan);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
}

.ticker-item { display: flex; gap: 10px; }
.ticker-sym { color: var(--gold); font-weight: 700; }
.ticker-val { color: var(--text-main); }
.ticker-chg.up { color: #0a8a3f; }
.ticker-chg.down { color: #c92a2a; }

/* ── TABLE ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--bg-card2);
  color: var(--text-main);
  padding: 14px 18px;
  text-align: left;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--gold);
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}

.data-table tr:hover td {
  background: var(--gold-dim);
  color: var(--text-main);
}

.badge {
  display: inline-block;
  padding: 4px 11px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  border-radius: 20px;
}

.badge-buy { background: rgba(10,138,63,0.1); color: #0a8a3f; border: 1px solid rgba(10,138,63,0.25); }
.badge-hold { background: rgba(107,114,128,0.1); color: var(--cyan); border: 1px solid var(--border-cyan); }
.badge-sell { background: rgba(201,42,42,0.1); color: #c92a2a; border: 1px solid rgba(201,42,42,0.25); }
.badge-neutral { background: rgba(107,114,128,0.08); color: var(--cyan); border: 1px solid var(--border-cyan); }

/* ── TEAM CARD ── */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.team-card:hover {
  border-color: rgba(223,0,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--glow-gold);
}

.team-avatar {
  width: 86px; height: 86px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--charcoal));
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  position: relative;
}

.team-avatar::after { content: none; }

.team-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.team-role { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; font-family: 'Rajdhani', sans-serif; }
.team-bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

/* ── CONTACT FORM ── */
.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-main);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  color: var(--text-main);
  padding: 13px 16px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  transition: all 0.25s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(223,0,0,0.10);
}

.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select option { background: #ffffff; color: var(--text-main); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  border-top: 4px solid var(--gold);
  padding: 64px 2rem 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 46px;
}

.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-top: 16px; line-height: 1.7; }
.footer-brand .nav-logo-text .brand { color: #ffffff; }
.footer-brand .nav-logo-text .sub { color: rgba(255,255,255,0.55); }

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  color: rgba(255,255,255,0.45);
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 50px 0;
}

/* ── GLOW BOX ── */
.glow-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 38px;
  background: var(--bg-card2);
  position: relative;
}

.glow-box::after { content: none; }

/* ── HIGHLIGHT BOX ── */
.highlight-bar {
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 18px 26px;
  margin: 28px 0;
}

.highlight-bar p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ── PROCESS STEPS ── */
.step-list { list-style: none; counter-reset: steps; }
.step-item {
  counter-increment: steps;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.step-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--charcoal));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #ffffff;
}

.step-num::before { content: counter(steps, decimal-leading-zero); }

.step-content h4 { margin-bottom: 7px; color: var(--text-main); font-size: 1.02rem; }
.step-content p { color: var(--text-muted); font-size: 0.9rem; }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--border));
}

.timeline-item {
  position: relative;
  padding: 0 0 36px 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px; top: 5px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--gold);
}

.timeline-date {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.timeline-title { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--text-main); margin-bottom: 7px; }
.timeline-desc { color: var(--text-muted); font-size: 0.9rem; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-main);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  transition: color 0.3s;
}

.faq-q:hover { color: var(--gold); }
.faq-q .faq-icon { color: var(--gold); font-size: 18px; transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(223,0,0,0.25); }
  100% { box-shadow: 0 0 0 16px rgba(223,0,0,0); }
}

@keyframes scanline {
  from { transform: translateY(-100%); }
  to { transform: translateY(100vh); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(255,255,255,1); padding: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 30px; }
}

@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
