/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --background: #ffffff;
  --foreground: #212121;
  --card: #f5f5f5;
  --card-foreground: #212121;
  --primary: #8EC85A;
  --primary-foreground: #000000;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --destructive: hsl(0, 84%, 60%);
  --dark-surface: #000000;
  --dark-surface-foreground: #ffffff;
  --radius: 0.75rem;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

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

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

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== Animations ===== */
@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.6s ease-out forwards;
}

.animate-fade-up-delay {
  opacity: 0;
  animation: fade-up 0.6s ease-out 0.2s forwards;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.navbar-logo {
  height: 1.75rem;
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(33, 33, 33, 0.7);
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-cta {
  display: none;
  align-items: center;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--foreground);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}

.navbar-cta-demo {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-switch a {
  color: var(--muted-foreground);
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  transition: color 0.2s, background-color 0.2s;
}

.lang-switch a:hover {
  color: var(--foreground);
}

.lang-switch a.active {
  color: var(--primary-foreground);
  background-color: var(--primary);
}

.lang-switch .lang-sep {
  color: var(--muted-foreground);
  user-select: none;
}

.navbar-cta:hover {
  opacity: 0.9;
}

.mobile-cta-outline {
  background-color: var(--foreground) !important;
  color: #ffffff !important;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1.5rem 1.5rem;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(33, 33, 33, 0.7);
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu .mobile-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.875rem;
  width: fit-content;
}

/* ===== Hero Section ===== */
.hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.hero-subtitle {
  margin-top: 1.5rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 32rem;
  line-height: 1.7;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.icon-grid-item {
  width: 100%;
  max-width: 3.5rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 2.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.hero-cta:hover {
  opacity: 0.9;
}

.hero-video {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  background-color: #000;
}

.hero-video video {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-video .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.hero-video .play-btn-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--destructive);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.hero-video:hover .play-btn-circle {
  transform: scale(1.1);
}

.hero-video .play-btn-circle svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
  margin-left: 4px;
  fill: currentColor;
}

/* ===== Why Beyonda Section ===== */
.why-beyonda {
  padding: 4rem 0;
  background-color: var(--background);
}

.why-beyonda h2 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 3rem;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background-color: rgb(239, 239, 239);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-item-title {
  font-weight: 700;
  color: var(--foreground);
}

.feature-item-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.why-image {
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  order: -1;
}

.why-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: right center;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 3 Steps */
.steps {
  margin-top: 2.5rem;
}

.steps h3 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 3rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.step {
  text-align: center;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-num {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
}

.step-num-img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.step-icon-img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
}

.step-header svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
  stroke-width: 1.5;
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.step-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ===== Showcase Section ===== */
.showcase {
  padding: 4rem 0;
  background-color: var(--dark-surface);
  color: var(--dark-surface-foreground);
}

.showcase h2 {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.showcase-subtitle {
  color: rgba(255, 255, 255, 0.7);
  max-width: 42rem;
  margin-bottom: 3rem;
  font-size: 1.125rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

.showcase-image {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.showcase-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

.showcase-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.use-cases-card {
  border-radius: 1rem;
  background-color: #1D2024;
  padding: 1.5rem;
}

.use-cases-card h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.use-case-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.use-case-item {
  background-color: rgb(101 102 102 / 60%);
  border-radius: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.tech-card {
  border-radius: 1rem;
  background-color: var(--primary);
  padding: 1.5rem;
  color: #000000;
}

.tech-card h3 {
  font-weight: 800;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: #000000;
}

.tech-card li {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: #000000;
}

/* ===== Features Section ===== */
.features {
  padding: 4rem 0;
  background-color: var(--background);
}

.features h2 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}


.app-box {
  border-radius: 1rem;
  background-color: var(--primary);
  padding: 1.5rem;
  color: var(--primary-foreground);
}

.app-box h3 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.app-box li {
  font-size: 0.875rem;
  margin-bottom: 0.375rem;
}

.features-image {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  order: -1;
}

.features-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 1rem;
}

/* ===== References Section ===== */
.references {
  padding: 4rem 0;
  background-color: #000000;
  color: #ffffff;
}

.references h2 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 3rem;
}

.ref-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.ref-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-refs 35s linear infinite;
}

.ref-carousel:hover .ref-track {
  animation-play-state: paused;
}

@keyframes scroll-refs {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ref-card {
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 85vw;
  flex-shrink: 0;
}

.ref-card-top {
  background-color: #2a2a2a;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ref-company {
  color: var(--primary);
  font-size: 1.125rem;
  font-weight: 700;
}

.ref-image {
  width: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}

.ref-card-bottom {
  background-color: var(--primary);
  padding: 1.25rem;
  color: #000000;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ref-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.ref-card-bottom ul {
  list-style: none;
  padding: 0;
}

.ref-card-bottom li {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.ref-more-link {
  display: block;
  text-align: right;
  margin-top: auto;
  padding-top: 0.75rem;
  color: #000000;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.ref-more-link:hover {
  opacity: 0.6;
}

/* ===== Popup Banner ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: popup-fade-in 0.4s ease 0.6s forwards;
}

.popup-overlay.hidden {
  display: none;
}

@keyframes popup-fade-in {
  to { opacity: 1; }
}

.popup-box {
  position: relative;
  max-width: 720px;
  width: 90%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.popup-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.popup-close:hover {
  background: rgba(0, 0, 0, 0.92);
}

.popup-link {
  display: block;
  line-height: 0;
}

.popup-img-desktop,
.popup-img-mobile {
  width: 100%;
  display: block;
}

.popup-img-mobile {
  display: none;
}

@media (max-width: 640px) {
  .popup-img-desktop {
    display: none;
  }
  .popup-img-mobile {
    display: block;
  }
  .popup-box {
    width: 95%;
  }
}

/* ===== Logo Carousel ===== */
.logo-carousel-section {
  padding: 2rem 0;
  background-color: var(--background);
}

.logo-carousel {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.logo-track img {
  height: 2.5rem;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== News Page ===== */
.news-page {
  padding: 6rem 0 4rem;
  background-color: var(--background);
  min-height: 60vh;
}

.news-page h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 2.5rem;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.news-card {
  display: grid;
  grid-template-columns: 1fr;
  background-color: rgb(239, 239, 239);
  border-radius: 1rem;
  overflow: hidden;
}

.news-card-image {
  overflow: hidden;
  order: -1;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.news-card-logo {
  height: 2rem;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.news-card-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.news-card-content p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.news-beyonda-title {
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.news-beyonda-icon {
  font-size: 0.8em;
}

/* ===== FAQ Page ===== */
.faq-page {
  padding: 6rem 0 4rem;
  background-color: var(--background);
  min-height: 60vh;
}

.faq-page h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 2.5rem;
}

.faq-list {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--foreground);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--muted-foreground);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 0;
}

.faq-item.open .faq-answer {
  padding: 0 0 1.25rem;
}

.faq-answer p {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.faq-answer li {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

/* ===== Reference Testimonial ===== */
.ref-testimonial {
  margin-top: 1rem;
  background-color: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  padding: 0.65rem 0.875rem;
  text-align: center;
}

.ref-testimonial p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #000000;
  font-style: italic;
}

.ref-testimonial .quote-mark {
  font-size: 1.75rem;
  font-weight: 900;
  color: #000000;
  line-height: 1;
  display: block;
}

.ref-testimonial .quote-open {
  text-align: left;
  margin-bottom: -0.25rem;
}

.ref-testimonial .quote-close {
  text-align: right;
  margin-top: -0.25rem;
}

.ref-testimonial-author {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #000000;
  font-style: normal !important;
}

.ref-testimonial-author strong {
  font-weight: 700;
}

/* ===== Contact Form Section ===== */
.contact-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-detail-item strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.contact-detail-item a {
  color: var(--foreground);
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.2s;
}

.contact-detail-item a:hover {
  color: var(--primary);
}

.contact-form-wrap h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.contact-form {
  background-color: rgb(239, 239, 239);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--foreground);
  background-color: #ffffff;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 5rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  accent-color: var(--primary);
  flex-shrink: 0;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.form-checkbox label a {
  color: var(--primary);
  text-decoration: underline;
}

.form-submit {
  padding: 0.875rem 2.5rem;
  border: none;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  align-self: flex-start;
}

.form-submit:hover {
  opacity: 0.9;
}

.form-success {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #e53e3e;
}

.form-error-msg {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

/* ===== Footer ===== */
.footer {
  padding: 3rem 0;
  background-color: var(--dark-surface);
  color: var(--dark-surface-foreground);
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-logo {
  height: 1.75rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  max-width: 28rem;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-link-highlight {
  color: var(--primary) !important;
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: left;
  width: 100%;
  margin-top: 1rem;
}

.footer-copy a {
  color: var(--primary);
  text-decoration: none;
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 6rem 0 4rem;
  background-color: var(--background);
  min-height: 60vh;
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--foreground);
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-page p {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 48rem;
}

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .navbar .container {
    height: 5rem;
  }

  .navbar-logo {
    height: 2rem;
  }

  .navbar-links {
    display: flex;
  }

  .navbar-cta {
    display: inline-flex;
  }

  .mobile-toggle {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .hero {
    padding-top: 9rem;
    padding-bottom: 2rem;
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .why-beyonda h2 {
    font-size: 3rem;
  }

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

  .why-image {
    order: 0;
  }

  .why-image img {
    width: 460px;
    height: 460px;
  }

  .steps h3 {
    font-size: 2.25rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase h2 {
    font-size: 3rem;
  }

  .showcase-grid {
    grid-template-columns: 3fr 2fr;
  }

  .showcase-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    aspect-ratio: auto;
    object-position: left center;
  }

  .features h2 {
    font-size: 3rem;
  }

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

  .features-image {
    order: 0;
  }

  .features-image img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    aspect-ratio: auto;
    object-position: right center;
  }

  .ref-card {
    width: 26rem;
  }

  .news-card {
    grid-template-columns: 2fr 3fr;
  }

  .news-card-image {
    order: 0;
  }

  .news-card-reverse {
    grid-template-columns: 3fr 2fr;
  }

  .news-card-image img {
    min-height: 20rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .why-beyonda,
  .showcase,
  .features,
  .references,
  .contact-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .why-beyonda,
  .showcase,
  .features {
    padding: 6rem 0;
  }
}

@media (max-width: 480px) {
  .step-num-img,
  .step-icon-img {
    width: 3.5rem;
    height: 3.5rem;
  }

  .legal-page h1 {
    font-size: 1.75rem;
  }

  .references h2 {
    font-size: 1.75rem;
  }

  .logo-track img {
    height: 2rem;
  }

  .logo-track {
    gap: 2rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}
