:root {
  --bg: #0f172a;
  --bg-secondary: #1e293b;
  --card: #1e293b;
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --muted: #94a3b8;
  --primary: #6366f1;
  --primary-bright: #818cf8;
  --primary-weak: rgba(99, 102, 241, 0.1);
  --accent: #ec4899;
  --accent-weak: rgba(236, 72, 153, 0.1);
  --border: #334155;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 30px 100px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  background-attachment: fixed;
  color: var(--text);
  padding: 0 16px 40px;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--primary-bright);
  text-decoration: none;
  transition: color 200ms ease;
}

a:hover {
  color: var(--accent);
}

.hero {
  max-width: 1100px;
  margin: 12px auto 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    margin: 16px auto 16px;
    padding: 24px;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .hero {
    margin: 20px auto 16px;
    padding: 28px;
    gap: 24px;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero__logo {
  display: inline-flex;
  align-items: center;
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero__logo img {
  height: 48px;
  width: auto;
  display: block;
}

@media (min-width: 768px) {
  .hero__logo img {
    height: 64px;
  }
}

@media (min-width: 1024px) {
  .hero__logo img {
    height: 76px;
  }
}

.hero__content h1 {
  margin: 8px 0 16px;
  font-size: 40px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__content .subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.subtitle--desktop {
  display: none;
}

@media (min-width: 768px) {
  .subtitle--desktop {
    display: block;
    margin-top: 6px;
  }
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-bright);
  margin: 0;
  font-weight: 600;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero__stats {
    gap: 12px;
  }
}

@media (min-width: 1024px) {
  .hero__stats {
    gap: 14px;
  }
}

.stat {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.1));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  transition: all 300ms ease;
}

@media (min-width: 768px) {
  .stat {
    padding: 14px;
    border-radius: 14px;
  }
}

@media (min-width: 1024px) {
  .stat {
    padding: 16px;
    border-radius: 16px;
  }
}

.stat:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(236, 72, 153, 0.15));
  border-color: var(--primary-bright);
  transform: translateY(-4px);
}

.stat__label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat__value {
  display: block;
  font-size: 24px;
  font-weight: 700;
  margin-top: 6px;
  color: var(--text);
}

.layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.layout > * {
  min-height: 100%;
}

@media (min-width: 768px) {
  .layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .layout {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.6));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  transition: all 300ms ease;
  position: relative;
  overflow: hidden;
}

.card--priority {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(30, 41, 59, 0.8));
}

.highlight-glow {
  animation: glowPulse 2.5s ease-in-out;
}

@keyframes glowPulse {
  0% {
    box-shadow: var(--shadow-md);
    transform: scale(1);
  }
  15% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(236, 72, 153, 0.4), var(--shadow-lg);
    transform: scale(1.02);
  }
  30% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(236, 72, 153, 0.3), var(--shadow-md);
    transform: scale(1);
  }
  45% {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6), 0 0 60px rgba(236, 72, 153, 0.4), var(--shadow-lg);
    transform: scale(1.02);
  }
  60% {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5), 0 0 40px rgba(236, 72, 153, 0.3), var(--shadow-md);
    transform: scale(1);
  }
  100% {
    box-shadow: var(--shadow-md);
    transform: scale(1);
  }
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.02));
  pointer-events: none;
}

.card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__header {
  position: relative;
  z-index: 1;
}

.card__header h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.card__header .muted {
  margin: 0;
  font-size: 14px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

.alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 14px;
  border: 1px solid;
  background-size: 100% 100%;
  animation: slideIn 300ms ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  border-color: rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
}

.alert.warn {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border-color: rgba(245, 158, 11, 0.5);
  color: #fcd34d;
}

.alert.info {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  border-color: rgba(59, 130, 246, 0.5);
  color: #93c5fd;
}

.form {
  display: grid;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

select,
textarea,
input[type="range"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  transition: all 200ms ease;
  min-height: 44px;
}

@media (min-width: 768px) {
  select,
  textarea {
    padding: 10px 12px;
    font-size: 14px;
  }
}

select:focus,
textarea:focus,
input[type="range"]:focus {
  outline: none;
  border-color: var(--primary-bright);
  box-shadow: 0 0 0 3px var(--primary-weak);
  background: rgba(15, 23, 42, 0.8);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

.range__values {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
  color: var(--text);
  transition: all 250ms ease;
  border: 1px solid var(--border);
  font-size: 16px;
  min-height: 44px;
  touch-action: manipulation;
}

@media (min-width: 768px) {
  .btn {
    padding: 11px 18px;
    font-size: 14px;
  }
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-bright) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.6);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
}

.btn:hover:not(.primary) {
  border-color: var(--primary-bright);
  background: rgba(99, 102, 241, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.breathing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.breathing__display {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 24px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), rgba(15, 23, 42, 0.5));
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 220px;
  position: relative;
}

@keyframes breatheIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.3);
  }
}

@keyframes heartbeatExpanded {
  0% {
    transform: scale(1.3);
  }
  25% {
    transform: scale(1.32);
  }
  50% {
    transform: scale(1.3);
  }
  75% {
    transform: scale(1.32);
  }
  100% {
    transform: scale(1.3);
  }
}

@keyframes breatheOut {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(0.9);
  }
}

@keyframes heartbeatSmall {
  0% {
    transform: scale(0.9);
  }
  25% {
    transform: scale(0.94);
  }
  50% {
    transform: scale(0.9);
  }
  75% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(0.9);
  }
}

.breathing__circle {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(236, 72, 153, 0.2));
  border: 3px solid var(--primary-bright);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
  transform: scale(1);
}

.breathing__circle.breathing-in {
  animation: breatheIn 4s ease-in-out forwards;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.5);
}

.breathing__circle.breathing-hold {
  animation: heartbeatExpanded 2s ease-in-out infinite;
  box-shadow: 0 0 50px rgba(236, 72, 153, 0.6);
}

.breathing__circle.breathing-out {
  animation: breatheOut 4s ease-in-out forwards;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.breathing__circle.breathing-out-hold {
  animation: heartbeatSmall 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
}

.breathing__text {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-bright);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.breathing__controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.grounding {
  padding-left: 20px;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.grounding li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  transition: color 200ms ease;
}

.grounding li:hover {
  color: var(--primary-bright);
}

.grounding input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-bright);
}

.tips__card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(236, 72, 153, 0.1));
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 18px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
  animation: fadeIn 400ms ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tips__actions {
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.history {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.history li {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.02));
  transition: all 200ms ease;
}

.history li:hover {
  border-color: var(--primary-bright);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
  transform: translateX(4px);
}

.history li strong {
  color: var(--primary-bright);
  display: block;
}

.note {
  margin-top: 8px;
  padding: 8px;
  border-left: 2px solid var(--primary);
  color: var(--text-secondary);
  font-size: 14px;
}

.footer {
  max-width: 1100px;
  margin: 40px auto 0;
  padding: 0 24px 24px;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.footer__support {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__support strong {
  color: var(--text);
}

.footer__support p {
  margin: 0;
  font-size: 14px;
}

.footer__nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__nav a {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border);
  transition: all 200ms ease;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer__nav a:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-bright);
  color: var(--text);
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer__bottom a {
  color: var(--primary-bright);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.footer__tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__nav a {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border);
  transition: all 200ms ease;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
}

.footer__nav a:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-bright);
  color: var(--text);
}

.footer__bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer__bottom p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer__bottom a {
  color: var(--primary-bright);
  text-decoration: none;
}

.footer__bottom a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.chat__form {
  position: relative;
  z-index: 1;
}

.chat__response {
  margin-bottom: 16px;
  animation: fadeIn 400ms ease;
}

.chat__message {
  padding: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.05));
  border: 1px solid var(--border);
}

.chat__message p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.chat__message.ai {
  border-left: 3px solid var(--primary-bright);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pagination__btn {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.pagination__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

.pagination__info {
  color: var(--text-secondary);
  font-size: 14px;
}

@media (max-width: 767px) {
  body {
    padding: 0 12px 32px;
  }

  .hero__content h1 {
    font-size: 24px;
  }

  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat {
    padding: 12px;
  }

  .stat__label {
    font-size: 10px;
  }

  .stat__value {
    font-size: 18px;
  }

  .footer {
    padding: 0 16px 20px;
  }
  
  .footer__top {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer__support {
    align-items: center;
  }
  
  .footer__nav {
    justify-content: center;
  }
  
  .footer__nav a {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  .pagination {
    flex-direction: column;
    gap: 12px;
  }
  
  .pagination__btn {
    width: 100%;
    text-align: center;
  }

  .card {
    padding: 20px;
    border-radius: 16px;
  }

  .card__header h2 {
    font-size: 18px;
  }

  .breathing__display {
    min-height: 180px;
  }

  .breathing__circle {
    width: 100px;
    height: 100px;
  }

  .hero__logo img {
    height: 56px;
  }
}

/* ==============================================
   PAGE-SPECIFIC STYLES
   ============================================== */

/* Common page containers */
.otp-container,
.unsubscribe-container,
.success-container,
.redirect-container,
.faq-container,
.terms-container {
  max-width: 500px;
  margin: 40px auto;
  padding: 0 16px;
}

.faq-container,
.terms-container {
  max-width: 800px;
}

.success-container,
.redirect-container {
  margin: 60px auto;
}

/* Common card styles */
.otp-card,
.unsubscribe-card,
.success-card,
.redirect-card,
.terms-content {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.6));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.success-card,
.redirect-card {
  padding: 40px 32px;
  text-align: center;
}

.otp-card h1,
.unsubscribe-card h1,
.success-card h1,
.redirect-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--text);
}

.redirect-card h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.otp-card p,
.unsubscribe-card p,
.success-card p,
.redirect-card p {
  color: var(--text-secondary);
  margin: 0 0 24px;
  line-height: 1.6;
}

.success-card p {
  margin: 12px 0;
}

.redirect-card p {
  margin-bottom: 24px;
}

/* Back link */
.back-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--primary-bright);
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

/* OTP Info box */
.otp-info {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Timer */
.timer {
  font-weight: bold;
  color: var(--accent);
}

.timer.expired {
  color: #ef4444;
}

/* OTP Input */
.otp-input {
  font-size: 28px;
  letter-spacing: 12px;
  font-family: monospace;
  text-align: center;
  padding: 10px 10px;
  border-radius: 12px;
  width: 100%;
}

/* Countdown bar */
.countdown-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.countdown-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-bright), var(--accent));
  border-radius: 3px;
  transition: width 1s linear;
}

/* Disabled button styling */
.btn.ghost:disabled,
.btn.ghost[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background: rgba(100, 100, 100, 0.2);
  border-color: rgba(100, 100, 100, 0.3);
  color: var(--muted);
}

/* Pricing section */
.pricing-section {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin: 24px 0;
  text-align: center;
}

.pricing-section h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--primary-bright);
}

.pricing-section p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.price {
  font-size: 24px;
  font-weight: bold;
  color: var(--accent);
}

/* Terms list */
.terms-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.terms-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.terms-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-bright);
  font-weight: bold;
}

.terms-list strong {
  color: var(--accent);
  font-weight: 600;
}

/* Phone input group */
.phone-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  margin-bottom: 15px;
  gap: 0;
}

.phone-prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 10px;
  background: var(--primary-bright);
  color: white;
  font-size: 20px;
  font-weight: 600;
  border: 2px solid var(--primary-bright);
  border-right: none;
  border-radius: 8px 0 0 8px;
  /*min-width: 80px;*/
}

.phone-input-group input[type="tel"] {
  flex: 1;
  padding: 16px 18px !important;
  font-size: 18px !important;
  border-radius: 0 8px 8px 0 !important;
  border-left: none !important;
}

/* Checkbox group */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.checkbox-group label {
  cursor: pointer;
  margin: 0;
  flex: 1;
  font-size: 14px;
}

/* Success page */
.success-icon {
  font-size: 64px;
  margin-bottom: 20px;
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
  text-align: left;
}

.feature-item {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.feature-item::before {
  content: "✓ ";
  color: var(--primary-bright);
  font-weight: bold;
}

/* Action buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-group {
  display: flex;
  gap: 12px;
}

.btn-group a {
  flex: 1;
}

.back-home {
  color: var(--primary-bright);
  text-decoration: none;
  display: inline-block;
  margin-top: 24px;
}

.back-home:hover {
  color: var(--accent);
}

/* Redirect page */
.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--border);
  border-top-color: var(--primary-bright);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 24px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.status-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.status-info strong {
  color: var(--primary-bright);
}

.manual-redirect {
  margin-top: 32px;
}

.manual-redirect a {
  color: var(--primary-bright);
  text-decoration: none;
}

.manual-redirect a:hover {
  color: var(--accent);
}

/* FAQ page */
.faq-header,
.terms-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header h1,
.terms-header h1 {
  font-size: 32px;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-header p,
.terms-header p {
  color: var(--muted);
  font-size: 16px;
}

.terms-header p {
  font-size: 14px;
}

.faq-category {
  margin-bottom: 32px;
}

.faq-category h2 {
  font-size: 20px;
  color: var(--primary-bright);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.faq-item {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(30, 41, 59, 0.6));
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(139, 92, 246, 0.1);
}

.faq-question::after {
  content: "+";
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s;
  background: rgba(0, 0, 0, 0.2);
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 16px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.search-box {
  margin-bottom: 32px;
}

.search-box input {
  width: 100%;
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(30, 41, 59, 0.8);
  color: var(--text);
}

.search-box input::placeholder {
  color: var(--muted);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-bright);
}

.no-results {
  text-align: center;
  padding: 40px;
  color: var(--muted);
  display: none;
}

/* Terms page */
.terms-content h2 {
  font-size: 18px;
  color: var(--primary-bright);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.terms-content h2:first-child {
  margin-top: 0;
}

.terms-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.terms-content ul {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 12px 0;
  padding-left: 24px;
}

.terms-content li {
  margin-bottom: 8px;
}

.terms-content strong {
  color: var(--text);
}

.intro-box {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.intro-box p {
  margin: 0;
  font-size: 14px;
}

/* Responsive for page-specific styles */
@media (max-width: 767px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .success-container,
  .redirect-container {
    margin: 40px auto;
  }
  
  .otp-card,
  .unsubscribe-card,
  .success-card,
  .redirect-card,
  .terms-content {
    padding: 24px 20px;
  }
  
  .faq-header h1,
  .terms-header h1 {
    font-size: 26px;
  }
}
