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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #ffffff;
  color: #1a1a2e;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation;
  scroll-behavior: smooth;
}

.hidden {
  display: none !important;
}

.nord-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   HEADER — bg-background py-3 px-4 border-b
   ============================================ */
.noju-header {
  background-color: #ffffff;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.noju-header-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.noju-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.noju-logo {
  height: 20px;
  width: auto;
  flex-shrink: 0;
}

.header-partner-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  color: hsl(142, 76%, 36%);
  font-size: 13px;
  font-weight: 500;
}

.header-shield {
  width: 16px;
  height: 16px;
  color: hsl(142, 76%, 36%);
  flex-shrink: 0;
}

.header-distributor {
  color: hsl(220, 10%, 40%);
  font-size: 14px;
  display: none;
}

@media (min-width: 640px) {
  .header-distributor {
    display: inline;
  }
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.lang-btn {
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: hsl(220, 10%, 40%);
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s;
}

.lang-btn:hover {
  color: #1a1a2e;
}

.lang-btn.active {
  background-color: hsl(229, 95%, 61%);
  color: #ffffff;
  font-weight: 600;
}

.lang-divider {
  color: hsl(220, 10%, 40%);
}

/* ============================================
   HERO SECTION — hero-gradient px-4 py-8 pb-16
   ============================================ */
.hero-section {
  background: linear-gradient(135deg, hsl(235, 85%, 58%) 0%, hsl(225, 90%, 55%) 100%);
  padding: 32px 16px 64px;
}

.hero-container {
  max-width: 448px;
  margin: 0 auto;
  text-align: center;
}

/* NordVPN Logo + Partner Badge */
.hero-logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.nordvpn-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .nordvpn-logo {
    height: 48px;
  }
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.partner-badge-icon {
  width: 14px;
  height: 14px;
}

/* Hero Title */
.hero-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 30px;
  }
}

.hero-highlight {
  font-style: italic;
}

/* Hero Subtitle */
.hero-subtitle {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 24px;
}

/* Avatar Stack */
.avatar-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.avatar-images {
  display: flex;
}

.avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid hsl(229, 95%, 61%);
  object-fit: cover;
  margin-left: -12px;
  background: #ffffff;
}

.avatar-img:first-child {
  margin-left: 0;
}

.avatar-count {
  background: #ffffff;
  color: hsl(229, 95%, 61%);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 9999px;
  margin-left: 8px;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 0 16px;
}

@media (min-width: 640px) {
  .step-indicator {
    gap: 16px;
    padding: 16px 0 24px;
  }
}

.step-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 640px) {
  .step-item {
    gap: 8px;
  }
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
}

.step-circle.active {
  background-color: #ffffff;
  color: hsl(229, 95%, 61%);
}

.step-circle.completed {
  background-color: hsl(142, 76%, 36%);
  color: #ffffff;
}

.step-circle.pending {
  background-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
}

.step-text {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
}

@media (min-width: 640px) {
  .step-text {
    font-size: 14px;
  }
}

.step-text-pending {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   PHONE FORM (on hero gradient bg)
   ============================================ */
.form-container {
  margin-top: 0;
}

.step-content {
  transition: opacity 0.3s ease;
}

.phone-form-wrapper {
  width: 100%;
  max-width: 384px;
  margin: 0 auto;
}

.form-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  text-align: center;
  margin-bottom: 4px;
}

.form-pricing {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Phone Input Row — bg-primary-foreground rounded-lg */
.phone-input-row {
  display: flex;
  align-items: center;
  height: 48px;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0 12px;
  gap: 8px;
  transition: all 0.2s;
}

.phone-input-row.focused {
  box-shadow: 0 0 0 3px rgba(62, 95, 255, 0.2);
}

.phone-input-row.valid {
  box-shadow: 0 0 0 2px hsl(142, 76%, 36%);
}

.phone-input-row.error {
  box-shadow: 0 0 0 2px #ef4444;
}

.phone-input-icon {
  width: 18px;
  height: 18px;
  color: #666;
  flex-shrink: 0;
}

.phone-country-code {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a2e;
  flex-shrink: 0;
}

.phone-input {
  flex: 1;
  height: 100%;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  border: none;
  outline: none;
  background: transparent;
  color: #1a1a2e;
  min-width: 0;
}

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

/* Phone Progress */
.phone-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.6);
}

.phone-progress-count {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.phone-progress-count.has-input {
  color: rgba(255, 255, 255, 0.9);
}

.phone-progress-remaining {
  color: rgba(255, 255, 255, 0.6);
}

.phone-progress-valid {
  color: hsl(142, 76%, 36%);
  font-weight: 500;
}

/* Validation check inside input row */
.input-valid-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsl(142, 76%, 36%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.input-valid-check svg {
  width: 14px;
  height: 14px;
  color: #ffffff;
}

/* Error Message */
.error-message {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #fef2f2;
  border-radius: 8px;
  border: 1px solid #ef4444;
  padding: 8px;
  margin-top: 12px;
  color: #dc2626;
  font-size: 14px;
}

/* CTA Button — coral, rounded-full, h-14 */
.cta-btn {
  width: 100%;
  margin-top: 16px;
  height: 56px;
  padding: 0 24px;
  background-color: hsl(5, 79%, 50%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 10px 25px rgba(224, 47, 31, 0.3);
}

.cta-btn:hover:not(:disabled) {
  background-color: hsl(5, 79%, 44%);
  box-shadow: 0 15px 35px rgba(224, 47, 31, 0.4);
  transform: scale(1.02);
}

.cta-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.cta-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

/* Form Disclaimer */
.form-consent {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  margin-top: 12px;
  line-height: 1.4;
}

.form-consent a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.cta-consent {
  color: #666;
  text-align: center;
}

.cta-consent a {
  color: #2563eb;
}

.footer-noju-info {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 4px;
}

.form-disclaimer {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  margin-top: 12px;
  line-height: 1.4;
}

/* ============================================
   OTP / PIN FORM (on hero gradient bg)
   ============================================ */
.otp-wrapper {
  max-width: 448px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s;
  margin-bottom: -8px;
}

.back-btn:hover {
  color: #ffffff;
}

.otp-header {
  text-align: center;
}

.otp-title {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
}

.otp-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 4px;
}

.otp-sent-to {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-top: 4px;
}

.otp-countdown {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-left: 8px;
}

.otp-input-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.otp-input {
  width: 100%;
  max-width: 320px;
  height: 56px;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #1a1a2e;
  outline: none;
  text-transform: uppercase;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.otp-input::placeholder {
  color: rgba(156, 163, 175, 0.4);
  letter-spacing: normal;
  font-weight: 400;
  font-size: 16px;
}

.otp-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px hsl(229, 95%, 61%);
}

.otp-input.valid {
  border-color: #22c55e;
}

.otp-input.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

/* PIN Character Counter */
.otp-char-counter {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.otp-char-counter.valid {
  color: #4ade80;
}

.otp-char-counter .valid-check {
  color: #4ade80;
}

/* Carrier Footer & Consent */
.carrier-consent {
  margin-top: 16px;
  margin-bottom: 12px;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.carrier-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  line-height: 1.5;
}

.carrier-consent-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.carrier-consent-label a {
  color: #7dd3fc;
  text-decoration: underline;
}

.carrier-footer {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 0 8px;
}

/* ============================================
   FEATURES SECTION — bg-background py-12 px-4
   ============================================ */
.features-section {
  background-color: #ffffff;
  padding: 48px 16px;
}

.features-container {
  max-width: 960px;
  margin: 0 auto;
}

.features-title {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .features-title {
    font-size: 30px;
  }
}

/* Desktop Grid — hidden md:grid md:grid-cols-3 gap-8 */
.features-grid-desktop {
  display: none;
}

@media (min-width: 768px) {
  .features-grid-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.feature-card-desktop {
  text-align: center;
}

.feature-icon-desktop {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: hsl(229, 95%, 61%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon-desktop svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
}

.feature-title-desktop {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.feature-desc-desktop {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Mobile List — md:hidden space-y-6 */
.features-list-mobile {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-list-mobile {
    display: none;
  }
}

.feature-card-mobile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon-mobile {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background-color: hsl(229, 95%, 61%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-mobile svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.feature-title-mobile {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.feature-desc-mobile {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* ============================================
   BOTTOM CTA SECTION — bg-background py-12 px-4
   ============================================ */
.cta-section {
  background-color: #ffffff;
  padding: 48px 16px;
}

.cta-container {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .cta-container {
    flex-direction: row;
  }
}

.cta-image-wrap {
  flex-shrink: 0;
}

.cta-image-circle {
  width: 256px;
  height: 256px;
  border-radius: 50%;
  overflow: hidden;
  background: hsl(229, 95%, 61%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-image-circle {
    width: 320px;
    height: 320px;
  }
}

.cta-woman-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.cta-form-wrap {
  flex: 1;
  width: 100%;
  max-width: 384px;
  text-align: center;
}

@media (min-width: 768px) {
  .cta-form-wrap {
    text-align: left;
  }
}

.cta-form-inner {
  width: 100%;
}

.cta-description {
  color: #1a1a2e;
  font-size: 14px;
  margin-bottom: 4px;
}

.cta-pricing {
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* CTA Phone Input Row — bg-background border border-border rounded-lg */
.cta-phone-input-row {
  display: flex;
  align-items: center;
  height: 48px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0 12px;
  gap: 8px;
  transition: all 0.2s;
}

.cta-phone-input-row .phone-input-icon {
  color: hsl(229, 95%, 61%);
}

.cta-phone-input-row.focused {
  border-color: hsl(229, 95%, 61%);
  box-shadow: 0 0 0 3px rgba(62, 95, 255, 0.1);
}

.cta-phone-input-row.valid {
  border-color: hsl(142, 76%, 36%);
}

.cta-phone-input-row.error {
  border-color: #ef4444;
}

.cta-code {
  font-size: 16px;
  font-weight: 500;
  color: hsl(229, 95%, 61%);
}

.cta-phone-input {
  flex: 1;
  height: 100%;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  border: none;
  outline: none;
  background: transparent;
  color: #1a1a2e;
  min-width: 0;
}

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

.cta-disclaimer {
  text-align: center;
  color: #666;
  font-size: 11px;
  margin-top: 12px;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .cta-disclaimer {
    text-align: center;
  }
}

.cta-legal-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .cta-legal-links {
    justify-content: center;
  }
}

.cta-legal-links a {
  color: #1a1a2e;
  font-size: 14px;
  text-decoration: underline;
}

.cta-legal-links a:hover {
  text-decoration: none;
}

/* CTA PIN form — override white-on-dark OTP styles for white background */
#cta-step2 .otp-title {
  color: #1a1a2e;
}

#cta-step2 .otp-subtitle {
  color: #666;
}

#cta-step2 .otp-char-counter {
  color: #666;
}

#cta-step2 .otp-char-counter.valid {
  color: #22c55e;
}

#cta-step2 .form-pricing {
  color: #1a1a2e;
}

/* ============================================
   FAQ SECTION — bg-muted py-16 px-4
   ============================================ */
.faq-section {
  background-color: hsl(220, 14%, 96%);
  padding: 64px 16px;
}

.faq-container {
  max-width: 672px;
  margin: 0 auto;
}

.faq-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.5;
  transition: color 0.2s;
}

.faq-question:hover {
  color: hsl(229, 95%, 61%);
  text-decoration: none;
}

.faq-question svg {
  width: 16px;
  height: 16px;
  color: #1a1a2e;
  flex-shrink: 0;
  transition: transform 0.2s;
}

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

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease-out;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer > p {
  overflow: hidden;
  color: hsl(220, 10%, 40%);
  font-size: 14px;
  line-height: 1.6;
  padding-bottom: 0;
  transition: padding 0.2s;
  white-space: pre-line;
}

.faq-item.open .faq-answer > p {
  padding-bottom: 16px;
}

/* ============================================
   FOOTER — bg-muted py-8 px-4
   ============================================ */
.footer {
  background-color: hsl(220, 14%, 96%);
  padding: 32px 16px;
}

.footer-container {
  max-width: 448px;
  margin: 0 auto;
  text-align: center;
}

.footer-info {
  margin-bottom: 16px;
}

.footer-authorized {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: hsl(142, 76%, 36%);
  margin-bottom: 8px;
}

.footer-shield-icon {
  width: 18px;
  height: 18px;
  color: hsl(142, 76%, 36%);
  flex-shrink: 0;
}

.footer-partner-text {
  color: hsl(220, 10%, 40%);
  font-size: 13px;
  margin-bottom: 12px;
}

.footer-support {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 13px;
}

.footer-mail-icon {
  width: 16px;
  height: 16px;
  color: hsl(220, 10%, 40%);
}

.footer-support a {
  color: hsl(229, 95%, 61%);
  text-decoration: none;
}

.footer-support a:hover {
  text-decoration: underline;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  margin-bottom: 16px;
}

.footer-legal-links a {
  color: hsl(220, 10%, 40%);
  font-size: 13px;
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #1a1a2e;
}

.footer-legal-links span {
  color: hsl(220, 10%, 40%);
}

.footer-dcb {
  font-size: 14px;
  color: #1a1a2e;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.footer-dcb-text {
  margin-bottom: 8px;
}

.footer-checkout {
  font-weight: 700;
  color: hsl(315, 70%, 60%);
}

.footer-trademark {
  color: #999;
  font-size: 11px;
  margin-top: 8px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  max-width: 380px;
  width: calc(100% - 32px);
}

@media (min-width: 640px) {
  .toast-container {
    bottom: 24px;
    right: 24px;
    width: 380px;
  }
}

.toast {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: toast-slide-in 0.3s ease-out;
  position: relative;
}

.toast.toast-exit {
  animation: toast-slide-out 0.3s ease-in forwards;
}

@keyframes toast-slide-in {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-slide-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(16px) scale(0.95); }
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: hsl(142, 76%, 36%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon svg {
  width: 14px;
  height: 14px;
  color: #ffffff;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.toast-description {
  font-size: 13px;
  color: #666;
}

.toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #1a1a2e;
}

/* ============================================
   CONSENT MODAL
   ============================================ */
.consent-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
}

.consent-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 448px;
  width: 100%;
  padding: 24px;
  position: relative;
  animation: fadeIn 0.3s ease-out;
}

.consent-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.consent-close:hover {
  color: #1a1a2e;
}

.consent-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.consent-body {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}

.consent-body p {
  margin-bottom: 16px;
}

.consent-body .text-link,
.consent-body a {
  color: hsl(229, 95%, 61%);
  text-decoration: underline;
}

.consent-confirm-btn {
  width: 100%;
  padding: 16px 24px;
  background-color: #1a1a2e;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background-color 0.2s;
}

.consent-confirm-btn:hover {
  background-color: rgba(26, 26, 46, 0.9);
}

.consent-confirm-btn input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #ffffff;
  cursor: pointer;
}

/* ============================================
   LOADING SPINNER
   ============================================ */
.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

/* Animation utilities */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-in {
  animation: fade-in 0.5s ease-out;
}

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