/* Trump Accounts — patriotic official theme */
:root {
  --navy: #0b1a2e;
  --navy-mid: #122640;
  --navy-light: #1a3352;
  --gold: #d4af37;
  --gold-bright: #f0d060;
  --gold-dim: #9a7b1a;
  --red: #b22234;
  --red-bright: #dc3545;
  --white: #f8f9fc;
  --text-muted: #a8b8cc;
  --border-gold: rgba(212, 175, 55, 0.45);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --radius: 12px;
  --max-w: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.stars-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.25), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.2), transparent);
  background-size: 100% 100%;
  opacity: 0.6;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 26, 46, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-trump {
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.brand-accounts {
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.12em;
}

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

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-bright);
}

.nav-x {
  color: var(--gold) !important;
  font-size: 1.1rem !important;
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 4.5rem;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-banner-wrap {
  position: absolute;
  inset: 4.5rem 0 0;
  overflow: hidden;
}

.hero-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 26, 46, 0.55) 0%,
    rgba(11, 26, 46, 0.75) 45%,
    var(--navy) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem 4rem;
  margin-top: auto;
}

.hero-logo {
  width: min(200px, 40vw);
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
  margin-bottom: 1rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.hero-title .gold {
  display: block;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-title .white {
  display: block;
  color: var(--white);
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  max-width: 36rem;
  margin: 0 auto 0.75rem;
  color: var(--gold-bright);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.hero-stripes {
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0,
    var(--red) 33.33%,
    var(--white) 33.33%,
    var(--white) 66.66%,
    var(--navy-light) 66.66%,
    var(--navy-light) 100%
  );
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy);
  border-color: var(--gold-bright);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.5);
}

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

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red-bright);
}

.btn-red:hover {
  background: var(--red-bright);
}

/* Sections */
.section {
  padding: 4.5rem 0;
  position: relative;
  z-index: 1;
}

.section:nth-child(even) {
  background: rgba(18, 38, 64, 0.5);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-star {
  color: var(--red);
  font-size: 1rem;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.about-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.about-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(145deg, var(--navy-mid), rgba(178, 34, 52, 0.12));
  box-shadow: var(--shadow);
}

.about-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.about-card h3 {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.official-quote {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  border-left: 4px solid var(--gold);
  background: rgba(212, 175, 55, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
}

.official-quote p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.official-quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Contract */
.ca-box {
  display: flex;
  gap: 0.5rem;
  max-width: 720px;
  margin: 0 auto;
  flex-wrap: wrap;
}

#ca-input {
  flex: 1 1 280px;
  min-width: 0;
  padding: 1rem 1.25rem;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.85rem;
  color: var(--gold-bright);
  background: var(--navy-mid);
  border: 2px solid var(--border-gold);
  border-radius: var(--radius);
  outline: none;
}

#ca-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.btn-copy {
  flex-shrink: 0;
  min-width: 120px;
}

.btn-copy.copied {
  background: #2d6a4f;
  border-color: #40916c;
  color: var(--white);
}

.ca-hint {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.ca-hint code {
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  color: var(--gold);
}

/* Chart */
.chart-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid var(--border-gold);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
  min-height: 500px;
  box-shadow: var(--shadow);
}

.chart-wrap iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

.chart-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--navy-mid);
}

.chart-placeholder code {
  color: var(--gold);
}

/* App stores */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.5rem;
  min-width: 220px;
  background: #111;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.15s;
}

.store-btn:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.store-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-text small {
  font-size: 0.65rem;
  opacity: 0.8;
}

.store-text strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.store-apple .store-icon {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Social */
.social {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(178, 34, 52, 0.08));
}

.social-logo {
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}

.social-inner h2 {
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.social-inner p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.btn-x-large {
  font-size: 0.9rem;
  padding: 1rem 2rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-gold);
  padding: 2.5rem 0;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.25);
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.footer-brand img {
  border-radius: 50%;
  border: 1px solid var(--gold);
}

.footer-tag {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-disclaimer {
  font-size: 0.7rem;
  color: rgba(168, 184, 204, 0.7);
  max-width: 36rem;
  margin: 0 auto 0.75rem;
  line-height: 1.5;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Mobile nav */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 1rem;
    border-bottom: 1px solid var(--border-gold);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-banner-wrap {
    position: relative;
    height: 200px;
    inset: auto;
    margin-top: 3.5rem;
  }

  .hero-content {
    padding-top: 1.5rem;
  }
}
