/* -----------------------------
   Base & layout
----------------------------- */

:root {
  /* FezuOne palette (yellow + gray) */
  --color-bg: #0b0c0f;
  --color-bg-alt: #111318;
  --color-surface: #151821;
  --color-surface-2: #1b1f2a;
  --color-border-subtle: rgba(255, 255, 255, 0.10);

  --color-primary: #f4c542;          /* FezuOne yellow */
  --color-primary-2: #ffd66e;
  --color-primary-soft: rgba(244, 197, 66, 0.14);

  --color-text: #f3f4f7;
  --color-text-muted: rgba(243, 244, 247, 0.68);
  --color-link: var(--color-primary);
  --color-link-hover: var(--color-primary-2);

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: var(--font-sans);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 26px rgba(0, 0, 0, 0.35);

  --max-width: 1160px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(1200px 700px at 20% 0%, rgba(244, 197, 66, 0.10) 0%, rgba(11, 12, 15, 0) 55%),
              radial-gradient(900px 600px at 80% 10%, rgba(255, 214, 110, 0.06) 0%, rgba(11, 12, 15, 0) 60%),
              linear-gradient(180deg, #0b0c0f 0%, #0a0b0d 100%);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Containers & sections */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: radial-gradient(circle at top, var(--color-surface) 0, #0b0c0f 80%);
}

.section-inner {
  position: relative;
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: 1.8rem;
}

.section-header p {
  margin: 0;
  color: var(--color-text-muted);
}

/* Typography */

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 3rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

h2 {
  font-size: clamp(2rem, 3vw + 0.5rem, 2.5rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
  margin-top: 0;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 12, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header a,
.site-header a:link,
.site-header a:hover,
.site-header a:active,
.site-header a:visited {
  text-decoration: none !important;
}

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

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

.brand-mark {
  font-size: 30px;
  color: var(--color-primary);
}

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

.brand-name {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  padding-bottom: 0.1rem;
  text-decoration: none;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

/* Hero */

.hero {
  padding: 6.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(244, 197, 66, 0.14) 0%, rgba(11, 12, 15, 0) 68%);
  animation: pulse-hero 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-hero {
  0%,
  100% {
    opacity: 0.3;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translateX(-50%) scale(1.05);
  }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  animation: slideInUp 0.8s ease-out;
}

.hero-panel {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

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

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

.hero-copy p {
  color: var(--color-text-muted);
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-disclaimer {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  max-width: 620px;
  font-size: 0.9rem;
}

.hero-disclaimer strong {
  display: inline-block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 12, 15, 0.78);
  box-shadow: var(--shadow-subtle);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease,
    background 0.18s ease, border-color 0.18s ease;
  transform: translateY(0);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
  color: #111318;
  box-shadow: 0 14px 32px rgba(244, 197, 66, 0.22);
  border-color: rgba(244, 197, 66, 0.35);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(244, 197, 66, 0.30);
  filter: brightness(1.06);
  text-decoration: none;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(21, 24, 33, 0.72);
  color: var(--color-text);
  backdrop-filter: blur(10px);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: rgba(21, 24, 33, 0.88);
  border-color: rgba(244, 197, 66, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/* Hero stats */

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.hero-stats > div {
  position: relative;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(244, 197, 66, 0.06);
  border: 1px solid rgba(244, 197, 66, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hero-stats > div:hover {
  background: rgba(244, 197, 66, 0.10);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 197, 66, 0.15);
}

.hero-stats dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.hero-stats dd {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Hero side panel */

.hero-panel {
  justify-self: flex-end;
  width: 100%;
  max-width: 320px;
  background: radial-gradient(circle at top left, rgba(27, 31, 42, 0.95) 0, rgba(17, 19, 24, 0.92) 60%);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
    transform: translateX(100%);
  }
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.trust-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.12);
  color: rgba(255, 244, 214, 0.92);
  border: 1px solid rgba(244, 197, 66, 0.40);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  overflow: hidden;
}

.trust-label:hover {
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(244, 197, 66, 0.26);
  background: rgba(244, 197, 66, 0.16);
}

.trust-list li {
  animation: fadeInUp 0.6s ease-out;
}

.trust-list li:nth-child(1) { animation-delay: 0.1s; }
.trust-list li:nth-child(2) { animation-delay: 0.2s; }
.trust-list li:nth-child(3) { animation-delay: 0.3s; }

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

/* Spotlight Section */

.spotlight-section {
  padding: 6rem 0;
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: rgba(21, 24, 33, 0.52);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 4rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.spotlight-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(244, 197, 66, 0.10) 0%, transparent 70%);
  transform: rotate(-15deg);
  pointer-events: none;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(244, 197, 66, 0.12);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(244, 197, 66, 0.22);
}

.spotlight-content h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.spotlight-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.spotlight-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
}

.spotlight-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--color-text);
}

.spotlight-features li i {
  color: var(--color-primary);
}

.spotlight-image .image-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.spotlight-image .image-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.spotlight-image img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.9) contrast(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(244, 197, 66, 0.10), transparent);
  pointer-events: none;
}

@media (max-width: 992px) {
  .spotlight-card {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem;
  }

  .spotlight-content h2 {
    font-size: 2.5rem;
  }
}

/* Grids */

.grid {
  display: grid;
  gap: 1.75rem;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid,
.principle-grid,
.contact-grid {
  align-items: flex-start;
}

/* Cards */

.feature-card ul,
.feature-card ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

.section-header h1 {
  margin: 0 0 0.75rem;
}

.feature-card li {
  margin-bottom: 0.25rem;
}

.feature-card,
.principle-card {
  background: rgba(21, 24, 33, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-subtle);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover,
.principle-card:hover {
  transform: translateY(-8px);
  background: rgba(21, 24, 33, 0.72);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(244, 197, 66, 0.40);
}

.feature-card::before,
.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::before,
.principle-card:hover::before {
  opacity: 1;
}

.feature-card.legal-entity-callout {
  border-left: 3px solid var(--color-primary);
  background: linear-gradient(
    135deg,
    rgba(244, 197, 66, 0.08),
    rgba(11, 12, 15, 0.92)
  );
}

.feature-card.legal-entity-callout p {
  margin: 0;
  font-size: 0.9rem;
}

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

/* Founder / team profile card */

.profile-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.profile-media {
  flex: 0 0 auto;
}

.profile-media img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  object-fit: cover;
}

.profile-body h3 {
  margin-bottom: 0.25rem;
}

.profile-body .muted {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

/* Stack nicely on small screens */
@media (max-width: 600px) {
  .profile-card {
    align-items: center;
  }
}

/* Contact */

.contact-grid h3 {
  margin-bottom: 0.5rem;
}

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

/* Tech icon row (implementation technologies) */
.tech-icon-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.tech-icon-label {
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.tech-icon-set {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.tech-icon {
  font-size: 1.25rem;
  opacity: 0.9;
}

.tech-icon:hover {
  opacity: 1;
}

/* Stack nicely on small screens */
@media (max-width: 600px) {
  .tech-icon-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0b0d;
  padding: 1.4rem 0;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-nav {
  display: flex;
  gap: 1rem;
}

/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    justify-self: stretch;
    max-width: none;
  }

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

  .two-col,
  .three-col,
  .four-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 520px) {
  .header-inner {
    padding: 0.75rem 0.5rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

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

/* Mobile nav toggle (Font Awesome version) */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(11, 12, 15, 0.90);
  cursor: pointer;
  padding: 0;
  color: white;
}

.nav-toggle .nav-icon {
  font-size: 18px;
}

/* Show only the "bars" icon by default */
.nav-toggle .nav-icon-close {
  display: none;
}

/* When menu is open, swap icons */
.nav-toggle.is-open .nav-icon-bars {
  display: none;
}

.nav-toggle.is-open .nav-icon-close {
  display: inline-block;
}

/* Scroll animations */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid > *,
.principle-grid > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.feature-grid.animate-in > *,
.principle-grid.animate-in > * {
  opacity: 1;
  transform: translateY(0);
}

.feature-grid.animate-in > *:nth-child(1) { transition-delay: 0.1s; }
.feature-grid.animate-in > *:nth-child(2) { transition-delay: 0.2s; }
.feature-grid.animate-in > *:nth-child(3) { transition-delay: 0.3s; }
.feature-grid.animate-in > *:nth-child(4) { transition-delay: 0.4s; }

.principle-grid.animate-in > *:nth-child(1) { transition-delay: 0.1s; }
.principle-grid.animate-in > *:nth-child(2) { transition-delay: 0.2s; }
.principle-grid.animate-in > *:nth-child(3) { transition-delay: 0.3s; }
.principle-grid.animate-in > *:nth-child(4) { transition-delay: 0.4s; }

/* Enhanced section headers */
.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, rgba(244, 197, 66, 0.95), transparent);
  border-radius: 999px;
}

.section-header h2 i {
  margin-right: 0.5rem;
  color: var(--color-primary);
}

/* Icon styling in headings */
h3 i {
  margin-right: 0.5rem;
  color: var(--color-primary);
  opacity: 0.9;
}

/* Button icons */
.btn i {
  margin-right: 0.4rem;
  font-size: 0.95em;
}

/* Hero stats icons */
.hero-stats dt i {
  margin-right: 0.35rem;
  color: var(--color-primary);
  font-size: 0.85em;
}

/* Trust label icons */
.trust-label i {
  margin-right: 0.35rem;
  color: var(--color-primary);
  font-size: 0.9em;
}

/* Contact section icons */
.contact-grid p i {
  margin-right: 0.4rem;
  color: var(--color-primary);
  opacity: 0.8;
}

/* Mobile behavior */

@media (max-width: 880px) {
  .header-inner {
    align-items: center;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin: 0;
    padding: 0.75rem 1.5rem 1.25rem;
    background: rgba(11, 12, 15, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
    flex-direction: column;
    gap: 0.75rem;
  }

  .main-nav a {
    padding-bottom: 0;
  }

  .main-nav.main-nav--open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  /* Optional: reduce hero top padding a bit on mobile */
  .hero {
    padding-top: 3.25rem;
  }
}