/* Hyperionvest — professional investment site */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: #141414;
  color: #f4f4f2;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}
h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
}
h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1em;
  color: #c7c7c1;
}
:root {
  --bg: #141414;
  --surface: #1c1c1c;
  --card: #1a1a1a;
  --border: rgba(255, 255, 255, 0.09);
  --muted: #a3a3a0;
  --fg: #f4f4f2;
  --accent: #9dfc4a;
  --accent-2: #57d47b;
  --gradient-accent: linear-gradient(135deg, #9dfc4a 0%, #57d47b 100%);
  --gradient-dark: linear-gradient(180deg, #141414 0%, #0c0c0c 100%);
  --shadow-glow: 0 0 60px 0 rgba(157, 252, 74, 0.35);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section {
  padding: 5rem 0;
}
.section-tight {
  padding: 3.5rem 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(20, 20, 20, 0.78);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--gradient-accent);
  display: grid;
  place-items: center;
  color: #0a0a0a;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(157, 252, 74, 0.35);
}
.brand-name {
  font-size: 1.05rem;
}
.brand-name span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav-links a {
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--fg);
}
.nav-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  cursor: pointer;
}
.btn-accent {
  background: var(--gradient-accent);
  color: #0a0a0a;
  box-shadow: var(--shadow-glow);
}
.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 80px rgba(157, 252, 74, 0.55);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--fg);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}
.btn-lg {
  padding: 0.95rem 1.7rem;
  font-size: 0.88rem;
}
.btn-block {
  width: 100%;
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 8rem 0 6rem;
  background:
    radial-gradient(
      60% 60% at 50% 0%,
      rgba(157, 252, 74, 0.15),
      transparent 70%
    ),
    linear-gradient(180deg, rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.92) 90%),
    url("../img/hero.jpg") center/cover no-repeat;
}
.hero-inner {
  max-width: 820px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero h1 {
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: 1.1rem;
  color: #d4d4cf;
  max-width: 640px;
}
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
}
.stat b {
  display: block;
  font-size: 1.6rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Page banner */
.page-banner {
  position: relative;
  padding: 6.5rem 0 5rem;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border);
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.65),
    rgba(20, 20, 20, 0.92)
  );
}
.page-banner .container {
  position: relative;
}
.page-banner p {
  max-width: 640px;
  color: #dcdcd6;
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  transition:
    border-color 0.25s,
    transform 0.25s;
}
.card:hover {
  border-color: rgba(157, 252, 74, 0.4);
}
.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mt-3 {
  margin-top: 2rem;
}
.mt-4 {
  margin-top: 3rem;
}
.text-center {
  text-align: center;
}
.text-accent {
  color: var(--accent);
}
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.muted {
  color: var(--muted);
}

/* Split section */
.split {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.split .media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(157, 252, 74, 0.15), #1c1c1c);
}
.split .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Bands */
.band-dark {
  background: var(--gradient-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-accent {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0d1a10 0%, #141414 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.band-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    50% 60% at 30% 40%,
    rgba(157, 252, 74, 0.18),
    transparent 70%
  );
  pointer-events: none;
}
.band-accent > .container {
  position: relative;
}

/* Plans */
.plans {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition:
    transform 0.25s,
    border-color 0.25s,
    box-shadow 0.25s;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 252, 74, 0.55);
  box-shadow: 0 20px 60px -30px rgba(157, 252, 74, 0.35);
}
.plan.featured {
  border-color: rgba(157, 252, 74, 0.55);
  box-shadow: 0 0 0 1px rgba(157, 252, 74, 0.25) inset;
}
.plan .tag {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(157, 252, 74, 0.35);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}
.plan h3 {
  font-size: 1.15rem;
  margin: 0;
}
.plan .rate {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.plan .rate small {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
  margin-left: 0.35rem;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.plan ul li::before {
  content: "›";
  color: var(--accent);
  margin-right: 0.5rem;
  font-weight: 700;
}
.plan .btn {
  margin-top: auto;
}

/* Sticky plans layout */
.sticky-plans {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 5fr 7fr;
  align-items: start;
}
.sticky-plans .sticky-col {
  position: sticky;
  top: 96px;
}

/* Forms */
.form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  display: grid;
  gap: 1rem;
}
.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #141414;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font: inherit;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(157, 252, 74, 0.2);
}

/* Contact info */
.contact-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}
.contact-info .row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info .icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  background: rgba(157, 252, 74, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  transition: border-color 0.2s;
}
.faq details[open] {
  border-color: rgba(157, 252, 74, 0.4);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "−";
}
.faq p {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #0e0e0e;
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
  margin-top: 2rem;
}
.foot-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  margin-bottom: 2.5rem;
}
.foot-grid h4 {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.foot-grid a {
  display: block;
  color: #c7c7c1;
  padding: 0.25rem 0;
  font-size: 0.92rem;
}
.foot-grid a:hover {
  color: var(--accent);
}
.foot-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
}
.disclaimer {
  background: #0b0b0b;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
.disclaimer strong {
  color: var(--fg);
}

/* Auth pages */
.auth-wrap {
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 4rem 1.5rem;
  background:
    radial-gradient(
      60% 60% at 50% 0%,
      rgba(157, 252, 74, 0.12),
      transparent 70%
    ),
    var(--gradient-dark);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.auth-card h1 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}
.auth-card p.sub {
  color: var(--muted);
  margin-bottom: 2rem;
}
.auth-card .form {
  padding: 0;
  background: transparent;
  border: 0;
}
.auth-alt {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.auth-alt a {
  color: var(--accent);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split,
  .sticky-plans {
    grid-template-columns: 1fr;
  }
  .sticky-plans .sticky-col {
    position: static;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .nav-links,
  .nav-cta .btn-ghost {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 3.5rem 0;
  }
  .hero {
    padding: 5rem 0 4rem;
  }
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: #141414;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.mobile-menu .btn {
  margin: 1rem 1.5rem;
  display: flex;
}

/* Mobile */
@media (max-width: 768px) {
  /* Hide desktop navigation */
  .nav-links {
    display: none;
  }

  /* Keep only the menu button visible */
  .nav-cta .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Logo left, menu button right */
  .nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* Desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .nav-cta .btn {
    display: inline-flex;
  }
}

/* ==========================================
   CONTACT PAGE
========================================== */

/* Prevent horizontal scrolling */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* ==========================================
   Banner
========================================== */

.contact-banner,
.page-banner {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 120px 0 80px;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.page-banner .container {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-banner h1 {
  margin: 15px 0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.1;
}

.page-banner p {
  max-width: 620px;
  margin: auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ==========================================
   Main Section
========================================== */

.contact-section {
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
}

/* ==========================================
   Form
========================================== */

.form {
  background: #101418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
}

.form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161b20;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--accent, #d4af37);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form textarea {
  resize: vertical;
  min-height: 150px;
}

.form > div {
  margin-bottom: 20px;
}

.form button {
  width: 100%;
}

.form-msg {
  text-align: center;
  margin-top: 15px;
}

/* ==========================================
   Contact Card
========================================== */

.contact-info {
  background: #101418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 35px;
}

.contact-info h3 {
  margin: 10px 0 30px;
}

.contact-info .row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info strong {
  display: block;
  margin-bottom: 5px;
}

.contact-info p {
  margin: 0;
  line-height: 1.7;
}

.contact-info a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ==========================================
   CTA
========================================== */

.band-accent {
  padding: 90px 0;
  text-align: center;
}

.band-accent h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.band-accent p {
  max-width: 620px;
  margin: 0 auto 35px;
  line-height: 1.8;
}

/* ==========================================
   Tablet
========================================== */

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form {
    order: 1;
  }

  .contact-info {
    order: 2;
  }

  .page-banner {
    min-height: 340px;
    padding: 110px 0 70px;
  }
}

/* ==========================================
   Mobile
========================================== */

@media (max-width: 768px) {
  .page-banner {
    min-height: 300px;
    padding: 100px 0 60px;
  }

  .page-banner h1 {
    font-size: 2.2rem;
  }

  .page-banner p {
    font-size: 0.95rem;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form {
    padding: 24px;
    border-radius: 18px;
  }

  .contact-info {
    padding: 24px;
    border-radius: 18px;
  }

  .contact-info .row {
    gap: 14px;
  }

  .contact-info .icon {
    width: 46px;
    height: 46px;
  }

  .band-accent {
    padding: 60px 20px;
  }

  .band-accent h2 {
    font-size: 1.8rem;
  }
}

/* ==========================================
   Small Phones
========================================== */

@media (max-width: 480px) {
  .page-banner {
    padding: 90px 0 50px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }

  .page-banner p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .form {
    padding: 20px;
  }

  .contact-info {
    padding: 20px;
  }

  .contact-info .icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .band-accent {
    padding: 50px 16px;
  }
}
