/* ===================================
   FLAHORA DESIGN SYSTEM
   Modern, Dark Mode, Glass Effects
   =================================== */

/* CSS Custom Properties */
:root {
  /* Colors */
  --primary: #008C95;
  --primary-light: #00B8C3;
  --primary-dark: #006B72;
  --primary-glow: rgba(0, 140, 149, 0.4);

  --bg-dark: #0A0F1C;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(0, 140, 149, 0.08);
  --bg-glass: rgba(10, 15, 28, 0.8);

  --text-primary: #FFFFFF;
  --text-secondary: #A0AEC0;
  --text-muted: #64748B;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-primary: rgba(0, 140, 149, 0.3);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--primary-glow);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(0, 140, 149, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 184, 195, 0.1) 0%, transparent 50%),
    var(--bg-dark);
  z-index: -1;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted {
  color: var(--text-secondary);
}

/* ===================================
   LAYOUT
   =================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================
   NAVBAR
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.navbar-nav a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-nav a:hover {
  color: var(--text-primary);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: var(--space-xs);
}

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

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .navbar-cta .btn-text {
    display: none;
  }
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-primary);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px var(--primary-glow);
  color: var(--text-primary);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid var(--border-primary);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-base);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-xs);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
}

.hero .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-lg);
  animation: logoGlow 3s ease-in-out infinite;
}

.hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px var(--primary-glow));
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 30px var(--primary-glow));
  }
  50% {
    filter: drop-shadow(0 0 50px var(--primary-glow));
  }
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.hero-badge {
  display: inline-block;
  margin-top: var(--space-md);
}

.hero-badge img {
  height: 50px;
  transition: transform var(--transition-base);
}

.hero-badge:hover img {
  transform: scale(1.05);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-md);
}

.hero-badges a {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-base);
}

.hero-badges a:hover {
  transform: scale(1.05);
}

.hero-badges img {
  height: 50px;
}

.hero-badges img[alt*="Google Play"] {
  height: 74px;
  margin: -12px 0;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }
}

/* ===================================
   CARDS (Glass Effect)
   =================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--text-primary);
}

.card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* ===================================
   FEATURES GRID
   =================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   HOW IT WORKS (Timeline)
   =================================== */

.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.timeline-number {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding-top: var(--space-sm);
}

.timeline-content h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xs);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-number {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-base);
  }
}

/* ===================================
   TRUST BADGES
   =================================== */

.trust-section {
  text-align: center;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.trust-badge svg {
  width: 24px;
  height: 24px;
  color: var(--primary-light);
}

.trust-badge span {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(0, 140, 149, 0.2) 0%, transparent 70%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-lg);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer-brand img {
  height: 32px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.footer-badges {
  display: flex;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: var(--font-size-xs);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===================================
   ANIMATIONS (Fade In on Scroll)
   =================================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===================================
   PAGE CONTENT (Secondary Pages)
   =================================== */

.page-content {
  padding-top: 100px;
  padding-bottom: var(--space-3xl);
}

.page-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.page-header h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: var(--text-secondary);
  font-size: var(--font-size-lg);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-lg);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--primary-light);
}

.content-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.content-section h2 {
  color: var(--primary-light);
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-primary);
}

.content-section h3 {
  color: var(--text-primary);
  font-size: var(--font-size-lg);
  margin: var(--space-md) 0 var(--space-sm);
}

.content-section p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.content-section ul {
  list-style: none;
  padding-left: 0;
}

.content-section ul li {
  color: var(--text-secondary);
  padding-left: var(--space-md);
  position: relative;
  margin-bottom: var(--space-xs);
}

.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
}

.content-section a {
  color: var(--primary-light);
}

.content-section a:hover {
  text-decoration: underline;
}

/* Info Box */
.info-box {
  background: rgba(0, 140, 149, 0.1);
  border-left: 4px solid var(--primary);
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.info-box p {
  color: var(--text-secondary);
  margin: 0;
}

/* Warning Box */
.warning-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.warning-box p {
  color: #ef4444;
  margin: 0;
}

.warning-box strong {
  color: #f87171;
}

/* Success Box */
.success-box {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin: var(--space-md) 0;
}

.success-box p {
  color: #22c55e;
  margin: 0;
}

/* Tables */
.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.content-section th,
.content-section td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.content-section th {
  color: var(--primary-light);
  font-weight: 600;
  background: rgba(0, 140, 149, 0.1);
}

.content-section td {
  color: var(--text-secondary);
}

/* Steps List */
.steps-list {
  list-style: none;
  padding: 0;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  padding-left: 0 !important;
}

.steps-list li::before {
  display: none;
}

.step-number {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.step-text {
  color: var(--text-secondary);
  padding-top: 4px;
}

.step-text strong {
  color: var(--text-primary);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}

.stat-number {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary-light);
}

.stat-label {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--space-xs);
}

/* Contact Box */
.contact-box {
  background: rgba(0, 140, 149, 0.1);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
}

.contact-box h3 {
  color: var(--primary-light);
  margin-bottom: var(--space-sm);
}

.contact-box a {
  color: var(--primary-light);
  font-size: var(--font-size-lg);
  font-weight: 600;
}

.contact-box p {
  color: var(--text-muted);
  margin-top: var(--space-xs);
  font-size: var(--font-size-sm);
}

/* FAQ Items */
.faq-item {
  margin-bottom: var(--space-md);
}

.faq-item h4 {
  color: var(--text-primary);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
}

.faq-item p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* Useful Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-md);
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  transition: all var(--transition-base);
  text-decoration: none;
  display: block;
}

.link-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-primary);
  transform: translateY(-2px);
}

.link-card h3 {
  color: var(--primary-light);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
}

.link-card p {
  color: var(--text-muted);
  font-size: var(--font-size-xs);
  margin: 0;
}

/* Highlight Box (for important info) */
.highlight-box {
  background: rgba(239, 68, 68, 0.15);
  border-left: 4px solid #ef4444;
  padding: var(--space-md);
  margin: var(--space-md) 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.highlight-box strong {
  color: #f87171;
}

.highlight-box p {
  color: var(--text-secondary);
  margin: 0;
}

/* ===================================
   RESET PASSWORD PAGE
   =================================== */

.reset-password-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.reset-password-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reset-password-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.reset-password-header .logo {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-md);
}

.reset-password-header .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px var(--primary-glow));
}

.reset-password-header h1 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-xs);
}

.reset-password-header p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

/* Form Group */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
}

.input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  padding-right: 3rem;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 140, 149, 0.2);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input.error {
  border-color: #E53935;
}

.form-input.success {
  border-color: #43A047;
}

/* Toggle Password Visibility */
.toggle-password {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.toggle-password:hover {
  color: var(--text-secondary);
}

.toggle-password svg {
  width: 20px;
  height: 20px;
}

/* Password Strength Bar */
.password-strength {
  margin-top: var(--space-sm);
}

.strength-bar-container {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-xs);
}

.strength-bar {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-full);
  transition: width var(--transition-base), background-color var(--transition-base);
}

.strength-label {
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-align: right;
  transition: color var(--transition-fast);
}

/* Validation Errors List */
.validation-errors {
  margin-top: var(--space-sm);
  padding: 0;
  list-style: none;
}

.validation-errors li {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.validation-errors li.error {
  color: #E53935;
}

.validation-errors li.valid {
  color: #43A047;
}

.validation-errors li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  margin-top: var(--space-md);
  padding: 1rem;
  font-size: var(--font-size-base);
}

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

.btn-submit .spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: var(--space-xs);
}

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

/* Status Messages */
.status-message {
  text-align: center;
  padding: var(--space-xl);
}

.status-message.hidden {
  display: none;
}

.status-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
}

.status-icon.success {
  background: rgba(67, 160, 71, 0.2);
  color: #43A047;
}

.status-icon.error {
  background: rgba(229, 57, 53, 0.2);
  color: #E53935;
}

.status-icon svg {
  width: 32px;
  height: 32px;
}

.status-message h2 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.status-message p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-lg);
}

.status-message .btn {
  margin-top: var(--space-sm);
}

/* Loading State */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity var(--transition-base);
}

.loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(0, 140, 149, 0.2);
  border-top-color: var(--primary-light);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* App Link */
.app-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--primary-light);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.app-link:hover {
  color: var(--text-primary);
}

/* Back to Home Link */
.back-home {
  display: block;
  text-align: center;
  margin-top: var(--space-lg);
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.back-home:hover {
  color: var(--primary-light);
}

/* Responsive */
@media (max-width: 480px) {
  .reset-password-card {
    padding: var(--space-lg);
  }

  .reset-password-header h1 {
    font-size: var(--font-size-xl);
  }
}
