/* ============================================================
   Sunrise MFD — Website Styles
   ============================================================ */

:root {
  /* Color theme */
  --navy: #0B2545;
  --navy-light: #123561;
  --navy-dark: #081A33;
  --teal: #f87022;
  --teal-dark: #FF5E02;
  --teal-light: #ffeee3;
  --text-heading: #0B1526;
  --text-body: #5B6472;
  --text-muted: #8A93A1;
  --border: #E2E8F0;
  --border-subtle: #F1F5F9;
  --bg-soft: #F8FAFC;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --container-width: 1180px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 24px;
  --header-height: 84px;
  --shadow-card: 0 4px 20px rgba(11, 37, 69, 0.06);
  --shadow-lift: 0 20px 45px rgba(11, 37, 69, 0.16);
}
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  padding-top: var(--header-height, 84px);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  margin: 0 0 16px;
  line-height: 1.2;
  font-weight: 700;
}

p { margin: 0 0 16px; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; margin: 0; padding: 0; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

.center { text-align: center; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.eyebrow.center { text-align: center; }

.section-copy {
  color: var(--text-body);
  font-size: 16px;
  max-width: 460px;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 18px;
  min-height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  line-height: 1.25;
}

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

.btn-primary {
  background: #F97316 !important;
  color: #FFFFFF !important;
  border: 1px solid #F97316 !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

.btn-primary:hover {
  background: #EA580C !important;
  border-color: #EA580C !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
  transform: translateY(-1px);
}

.btn-secondary,
.btn-blue,
.btn-outline {
  background: #0B2545 !important;
  color: #FFFFFF !important;
  border: 1px solid #0B2545 !important;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
}

.btn-secondary:hover,
.btn-blue:hover,
.btn-outline:hover {
  background: #123561 !important;
  border-color: #123561 !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.3);
  transform: translateY(-1px);
}

.btn-small {
  padding: 6px 14px;
  font-size: 12.5px;
  min-height: 30px;
}

/* ============================================================
   Header (Fixed across all device sizes)
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  min-height: var(--header-height, 84px);
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--text-heading);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.main-nav a:hover { color: var(--teal-dark); }
.main-nav a:hover::after { width: 100%; }

.main-nav a.active {
  color: var(--teal-dark);
  font-weight: 600;
}

.main-nav a.active::after { width: 100%; }

.chevron { font-size: 11px; color: var(--text-muted); }

/* ---------- Dropdown Menus ---------- */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item-dropdown .dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-item-dropdown .dropdown-trigger .chevron {
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .dropdown-trigger .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(11, 37, 69, 0.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  width: 100%;
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--text-heading) !important;
  border-radius: var(--radius-sm);
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  border-bottom: none !important;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a:hover {
  background: var(--teal-light) !important;
  color: var(--teal-dark) !important;
}

.dropdown-menu a.active {
  background: var(--teal-light) !important;
  color: var(--teal-dark) !important;
  font-weight: 600 !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 88px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 40px;
}

.hero-copy h1 {
  font-size: 52px;
  letter-spacing: -0.02em;
  max-width: 560px;
}

.hero-subtitle {
  font-size: 17px;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.blob {
  position: absolute;
  right: -60px;
  bottom: -40px;
  width: 78%;
  height: 340px;
  background: var(--teal);
  border-radius: 60px 0 0 60px;
  opacity: 0.95;
  z-index: 0;
}

.device.laptop {
  position: relative;
  z-index: 2;
  width: 92%;
  margin: 0 auto;
}

.laptop-screen {
  background: var(--navy);
  border-radius: 14px 14px 4px 4px;
  padding: 10px;
  box-shadow: var(--shadow-lift);
}

.laptop-base {
  height: 12px;
  background: linear-gradient(180deg, #C7CDD6, #A9B1BE);
  border-radius: 0 0 10px 10px;
  margin: 0 -4%;
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 10px;
}

.mock-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.mock-topbar.small span { background: rgba(11,37,69,0.15); }

.mock-title {
  margin-left: 10px;
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
}

.mock-body {
  display: flex;
  gap: 8px;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 10px;
  min-height: 240px;
}

.mock-sidebar {
  width: 44px;
  background: var(--white);
  border-radius: 8px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.mock-sidebar.dark {
  background: var(--navy);
}

.mock-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  margin-bottom: 6px;
}

.mock-avatar.small {
  width: 26px;
  height: 26px;
  margin-bottom: 0;
}

.mock-nav-item {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
}

.mock-nav-item.active { background: var(--teal); }

.mock-nav-item.light { background: rgba(255,255,255,0.18); }
.mock-nav-item.light.active { background: var(--teal); }

.mock-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-card {
  background: var(--white);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 8px rgba(11,37,69,0.05);
}

.mock-card-wide { flex: none; }

.mock-line {
  height: 8px;
  border-radius: 4px;
  background: var(--border);
  margin-bottom: 8px;
}

.mock-line.short { width: 40%; }

.mock-chart-line {
  height: 46px;
  border-radius: 6px;
  background:
    linear-gradient(to top, rgba(20,184,166,0.15), transparent),
    repeating-linear-gradient(100deg, transparent 0 10%, transparent 10%);
  position: relative;
  overflow: hidden;
}

.mock-chart-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(120deg, transparent 40%, rgba(20,184,166,0.5) 41%, transparent 42%);
  clip-path: polygon(0 70%, 15% 55%, 30% 65%, 45% 30%, 60% 45%, 75% 20%, 90% 35%, 100% 15%, 100% 100%, 0 100%);
  background-color: rgba(20,184,166,0.18);
}

.mock-chart-line.accent::after {
  background-color: rgba(11,37,69,0.15);
}

.mock-card-row {
  display: flex;
  gap: 8px;
}

.mock-donut {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: conic-gradient(var(--teal) 0 40%, var(--navy) 40% 70%, var(--border) 70% 100%);
  position: relative;
}

.donut::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: var(--white);
}

.mock-bars-card {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.mock-bars-card.small-card { height: 50px; }

.mini-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--teal), var(--teal-dark));
  border-radius: 3px 3px 0 0;
}

.mock-list-row {
  height: 10px;
  border-radius: 4px;
  background: var(--bg-soft);
  margin-bottom: 6px;
  border: 1px solid var(--border);
}

.mock-tag {
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: var(--teal-light);
}

/* Floating icons around hero */
.floating-icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.icon-pie { top: 4%; left: 30%; }
.icon-bars { top: 2%; right: 4%; }
.icon-trend { top: 40%; left: -2%; }
.icon-people { top: 8%; right: -4%; }

.dot {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
}

.dot-1 { width: 10px; height: 10px; background: var(--navy); top: 18%; left: 46%; }
.dot-2 { width: 8px; height: 8px; background: var(--teal); top: 30%; right: 8%; }
.dot-3 { width: 12px; height: 12px; background: var(--teal); top: 60%; left: 2%; }

.device.tablet {
  position: absolute;
  right: 0;
  bottom: -8%;
  width: 32%;
  z-index: 3;
}

.tablet-screen {
  background: var(--navy);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-lift);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tablet-screen .mock-card-row { gap: 6px; margin: 4px 0; }

/* ============================================================
   Trusted-by strip
   ============================================================ */

.trusted {
  padding: 44px 0 60px;
}

.logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-top: 24px;
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--text-muted);
  opacity: 0.75;
  letter-spacing: -0.01em;
}

.brand-logo.slack { color: #4A154B; opacity: 0.7; }
.brand-logo.stripe { font-style: italic; }

/* ============================================================
   Features
   ============================================================ */

.features {
  padding: 40px 0 100px;
  background: var(--bg-soft);
}

.features-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  padding-top: 40px;
}

.features-intro h2 {
  font-size: 34px;
  max-width: 400px;
}

.features-intro .hero-note { margin-top: 12px; }

.features-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--teal-light);
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  margin: 0;
  color: var(--text-body);
}

/* ============================================================
   Showcase / Streamline section
   ============================================================ */

.showcase {
  padding: 100px 0;
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.showcase-visual {
  position: relative;
}

.showcase-blob {
  position: absolute;
  left: -40px;
  top: -30px;
  width: 90%;
  height: 90%;
  background: var(--teal);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.showcase-panel {
  position: relative;
  z-index: 1;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-lift);
  margin: 24px 0 0 24px;
}

.mock-body.two-col .mock-sidebar { width: 56px; }

.showcase-copy h2 {
  font-size: 34px;
}

.checklist {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
}

.checklist h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.checklist p {
  font-size: 14px;
  margin: 0;
  color: var(--text-body);
}

/* ============================================================
   Testimonials
   ============================================================ */

.testimonials {
  padding: 40px 0 100px;
  background: var(--bg-soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--teal);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 14.5px;
  color: var(--text-body);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author img,
.avatar-fallback {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-fallback {
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--text-heading);
}

.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

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

.cta-section {
  padding: 100px 0;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 20px;
}

.cta-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}

.cta-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.cta-price {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.cta-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.cta-card-highlight {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.cta-card-highlight h3 {
  color: var(--white);
}

.cta-card-highlight p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.card-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 52px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-col ul a:hover {
  color: var(--teal);
  padding-left: 3px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-about {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
  margin-bottom: 22px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--navy);
}

.contact-list {
  gap: 14px;
  margin-bottom: 22px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.contact-list svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--teal);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn-primary {
  background: var(--teal);
  color: var(--navy);
  flex: 0 0 auto;
  padding: 11px 18px;
}

.newsletter-form .btn-primary:hover { background: var(--teal-dark); color: var(--white); }

.newsletter-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p { margin: 0; }

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer-legal a:hover { color: var(--teal); }

/* ============================================================
   Responsive
   ============================================================ */


/* ============================================================
   Comprehensive Multi-Device Responsive System
   Supports Mobile XS (320px), Mobile (375px-480px),
   Tablet (768px-1024px), Laptops (1024px-1440px)
   ============================================================ */

/* Table responsive wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
}

.table-responsive table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  margin: 0 !important;
}

/* Base card actions */
.card-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}

/* Tablet & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-inner,
  .features-grid,
  .showcase-inner,
  .story-inner,
  .service-block-inner,
  .contact-form-grid,
  .auth-section,
  .calc-preview-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  .hero-visual {
    margin-top: 24px;
    min-height: auto;
    text-align: center;
  }
  
  .hero-visual img {
    max-width: 480px;
    margin: 0 auto;
  }

  .service-block-inner.reverse .service-copy,
  .service-block-inner.reverse .service-visual {
    order: initial !important;
  }

  .stat-row, .stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px 16px !important;
  }

  .features-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 36px 24px !important;
  }

  .auth-side {
    display: none;
  }
}

/* Mobile Nav Breakpoint (<= 860px) */
@media (max-width: 860px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .header-inner {
    padding: 0 16px;
  }

  .header-actions .btn {
    width: auto !important;
    padding: 6px 12px !important;
    font-size: 12.5px !important;
    min-height: 32px !important;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    box-sizing: border-box;
  }

  .main-nav.open {
    max-height: 85vh;
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.16);
  }

  .main-nav a {
    width: 100%;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
    box-sizing: border-box;
  }

  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-item-dropdown .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid var(--border);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-soft);
    padding: 4px 10px;
    margin: 4px 0 8px;
    width: 100%;
    border-radius: var(--radius-sm);
    display: none;
    box-sizing: border-box;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .dropdown-menu a {
    padding: 9px 12px !important;
    font-size: 13px !important;
    border-bottom: 1px solid rgba(231, 234, 239, 0.6) !important;
  }

  .nav-toggle {
    display: flex;
  }
}

/* Tablet Portrait & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 44px 0 36px !important;
  }

  .page-hero {
    padding: 40px 0 28px !important;
  }

  .features-cards {
    grid-template-columns: 1fr !important;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .testimonial-author .avatar,
  .testimonial-author .img-placeholder {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    border-radius: 50% !important;
  }

  .testimonial-author .img-placeholder-size {
    display: none !important;
  }

  .cta-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .values-grid,
  .team-grid,
  .tools-grid,
  .blog-grid,
  .contact-cards-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Landscape & Standard Mobile (<= 640px) */
@media (max-width: 640px) {
  .hero-actions,
  .btn-group {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .hero-actions .btn,
  .btn-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .legal-container {
    padding: 24px 12px 60px !important;
  }

  .legal-card {
    padding: 24px 16px !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .card-actions-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .card-actions-bar .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Small Mobile (<= 520px) */
@media (max-width: 520px) {
  .roadmap-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .roadmap-card {
    padding: 22px 16px !important;
  }

  .stat-row, .stats-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px 12px !important;
  }

  .stat-item .stat-num, .stat-box .stat-number {
    font-size: clamp(22px, 6vw, 28px) !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .faq-header {
    padding: 14px 16px !important;
    font-size: 14.5px !important;
  }

  .faq-content {
    padding: 0 16px 16px !important;
    font-size: 13.5px !important;
  }
}

/* Extra Small Phones (<= 400px: iPhone SE, compact Androids) */
@media (max-width: 400px) {
  .header-actions .btn {
    padding: 5px 8px !important;
    font-size: 11px !important;
  }

  .nav-toggle {
    width: 34px !important;
    height: 34px !important;
  }

  .btn {
    font-size: 13.5px !important;
    padding: 8px 14px !important;
  }
}


/* Comparison & Two-Column Grid Responsive Utilities */
.comparison-grid,
.two-col-grid,
.contact-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: 100%;
}

.comparison-grid > *,
.two-col-grid > *,
.contact-form-grid > * {
  min-width: 0;
  max-width: 100%;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Values Grid & Value Cards (About Page 4 Pillars) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  width: 100%;
  box-sizing: border-box;
}

.value-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 24px;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
  min-width: 0;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.08);
  border-color: #CBD5E1;
}

.value-card .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(249, 115, 22, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #F97316;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.value-card:hover .feature-icon {
  background: #F97316;
  color: #FFFFFF;
  transform: scale(1.05);
}

.value-card:hover .feature-icon svg {
  stroke: #FFFFFF;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.value-card p {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* Team Grid & Team Cards (About Page Team) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
  width: 100%;
  box-sizing: border-box;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.08);
  border-color: #CBD5E1;
}

.team-avatar-monogram {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-heading);
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.1);
  flex-shrink: 0;
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
  line-height: 1.3;
}

.team-role {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

/* Story / About Section */
.story-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px;
  align-items: center;
}

.story-visual img {
  max-width: 440px;
  max-height: 480px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Service Block Layout */
.service-block-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}

.service-block-inner.reverse {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.service-visual img {
  width: 100%;
  max-width: 440px;
  max-height: 380px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(11, 37, 69, 0.08);
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

/* Contact Cards Grid & Cards */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.info-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.04);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
  min-width: 0;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.08);
  border-color: #CBD5E1;
}

.info-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #F0FDFA;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #0D9488;
  flex-shrink: 0;
}

.info-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--navy);
  line-height: 1.3;
}

.info-card p {
  font-size: 13.5px;
  color: var(--text-body);
  margin: 0 0 12px;
  line-height: 1.5;
}

.info-card a.tool-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-dark);
  word-break: break-all;
  transition: color 0.15s ease;
}

.info-card a.tool-link:hover {
  color: #E55200;
  text-decoration: underline;
}

.info-card .tool-link.static {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
}

/* 4-Step Investor Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
  box-sizing: border-box;
}

.roadmap-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 22px;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
  min-width: 0;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 37, 69, 0.08);
  border-color: #CBD5E1;
}

.roadmap-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #0B4F9C;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.roadmap-card:hover .roadmap-icon-wrap {
  background: #DBEAFE;
}

.roadmap-card h3 {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
  line-height: 1.35;
}

.roadmap-card p {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.03);
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.06);
}

.faq-item.active {
  border-color: #0D9488;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
}

.faq-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #FFFFFF;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-heading);
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.faq-header:hover {
  background: #F8FAFC;
  color: #0D9488;
}

.faq-item.active .faq-header {
  color: #0D9488;
  background: #F0FDF4;
}

.faq-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #64748B;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  background: #0D9488;
  color: #FFFFFF;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #FFFFFF;
}

.faq-content {
  padding: 0 24px 20px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

/* Secondary Button Styling */
.btn-secondary,
.btn-blue {
  background: #0B2545 !important;
  color: #FFFFFF !important;
  border: 1px solid #0B2545 !important;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
}

.btn-secondary:hover,
.btn-blue:hover {
  background: #123561 !important;
  border-color: #123561 !important;
  box-shadow: 0 8px 20px rgba(11, 37, 69, 0.25);
  transform: translateY(-1px);
}

/* Header Logo prominent sizing */
.site-header .logo img {
  height: 60px;
  max-height: 60px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Mobile Nav My Account Button handling */
.nav-mobile-cta {
  display: none !important;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES (Cascading from 1024px to 400px)
   ============================================================ */

@media (max-width: 1024px) {
  .comparison-grid,
  .two-col-grid,
  .contact-form-grid,
  .story-inner,
  .service-block-inner,
  .service-block-inner.reverse {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }

  .service-block-inner.reverse .service-visual {
    order: 2;
  }
  .service-block-inner.reverse .service-copy {
    order: 1;
  }

  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .values-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .contact-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 84px;
  }

  .header-inner {
    padding: 12px 16px;
    min-height: 84px;
    box-sizing: border-box;
  }

  .header-actions .btn {
    display: none !important;
  }

  .nav-mobile-cta {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    margin-top: 16px;
    padding: 10px 18px !important;
    border-bottom: none !important;
    border-radius: var(--radius-sm);
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center;
    box-sizing: border-box;
  }

  .site-header .logo img {
    height: 60px !important;
    max-height: 60px !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 768px) {
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .hero-copy h1 {
    font-size: 34px !important;
    line-height: 1.24 !important;
    letter-spacing: -0.015em !important;
  }

  h2,
  .section-heading h2,
  .showcase-copy h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 520px) {
  .hero-copy h1 {
    font-size: 26px !important;
    line-height: 1.28 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 14px !important;
  }

  .hero-subtitle {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }

  h2,
  .section-heading h2,
  .showcase-copy h2 {
    font-size: 22px !important;
    line-height: 1.32 !important;
    margin-bottom: 12px !important;
  }

  .section-copy {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .eyebrow {
    font-size: 11.5px !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 8px !important;
  }

  h3,
  .feature-card h3,
  .roadmap-card h3,
  .checklist h4 {
    font-size: 17px !important;
    line-height: 1.35 !important;
  }

  .about-stats-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .roadmap-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .contact-cards-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
  }

  .footer-col {
    min-width: 0 !important;
  }

  .newsletter-form {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .newsletter-form .btn-primary {
    width: 100% !important;
    justify-content: center !important;
  }

  .faq-header {
    padding: 14px 16px !important;
    font-size: 14px !important;
  }

  .faq-content {
    padding: 0 16px 16px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .btn {
    white-space: normal !important;
    word-break: break-word;
    text-align: center;
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .site-header .logo img {
    height: 60px !important;
    max-height: 60px !important;
    max-width: 220px !important;
  }
}

/* ============================================================
   Standardized 2-Column Page Hero Layout
   ============================================================ */
.page-hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border, #E2E8F0);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.page-hero-copy {
  min-width: 0;
}

.page-hero-copy .eyebrow {
  margin-bottom: 10px;
}

.page-hero-copy h1 {
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--navy, #0B2545);
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.page-hero-copy .hero-subtitle,
.page-hero-copy .page-hero-copy-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-body, #4B5563);
  margin-bottom: 24px;
}

.page-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy, #0B2545);
}

.hero-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.page-hero-visual img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  border-radius: var(--radius-md, 12px);
  display: block;
}

.page-hero-visual.framed-img img {
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(11, 37, 69, 0.08);
  border: 1px solid var(--border, #E2E8F0);
}

@media (max-width: 991px) {
  .page-hero {
    padding: 40px 0 32px;
  }
  .page-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .page-hero-copy h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  .page-hero-visual img {
    max-height: 280px;
  }
}

/* ============================================================
   Contact Form & Info Styling
   ============================================================ */
.contact-form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: #FFFFFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(11, 37, 69, 0.06);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy, #0B2545);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text-heading, #0B2545);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #F97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

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

@media (max-width: 860px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ============================================================
   Auth Section (My Account Split-Screen)
   ============================================================ */
.auth-section {
  min-height: calc(100vh - var(--header-height, 82px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: #F8FAFC;
}

.auth-side {
  background: linear-gradient(160deg, #0B2545 0%, #123561 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
  color: #FFFFFF;
}

.auth-side-content {
  max-width: 480px;
}

.auth-side-content h2 {
  font-size: 30px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.3;
}

.auth-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 32px;
  background: #F8FAFC;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
}

@media (max-width: 991px) {
  .auth-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .auth-side {
    padding: 40px 24px;
  }
  .auth-form-wrap {
    padding: 32px 20px;
  }
}

/* ============================================================
   Metric Stats Cards (About Page)
   ============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat-row .stat {
  background: #FFFFFF;
  border: 1px solid var(--border, #E2E8F0);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.04);
}

.stat-row .stat h3 {
  font-size: 26px;
  font-weight: 800;
  color: #F97316;
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.stat-row .stat p {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #0B2545);
  margin: 0;
}

@media (max-width: 768px) {
  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   Segmented Role Switch Tabs (Investor vs Admin / Distributor)
   ============================================================ */
.role-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 22px;
  background: #E2E8F0;
  padding: 5px;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  position: relative;
  box-sizing: border-box;
}

.role-option {
  margin: 0;
  cursor: pointer;
  position: relative;
  display: block;
}

.role-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.role-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  border-radius: 7px;
  background: transparent;
  transition: all 0.2s ease;
  user-select: none;
}

.role-card svg {
  flex-shrink: 0;
  stroke: #64748B;
  transition: stroke 0.2s ease;
}

.role-option:hover .role-card:not(.active) {
  color: #0B2545;
  background: rgba(255, 255, 255, 0.6);
}

.role-option input:checked + .role-card,
.role-card.active {
  background: #0B2545 !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.25);
}

.role-option input:checked + .role-card svg,
.role-card.active svg {
  stroke: #FFFFFF !important;
}

@media (max-width: 480px) {
  .auth-side {
    padding: 30px 16px !important;
  }
  .auth-form-wrap {
    padding: 20px 10px !important;
  }
  .auth-card {
    padding: 24px 14px !important;
    border-radius: 12px !important;
  }
  .role-card {
    padding: 8px 6px !important;
    font-size: 12px !important;
    gap: 5px !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.25 !important;
  }
  .role-card svg {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 360px) {
  .auth-form-wrap {
    padding: 16px 8px !important;
  }
  .auth-card {
    padding: 20px 10px !important;
  }
  .role-card {
    padding: 7px 4px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }
}



