/* Page Containers */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: calc(100vh - 200px);
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  color: var(--text-color);
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

/* News Banner */
.news-banner {
  background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
  color: white;
  padding: 16px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.news-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.news-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.news-icon {
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.news-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-badge {
  background-color: #FF6B6B;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.news-text {
  font-size: 16px;
  line-height: 1.4;
}

.news-text strong {
  font-weight: 600;
}

.news-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  color: #4A90E2;
  padding: 8px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.news-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: #f8f9fa;
}

.news-arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.news-cta:hover .news-arrow {
  transform: translateX(3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .news-banner {
    padding: 12px 16px;
  }
  
  .news-content {
    gap: 12px;
  }
  
  .news-icon {
    display: none;
  }
  
  .news-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .news-text {
    font-size: 14px;
  }
  
  .news-cta {
    font-size: 14px;
    padding: 6px 16px;
  }
}

/* Landing Page */
.landing-page {
  min-height: 100vh;
}

.hero-section {
  background: var(--color-base-gray);
  color: white;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 60%),
              radial-gradient(circle at 80% 50%, rgba(126, 188, 168, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  min-height: 50vh;
}

.hero-left {
  flex: 1;
  text-align: center;
}

.hero-right {
  flex: 1;
  max-width: 500px;
}

.hero-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.hero-logo {
  width: 192px;
  height: 192px;
  border-radius: 45px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.hero-text {
  text-align: left;
  max-width: 500px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* Product Showcase */
.product-showcase {
  text-align: center;
}

.showcase-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.showcase-subtitle {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.showcase-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.showcase-item-img-container {
  object-fit:fill;
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  min-height: 500px;
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-weight: bold;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

.showcase-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.showcase-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.showcase-image {
  width: 100%;
  height: 350px;
  display: block;
  object-fit: contain;
  object-position: center top;
  background-color: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.showcase-caption {
  padding: 1.5rem;
  text-align: left;
}

.showcase-caption h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.showcase-caption p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--background-muted) 0%, var(--border-secondary) 100%);
}

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

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

/* Pricing Section */
.pricing-section {
  padding: 4rem 0;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-card {
  background-color: var(--background-color);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card-recommended {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-badge-current {
  background-color: var(--success-color);
  color: white;
}

.pricing-card-current {
  border-color: var(--success-color);
  box-shadow: 0 4px 20px rgba(126, 188, 168, 0.2);
}

.pricing-card-current .button-disabled {
  background-color: var(--success-color);
  color: white;
  cursor: not-allowed;
  opacity: 0.9;
}

.pricing-card-current .button-disabled:hover {
  background-color: var(--success-color);
  color: white;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.pricing-price {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.pricing-currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.pricing-amount {
  font-weight: bold;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-feature {
  padding: 0.5rem 0;
  color: var(--text-secondary);
}

.pricing-feature-icon {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background-secondary) 0%, var(--background-color) 100%);
  padding: 1rem;
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem;
  }
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-logo {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.auth-brand {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.auth-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-color);
  font-weight: 500;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.auth-form .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.875rem;
}

.auth-form .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: var(--background-color);
  color: var(--text-color);
}

.auth-form .form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.auth-form .form-input::placeholder {
  color: var(--text-secondary);
  opacity: 1;  /* Full opacity for WCAG compliance */
}

.auth-form .checkbox-label {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.auth-form .checkbox-label input[type="checkbox"] {
  margin-right: 0.5rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.auth-form .checkbox-label a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.auth-form .checkbox-label a:hover {
  text-decoration: underline;
}

.auth-form .button-full {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 1.5rem;
}

.auth-footer {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

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

/* Alert styles for auth pages */
.auth-card .alert {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
}

.auth-card .alert-error {
  background-color: #fee;
  color: #c53030;
  border: 1px solid #fc8181;
}

/* Contact Page */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-item {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Generate Page */
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.usage-info-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--background-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.usage-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
}

.usage-count {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--primary-color);
}

.usage-count-low {
  color: var(--warning-color);
}

.usage-count-zero {
  color: var(--error-color);
}

/* Responsive design for form actions */
@media (max-width: 600px) {
  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  
  .usage-info-inline {
    justify-content: center;
  }
}

/* Daily Limit Modal */
.modal-limit {
  max-width: 500px;
}

.limit-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.limit-message {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.limit-details {
  background-color: var(--background-secondary);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.limit-details p {
  margin: 0.5rem 0;
  color: var(--text-secondary);
}

.limit-details strong {
  color: var(--text-color);
}

.upgrade-prompt {
  margin-top: 2rem;
}

.upgrade-text {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-align: center;
}

.upgrade-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.upgrade-option {
  background-color: var(--background-secondary);
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: all 0.3s;
}

.upgrade-option:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.upgrade-option h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.plan-limit {
  font-size: 1.125rem;
  font-weight: bold;
  color: var(--text-color);
  margin: 0.5rem 0;
}

.plan-price {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

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

.generate-form {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.results-section {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.results-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hashtag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hashtag {
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.hashtag:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hashtag-copied {
  background-color: var(--success-color);
  animation: copyPulse 0.3s ease;
}

.hashtag-selected {
  background-color: var(--accent-color);
  border: 2px solid var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@keyframes copyPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.copy-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .copy-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .copy-buttons button {
    width: 100%;
  }
}

/* FAQ Section (Landing Page) */
.faq-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--background-muted) 0%, var(--border-secondary) 100%);
}

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

.faq-list {
  margin-top: 3rem;
  display: grid;
  gap: 2rem;
}

.faq-section .faq-item {
  background-color: var(--background-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-section .faq-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.faq-section .faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-color);
  padding: 1.5rem;
  margin: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.faq-section .faq-question:hover {
  background-color: var(--background-secondary);
}

.faq-section .faq-answer {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-section .faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px; /* Increased to accommodate longer answers */
}

.faq-cta {
  text-align: center;
  margin-top: 3rem;
}

.faq-cta .link-primary {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.faq-cta .link-primary:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Browser Extension Page */
.browser-extension-page {
  min-height: 100vh;
  background-color: var(--background-color);
}

.extension-hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.extension-hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.extension-hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.extension-hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
}

.extension-notice {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.extension-notice-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  color: white;
  text-align: left;
  max-width: 700px;
  margin: 0 auto;
}

.extension-notice-text strong {
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.installation-section {
  padding: 3rem 0;
}

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

.browser-card {
  background: var(--background-color);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.browser-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.browser-header {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: var(--color-base-gray);
  color: white;
}

.browser-icon {
  width: 48px;
  height: 48px;
  margin-right: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.chrome-icon {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OCA0OCI+PGNpcmNsZSBjeD0iMjQiIGN5PSIyNCIgcj0iMjQiIGZpbGw9IiNmZmYiLz48cGF0aCBmaWxsPSIjZWEzOTM5IiBkPSJNMjQgMTFoMjAuNWMxLjkgMy43IDIuOSA3LjggMi45IDEyIDAgNi45LTIuNyAxMy4zLTcuNiAxOC4yTDI5LjUgMjQuN2MuMy0uNy41LTEuNS41LTIuMyAwLTMuMS0yLjUtNS42LTUuNi01LjZoLS44TDI0IDExeiIvPjxwYXRoIGZpbGw9IiNmYmJjMDQiIGQ9Ik0yNC4xIDM3SDMuNkMxLjcgMzMuMyAxIDI5LjIgMSAyNGMwLTYuOSAyLjctMTMuMyA3LjYtMTguMmwxMC4zIDE3LjRjLS4zLjctLjUgMS41LS41IDIuMyAwIDMuMSAyLjUgNS42IDUuNiA1LjZoLjhMMjQuMSAzN3oiLz48cGF0aCBmaWxsPSIjNGNhZjUwIiBkPSJNNDQgMzcuM0MzOS4xIDQzLjcgMzEuOSA0NyAyNCA0N2MtNC43IDAtOS4xLTEuMi0xMi45LTMuM0wyMS40IDI2Yy43LjMgMS41LjUgMi4zLjUgMy4xIDAgNS42LTIuNSA1LjYtNS42di0uOEw0NCAzNy4zeiIvPjxjaXJjbGUgY3g9IjI0IiBjeT0iMjQiIHI9IjkiIGZpbGw9IiMxOTc2ZDIiLz48Y2lyY2xlIGN4PSIyNCIgY3k9IjI0IiByPSI3IiBmaWxsPSIjZmZmIi8+PC9zdmc+');
}

.edge-icon {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OCA0OCI+PGNpcmNsZSBjeD0iMjQiIGN5PSIyNCIgcj0iMjQiIGZpbGw9IiNmZmYiLz48cGF0aCBmaWxsPSIjMDA3OGQ0IiBkPSJNNDEuOSAyMC41YzAtMy42LS44LTctMi4zLTEwLjFDMzYuMSA0LjEgMzAuNSAxIDI0IDFjLTYuMSAwLTExLjUgMi44LTE1LjEgNy4yQzUuMyAxMi42IDMgMTguMiAzIDI0YzAgMy42LjggNyAyLjMgMTAuMSAzLjUgNi4zIDkuMSA5LjQgMTUuNiA5LjQgNC4xIDAgNy45LTEuMiAxMS4xLTMuNEMzNy43IDM2LjMgNDEgMzAuNiA0MSAyNGMwLTEuMiAwLTIuMy0uMS0zLjVIMjRjMCAzLjkgMCA3LjggMCAxMS43IDMuOSAwIDcuOCAwIDExLjcgMCAwLTEuNiAwLTMuMSAwLTQuN0gxOC4zYzAtMy45IDAtNy44IDAtMTEuNyA3LjkgMCAxNS44IDAgMjMuNiAweiIvPjwvc3ZnPg==');
}

.firefox-icon {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OCA0OCI+PGNpcmNsZSBjeD0iMjQiIGN5PSIyNCIgcj0iMjQiIGZpbGw9IiNmZmYiLz48cGF0aCBmaWxsPSIjZmY2ZjAwIiBkPSJNNDQgMjRjMCAxMS0zLjkgMjAtOC43IDIwSDE2LjdDNy45IDQ0IDQgMzUgNCAyNFM3LjkgNCAxNi43IDRoMTguNkM0NC4xIDQgNDggMTMgNDggMjRjMCAwLTQgMC00IDB6Ii8+PHBhdGggZmlsbD0iI2ZmOTgwMCIgZD0iTTQ0IDI0YzAgNy4zLTEuNyAxMy40LTQuMiAxNi43QzM2LjEgNDMuNyAzMC41IDQ1IDI0IDQ1Yy0xMS4wNSAwLTIwLTguOTUtMjAtMjBTMTIuOTUgNSAyNCA1YzYuNSAwIDEyLjEgMS4zIDE1LjggNC4zQzQyLjMgMTIuNiA0NCAxOC43IDQ0IDI0eiIvPjxwYXRoIGZpbGw9IiNmZjZmMDAiIGQ9Ik0zNS44IDEzLjJjMi41IDIuOCA0LjIgNi41IDQuMiAxMC44IDAgNy4zLTMuOSAxMy44LTguNyAxMy44SDE2LjdDMTEuOSAzNy44IDggMzEuMyA4IDI0YzAtMy42IDEtNi45IDIuNS05LjNDMTMuMSAxMC4zIDE3LjkgOCAyNCA4YzQuMSAwIDcuOCAxLjQgMTAuNyAzLjdMMzUuOCAxMy4yeiIvPjwvc3ZnPg==');
}

.safari-icon {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OCA0OCI+PGNpcmNsZSBjeD0iMjQiIGN5PSIyNCIgcj0iMjQiIGZpbGw9IiNmZmYiLz48Y2lyY2xlIGN4PSIyNCIgY3k9IjI0IiByPSIyMiIgZmlsbD0iIzAwYzRmMCIvPjxjaXJjbGUgY3g9IjI0IiBjeT0iMjQiIHI9IjIwIiBmaWxsPSIjZmZmIi8+PHBhdGggZmlsbD0iI2ZmNTU1NSIgZD0iTTI0IDRjLTExIDAtMjAgOS0yMCAyMHM5IDIwIDIwIDIwIDIwLTkgMjAtMjBTMzUgNCAyNCA0em0wIDJjOS45IDAgMTggOC4xIDE4IDE4cy04LjEgMTgtMTggMTgtMTgtOC4xLTE4LTE4UzE0LjEgNiAyNCA2eiIvPjxwYXRoIGZpbGw9IiMwMGM0ZjAiIGQ9Ik0yOC41IDE5LjVsLTggMTYgOC0xNiA4LTE2LTggMTZ6bTAgMGwtMTYgOCAxNi04IDE2LTgtMTYgOHoiLz48cGF0aCBmaWxsPSIjZmY1NTU1IiBkPSJNMjAgMjhsOC41LTguNUwyOCAyMGwtOCA4eiIvPjwvc3ZnPg==');
}

.browser-header h2 {
  font-size: 1.5rem;
  margin: 0;
}

.installation-steps {
  padding: 2rem;
}

.installation-steps h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.installation-steps ol {
  list-style: decimal;
  margin-left: 1.5rem;
}

.installation-steps li {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.edge-instruction-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .edge-instruction-image {
    margin: 0.5rem 0;
  }
}

.download-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.download-link:hover {
  border-bottom-color: var(--primary-color);
}

code {
  background: var(--background-secondary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: var(--primary-dark);
}

.warning-note {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  color: #856404;
}

.info-section, .troubleshooting-section {
  background: var(--background-color);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.info-section h2, .troubleshooting-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.info-list {
  list-style: disc;
  margin-left: 1.5rem;
}

.info-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-color);
}

.troubleshooting-section p {
  color: var(--text-color);
  line-height: 1.6;
}

.troubleshooting-section a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

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

/* Coming Soon Browser Cards */
.browser-card.coming-soon {
  opacity: 0.7;
  cursor: not-allowed;
}

.browser-card.coming-soon .browser-header {
  background: var(--text-secondary);
}

.coming-soon-message {
  text-align: center;
  padding: 2rem;
}

.coming-soon-message h3 {
  color: var(--text-secondary);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.coming-soon-message p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Dark mode adjustments */
[data-theme="dark"] .browser-card {
  background: var(--background-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .browser-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .info-section,
[data-theme="dark"] .troubleshooting-section {
  background: var(--background-secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] code {
  background: var(--dark-background);
  color: var(--primary-light);
}

[data-theme="dark"] .warning-note {
  background: #3a3a2e;
  border-color: #5a5a4e;
  color: #d4af37;
}

/* Dark mode for features section */
[data-theme="dark"] .features-section {
  background: linear-gradient(135deg, var(--dark-background-secondary) 0%, var(--dark-background) 100%);
}

/* Dark mode for FAQ section */
[data-theme="dark"] .faq-section {
  background: linear-gradient(135deg, var(--dark-background-secondary) 0%, var(--dark-background) 100%);
}

/* Responsive design */
@media (max-width: 768px) {
  .extension-hero-title {
    font-size: 2rem;
  }
  
  .extension-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .browser-header {
    padding: 1rem;
  }
  
  .browser-icon {
    width: 36px;
    height: 36px;
  }
  
  .browser-header h2 {
    font-size: 1.25rem;
  }
  
  .installation-steps {
    padding: 1.5rem;
  }
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

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

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

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* FAQ Page */
.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1rem;
  text-align: left;
  background-color: var(--background-color);
  border: none;
  font-size: 1.125rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-color);
  transition: background-color 0.2s;
  margin: 0;
}

.faq-question:hover {
  background-color: var(--background-secondary);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: bold;
  transition: transform 0.2s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1rem 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  transition: max-height 0.3s;
  color: var(--text-secondary);
}

.faq-answer.active {
  padding: 1rem;
  max-height: 500px;
}

.faq-disclaimer {
  font-size: 0.85em;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Subscription Page */
.subscription-page {
  background-color: var(--background-color);
}

.subscription-content {
  max-width: 1200px;
  margin: 0 auto;
}

.subscription-features {
  margin-top: 4rem;
  padding: 3rem 2rem;
  background-color: var(--background-secondary);
  border-radius: 12px;
  text-align: center;
}

.subscription-features .section-subtitle {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.subscription-features .feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.subscription-features .feature-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.subscription-features .feature-icon {
  color: var(--success-color);
  font-size: 1.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Preferences Page */
.preferences-page {
  background-color: var(--background-color);
}

.preferences-content {
  max-width: 600px;
  margin: 0 auto;
}

.preferences-form {
  background-color: var(--background-secondary);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.preferences-form.form-disabled {
  opacity: 0.7;
}

.preferences-section {
  margin-bottom: 2rem;
}

.preferences-section .section-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.preferences-form .form-group {
  margin-bottom: 1.5rem;
}

.preferences-form .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.preferences-form .form-input:disabled,
.preferences-form .form-select:disabled {
  background-color: var(--background-color);
  color: var(--text-secondary);
  cursor: not-allowed;
  opacity: 0.6;
}

.preferences-form .form-help {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.preferences-form .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.alert {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.alert-info {
  background-color: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

.alert-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #81c784;
}

.alert-error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ef5350;
}

/* Legal Pages */
.legal-page {
  background-color: var(--background-color);
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2,
.legal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  color: var(--text-color);
}

.legal-section h3,
.legal-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
  color: var(--text-color);
}

.legal-section p,
.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.legal-section ul,
.legal-content ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.legal-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
}

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

.legal-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.legal-content code {
  background-color: var(--background-color);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

.legal-content pre {
  background-color: var(--background-color);
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.legal-content pre code {
  background-color: transparent;
  padding: 0;
}

/* Setup Page */
.setup-content {
  max-width: 600px;
  margin: 0 auto;
}

.setup-form {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.setup-step {
  margin-bottom: 3rem;
}

.step-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.step-subtitle {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.platform-grid,
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.platform-option,
.category-option {
  position: relative;
}

.platform-option input,
.category-option input {
  position: absolute;
  opacity: 0;
}

.platform-card,
.category-card {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.platform-option input:checked + .platform-card,
.category-option input:checked + .category-card {
  border-color: var(--primary-color);
  background-color: rgba(59, 130, 246, 0.1);
}

.platform-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.platform-name {
  font-weight: 500;
  color: var(--text-color);
}

.setup-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Error Pages */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-container {
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-size: 6rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.error-message {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.error-stack {
  text-align: left;
  background-color: var(--background-secondary);
  padding: 1rem;
  border-radius: 6px;
  margin: 2rem 0;
  overflow-x: auto;
  font-family: monospace;
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    gap: 4rem;
  }
  
  .hero-section {
    padding: 6rem 0;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
    min-height: auto;
  }
  
  .hero-container {
    padding: 0 1.5rem;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 3rem;
    min-height: auto;
    text-align: center;
  }
  
  .hero-left {
    order: 1;
  }
  
  .hero-right {
    order: 2;
    max-width: 100%;
  }
  
  .hero-main {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-logo {
    width: 150px;
    height: 150px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    white-space: normal;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-actions {
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .carousel-controls {
    margin-top: 1rem;
  }
  
  .carousel-wrapper {
    min-height: 400px;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .platform-grid,
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Product Showcase Mobile */
  .showcase-title {
    font-size: 1.75rem;
  }
  
  .showcase-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .showcase-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .showcase-item {
    max-width: 100%;
  }
  
  .showcase-image {
    height: 280px;
  }
  
  .showcase-caption {
    padding: 1.25rem;
  }
  
  .showcase-caption h3 {
    font-size: 1.125rem;
  }
  
  .showcase-caption p {
    font-size: 0.925rem;
  }
}

/* Try TagWiz Section */
.try-tagwiz-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--background-secondary) 100%);
  position: relative;
  overflow: hidden;
}

.try-tagwiz-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(126, 188, 168, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.try-tagwiz-section .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.try-tagwiz-section .section-title {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 700;
}

.try-tagwiz-section .section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.trial-container {
  background: var(--background-color);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
}

.trial-container .hashtag-generator-component {
  max-width: 100%;
}

/* Mobile Responsive for Trial Section */
@media (max-width: 768px) {
  .try-tagwiz-section {
    padding: 60px 20px;
  }
  
  .try-tagwiz-section .section-title {
    font-size: 1.875rem;
  }
  
  .try-tagwiz-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .trial-container {
    padding: 24px;
  }
}

/* Plan Display - Generate Page */
.generate-content {
  position: relative;
}

.plan-display {
  margin-top: 2rem;
  background: var(--card-background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: row;
  gap: 6px;
  max-width: fit-content;
}

.plan-label {
  color: var(--text-color);
  font-weight: 500;
}

.plan-upgrade-link {
  display: block;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.plan-upgrade-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .plan-display {
    margin-top: 1.5rem;
    width: 100%;
    max-width: none;
    text-align: center;
  }
}

/* Share Page Styles */
.share-page {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
}

.share-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.share-container {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.share-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-hover) 100%);
}

.share-content {
  margin-top: 2rem;
}

.share-card {
  margin-bottom: 2rem;
}

.share-limit-notice {
  background: linear-gradient(135deg, #EBF5FF 0%, #F0F9FF 100%);
  border: 1px solid #DBEAFE;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.notice-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.notice-content {
  font-size: 0.875rem;
  color: #1E40AF;
  line-height: 1.5;
}

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

.share-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.share-form .form-label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.875rem;
}

.share-form .required {
  color: #EF4444;
}

.share-form .form-input,
.share-form .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #FAFAFA;
}

.share-form .form-input:focus,
.share-form .form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: white;
}

.share-form .form-textarea {
  resize: vertical;
  min-height: 100px;
}

.share-form .form-help {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: right;
}

.share-form .button-full {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.invitations-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid #F3F4F6;
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.invitations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.loading-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Alert Styles for Share Page */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.alert-error {
  background-color: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.alert-success {
  background-color: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* Share page navigation links */
.share-nav-links {
  margin: 1rem 0 2rem 0;
  text-align: center;
}

.share-nav-links .button-secondary {
  background-color: var(--background-secondary);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.share-nav-links .button-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Referral Discount Pricing Styles */
.pricing-card-referral {
  position: relative;
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(126, 188, 168, 0.2);
}

.pricing-price-discounted {
  position: relative;
}

.pricing-discount-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--accent-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pricing-original-price {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.pricing-original-price .pricing-currency {
  font-size: 0.875rem;
}

/* Referral Discount Banner */
.referral-discount-banner {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.referral-discount-banner.hidden {
  display: none;
}

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

.referral-discount-icon {
  font-size: 1.5rem;
}

.referral-discount-text {
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .share-container {
    padding: 2rem 1.5rem;
  }
  
  .share-section {
    padding: 0 0.5rem;
  }
  
  .share-limit-notice {
    flex-direction: column;
    text-align: center;
  }
  
  .pricing-discount-badge {
    font-size: 11px;
    padding: 3px 8px;
  }
}