/* ============================================================
   RUEIL-MALMAISON TRIATHLON - GitHub Pages CSS
   Faithfully reproduces the OpenSaaS/Wasp UI
   ============================================================ */

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

:root {
  --color-primary: #3C50E0;
  --color-yellow: #EAB308;
  --color-yellow-400: #FACC15;
  --color-purple: #747bcb;
  --color-red-brand: #ff0454;
  --color-boxdark: #24303F;
  --color-boxdark-2: #1A222C;
  --color-stroke: #E2E8F0;
  --color-strokedk: #2E3A47;
  --color-form-input: #1d2a39;
  --color-body: #64748B;
  --color-gray-600: #4B5563;
  --color-gray-900: #111827;
  --color-gray-100: #F3F4F6;
  --color-white: #ffffff;
  --color-red-500: #EF4444;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-card: 0px 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-3xl: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: #ffffff;
  color: var(--color-gray-900);
  min-height: 100vh;
  transition: background-color 0.3s, color 0.3s;
}

/* --- DARK MODE --- */
html.dark body {
  background-color: var(--color-boxdark-2);
  color: #ffffff;
}

/* --- UTILITIES --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hidden {
  display: none !important;
}

.hidden-field {
  display: none;
}

/* --- NAVBAR --- */
.navbar-landing {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
}

.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(17, 24, 39, 0.05);
}

html.dark .navbar-landing {
  background: transparent;
}

html.dark .navbar-sticky {
  background: rgba(26, 34, 44, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.navbar-logo-section {
  display: flex;
  align-items: center;
  flex: 1;
}

.navbar-logo-link {
  display: flex;
  align-items: center;
  margin: -0.375rem;
  padding: 0.375rem;
  text-decoration: none;
  color: var(--color-gray-900);
  transition: color 0.3s ease;
}

.navbar-logo-link:hover {
  color: var(--color-yellow);
}

html.dark .navbar-logo-link {
  color: #fff;
}

.nav-logo-img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  border-radius: 4px;
}

.navbar-brand-name {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}

html.dark .navbar-brand-name {
  color: #fff;
}

.navbar-links-desktop {
  display: none;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .navbar-links-desktop {
    display: flex;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-gray-900);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

html.dark .nav-link {
  color: #fff;
}

.navbar-right-desktop {
  display: none;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .navbar-right-desktop {
    display: flex;
  }
}

/* --- DARK MODE SWITCHER --- */
.darkmode-switcher-wrap {
  display: flex;
}

.darkmode-label {
  position: relative;
  display: block;
  height: 1.875rem;
  width: 3.5rem;
  border-radius: 9999px;
  background-color: var(--color-stroke);
  cursor: pointer;
  transition: background-color 0.2s;
}

.darkmode-label.active {
  background-color: var(--color-primary);
}

.darkmode-checkbox {
  position: absolute;
  top: 0;
  z-index: 50;
  margin: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}

.darkmode-knob {
  position: absolute;
  top: 50%;
  left: 3px;
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, left 0.2s ease;
}

.darkmode-label.active .darkmode-knob {
  left: calc(100% - 27px);
}

.mode-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease-in-out;
}

/* --- MOBILE MENU BUTTON --- */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem;
  margin: -0.625rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
  border-radius: var(--radius-md);
}

html.dark .mobile-menu-btn {
  color: #fff;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  width: 100%;
  max-width: 24rem;
  overflow-y: auto;
  background-color: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
}

html.dark .mobile-menu {
  background-color: var(--color-boxdark);
  color: #fff;
  ring: 1px solid rgba(17, 24, 39, 0.1);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #374151;
  padding: 0.625rem;
  border-radius: var(--radius-md);
}

html.dark .mobile-menu-close {
  color: #f9fafb;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 0;
}

.mobile-nav-link {
  display: block;
  margin: -0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--color-gray-900);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: background-color 0.2s;
}

.mobile-nav-link:hover {
  background-color: var(--color-gray-100);
}

html.dark .mobile-nav-link {
  color: #fff;
}

html.dark .mobile-nav-link:hover {
  background-color: var(--color-boxdark-2);
}

.mobile-menu-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(107, 114, 128, 0.1);
}

/* --- HERO SECTION --- */
.hero-wrapper {
  position: relative;
  padding-top: 3.5rem;
  width: 100%;
}

.hero-gradient-top {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -10;
  overflow: hidden;
  width: 100%;
  transform: translateZ(0);
  filter: blur(48px);
}

.hero-gradient-top-inner {
  aspect-ratio: 1020/880;
  width: 55rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FACC15, #D8B4FE);
  opacity: 0.4;
  clip-path: polygon(80% 20%, 90% 55%, 50% 100%, 70% 30%, 20% 50%, 50% 0);
}

html.dark .hero-gradient-top-inner {
  display: none;
}

.hero-gradient-bottom {
  position: absolute;
  inset-x: 0;
  top: calc(100% - 40rem);
  z-index: -10;
  overflow: hidden;
  transform: translateZ(0);
  filter: blur(48px);
}

@media (min-width: 640px) {
  .hero-gradient-bottom {
    top: calc(100% - 65rem);
  }
}

.hero-gradient-bottom-inner {
  position: relative;
  aspect-ratio: 1020/880;
  background: linear-gradient(to bottom right, #FACC15, #D8B4FE);
  opacity: 0.5;
  width: 72.1875rem;
  clip-path: ellipse(80% 30% at 80% 50%);
}

html.dark .hero-gradient-bottom-inner {
  display: none;
}

.hero-content-area {
  padding: 6rem 0;
}

@media (min-width: 640px) {
  .hero-content-area {
    padding: 8rem 0;
  }
}

.hero-inner {
  margin: 0 auto;
  max-width: 80rem;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .hero-inner {
    padding: 0 2rem;
  }
}

.hero-text-center {
  margin: 0 auto;
  max-width: 48rem;
  text-align: center;
  margin-bottom: 4.5rem;
}

@media (min-width: 1024px) {
  .hero-text-center {
    margin-bottom: 4.5rem;
  }
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
}

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

html.dark .hero-title {
  color: #fff;
}

.hero-cta-row {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-md);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  ring: 1px inset rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(17, 24, 39, 0.12);
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
}

.hero-cta-btn:hover {
  border-color: #FDE047;
  border-width: 2px;
}

html.dark .hero-cta-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

html.dark .hero-cta-btn:hover {
  border-color: #FDE047;
}

.hero-image-wrap {
  margin-top: 3.5rem;
}

.hero-image-inner {
  margin: -0.5rem;
  display: flex;
  justify-content: center;
  border-radius: 0.75rem;
}

@media (min-width: 1024px) {
  .hero-image-inner {
    margin: -1rem;
    border-radius: 1rem;
    padding: 1rem;
  }
}

.hero-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(17, 24, 39, 0.1);
  max-width: 100%;
  height: auto;
}

/* --- SECTIONS --- */
.section-container {
  margin: 0 auto;
  max-width: 80rem;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .section-container {
    padding: 0 2rem;
  }
}

.mt-48 {
  margin-top: 12rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.section-title-center {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: 2rem;
}

html.dark .section-title-center {
  color: #fff;
}

/* --- SCHEDULE TABLE --- */
.table-overflow {
  overflow-x: auto;
}

.schedule-table {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  border-collapse: collapse;
  border: 1px solid var(--color-red-brand);
}

.schedule-header-row {
  background-color: var(--color-red-brand);
  color: #fff;
}

.schedule-th {
  border: 1px solid var(--color-red-brand);
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-align: left;
  font-size: 0.875rem;
}

.schedule-row {
  background-color: #fff;
}

html.dark .schedule-row {
  background-color: #111827;
}

.schedule-row-alt {
  background-color: #F3F4F6;
}

html.dark .schedule-row-alt {
  background-color: #1F2937;
}

.schedule-td {
  border: 1px solid var(--color-red-brand);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-gray-900);
}

html.dark .schedule-td {
  color: #fff;
}

.schedule-td-label {
  font-weight: 600;
}

/* --- FEATURES SECTION --- */
.features-header {
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
}

.features-title {
  margin-top: 0.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-gray-900);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .features-title {
    font-size: 3rem;
  }
}

html.dark .features-title {
  color: #fff;
}

.text-yellow-accent {
  color: var(--color-yellow);
}

.features-subtitle {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  line-height: 2;
  color: var(--color-gray-600);
}

html.dark .features-subtitle {
  color: #fff;
}

.features-grid-wrapper {
  margin: 0 auto;
  margin-top: 4rem;
  max-width: 42rem;
}

@media (min-width: 640px) {
  .features-grid-wrapper {
    margin-top: 5rem;
  }
}

@media (min-width: 1024px) {
  .features-grid-wrapper {
    margin-top: 6rem;
    max-width: 56rem;
  }
}

.features-grid {
  display: grid;
  max-width: 28rem;
  grid-template-columns: 1fr;
  gap: 2.5rem 2rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .features-grid {
    max-width: none;
    grid-template-columns: 1fr 1fr;
    row-gap: 4rem;
  }
}

.feature-item {
  position: relative;
  padding-left: 4rem;
}

.feature-dt {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--color-gray-900);
}

html.dark .feature-dt {
  color: #fff;
}

.feature-icon-box {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #FACC15;
  background-color: rgba(254, 240, 138, 0.5);
  border-radius: var(--radius-lg);
}

html.dark .feature-icon-box {
  background-color: var(--color-boxdark);
}

.feature-icon {
  font-size: 1.5rem;
}

.feature-dd {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-gray-600);
}

html.dark .feature-dd {
  color: #fff;
}

/* --- PAGE WRAPPER (non-landing) --- */
.page-wrapper {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  min-height: calc(100vh - 4rem);
}

@media (min-width: 1024px) {
  .page-wrapper {
    padding-top: 2.5rem;
  }
}

.page-title-center {
  margin: 0 auto;
  max-width: 56rem;
  text-align: center;
  padding-top: 0.5rem;
}

.page-main-title {
  margin-top: 0.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-gray-900);
  line-height: 1.2;
}

@media (min-width: 640px) {
  .page-main-title {
    font-size: 3rem;
  }
}

html.dark .page-main-title {
  color: #fff;
}

.text-purple-accent {
  color: var(--color-purple);
}

.page-subtitle {
  margin: 1.5rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 2;
  color: var(--color-gray-600);
}

html.dark .page-subtitle {
  color: #fff;
}

/* --- ALERT BANNER --- */
.alert-banner-red {
  background-color: var(--color-red-500);
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-md);
}

.alert-banner-text {
  font-size: 1rem;
  font-weight: 700;
}

/* --- PRICING CARDS --- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto;
  margin-top: 4rem;
  max-width: 28rem;
  isolation: isolate;
}

@media (min-width: 640px) {
  .pricing-grid {
    margin-top: 5rem;
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: none;
    gap: 2rem;
    margin-left: 0;
    margin-right: 0;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  padding: 2rem;
}

@media (min-width: 1280px) {
  .pricing-card {
    padding: 2.5rem;
  }
}

.ring-1 {
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.1);
  margin-top: 2rem;
}

html.dark .ring-1 {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ring-2 {
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}

html.dark .ring-2 {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.pricing-card-best {
  margin-top: 0 !important;
}

.pricing-best-bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  filter: blur(48px);
}

.pricing-best-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, #FACC15, #D8B4FE);
  opacity: 0.3;
  clip-path: circle(670% at 50% 50%);
}

html.dark .pricing-best-gradient {
  opacity: 0.5;
}

.pricing-card-body {
  margin-bottom: 0;
}

.pricing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pricing-plan-name {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 2;
  color: var(--color-gray-900);
}

html.dark .pricing-plan-name {
  color: #fff;
}

.pricing-plan-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-gray-600);
}

html.dark .pricing-plan-desc {
  color: #fff;
}

.pricing-price-row {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-gray-900);
}

html.dark .pricing-price {
  color: #fff;
}

.pricing-price-period {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-gray-600);
}

html.dark .pricing-price-period {
  color: #fff;
}

.pricing-features-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-gray-600);
  list-style: none;
}

html.dark .pricing-features-list {
  color: #fff;
}

.pricing-feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.check-icon {
  height: 1.5rem;
  width: 1.25rem;
  flex-shrink: 0;
  color: var(--color-purple);
}

/* --- CONTACT FORM SECTION --- */
.contact-form-section {
  padding-top: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-form-section {
    padding-top: 2.5rem;
  }
}

.contact-form-header-block {
  background-color: var(--color-gray-100);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  margin-top: 2.5rem;
}

html.dark .contact-form-header-block {
  background-color: #1F2937;
}

.contact-form-main-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-gray-900);
  text-align: center;
}

@media (min-width: 640px) {
  .contact-form-main-title {
    font-size: 1.875rem;
  }
}

html.dark .contact-form-main-title {
  color: #fff;
}

.contact-form-subtitle {
  margin-top: 1rem;
  color: var(--color-gray-600);
  text-align: center;
  font-size: 1.125rem;
  line-height: 2;
}

html.dark .contact-form-subtitle {
  color: #d1d5db;
}

.form-card {
  margin-top: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 24, 39, 0.1);
  background-color: #fff;
  box-shadow: var(--shadow-card);
}

html.dark .form-card {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: var(--color-boxdark);
}

.form-card-header {
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
  padding: 1rem 1.625rem;
}

html.dark .form-card-header {
  border-color: rgba(255, 255, 255, 0.1);
}

.form-card-title {
  font-weight: 500;
  color: var(--color-gray-900);
}

html.dark .form-card-title {
  color: #fff;
}

.form-body {
  padding: 1.625rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1280px) {
  .form-row {
    flex-direction: row;
  }
}

.form-col {
  width: 100%;
}

@media (min-width: 1280px) {
  .form-col {
    width: 50%;
  }
}

.form-group {
  width: 100%;
}

.form-label {
  display: block;
  margin-bottom: 0.625rem;
  font-size: 0.875rem;
  color: var(--color-gray-900);
}

html.dark .form-label {
  color: #fff;
}

.form-input {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(17, 24, 39, 0.1);
  background: transparent;
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  font-family: var(--font-main);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
  color: var(--color-gray-900);
}

html.dark .form-input {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: var(--color-form-input);
  color: #fff;
}

.form-input:focus {
  border-color: var(--color-purple);
}

.form-body.submitted .form-input:invalid {
  border-color: var(--color-red-500);
  background-color: rgba(239, 68, 68, 0.05);
}

.form-body.submitted .form-input:invalid:focus {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

.form-input::placeholder {
  color: #9ca3af;
}

select.form-input {
  appearance: none;
  cursor: pointer;
}

html.dark select.form-input option {
  background-color: var(--color-boxdark);
}

.radio-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-900);
  cursor: pointer;
}

html.dark .radio-label {
  color: #fff;
}

.radio-input {
  accent-color: var(--color-purple);
  width: 1rem;
  height: 1rem;
}

.form-submit-row {
  margin-top: 1.5rem;
}

.form-submit-btn {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-purple);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-purple);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background-color 0.2s, color 0.2s;
}

.form-submit-btn:hover {
  background-color: var(--color-purple);
  color: #fff;
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-success {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background-color: #D1FAE5;
  color: #065F46;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
}

.form-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background-color: #FEE2E2;
  color: #991B1B;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
}

/* --- ABOUT US PAGE --- */
.aboutus-card {
  margin: 2rem 0;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: var(--radius-3xl);
}

html.dark .aboutus-card {
  border-color: rgba(255, 255, 255, 0.1);
}

.aboutus-card-inner {
  padding: 2rem 1rem;
  margin: 0 auto;
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aboutus-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

html.dark .aboutus-section-title {
  color: #fff;
}

.aboutus-text {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  line-height: 1.75;
}

html.dark .aboutus-text {
  color: #fff;
}

.join-btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--color-purple);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background-color 0.2s;
}

.join-btn:hover {
  background-color: #ff5081;
}

/* --- THANK YOU PAGE --- */
.thank-you-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 2rem;
  gap: 1.5rem;
}

.thank-you-icon {
  font-size: 4rem;
}

.thank-you-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gray-900);
}

html.dark .thank-you-title {
  color: #fff;
}

.thank-you-text {
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--color-gray-600);
  line-height: 1.75;
}

html.dark .thank-you-text {
  color: #fff;
}

/* --- FOOTER --- */
.footer-outer {
  margin: 1.5rem auto 0;
  max-width: 80rem;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .footer-outer {
    padding: 0 2rem;
  }
}

.footer-inner {
  position: relative;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  padding: 6rem 0;
}

html.dark .footer-inner {
  border-color: rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer-inner {
    margin-top: 2rem;
  }
}

.footer-brand-block {
  text-align: center;
  margin-bottom: 2.5rem;
}

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-gray-900);
}

html.dark .footer-brand-title {
  color: #fff;
}

.footer-brand-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-gray-600);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

html.dark .footer-brand-desc {
  color: #fff;
}

.footer-columns {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-gray-900);
}

html.dark .footer-col-title {
  color: #fff;
}

.footer-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.footer-link {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-gray-600);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--color-gray-900);
}

html.dark .footer-link {
  color: #fff;
}

html.dark .footer-link:hover {
  color: #d1d5db;
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: #fff;
  border: 1px solid var(--color-stroke);
  border-radius: var(--radius-xl);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: calc(100% - 2rem);
}

html.dark .cookie-banner {
  background: var(--color-boxdark);
  border-color: var(--color-strokedk);
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--color-gray-600);
}

html.dark .cookie-text {
  color: #d1d5db;
}

.cookie-btn {
  background-color: var(--color-purple);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-main);
  transition: background-color 0.2s;
}

.cookie-btn:hover {
  background-color: #5a63b8;
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 640px) {
  .hero-title {
    font-size: 1.875rem;
  }

  .features-title {
    font-size: 1.875rem;
  }

  .page-main-title {
    font-size: 1.875rem;
  }
}