/* Landing Page Styles Import */
/* Landing Page Styles */

/* Variables */
:root {
  --primary-color: #0052cc;
  --primary-dark: #003d99;
  --primary-light: #4c8dff;
  --secondary-color: #6554c0;
  --accent-color: #ff5630;
  --text-dark: #172b4d;
  --text-medium: #5e6c84;
  --text-light: #8993a4;
  --bg-gray: #f4f5f7;
  --bg-white: #ffffff;
  --border-color: #dfe1e6;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

.landing-page {
  width: 100%;
  background: var(--bg-white);
  overflow-x: hidden;
}

/* Container */
.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .landing-container {
    padding: 0 16px;
  }
}

/* Navigation */
.landing-nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.landing-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-logo-img {
  width: 32px;
  height: 32px;
}

.landing-logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.landing-logo img {
  width: 32px;
  height: 32px;
}

.landing-nav-cta {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.landing-nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.landing-hero {
  padding: 80px 0 100px;
  background: linear-gradient(135deg, #f4f5f7 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.landing-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.landing-hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.landing-hero-subtitle {
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-medium);
  margin-bottom: 40px;
  font-weight: 400;
}

.landing-hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.landing-hero-price {
  font-size: 15px;
  color: var(--text-medium);
  margin: 0;
}

.landing-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  font-size: 14px;
  color: var(--text-medium);
}

.landing-hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-hero-visual {
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .landing-hero {
    padding: 60px 0 80px;
  }

  .landing-hero-title {
    font-size: 36px;
  }

  .landing-hero-subtitle {
    font-size: 18px;
  }

  .landing-hero-trust {
    flex-direction: column;
    gap: 12px;
  }
}

/* Buttons */
.landing-btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

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

.landing-btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.landing-btn-secondary:hover {
  background: var(--bg-gray);
  transform: translateY(-1px);
}

.landing-btn-large {
  padding: 20px 48px;
  font-size: 20px;
}

/* Section Titles */
.landing-section-title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.landing-section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--text-medium);
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Social Proof Section */
.landing-social-proof {
  padding: 80px 0;
  background: var(--bg-white);
}

.landing-testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.landing-testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.landing-testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.landing-testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
}

.landing-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-testimonial-stars {
  color: #ffab00;
  font-size: 18px;
  margin-bottom: 16px;
}

.landing-testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-style: italic;
}

.landing-testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.landing-testimonial-author strong {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.landing-testimonial-author span {
  font-size: 14px;
  color: var(--text-light);
}

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

/* How It Works Section */
.landing-how-it-works {
  padding: 100px 0;
  background: linear-gradient(135deg, #f4f5f7 0%, #ffffff 100%);
}

.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.landing-step {
  text-align: center;
  position: relative;
}

.landing-step-image {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.landing-step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.landing-step-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.landing-step-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
}

.landing-steps-time {
  text-align: center;
  margin-top: 48px;
  font-size: 18px;
  color: var(--primary-color);
  font-weight: 600;
}

@media (max-width: 768px) {
  .landing-steps {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

/* Use Cases Section */
.landing-use-cases {
  padding: 100px 0;
  background: var(--bg-white);
}

.landing-use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.landing-use-case {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.landing-use-case:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.landing-use-case-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.landing-use-case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-use-case-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 24px 24px 12px;
}

.landing-use-case-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-medium);
  margin: 0 24px 24px;
}

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

/* Features Section / Comparison */
.landing-features {
  padding: 100px 0;
  background: linear-gradient(135deg, #f4f5f7 0%, #ffffff 100%);
}

/* Comparison Table */
.landing-comparison-table {
  max-width: 1000px;
  margin: 60px auto 0;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.landing-comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--bg-gray);
  padding: 20px;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  border-bottom: 2px solid var(--border-color);
}

.landing-comparison-header .landing-comparison-feature {
  text-align: left;
}

.landing-comparison-column {
  padding: 0 16px;
}

.landing-comparison-highlight {
  background: linear-gradient(135deg, rgba(0, 82, 204, 0.05) 0%, rgba(0, 82, 204, 0.1) 100%);
  color: var(--primary-color);
  font-weight: 700;
}

.landing-comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-color);
  padding: 24px 20px;
  align-items: start;
}

.landing-comparison-row:last-child {
  border-bottom: none;
}

.landing-comparison-row:hover {
  background: rgba(0, 0, 0, 0.02);
}

.landing-comparison-feature {
  padding-right: 16px;
}

.landing-comparison-feature strong {
  font-size: 16px;
  color: var(--text-dark);
}

.landing-comparison-column span {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

.landing-comparison-good {
  color: #0b875b;
}

.landing-comparison-bad {
  color: #de350b;
}

.landing-comparison-neutral {
  color: #ff991f;
}

.landing-comparison-column p {
  font-size: 14px;
  color: var(--text-medium);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .landing-comparison-table {
    overflow-x: auto;
  }

  .landing-comparison-header,
  .landing-comparison-row {
    grid-template-columns: 180px 80px 80px;
    font-size: 14px;
  }

  .landing-comparison-column {
    padding: 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .landing-comparison-feature {
    padding-right: 12px;
  }

  .landing-comparison-column span {
    font-size: 24px;
    margin: 0;
  }

  .landing-comparison-desktop-only {
    display: none;
  }
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.landing-feature {
  text-align: center;
  padding: 32px;
}

.landing-feature-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.landing-feature-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.landing-feature-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
}

@media (max-width: 768px) {
  .landing-feature-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Pricing Section */
.landing-pricing {
  padding: 100px 0;
  background: var(--bg-white);
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.landing-pricing-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.landing-pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.landing-pricing-card-featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.landing-pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.landing-pricing-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.landing-pricing-price {
  margin-bottom: 16px;
}

.landing-pricing-amount {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  line-height: 1;
}

.landing-pricing-unit {
  font-size: 16px;
  color: var(--text-medium);
  display: block;
  margin-top: 8px;
}

.landing-pricing-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.landing-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  text-align: left;
}

.landing-pricing-features li {
  font-size: 15px;
  line-height: 2;
  color: var(--text-dark);
  padding-left: 8px;
}

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

/* FAQ Section */
.landing-faq {
  padding: 100px 0;
  background: linear-gradient(135deg, #f4f5f7 0%, #ffffff 100%);
}

.landing-faq-list {
  max-width: 800px;
  margin: 60px auto 0;
}

.landing-faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}

.landing-faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.landing-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
}

.landing-faq-question h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
}

.landing-faq-toggle {
  font-size: 28px;
  color: var(--primary-color);
  font-weight: 300;
  transition: transform 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-faq-toggle.open {
  transform: rotate(45deg);
}

.landing-faq-answer {
  padding: 0 24px 24px;
  animation: fadeIn 0.2s ease;
}

.landing-faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
  margin: 0;
}

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

/* Final CTA Section */
.landing-final-cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.landing-final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.landing-final-cta-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.landing-final-cta-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.landing-final-cta .landing-btn-primary {
  background: white;
  color: var(--primary-color);
  position: relative;
  z-index: 1;
}

.landing-final-cta .landing-btn-primary:hover {
  background: var(--bg-gray);
  color: var(--primary-dark);
}

.landing-final-cta-price {
  margin-top: 16px;
  font-size: 15px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .landing-final-cta-title {
    font-size: 32px;
  }

  .landing-final-cta-subtitle {
    font-size: 18px;
  }
}

/* Footer */
.landing-footer {
  padding: 60px 0 32px;
  background: var(--text-dark);
  color: white;
}

.landing-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

.landing-footer-brand {
  flex: 1;
  min-width: 250px;
}

.landing-footer .landing-logo {
  color: white;
  margin-bottom: 12px;
}

.landing-footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.landing-footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.landing-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.landing-footer-links a:hover {
  color: white;
}

.landing-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.landing-footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

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

  .landing-footer-links {
    flex-direction: column;
    gap: 16px;
  }
}


/* TurboTax-inspired mobile-first design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  position: fixed;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: white;
}

#root {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.app {
  width: 100%;
  height: 100dvh;
  overflow: auto; /* Allow scrolling for landing page */
}

/* App container - no padding or margins */
.app-container {
  width: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Main app doesn't scroll */
}

/* Fullscreen step container - fills entire viewport */
.fullscreen-step {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  background: white;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Minimal top bar - only sign out and credits */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 100;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.icon-button:hover {
  background: #f3f4f6;
}

.credits-badge {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

/* Content areas */
.step-content-centered {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}

.step-content-scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 8px 20px 100px 20px;
  -webkit-overflow-scrolling: touch;
}

/* Typography - TurboTax style */
.step-title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.2;
}

.step-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.5;
}

.step-question {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-hint {
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* People count selection */
.people-count-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.people-count-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: #111827;
  font-size: 18px;
  font-weight: 600;
}

.people-count-button:hover {
  border-color: #0066ff;
  background: #f0f7ff;
}

.people-count-button:active {
  transform: scale(0.98);
}

.count-number {
  font-size: 36px;
  font-weight: 700;
  color: #0066ff;
}

.count-label {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

/* Reference photo grid - Mosaic layout */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
  padding: 0 16px;
}

.reference-card {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.reference-card:hover {
  border-color: #0066ff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.1);
}

.reference-card:active {
  transform: scale(0.98);
}

.reference-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.reference-info {
  padding: 8px;
  text-align: left;
  background: white;
}

.reference-info p {
  font-weight: 600;
  color: #111827;
  font-size: 12px;
  margin: 0;
}

.reference-name {
  font-weight: 600;
  color: #111827;
  font-size: 13px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.reference-description {
  display: none;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.reference-tags .tag {
  font-size: 10px;
  padding: 2px 6px;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 4px;
  font-weight: 500;
}

/* Reference preview - compact version */
.reference-preview-compact {
  text-align: center;
  margin-bottom: 24px;
  background: #f9fafb;
  padding: 16px;
  border-radius: 12px;
}

.reference-preview-compact img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 12px;
  display: block;
}

.preview-hint {
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

/* Face slots */
.face-slots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.face-slot {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background: white;
}

.slot-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.color-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #111827;
  flex-shrink: 0;
}

.slot-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.slot-preview {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.slot-preview img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.remove-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220, 38, 38, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.remove-button:hover {
  background: rgba(220, 38, 38, 1);
}

.slot-upload {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  background: #f9fafb;
}

.file-input {
  display: none;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #0066ff;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}

.upload-button:hover {
  background: #0052cc;
}

.upload-button:active {
  transform: scale(0.98);
}

/* Empty slot state */
.slot-empty-state {
  padding: 16px;
}

/* Sample faces section */
.sample-faces-section {
  margin-bottom: 16px;
}

.sample-hint {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  font-weight: 600;
}

.sample-faces-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sample-face-card {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #e5e7eb;
  transition: all 0.2s;
  aspect-ratio: 1;
}

.sample-face-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sample-face-card:hover {
  border-color: #0066ff;
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.sample-face-card:active {
  transform: scale(0.98);
}

/* Upload divider */
.upload-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.upload-divider::before,
.upload-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #e5e7eb;
}

.upload-divider::before {
  left: 0;
}

.upload-divider::after {
  right: 0;
}

.upload-divider span {
  background: white;
  padding: 0 12px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

.slot-upload-centered {
  display: flex;
  justify-content: center;
}

/* Progress hint */
.progress-hint {
  text-align: center;
  padding: 12px;
  background: #f0f7ff;
  border-radius: 8px;
  color: #0066ff;
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
}

/* Bottom navigation bar - sticky at bottom */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 16px;
  display: flex;
  gap: 12px;
  z-index: 100;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
}

/* Navigation buttons - TurboTax style */
.nav-button {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-button:active {
  transform: scale(0.98);
}

.nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.nav-button:disabled:active {
  transform: none;
}

.nav-continue {
  background: #0066ff;
  color: white;
  flex: 2;
}

.nav-continue:hover:not(:disabled) {
  background: #0052cc;
}

.nav-back {
  background: #f3f4f6;
  color: #6b7280;
  flex: 1;
}

.nav-back:hover {
  background: #e5e7eb;
  color: #111827;
}

.nav-secondary {
  background: white;
  border: 2px solid #e5e7eb;
  color: #111827;
}

.nav-secondary:hover:not(:disabled) {
  background: #f9fafb;
  border-color: #d1d5db;
}

/* Result image */
.result-image {
  text-align: center;
  margin: 24px 0;
}

.result-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Error message */
.error-message {
  position: fixed;
  top: 64px;
  left: 16px;
  right: 16px;
  padding: 16px;
  background: #fef2f2;
  border: 2px solid #fca5a5;
  border-radius: 8px;
  color: #991b1b;
  font-weight: 500;
  font-size: 14px;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Loading animation */
.loading-background-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.loading-background-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(30px);
  opacity: 0.6;
  transform: scale(1.1);
}

.loading-overlay {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.loading-animation {
  margin-bottom: 32px;
}

.loading-spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border: 6px solid #f0f7ff;
  border-top: 6px solid #0066ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-progress {
  margin-top: 32px;
}

.progress-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.progress-dots .dot {
  width: 12px;
  height: 12px;
  background: #0066ff;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.progress-dots .dot:nth-child(1) {
  animation-delay: -0.32s;
}

.progress-dots .dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Mobile-specific adjustments */
@media (max-width: 480px) {
  .step-content-scrollable {
    padding: 60px 16px 100px 16px;
  }

  .step-title {
    font-size: 24px;
  }

  .step-question {
    font-size: 22px;
  }

  .nav-button {
    font-size: 15px;
    padding: 13px 16px;
  }
}

/* Tablet and larger - still mobile-first but more spacious */
@media (min-width: 768px) {
  .fullscreen-step {
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 0 1px #e5e7eb;
  }

  .top-bar {
    max-width: 600px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .bottom-nav {
    max-width: 600px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ===============================================
   TURBOTAX-STYLE HOME PAGE
   =============================================== */
.turbo-home {
  padding: 16px 24px 40px;
  max-width: 800px;
  margin: 0 auto;
}

.turbo-account-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.turbo-credits-pill {
  font-size: 14px;
  color: #5b6b7f;
  font-weight: 500;
  background: #f7f9fc;
  padding: 6px 12px;
  border-radius: 16px;
}

.turbo-menu-button {
  background: transparent;
  border: none;
  font-size: 24px;
  color: #5b6b7f;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
}

.turbo-menu-button:hover {
  color: #0052cc;
}

.turbo-hero {
  margin-bottom: 40px;
}

.turbo-hero-title {
  font-size: 40px;
  font-weight: 700;
  color: #0c1e35;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.turbo-hero-subtitle {
  font-size: 18px;
  color: #5b6b7f;
  font-weight: 400;
}

/* TurboTax-style card */
.turbo-card {
  background: white;
  border: 2px solid #e5e9ed;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 20px;
}

.turbo-card:hover {
  border-color: #0052cc;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.12);
}

.turbo-card-primary {
  border-color: #0052cc;
  border-width: 2px;
}

.turbo-card-primary:hover {
  background: #f7f9fc;
}

.turbo-card-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.turbo-card-content {
  flex: 1;
}

.turbo-card-title {
  font-size: 20px;
  font-weight: 600;
  color: #0c1e35;
  margin-bottom: 4px;
}

.turbo-card-description {
  font-size: 14px;
  color: #5b6b7f;
  line-height: 1.5;
}

.turbo-card-subtitle {
  font-size: 14px;
  color: #5b6b7f;
  font-weight: 500;
}

.turbo-card-arrow {
  font-size: 24px;
  color: #0052cc;
  flex-shrink: 0;
}

.turbo-card-image {
  width: 80px;
  height: 106px;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f5f5;
  flex-shrink: 0;
}

.turbo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.turbo-section {
  margin-top: 48px;
}

.turbo-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #0c1e35;
  margin-bottom: 20px;
}

.turbo-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===============================================
   TURBOTAX-STYLE FLOW NAVIGATION
   =============================================== */

/* Flow Header - Back button + Progress bar */
.flow-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid #e5e9ed;
  z-index: 100;
  padding: 8px 16px;
}

.flow-back-button {
  background: transparent;
  border: none;
  color: #0052cc;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}

.flow-back-button:hover {
  opacity: 0.7;
}

.flow-title {
  font-size: 20px;
  font-weight: 700;
  color: #0c1e35;
  margin-bottom: 8px;
}

.flow-progress-bar {
  height: 4px;
  background: #e5e9ed;
  border-radius: 2px;
  overflow: hidden;
}

.flow-progress-fill {
  height: 100%;
  background: #0052cc;
  transition: width 0.3s ease;
}

/* Flow content area */
.step-description {
  font-size: 14px;
  color: #5b6b7f;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Flow action button - single primary action at bottom */
.flow-action {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e9ed;
  padding: 16px;
  z-index: 100;
}

.flow-continue-button {
  width: 100%;
  background: #0052cc;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.flow-continue-button:hover {
  background: #003d99;
}

.flow-continue-button:active {
  transform: scale(0.98);
}

.flow-continue-button:disabled {
  background: #e5e9ed;
  color: #9ca3af;
  cursor: not-allowed;
}

/* Result screen styles */
.result-screen {
  padding: 32px 24px 40px;
}

.result-title {
  font-size: 32px;
  font-weight: 700;
  color: #0c1e35;
  margin-bottom: 24px;
  text-align: center;
}

/* Tablet and larger adjustments for flow */
@media (min-width: 768px) {
  .flow-action {
    max-width: 600px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .flow-header {
    max-width: 600px;
    margin: 0 auto;
  }
}

/* ===============================================
   TURBOTAX-STYLE BOTTOM NAVIGATION (HOME ONLY)
   =============================================== */

.turbo-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e9ed;
  display: flex;
  justify-content: space-around;
  padding: 8px 0 12px;
  z-index: 100;
}

.turbo-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  flex: 1;
  max-width: 100px;
  transition: all 0.2s;
}

.turbo-nav-icon {
  font-size: 24px;
  opacity: 0.6;
  transition: all 0.2s;
}

.turbo-nav-label {
  font-size: 11px;
  color: #5b6b7f;
  font-weight: 500;
  transition: all 0.2s;
}

.turbo-nav-item.turbo-nav-active .turbo-nav-icon {
  opacity: 1;
}

.turbo-nav-item.turbo-nav-active .turbo-nav-label {
  color: #0052cc;
  font-weight: 600;
}

.turbo-nav-item:hover .turbo-nav-icon {
  opacity: 1;
}

.turbo-nav-item:hover .turbo-nav-label {
  color: #0052cc;
}

/* Adjust home content to account for bottom nav */
.turbo-home {
  padding-bottom: 80px;
}

/* Tablet and larger adjustments for bottom nav */
@media (min-width: 768px) {
  .turbo-bottom-nav {
    max-width: 600px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Empty state styling */
.turbo-empty-state {
  text-align: center;
  padding: 60px 24px;
}

.turbo-empty-text {
  font-size: 18px;
  font-weight: 600;
  color: #0c1e35;
  margin-bottom: 8px;
}

.turbo-empty-hint {
  font-size: 14px;
  color: #5b6b7f;
}

/* Filter Section Styles */
.filter-section {
  margin: 8px 0;
  padding: 0 16px;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.2s;
  background: #f9fafb;
}

.search-input:focus {
  outline: none;
  border-color: #0066ff;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.filter-group {
  margin-top: 16px;
}

.filter-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  padding: 8px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  background: white;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: capitalize;
}

.filter-tag:hover {
  border-color: #0066ff;
  background: #f0f7ff;
  color: #0066ff;
}

.filter-tag.active {
  background: #0066ff;
  border-color: #0066ff;
  color: white;
}

.filter-toggle-btn {
  min-width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-toggle-btn:hover {
  border-color: #0066ff;
  background: #f0f7ff;
}

.filter-toggle-btn.active {
  background: #0066ff;
  border-color: #0066ff;
}

.clear-filters-btn {
  margin-top: 12px;
  padding: 8px 16px;
  border: none;
  background: #f3f4f6;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.clear-filters-btn:hover {
  background: #e5e7eb;
}

.results-count {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #6b7280;
  margin: 8px 0;
}

.no-results {
  text-align: center;
  padding: 48px 24px;
}

.no-results p {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 16px;
}

/* Reference Card Enhanced Styles */
.reference-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.reference-description {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
  line-height: 1.4;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.reference-tags .tag {
  padding: 4px 8px;
  background: #f3f4f6;
  border-radius: 4px;
  font-size: 11px;
  color: #6b7280;
  font-weight: 500;
  text-transform: capitalize;
}

/* ===============================================
   TURBOTAX-STYLE SIGN-IN PAGE
   =============================================== */

.signin-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  background-image: url('https://images.subscribe.dev/uploads/cd8df207-a3dc-43d9-8dbf-8c0e55878586/aaron@volter.ai/1766302146181-output_505304.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 32px 48px;
  position: relative;
}

.signin-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.signin-content {
  max-width: 480px;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 2;
}

.signin-hero {
  margin-bottom: 32px;
}

.signin-title {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  line-height: 1.1;
}

.signin-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.signin-button {
  width: 100%;
  background: white;
  color: #d32f2f;
  border: none;
  border-radius: 12px;
  padding: 18px 32px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.signin-button:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.signin-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Mobile adjustments for sign-in */
@media (max-width: 480px) {
  .signin-container {
    padding: 32px 24px 40px;
  }

  .signin-title {
    font-size: 32px;
  }

  .signin-subtitle {
    font-size: 16px;
  }

  .signin-button {
    padding: 16px 24px;
    font-size: 16px;
  }
}

