/* Font Face */
@font-face {
  font-family: "FjallaOne";
  src: url("/fonts/FjallaOne-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* CSS Variables */
:root {
  --background: #121212;
  --foreground: #ffffff;
  --main-color: #02a7c4;
  --secondary-color: #9b59b6;
  --premium-color: #96275b;
  --ultimate-color: #d19e5a;
  --unreal-color: #9b59b6;
  --border-color: rgba(255, 255, 255, 0.15);
}

html {
  scroll-behavior: smooth;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "FjallaOne", sans-serif !important;
}

/* === FIX: Allow Font Awesome icons to use their own font === */
i.fas,
i.fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

i.far,
i.fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

i.fab,
i.fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

body {
  font-family: "FjallaOne", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 83.333%;
  max-width: 1280px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.navbar.scrolled {
  max-width: 1024px;
}

.navbar-container {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  height: 64px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.25),
    inset 0 2px 2px rgba(255, 255, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 2px rgba(0, 0, 0, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.3),
    inset 2px 0 1px rgba(255, 255, 255, 0.15),
    inset -2px 0 1px rgba(255, 255, 255, 0.15);
  transition: all .3s ease;
}

.navbar.scrolled .navbar-container {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.23) 100%
  );
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow:
    0 6px 28px rgba(0, 0, 0, 0.4),
    0 3px 14px rgba(0, 0, 0, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -2px 2px rgba(0, 0, 0, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    inset 2px 0 1px rgba(255, 255, 255, 0.2),
    inset -2px 0 1px rgba(255, 255, 255, 0.2);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s ease;
  position: relative;
  z-index: 1;
}

.navbar-logo:hover {
  opacity: 0.8;
}

.navbar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.navbar-link:hover {
  color: #02a7c4;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.logo-img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
  font-size: 1.125rem;
  color: #fff;
  letter-spacing: .3px;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.navbar-icon {
  background: none;
  border: none;
  color: var(--main-color);
  opacity: 0.85;
  cursor: pointer;
  padding: .5rem;
  transition: all .2s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar-icon:hover {
  opacity: 1;
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(2, 167, 196, 0.4));
}

.icon-large {
  width: 24px;
  height: 24px;
}

/* Pill Button */
.pill-button {
  border-radius: 9999px;
  height: 42px;
  padding: 0 20px;
  background: linear-gradient(
    135deg,
    rgba(2, 167, 196, 0.85) 0%,
    rgba(2, 167, 196, 0.75) 50%,
    rgba(2, 167, 196, 0.8) 100%
  );
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow:
    0 4px 16px rgba(2, 167, 196, 0.4),
    0 2px 8px rgba(2, 167, 196, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 1px rgba(0, 0, 0, 0.2),
    inset 1px 0 0.5px rgba(255, 255, 255, 0.2),
    inset -1px 0 0.5px rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.pill-button:hover {
  transform: scale(1.03);
  background: linear-gradient(
    135deg,
    rgba(2, 167, 196, 0.9) 0%,
    rgba(2, 167, 196, 0.8) 50%,
    rgba(2, 167, 196, 0.85) 100%
  );
  backdrop-filter: blur(20px) saturate(200%);
  -webkit-backdrop-filter: blur(20px) saturate(200%);
  box-shadow:
    0 0 24px rgba(2, 167, 196, 0.6),
    0 4px 20px rgba(2, 167, 196, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.6),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 1px rgba(0, 0, 0, 0.25),
    inset 1px 0 0.5px rgba(255, 255, 255, 0.25),
    inset -1px 0 0.5px rgba(255, 255, 255, 0.25);
}

.pill-button:active {
  transform: scale(1.0);
}

.pill-button.outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.pill-button.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Text Colors */
.text-white {
  color: #fff;
}

.text-primary {
  color: var(--main-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.underline-glow {
  position: relative;
  display: inline-block;
}

.underline-glow::after {
  content: "";
  position: absolute;
  bottom: -.5rem;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, rgba(2, 167, 196, 0.6), transparent);
  box-shadow: 0 0 10px rgba(2, 167, 196, 0.4);
}

/* Hero Section */
.partner-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10rem 1rem 4rem;
  background: linear-gradient(135deg, rgba(2, 167, 196, 0.08) 0%, rgba(155, 89, 182, 0.08) 100%);
  position: relative;
  overflow: hidden;
}

.partner-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 167, 196, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-title span {
  display: inline;
}

.hero-subtitle {
  font-size: 1.75rem;
  color: var(--main-color);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  font-size: 1.125rem;
  padding: 0 2.5rem;
  height: 3rem;
}

/* How It Works Section */
.how-it-works {
  padding: 6rem 1rem;
}

.section-title {
  font-size: 3.5rem;
  font-weight: bold;
  letter-spacing: .02em;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.step-card {
  position: relative;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
  box-shadow: 0 0 20px rgba(2, 167, 196, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 2rem;
}

.step-icon-1 {
  background: rgba(2, 167, 196, 0.15);
  color: var(--main-color);
}

.step-icon-2 {
  background: rgba(155, 89, 182, 0.15);
  color: var(--secondary-color);
}

.step-icon-3 {
  background: rgba(209, 158, 90, 0.15);
  color: #d19e5a;
}

.step-icon svg {
  width: 40px;
  height: 40px;
}

.step-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: bold;
}

.step-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Benefits Section */
.benefits {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.04) 0%, rgba(2, 167, 196, 0.04) 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.benefit-item {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.06) 100%);
  transform: translateY(-4px);
  box-shadow: 0 0 24px rgba(2, 167, 196, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(2, 167, 196, 0.12);
  color: var(--main-color);
}

.benefit-icon svg {
  width: 32px;
  height: 32px;
}

.benefit-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.benefit-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Requirements Section */
.requirements {
  padding: 6rem 1rem;
}

.requirements-content {
  max-width: 700px;
  margin: 3rem auto 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
}

.requirements-intro {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.requirements-list {
  list-style: none;
  margin-bottom: 2rem;
}

.requirements-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--main-color);
  flex-shrink: 0;
}

.requirements-note {
  font-size: 0.95rem;
  color: rgba(2, 167, 196, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: bold;
  padding: 1rem;
  background: rgba(2, 167, 196, 0.1);
  border-radius: 8px;
  border-left: 3px solid var(--main-color);
}

/* Application Form Section */
.application-section {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, rgba(2, 167, 196, 0.06) 0%, rgba(155, 89, 182, 0.06) 100%);
}

.form-intro {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.partner-form {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group.has-error .form-label {
  color: #ff9e9e;
}

.form-group.has-error .form-input,
.form-group.has-error .form-textarea,
.form-group.has-error select,
.form-group.has-error .custom-select select {
  border-color: rgba(255, 107, 107, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.25);
  background: rgba(73, 14, 26, 0.9);
  background-color: rgba(73, 14, 26, 0.9);
  color: #fff;
}

.form-group.has-error .form-input:focus,
.form-group.has-error .form-textarea:focus,
.form-group.has-error select:focus {
  border-color: rgba(255, 153, 153, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 153, 153, 0.3);
}

.form-checkbox.has-error .checkbox-label {
  color: #ffb8b8;
}

.field-error {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #ffcccc;
  letter-spacing: 0.2px;
}

.custom-select {
  position: relative;
  display: block;
  border-radius: 12px;
}

.custom-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding-right: 3rem;
  cursor: pointer;
  background: rgba(10, 15, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85);
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.custom-select select:focus {
  outline: none;
  border-color: #02a7c4;
  box-shadow: 0 0 0 2px rgba(2, 167, 196, 0.2);
  background: rgba(16, 22, 40, 0.95);
}

.form-group.has-error .custom-select {
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.25);
  border-radius: 12px;
}

.custom-select select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.custom-select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.2s ease;
}

.custom-select:focus-within::after {
  border-color: #02a7c4;
}

.form-group.has-error .custom-select::after {
  border-color: rgba(255, 255, 255, 0.9);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-hint {
  display: block;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.social-input-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-input-grid .social-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(10, 15, 30, 0.8);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.social-input-grid .social-icon:hover {
  border-color: rgba(2, 167, 196, 0.8);
  color: #fff;
  transform: translateY(-2px);
}

.social-input-grid .social-icon.connected {
  border-color: #9b59b6;
  background: #9b59b6;
  color: #fff;
  box-shadow: 0 12px 26px rgba(155, 89, 182, 0.35);
}

.form-message {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-align: center;
  transition: all 0.2s ease;
}

.form-message[data-state="error"] {
  display: block;
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.3);
  color: #ffc5c5;
}

.form-message[data-state="success"] {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #b6f2d9;
}

.conditional-input {
  margin-top: 0.9rem;
  animation: fadeIn 0.2s ease;
}

.conditional-input[hidden] {
  display: none !important;
}

.conditional-input .form-input {
  background: rgba(255, 255, 255, 0.04);
}

.submission-success {
  max-width: 700px;
  margin: 2rem auto 0;
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.submission-success h3 {
  margin-bottom: 1rem;
  color: #b6f2d9;
  font-size: 1.4rem;
}

.submission-success p {
  margin: 0 auto;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.form-checkbox .checkbox-label a {
  color: rgba(2, 167, 196, 0.9);
  text-decoration: underline;
}

.form-checkbox .checkbox-label a:hover {
  color: rgba(2, 167, 196, 1);
}

.form-info-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.form-info-box h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-grid div {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.info-grid strong {
  color: #fff;
  margin-right: 0.5rem;
}

.tooltip-trigger {
  position: relative;
  display: inline-block;
  margin-left: 0.5rem;
  color: rgba(2, 167, 196, 0.8);
  cursor: help;
}

.tooltip-trigger:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 1000;
  margin-bottom: 0.5rem;
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.terms-content h3 {
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.terms-content ul {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.terms-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.form-label {
  display: block;
  margin-bottom: 0.75rem;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  font-family: "FjallaOne", sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(2, 167, 196, 0.5);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 16px rgba(2, 167, 196, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.password-field {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

.password-field input {
  padding-right: 3rem;
  margin-bottom: 0;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
}

.password-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(2, 167, 196, 0.8);
  outline-offset: 2px;
}

.custom-date-picker {
  position: relative;
}

.custom-date-picker.has-error .date-display {
  border-color: rgba(255, 107, 107, 0.9);
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.25);
  background: rgba(255, 107, 107, 0.05);
}

.custom-date-picker.has-error .calendar-current select {
  border-color: rgba(255, 107, 107, 0.85);
  background: rgba(73, 14, 26, 0.95);
  background-color: rgba(73, 14, 26, 0.95);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.2);
}

.date-display {
  width: 100%;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-family: "FjallaOne", sans-serif;
  font-size: 0.95rem;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.date-display::after {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 1rem;
}

.date-display:focus,
.date-display[aria-expanded="true"] {
  outline: none;
  border-color: #02a7c4;
  box-shadow: 0 0 0 2px rgba(2, 167, 196, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.date-display.has-value {
  color: #fff;
}

.date-calendar {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.75rem);
  left: 0;
  width: 100%;
  background: rgba(5, 8, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.calendar-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.calendar-current select {
  background: rgba(20, 26, 45, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 10px;
  padding: 0.35rem 0.75rem;
  font-family: "FjallaOne", sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
}

.calendar-current select:focus {
  outline: none;
  border-color: #02a7c4;
  box-shadow: 0 0 0 2px rgba(2, 167, 196, 0.2);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.calendar-weekdays span {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-day {
  text-align: center;
}

.calendar-day.empty .day-btn {
  visibility: hidden;
  pointer-events: none;
}

.day-btn {
  width: 100%;
  padding: 0.65rem 0;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-family: "FjallaOne", sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.day-btn:hover {
  background: rgba(2, 167, 196, 0.22);
  color: #fff;
}

.day-btn.today {
  border: 1px solid rgba(2, 167, 196, 0.65);
}

.day-btn.selected {
  background: #9b59b6;
  color: #fff;
  box-shadow: 0 10px 22px rgba(2, 167, 196, 0.35);
}

.day-btn.disabled {
  color: rgba(255, 255, 255, 0.25);
  cursor: not-allowed;
}

.day-btn.disabled:hover {
  background: transparent;
  color: rgba(255, 255, 255, 0.25);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--main-color);
}

.checkbox-label {
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-weight: normal;
  font-size: 0.95rem;
}

/* Warning Box Styles */
.form-warning {
  margin: 1.5rem 0;
}

.warning-box {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.warning-box > i {
  font-size: 1.5rem;
  color: #f59e0b;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.warning-content {
  flex: 1;
}

.warning-content strong {
  display: block;
  color: #fbbf24;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.warning-content ul {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.7;
}

.warning-content li {
  margin-bottom: 0.35rem;
}

/* Disabled notice */
.disabled-notice {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.disabled-notice i {
  color: rgba(245, 158, 11, 0.8);
}

/* Disabled checkbox styling */
.form-checkbox input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-checkbox input[type="checkbox"]:disabled + .checkbox-label {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-submit {
  width: 100%;
  font-size: 1.1rem;
  height: 3rem;
  margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
  padding: 6rem 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 0 20px rgba(2, 167, 196, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.75rem;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--main-color);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--main-color);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.75rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.open .faq-answer {
  padding: 0 1.75rem 1.75rem;
  max-height: 500px;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 1rem;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.04) 0%, rgba(2, 167, 196, 0.04) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.06) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 0 24px rgba(2, 167, 196, 0.15);
}

.testimonial-content {
  flex: 1;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}

.author-role {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
}

/* Footer */
.footer {
  background: #1a1a1a;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
}

.footer-logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--foreground);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--main-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: .875rem;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: all 0.3s ease;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: right 0.3s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 6rem 2rem 2rem;
}

.mobile-menu-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-link:hover {
  background: rgba(2, 167, 196, 0.2);
  color: #02a7c4;
}

.mobile-menu-button {
  margin-top: 1rem;
  width: 100%;
  justify-content: center;
}

/* Responsive Design */
@media (min-width: 768px) {
  .partner-hero {
    padding: 12rem 1rem 6rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partner-form {
    padding: 4rem;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .navbar-actions {
    gap: .5rem;
  }

  .icon-large {
    width: 16px;
    height: 16px;
  }

  .hamburger-menu {
    display: flex;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }
}

/* === LOGIN MODAL === */
.login-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.login-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.login-modal-content {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  width: 100%;
  max-width: 400px;
  color: #fff;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.login-modal-content h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--main-color);
}

.login-modal-content input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1rem;
}

.login-modal-content input:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 10px rgba(2,167,196,0.3);
}

.login-submit {
  width: 100%;
  height: 3rem;
  margin-top: 0.5rem;
}

.close-login {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.8);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.close-login:hover {
  color: var(--main-color);
}

#login-message {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* === CHANGE PASSWORD MODAL === */
#change-pass-modal .modal-content {
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 400px;
  color: #fff;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}

#change-pass-modal h3 {
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  color: var(--main-color);
}

#change-pass-modal input {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

#change-pass-modal input:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 10px rgba(2,167,196,0.3);
}

#change-pass-modal .modal-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

#change-pass-modal .pill-button.cancel {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

#change-pass-modal .pill-button.cancel:hover {
  background: rgba(255,255,255,0.2);
}

#change-pass-msg {
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* === GENERIC MODAL BASE === */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.form-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  transition: opacity 0.3s ease;
}

.form-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.form-modal-content {
  width: 100%;
  max-width: 420px;
  background: rgba(15, 20, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  color: #fff;
}

.modal-actions.stacked {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #fff;
}
