/* CSS Variables - Color System */
:root {
  --background: #fefefe;
  --foreground: #1a1a2e;
  --card: #fafafa;
  --card-foreground: #1a1a2e;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #1a1a2e;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #e0e7ff;
  --accent-foreground: #1a1a2e;
  --success: #10b981;
  --success-light: #34d399;
  --success-foreground: #ffffff;
  --warning: #f59e0b;
  --warning-light: #fbbf24;
  --warning-foreground: #ffffff;
  --info: #3b82f6;
  --info-light: #60a5fa;
  --info-foreground: #ffffff;
  --destructive: #ef4444;
  --destructive-light: #f87171;
  --destructive-foreground: #ffffff;
  --border: #e2e8f0;
  --input: #f8fafc;
  --ring: #3b82f6;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--foreground);
  background-color: var(--background);
  transition: background-color 0.3s ease, color 0.3s ease;
}

*:focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--foreground);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-light);
  text-decoration-thickness: 3px;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Notice Banner */
.notice-banner {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem;
  color: #92400e;
  font-size: 1rem;
  text-align: center;
}

/* Navigation */
.nav-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.5s ease;
}

.nav-header.scrolled {
  background-color: rgba(241, 245, 249, 0.95);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.nav-logo {
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-desktop {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--foreground);
  background-color: rgba(224, 231, 255, 0.5);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-mobile-toggle {
  display: block;
}

@media (min-width: 1024px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background-color: rgba(241, 245, 249, 0.95);
  backdrop-filter: blur(12px);
}

.nav-mobile.active {
  display: block;
}

.nav-mobile-content {
  padding: 1rem 0.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-mobile-link:hover {
  color: var(--foreground);
  background-color: rgba(224, 231, 255, 0.5);
  border-color: rgba(226, 232, 240, 0.3);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
  min-width: 44px;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-xl {
  padding: 0.875rem 1.75rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-success {
  background-color: var(--success);
  color: var(--success-foreground);
}

.btn-success:hover {
  background-color: #059669;
}

.btn-ghost {
  background-color: rgba(241, 245, 249, 0.5);
  color: var(--foreground);
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.btn-ghost:hover {
  background-color: rgba(224, 231, 255, 0.8);
  border-color: var(--border);
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

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

.btn-copy {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-copy:hover {
  background-color: var(--muted);
  border-color: var(--primary);
}

.btn-copy.copied {
  background-color: var(--success);
  border-color: var(--success);
  color: var(--success-foreground);
}

.btn-copy.copied svg {
  display: none;
}

.btn-copy.copied::after {
  content: '✓';
  font-weight: bold;
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-block;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
}

.badge-primary {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.3);
}

.badge-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-color: rgba(16, 185, 129, 0.3);
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  border-color: var(--border);
}

.badge-outline {
  background-color: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-muted {
  background-color: rgba(241, 245, 249, 0.5);
}

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

.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 65ch;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: rgba(241, 245, 249, 0.5);
  padding: 5rem 0;
}

.hero-content {
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-description {
  margin-bottom: 3rem;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-text-large {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: rgba(26, 26, 46, 0.9);
}

@media (min-width: 640px) {
  .hero-text-large {
    font-size: 1.5rem;
  }
}

.hero-text {
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero-text {
    font-size: 1.25rem;
  }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

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

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-link:hover {
  color: rgba(37, 99, 235, 0.8);
  gap: 0.75rem;
}

.hero-trust-card {
  max-width: 64rem;
  margin: 0 auto;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 2rem;
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (min-width: 768px) {
  .trust-item {
    text-align: left;
  }
}

.trust-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .trust-header {
    justify-content: flex-start;
  }
}

.trust-header h3 {
  font-size: 1.125rem;
  color: var(--primary);
  margin: 0;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .trust-badges {
    justify-content: flex-start;
  }
}

.tax-info {
  background-color: rgba(245, 158, 11, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.2);
  position: relative;
}

.tax-info-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem;
  border-radius: 9999px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.tax-info-btn:hover {
  background-color: rgba(245, 158, 11, 0.2);
}

.tax-info h4 {
  font-size: 1.125rem;
  color: var(--warning);
  margin-bottom: 0.5rem;
  margin-right: 1.5rem;
}

.tax-info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.trust-verification {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.trust-verification .font-bold {
  font-weight: 700;
  font-size: 1.125rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-radius: 9999px;
  padding: 0.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.scroll-dot {
  width: 0.25rem;
  height: 0.75rem;
  background-color: rgba(37, 99, 235, 0.6);
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* About Section */
.about-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  border: 2px solid rgba(37, 99, 235, 0.2);
  padding: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.02), rgba(16, 185, 129, 0.01));
}

.about-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2rem;
}

.profile-image-wrapper {
  position: relative;
  width: 10rem;
  height: 10rem;
  margin-bottom: 1.5rem;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-xl);
}

.profile-age {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

.profile-age span {
  font-weight: 600;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.about-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.info-card {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid;
  display: flex;
  gap: 0.75rem;
}

.info-card-primary {
  background: linear-gradient(to right, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.02));
  border-color: rgba(37, 99, 235, 0.2);
}

.info-card-warning {
  background: linear-gradient(to right, rgba(245, 158, 11, 0.05), rgba(245, 158, 11, 0.02));
  border-color: rgba(245, 158, 11, 0.2);
}

.info-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(37, 99, 235, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-warning .info-icon {
  background-color: rgba(245, 158, 11, 0.2);
}

.info-card h4 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.info-card-warning h4 {
  color: var(--warning);
}

.info-card p {
  color: var(--muted-foreground);
  margin: 0;
}

.timeline-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 2rem;
}

.timeline-card .card-header {
  margin-bottom: 1.5rem;
}

.timeline-card h3 {
  margin-bottom: 0.5rem;
}

.timeline-card .card-header p {
  color: var(--muted-foreground);
  margin: 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
}

.timeline-year {
  flex-shrink: 0;
  width: 4rem;
  text-align: right;
}

.timeline-content h4 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background-color: var(--card);
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
  background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.02), rgba(16, 185, 129, 0.01));
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.4);
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.stat-icon .icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stat-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

.progress-summary-card {
  background-color: var(--card);
  border: 2px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 3rem;
  background: linear-gradient(to right, rgba(16, 185, 129, 0.02), rgba(37, 99, 235, 0.02));
}

.progress-summary-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.header-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(16, 185, 129, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--success);
}

.progress-summary-card h3 {
  font-size: 1.25rem;
  color: var(--success);
  margin: 0;
}

.progress-details {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .progress-details {
    grid-template-columns: repeat(2, 1fr);
  }
}

.progress-column h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.progress-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.progress-column li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--success);
  border-radius: 9999px;
  flex-shrink: 0;
}

/* Gallery */
.gallery-section {
  margin-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid var(--muted);
  cursor: pointer;
  transition: all 0.3s ease;
  aspect-ratio: 1;
}

.gallery-item:hover {
  border-color: rgba(37, 99, 235, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.gallery-overlay p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 2.5rem;
  right: 3.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  color: #065f46;
  padding: 2.5rem;
  border-radius: 9999px;
  border: 2px solid #047857;
  font-weight: 700;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-close:hover {
  background-color: white;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.modal-nav:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-nav.prev {
  left: 0.5rem;
}

.modal-nav.next {
  right: 0.5rem;
}

.modal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6), transparent);
  padding: 1.5rem;
  color: white;
}

.modal-info h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.modal-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* CTA Card */
.cta-card {
  background-color: var(--card);
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  background: linear-gradient(to right, rgba(37, 99, 235, 0.02), rgba(16, 185, 129, 0.02));
}

.cta-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

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

/* Tabs */
.tabs {
  width: 100%;
}

.tabs-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.tab-trigger {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted-foreground);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-trigger:hover {
  color: var(--foreground);
}

.tab-trigger.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Help Section */
.help-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .help-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.help-card {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 2rem;
}

.help-card .card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.help-card .card-header h3 {
  margin: 0;
}

.help-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.help-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.help-field label {
  font-weight: 500;
  font-size: 0.875rem;
}

.field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.field-value {
  font-family: monospace;
  font-size: 0.875rem;
  background-color: var(--muted);
  padding: 0.5rem;
  border-radius: var(--radius);
  flex: 1;
  color: var(--foreground);
}

.field-value-success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.help-tax-info {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.help-tax-info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0.5rem 0 0 0;
}

.help-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.help-info-box {
  background-color: rgba(16, 185, 129, 0.1);
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.help-info-box .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.help-info-box h4 {
  font-weight: 500;
  color: var(--success);
  margin-bottom: 0.5rem;
}

.help-info-box p {
  font-size: 0.875rem;
  color: var(--success);
  margin: 0;
}

.help-share-info {
  margin-top: 1rem;
}

.help-share-info p {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.help-share-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

.faq-item {
  background-color: var(--card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: rgba(241, 245, 249, 0.5);
}

.faq-question span {
  font-weight: 600;
  color: var(--foreground);
  padding-right: 1rem;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  color: var(--muted-foreground);
  margin: 0;
}

.contact-card {
  background-color: rgba(241, 245, 249, 0.6);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-align: center;
}

.contact-card h3 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .contact-links {
    flex-direction: row;
  }
}

.contact-links a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-links span {
  display: none;
}

@media (min-width: 640px) {
  .contact-links span {
    display: inline;
    color: var(--muted-foreground);
  }
}

/* Footer */
.footer {
  background-color: rgba(241, 245, 249, 0.5);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  margin-bottom: 1rem;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--foreground);
}

.footer-contact > div {
  margin-bottom: 0.5rem;
}

.footer-contact .font-medium {
  font-weight: 500;
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-disclaimer {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

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

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: left;
  }
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 1023px) {
  .sticky-mobile-cta.visible {
    display: block;
  }
}

.sticky-cta-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utility Classes */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
