/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(215, 25%, 15%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(215, 25%, 15%);
  --primary: hsl(215, 45%, 18%);
  --primary-foreground: hsl(0, 0%, 98%);
  --secondary: hsl(188, 82%, 45%);
  --secondary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(215, 15%, 92%);
  --muted-foreground: hsl(215, 12%, 45%);
  --accent: hsl(43, 87%, 55%);
  --border: hsl(215, 15%, 88%);
  --navy: hsl(215, 45%, 18%);
  --navy-dark: hsl(215, 50%, 12%);
  --navy-light: hsl(215, 40%, 25%);
  --teal: hsl(188, 82%, 45%);
  --gold: hsl(43, 87%, 55%);
  /* Motion tokens */
  --motion-quick: 220ms;
  --motion-medium: 420ms;
  --motion-slow: 760ms;
  --motion-ease: cubic-bezier(0.2, 0.9, 0.15, 1);
  --elevation-1: 0 6px 20px rgba(2,6,23,0.12);
}

html {
  scroll-behavior: smooth;
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

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

.section {
  padding: 6rem 0;
}

.hidden {
  display: none !important;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* smooth hide/show by translating Y — JS toggles the .nav--hidden class */
  transition: transform var(--motion-medium) var(--motion-ease), box-shadow var(--motion-medium) var(--motion-ease);
  will-change: transform;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 2.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: var(--primary-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-foreground);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 40;
}

.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  /* subtract nav height so panel sits below header */
  height: calc(100vh - var(--nav-height));
  width: 14rem;
  background: rgba(20,33,51,0.96); /* slightly translucent so hero hint shows through */
  transform: translateX(-100%);
  transition: transform 0.28s ease, width 0.2s ease;
  z-index: 50;
}

/* When hiding the header on scroll, move it fully out of view. Use transform to keep it GPU-accelerated. */
.nav--hidden {
  transform: translateY(-100%);
}

.mobile-menu-links {
  padding: 1rem 0;
}

.mobile-nav-link {
  display: block;
  color: var(--primary-foreground);
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.mobile-nav-link:hover {
  background: var(--navy-light);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/sexy-bg.jpeg") center / cover;
  will-change: transform;
  transform-origin: center;
  /* gentle slow float and scale for a premium feel */
  animation: heroFloat 18s ease-in-out infinite;
  filter: saturate(1.02) contrast(1.02) brightness(0.98);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(24, 38, 58, 0.75), rgba(24, 38, 58, 0.75));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes heroFloat {
  0% { transform: scale(1.03) translateY(0); }
  50% { transform: scale(1.06) translateY(-8px); }
  100% { transform: scale(1.03) translateY(0); }
}

.scroll-icon {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid var(--primary-foreground);
  border-radius: 1.5rem;
  position: relative;
}

.scroll-icon::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.25rem;
  height: 0.75rem;
  background: var(--primary-foreground);
  border-radius: 0.25rem;
}

.fade-in-up {
  animation: fadeInUp 0.8s var(--motion-ease) forwards;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer overlay on hero image */
.hero-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  color: var(--primary-foreground);
  z-index: 20;
  font-size: 0.75rem;
  font-weight: 100;
}
.hero-footer a {
  color: var(--primary-foreground);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero-footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    bottom: 1rem;
  }
}

/* Generic reveal animation (used by IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(18px) scale(0.995);
  transition: opacity var(--motion-medium) var(--motion-ease), transform var(--motion-medium) var(--motion-ease), box-shadow var(--motion-medium) var(--motion-ease);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* small floating accent for icons/cards */
.float-subtle {
  animation: floatSubtle 6s ease-in-out infinite;
}

@keyframes floatSubtle {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Buttons - micro interactions */
.btn {
  transition: transform var(--motion-quick) var(--motion-ease), box-shadow var(--motion-quick) var(--motion-ease), background var(--motion-quick) var(--motion-ease);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--elevation-1);
}

/* Slightly more pronounced card lift on hover for desktop */
.feature-card,
.strategy-card,
.credential-card {
  transition: transform var(--motion-medium) var(--motion-ease), box-shadow var(--motion-medium) var(--motion-ease), border-color var(--motion-medium) var(--motion-ease);
}

.feature-card:hover,
.strategy-card:hover,
.credential-card:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow: 0 18px 40px rgba(2,6,23,0.12);
}

/* subtle glass highlight for dark sections */
.glass-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
  mix-blend-mode: overlay;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.section-title.text-light {
  color: var(--primary-foreground);
}

.section-divider {
  width: 6rem;
  height: 0.25rem;
  background: linear-gradient(to right, var(--secondary), var(--gold));
  margin: 0 auto 1.5rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.8;
}

.section-subtitle.text-light {
  color: rgba(255, 255, 255, 0.7);
}

.section-subtitle-secondary {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

/* About Section */
.about-section {
  background: var(--background);
}

/* Intro block for About page (added for about-intro) */
.about-intro {
  max-width: 68rem; /* keep readable line length */
  margin: 0 auto 2rem;
  padding: 0 0.25rem;
  text-align: center;
}
.about-intro-paragraph {
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.125rem);
  color: var(--muted-foreground);
  line-height: 1.9;
  margin: 0 0 1rem;
  display: block;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}
.about-intro-paragraph:first-of-type {
  margin-top: 0.25rem;
}

@media (min-width: 900px) {
  .about-intro {
    padding: 0 1rem;
  }
  .about-intro-paragraph {
    font-size: 1.125rem;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto 3rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(44, 167, 189, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon svg {
  color: var(--secondary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.disclaimer-box {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem;
  background: rgba(44, 167, 189, 0.05);
  border: 1px solid rgba(44, 167, 189, 0.2);
  border-radius: 0.5rem;
}

.disclaimer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

/* Strategies Section */
.strategies-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--navy-dark), var(--navy));
}

.strategies-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--navy-dark), var(--navy));
}

.strategies-content {
  position: relative;
  z-index: 10;
}

.strategies-grid {
  display: grid;
  /* allow slightly narrower cards so 4-per-row fits better without each card becoming too wide */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto 4rem;
}

/* Force 4 columns on wide screens for the strategies grid */
@media (min-width: 1200px) {
  .strategies-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px; /* allow room for 4 columns */
  }
}

.strategy-card {
  background: rgba(39, 56, 82, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--navy-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.28s var(--motion-ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* make cards visually consistent height-wise */
  min-height: 12rem;
}

.strategy-card:hover {
  border-color: var(--secondary);
}

.strategy-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(to bottom right, var(--secondary), var(--gold));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.strategy-icon svg {
  color: var(--navy);
}

.strategy-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.strategy-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  /* keep cards from becoming very tall: clamp to ~6 lines on modern browsers */
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* allow the description to take remaining space so cards align */
  flex: 1 1 auto;
}

.philosophy-box {
  max-width: 64rem;
  margin: 0 auto;
  background: rgba(39, 56, 82, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid var(--navy-light);
  border-radius: 0.5rem;
  padding: 2rem;
}

.philosophy-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.philosophy-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.philosophy-text:last-child {
  margin-bottom: 0;
}

/* Investors Section */
.investors-section {
  background: var(--background);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto 3rem;
}

.credential-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.credential-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.credential-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(44, 167, 189, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.credential-icon svg {
  color: var(--secondary);
}

.credential-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.5rem;
}

.credential-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.who-for-section {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.who-for-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.who-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.who-for-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
  justify-content: center;
}

.who-for-item svg {
  color: var(--secondary);
  flex-shrink: 0;
}

.investment-cta {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(to bottom right, var(--navy), var(--navy-dark));
  border: 1px solid var(--navy-light);
  border-radius: 0.5rem;
  padding: 3rem;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
}

.cta-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.cta-confidential {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
  background: var(--navy);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 72rem;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
}

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(44, 167, 189, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  color: var(--secondary);
}

.contact-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-foreground);
  margin-bottom: 0.25rem;
}

.contact-item-text {
  color: rgba(255, 255, 255, 0.7);
}

.contact-notice,
.contact-warning {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: rgba(44, 167, 189, 0.05);
  border: 1px solid rgba(44, 167, 189, 0.15);
}

.contact-notice-title,
.contact-warning-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-foreground);
  margin-bottom: 0.75rem;
}

.contact-notice-text,
.contact-warning-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.contact-form-wrapper {
  background: var(--navy-light);
  border-radius: 0.5rem;
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-section-title {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0.5rem;
}

.form-section-title:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-label {
  font-weight: 500;
  color: var(--primary-foreground);
  font-size: 0.9rem;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(44, 167, 189, 0.1);
}

.form-radio-group {
  display: flex;
  gap: 1.5rem;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

.form-radio input {
  accent-color: var(--secondary);
}

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-checkbox input {
  accent-color: var(--secondary);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.legal-declarations .form-checkbox {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  display: none;
  text-align: center;
  font-weight: 500;
}

.form-message.show {
  display: block;
}

.form-legal-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-primary:hover {
  background: hsl(188, 82%, 40%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(44, 167, 189, 0.3);
}

.btn-full {
  width: 100%;
}

/* Footer */
.footer {
  background: var(--navy-dark);
  padding: 3rem 0;
  border-top: 1px solid var(--navy-light);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-img {
  height: 2.5rem;
  width: auto;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-title {
  color: var(--primary-foreground);
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-subtitle {
  color: var(--muted-foreground);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.footer-info {
  text-align: center;
}

.footer-copyright {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-regulation {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.footer-disclaimer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--navy-light);
}

.footer-disclaimer p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  line-height: 1.7;
}

.footer-disclaimer a {
  color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 0.75rem;
  max-width: 32rem;
  padding: 2rem;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.modal-text {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.modal-notice {
  background: rgba(44, 167, 189, 0.05);
  border: 1px solid rgba(44, 167, 189, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.modal-notice p {
  color: var(--foreground);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.modal-notice ul {
  list-style: disc;
  margin-left: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.modal-notice li {
  margin-bottom: 0.25rem;
}

.modal-footer {
  text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .section {
    padding: 4rem 0;
  }

  .feature-grid,
  .strategies-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .who-for-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .who-for-item {
    justify-content: flex-start;
  }
}

/* Mobile-safe layout: reserve space for the fixed nav using a CSS variable set by JS */
/* Default fallback for devices where JS is disabled */
:root {
  --nav-height: 64px; /* fallback */
}

.hero-section {
  /* Use min-height so the hero can grow if content needs more space */
  min-height: calc(100vh - var(--nav-height));
  padding-top: 0; /* content sits inside hero, but we adjust min-height */
}

/* Add a small top offset for other sections so they're not hidden under the nav */
.section {
  padding-top: calc(3rem + var(--nav-height));
}

@media (min-width: 769px) {
  /* desktop: keep original spacing */
  .section { padding-top: 6rem; }
}

@media (min-width: 769px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-info {
    text-align: right;
  }
}

/* Page hero/banner used on inner pages (about, contact, investors, strategies) */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* increased height so the background image reads as a larger banner */
  min-height: 46vh;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::after {
  /* subtle dark overlay to ensure text legibility */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,12,22,0.45), rgba(5,12,22,0.55));
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.5rem;
  width: 100%;
  max-width: 1200px;
}

/* center title and inner content */
.page-hero-inner { text-align: center; }

/* small top margin so the hero title sits slightly lower from the top edge */
.page-hero-inner {
  margin-top: 2rem;
}

.page-hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0;
  color: var(--primary-foreground);
  text-shadow: 0 6px 20px rgba(2,6,23,0.45);
}

/* Specific images for pages - adjust filenames as needed */
.page-hero--about { background-image: url('1.jpg'); }
.page-hero--contact { background-image: url('2.jpg'); }
.page-hero--investors { background-image: url('3.jpg'); }
.page-hero--strategies { background-image: url('4.jpg'); }
/* Disclaimer page hero image */
.page-hero--disclaimer { background-image: url('5.jpg'); }
.page-hero--404 { background-image: url('5.jpg'); }

@media (max-width: 520px) {
  /* taller banner on mobile as well, but less than desktop proportionally */
  .page-hero { min-height: 36vh; }
  .page-hero-inner { padding: 2rem 1rem; }
  .page-hero-title { font-size: 1.4rem; }
  .page-hero-inner { margin-top: 0.5rem; }
}

/* 404 page */
.not-found-section {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(245,248,252,0.9), rgba(234,239,245,0.9));
}

.not-found-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.not-found-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.not-found-text {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted-foreground);
}

.not-found-actions {
  margin-top: 2.25rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.not-found-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  background: var(--navy);
  color: var(--primary-foreground);
  border: 1px solid var(--navy);
  transition: transform var(--motion-quick) var(--motion-ease), box-shadow var(--motion-quick) var(--motion-ease), background var(--motion-quick) var(--motion-ease), color var(--motion-quick) var(--motion-ease);
}

.not-found-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--elevation-1);
}

.not-found-link--secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.not-found-link--secondary:hover {
  background: rgba(13,28,48,0.06);
  color: var(--navy);
}

/* Disclaimer Modal Styles */
.disclaimer-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  z-index: 1200;
  padding: 1rem;
}

.disclaimer-modal[hidden] {
  display: none;
}

.disclaimer-modal-content {
  background: var(--background);
  color: var(--foreground);
  border-radius: 0.75rem;
  max-width: 36rem;
  width: 100%;
  /* add extra top/left space so the close button has room and content doesn't collide */
  padding: 2.25rem 1.75rem 1.75rem 1.75rem;
  box-shadow: 0 18px 60px rgba(2,6,23,0.35);
  max-height: 85vh;
  overflow-y: auto;
}

/* ensure the close button positions relative to the modal content */
.disclaimer-modal-content {
  position: relative;
}

.disclaimer-modal-content h2 {
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.disclaimer-text p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.disclaimer-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.disclaimer-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border: none;
  font-size: 1.25rem;
  /* color: var(--muted-foreground); */
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 999px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* transition: background 0.15s ease, transform 0.12s ease; */
}

/* .disclaimer-close:hover,
.disclaimer-close:focus {
  background: rgba(0,0,0,0.12);
  transform: translateY(-1px);
} */

@media (max-width: 520px) {
  .disclaimer-modal-content {
    padding: 1.25rem 1rem 1rem 1rem;
  }
  .disclaimer-actions {
    justify-content: center;
  }
}

/* Disclaimer action buttons (inspired by Uiverse style) */
.disclaimer-button {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  position: relative;
  padding: 8px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.15s ease;
}

.disclaimer-button::before,
.disclaimer-button::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7d8082;
  transition: all 0.15s ease;
}

.disclaimer-button::before {
  top: 0;
  border-bottom-width: 0;
}

.disclaimer-button::after {
  bottom: 0;
  border-top-width: 0;
}

.disclaimer-button:active,
.disclaimer-button:focus {
  outline: none;
}

.disclaimer-button:active::before,
.disclaimer-button:active::after {
  right: 3px;
  left: 3px;
}

.disclaimer-button:active::before {
  top: 3px;
}

.disclaimer-button:active::after {
  bottom: 3px;
}

.disclaimer-button_lg {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #fff;
  background-color: #0f1923;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

.disclaimer-button_lg::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #0f1923;
}

.disclaimer-button_lg::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  background-color: #0f1923;
  transition: all 0.2s ease;
}

.disclaimer-button_sl {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -8px;
  width: 0;
  background-color: #ff4655;
  transform: skew(-15deg);
  transition: all 0.2s ease;
}

.disclaimer-button_text {
  position: relative;
}

.disclaimer-button:hover {
  color: #0f1923;
}

.disclaimer-button:hover .disclaimer-button_sl {
  width: calc(100% + 15px);
}

.disclaimer-button:hover .disclaimer-button_lg::after {
  background-color: #fff;
}
