/* Home landing page — Focus Shares & Securities */
/* Header/nav: see css/focus-main.css (shared partials/header.html) */

:root {
  --home-orange: #f58220;
  --home-orange-dark: #e06d10;
  --home-purple: #662d91;
  --home-purple-dark: #4a1f6b;
  --home-navy: #003366;
  --home-navy-light: #0d4a7a;
  --home-max: 1200px;
  --home-font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

body.home-page {
  margin: 0;
  font-family: var(--home-font);
  color: #333;
  background: #fff;
}

.home-page a { text-decoration: none; }

/* Top brand strip */
.home-top {
  display: flex;
  align-items: stretch;
  min-height: 72px;
  border-bottom: 3px solid var(--home-orange);
}

.home-top__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #fff;
}

.home-top__logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--home-orange), #ffb347);
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--home-purple);
}

.home-top__logo-text strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: var(--home-purple);
  line-height: 1.2;
}

.home-top__logo-text span {
  font-size: 11px;
  color: #222;
  font-weight: 700;
}

.home-top__banner {
  flex: 1;
  background: linear-gradient(90deg, var(--home-orange) 0%, #ff9a3c 100%);
  clip-path: polygon(4% 0, 100% 0, 100% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 32px 12px 8%;
  margin-left: -2%;
}

.home-top__banner h1 {
  margin: 0;
  font-size: clamp(18px, 2.5vw, 26px);
  color: var(--home-navy);
  font-weight: 700;
}

.home-top__banner p {
  margin: 4px 0 0;
  font-size: 13px;
  color: rgba(0, 51, 102, 0.85);
  font-style: italic;
}

/* Main nav */
.home-nav {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.home-nav__inner {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 12px;
  color: var(--home-navy);
}

.home-nav__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.home-nav__links a {
  display: block;
  padding: 16px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #222;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.home-nav__links a:hover,
.home-nav__links a.active {
  color: var(--home-orange);
  border-bottom-color: var(--home-orange);
}

/* Hero */
.home-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(105deg, rgba(0,51,102,0.92) 0%, rgba(102,45,145,0.75) 45%, rgba(245,130,32,0.4) 100%),
    url("../img/online-trading.jpg") center/cover no-repeat;
  overflow: hidden;
}

.home-hero__inner {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.home-hero__content h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.home-hero__content h2 .purple { color: #c9b8e8; display: block; }
.home-hero__content h2 .orange { color: var(--home-orange); display: block; }

.home-hero__tagline {
  color: rgba(255,255,255,0.95);
  font-size: 16px;
  font-weight: 600;
  margin: 16px 0 12px;
}

.home-hero__text {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  max-width: 480px;
  line-height: 1.7;
  margin: 0 0 28px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(180deg, #ff9a3c, var(--home-orange));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-radius: 6px;
  border: none;
  box-shadow: 0 4px 16px rgba(245,130,32,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,130,32,0.55);
  color: #fff;
}

.home-hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.home-hero__chart {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  backdrop-filter: blur(4px);
}

.hero-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
  margin-bottom: 16px;
}

.hero-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--home-orange), var(--home-purple));
  border-radius: 4px 4px 0 0;
  opacity: 0.9;
}

.hero-bars span:nth-child(1) { height: 45%; }
.hero-bars span:nth-child(2) { height: 70%; }
.hero-bars span:nth-child(3) { height: 55%; }
.hero-bars span:nth-child(4) { height: 90%; }
.hero-bars span:nth-child(5) { height: 65%; }

.hero-arrow {
  font-size: 48px;
  color: var(--home-orange);
  text-align: center;
  line-height: 1;
}

/* Why + Services */
.home-section {
  max-width: var(--home-max);
  margin: 0 auto;
  padding: 56px 20px;
}

.home-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

.why-box {
  background: linear-gradient(180deg, var(--home-navy) 0%, var(--home-purple-dark) 100%);
  color: #fff;
  padding: 28px 24px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,51,102,0.25);
}

.why-box__icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.why-box h3 {
  margin: 0 0 20px;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.why-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.why-box li {
  padding: 10px 0;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.why-box li::before {
  content: "✓";
  color: var(--home-orange);
  font-weight: 700;
  flex-shrink: 0;
}

.services-head {
  color: var(--home-purple);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(102,45,145,0.12);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 14px;
}

.service-card__icon.purple { background: #f0e8f5; }
.service-card__icon.orange { background: #fff4e6; }

.service-card h4 {
  margin: 0 0 8px;
  color: var(--home-navy);
  font-size: 15px;
}

.service-card p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Our Journey */
.home-journey {
  background: #f8f9fc;
  padding: 56px 20px;
}

.home-journey__inner {
  max-width: var(--home-max);
  margin: 0 auto;
}

.home-journey__title {
  margin: 0 0 28px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
}

.home-journey__title .purple { color: var(--home-purple); }
.home-journey__title .orange { color: var(--home-orange); }

.home-journey__content {
  background: #fff;
  border-radius: 8px;
  padding: 32px 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--home-orange);
}

.home-journey__content p {
  color: #444;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 16px;
  text-align: justify;
}

.home-journey__content p:last-child {
  margin-bottom: 0;
}

.home-journey__list {
  margin: 0 0 20px;
  padding-left: 1.5rem;
  color: #444;
  font-size: 14px;
  line-height: 1.75;
}

.home-journey__list li {
  margin-bottom: 6px;
}

.home-journey__label {
  margin: 24px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--home-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-tickers {
  max-width: var(--home-max);
  margin: 0 auto 24px;
  padding: 0 20px;
  box-sizing: border-box;
}

.home-tickers .home-ticker.ticker-wrap {
  margin: 0 0 12px;
  border-radius: 4px;
}

.home-tickers .home-ticker.ticker-wrap:last-child {
  margin-bottom: 0;
}

/* Attention investors — below marquees */
.home-attention {
  max-width: var(--home-max);
  margin: 0 auto 40px;
  padding: 0 20px;
  box-sizing: border-box;
}

.home-attention__inner {
  background: #fffbeb;
  border: 1px solid #f0d78c;
  border-left: 4px solid var(--home-orange);
  border-radius: 8px;
  padding: 24px 28px 28px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.home-attention__title {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--home-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-attention__list {
  margin: 0;
  padding-left: 1.25rem;
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

.home-attention__list li {
  margin-bottom: 12px;
}

.home-attention__list li:last-child {
  margin-bottom: 0;
}

.home-attention__list a {
  color: var(--home-purple);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.home-attention__list a:hover {
  color: var(--home-orange-dark);
}

/* Home footer */
.home-footer {
  background: var(--home-orange);
  padding: 24px 20px 20px;
  text-align: center;
  border-top: 4px solid var(--home-orange-dark);
}

.home-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
}

.home-footer__links a {
  color: #fff;
  padding: 4px 12px;
}

.home-footer__links a:hover { text-decoration: underline; color: #fff; }

.home-footer__links span { color: rgba(255,255,255,0.6); }

.home-footer__copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255,255,255,0.95);
}

/* Responsive */
@media (max-width: 992px) {
  .home-hero__inner,
  .home-split,
  .home-journey__content,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .home-top__banner {
    clip-path: none;
    margin-left: 0;
    padding-left: 24px;
  }

  .home-split { gap: 24px; }

  .home-nav__toggle { display: block; }

  .home-nav__links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 12px;
  }

  .home-nav__links.open { display: flex; }

  .home-nav__inner { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .home-top { flex-direction: column; }
  .home-top__banner { clip-path: none; }
}
