:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --accent-color: #10b981;
  --accent-hover: #059669;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f3f4f6;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Landing Page */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: white;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.landing-page.active {
  opacity: 1;
  transform: translateY(0);
}

.landing-page::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.15) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.landing-page::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1100;
  pointer-events: none; /* Allow clicks to pass through empty space */
}

.landing-header > * {
  pointer-events: auto; /* Re-enable clicks on interactive elements */
}

.language-toggle {
  position: static; /* Reset fixed positioning */
  margin: 0;
}

.lang-btn {
  background-color: var(--bg-white);
  border: 2px solid var(--border-color);
  color: var(--text-dark);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-btn svg {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.lang-btn:hover {
  background-color: var(--bg-light);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Language button on landing page */
.landing-page .lang-btn {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.landing-page .lang-btn svg {
  color: white;
}

.landing-page .lang-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.landing-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-icon {
  width: 150px;
  height: 150px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4)) brightness(0)
    saturate(100%) invert(68%) sepia(43%) saturate(989%) hue-rotate(191deg)
    brightness(101%) contrast(96%);
  animation: float 3s ease-in-out infinite;
  /* Color tinted to #60a5fa (blue) */
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 700px;
  color: #e2e8f0;
  line-height: 1.7;
}

.privacy-badge {
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}

.privacy-badge .privacy-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #10b981;
}

.how-it-works-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  width: 100%;
  max-width: 500px;
}

.provider-carousel {
  margin: 3rem 0;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  position: relative;
  padding: 1.5rem 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.carousel-track {
  display: inline-flex;
  gap: 2rem;
  animation: scroll 30s linear infinite;
}

.carousel-logo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.carousel-logo:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.carousel-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  border-radius: 8px;
}

.carousel-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  opacity: 0.8;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-80px * 10 - 2rem * 10));
  }
}

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

.mini-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mini-step-icon {
  background-color: rgba(96, 165, 250, 0.15);
  border: 2px solid rgba(96, 165, 250, 0.3);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.mini-step:hover .mini-step-icon {
  background-color: rgba(96, 165, 250, 0.25);
  border-color: rgba(96, 165, 250, 0.5);
  transform: scale(1.05);
}

.mini-step-icon svg {
  width: 28px;
  height: 28px;
  color: #60a5fa;
}

.mini-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}

.btn-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  color: white;
  border: none;
  padding: 1.25rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-hero svg {
  width: 24px;
  height: 24px;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
  opacity: 0.7;
}

.scroll-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Main Container */
.main-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
}

.main-section {
  flex: 1;
  padding: 3rem 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.main-content {
  width: 100%;
}

.content-header {
  text-align: center;
  margin-bottom: 3rem;
}

.header-icon {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-lg);
}

.header-icon svg {
  width: 40px;
  height: 40px;
  stroke-width: 2;
}

.content-header h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.header-description {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* User Info Display */
.user-info-display {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.user-info-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.user-info-icon {
  background-color: var(--primary-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-info-icon svg {
  width: 28px;
  height: 28px;
}

.user-info-text {
  flex: 1;
}

.user-info-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.user-info-email {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.user-info-pin {
  font-size: 0.85rem;
  color: var(--text-light);
}

.btn-edit {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  margin-left: auto;
}

.btn-edit svg {
  width: 18px;
  height: 18px;
}

.btn-edit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 550px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-lg);
}

.modal-icon svg {
  width: 35px;
  height: 35px;
  stroke-width: 2;
}

.modal-header h2 {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.modal-description {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.5;
}

.modal-form {
  margin-bottom: 2rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.modal-actions .email-link-btn {
  width: 240px; /* match list CTA width on desktop */
}

/* Modal cancel button variant styled like secondary but matches CTA sizing */
.cancel-btn {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
}

.cancel-btn:hover {
  background-color: var(--bg-light);
  border-color: var(--text-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.required-asterisk {
  color: var(--danger-color);
}

.label-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.form-group input {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-group small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-light);
  font-size: 0.85rem;
}

.provider-info {
  flex: 1;
  padding-right: 2rem;
}

.provider-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.provider-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

.email-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.email-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  transition: all 0.2s;
  background-color: var(--bg-white);
  gap: 1rem;
}

.provider-logo-wrapper {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  position: relative;
}

.provider-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.provider-logo-fallback {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  position: absolute;
  top: 0;
  left: 0;
}

.email-link-item:hover {
  border-color: var(--primary-color);
  background-color: #eff6ff;
  box-shadow: var(--shadow-md);
}

.email-link-info {
  flex: 1;
}

.email-link-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.email-link-desc {
  font-size: 0.85rem;
  color: var(--text-light);
}

.email-link-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 240px; /* consistent width across list */
  white-space: nowrap;
}

.email-link-btn svg {
  width: 18px;
  height: 18px;
}

.email-link-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.bankid-btn {
  background-color: var(--accent-color);
  color: white;
}

.bankid-btn:hover {
  background-color: var(--accent-hover);
}

.webform-btn {
  background-color: #8b5cf6;
  color: white;
}

.webform-btn:hover {
  background-color: #7c3aed;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
  background-color: var(--border-color);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  border-color: var(--text-dark);
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 1.5rem;
  margin-right: 2rem;
  align-items: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  padding: 0.5rem 0;
  position: relative;
  cursor: pointer;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  transition: all 0.2s;
  margin-right: auto;
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.landing-header.scrolled .hamburger {
  background: white;
  border-color: var(--border-color);
  color: var(--text-dark);
}

/* Scrolled Header State */
.landing-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.landing-header.scrolled .nav-link {
  color: var(--text-dark);
}

.landing-header.scrolled .nav-link:hover {
  color: var(--primary-color);
}

.landing-header.scrolled .lang-btn {
  border-color: var(--border-color);
  color: var(--text-dark);
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.landing-header.scrolled .lang-btn svg {
  color: var(--primary-color);
}

/* Info Modal Specifics */
.info-modal-content {
  max-width: 800px;
  width: 95%;
}

.info-modal-body {
  color: var(--text-dark);
  line-height: 1.7;
}

.info-modal-body h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.info-modal-body h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.info-modal-body p {
  margin-bottom: 1rem;
}

.info-modal-body ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.info-modal-body li {
  margin-bottom: 0.5rem;
}

.info-modal-body .faq-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.info-modal-body .faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.info-modal-body .faq-answer {
  color: var(--text-light);
  padding-left: 1.8rem;
}

.info-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.2s;
}

.info-modal-close:hover {
  color: var(--text-dark);
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  #landing,
  .landing-page,
  #mainContainer,
  .main-container {
    max-width: 100%;
  }

  .landing-content,
  .main-section {
    max-width: 100%;
    padding: 2rem 1rem;
  }

  /* Ensure space so scroll indicator doesn't overlap content */
  .landing-content {
    padding-bottom: 6rem;
  }

  .provider-carousel {
    max-width: 100%;
  }

  .language-toggle {
    top: 1rem;
    right: 1rem;
  }

  .lang-btn {
    padding: 0.5rem 0.875rem;
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .how-it-works-mini {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .email-link-item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
  }

  .email-link-item .provider-logo-wrapper {
    flex-shrink: 0;
  }

  .email-link-item .email-link-info {
    flex: 1;
    min-width: 0;
  }

  .email-link-btn {
    width: 100%;
    flex-basis: 100%;
    justify-content: center;
  }

  .user-info-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-edit {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .modal-content {
    padding: 2rem 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn-secondary,
  .modal-actions .btn-primary,
  .modal-actions .email-link-btn {
    width: 100%;
  }

  /* Hide "Get Started" hero button on small screens */
  #startBtn {
    display: none;
  }

  /* Extra spacing for scroll label on mobile */
  .scroll-label {
    margin-top: 0.5rem;
  }

  /* Mobile Navigation */
  .hamburger {
    display: flex;
    z-index: 1102;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    margin-right: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 1101;
  }

  .main-nav.open {
    left: 0;
  }

  .main-nav .nav-link {
    color: white;
    padding: 1rem 0;
    font-size: 1.1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav .nav-link::after {
    display: none;
  }

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

  /* Mobile menu overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1099;
  }

  .nav-overlay.open {
    display: block;
  }

  .language-toggle {
    position: static;
    margin-bottom: 0;
  }

  .landing-header {
    padding: 1rem;
  }

  .landing-header.scrolled .hamburger {
    background: white;
    border-color: var(--border-color);
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: white;
  padding: 1.5rem 2rem;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

footer p {
  margin-bottom: 0.25rem;
  opacity: 0.9;
  font-size: 0.85rem;
}

footer p:last-child {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0;
}

.footer-links {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}
