/* ========================================= */
/* GO PRO PAGE SCROLL FIXES                 */
/* ========================================= */

/* Override application.css restrictions for go pro page */
.go-pro-page .app-container {
  overflow: visible !important;
  height: auto !important;
  min-height: 100vh;
}

.go-pro-page .content-container {
  overflow: visible !important;
  height: auto !important;
  min-height: calc(100vh - 5rem);
  padding: 0 !important;
}

.go-pro-page .main-content {
  overflow: visible !important;
  height: auto !important;
  min-height: 100vh;
}

.go-pro-page.no-sidebar .main-content-full {
  overflow: visible !important;
  height: auto !important;
  min-height: 100vh;
}

.go-pro-page .content-card {
  overflow: visible !important;
  height: auto !important;
  min-height: auto !important;
  flex: none !important;
}

.go-pro-page {
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--color-background);
}

html.go-pro-page,
body.go-pro-page {
  overflow: visible !important;
  height: auto !important;
}

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

.no-sidebar .main-content-full {
  margin-left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 1.875rem;
}

.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo .theme-adaptive-logo {
  height: 1.875rem;
  width: auto;
}

/* ========================================= */
/* MODERN PRICING CONTAINER                 */
/* ========================================= */

.modern-pricing-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  max-width: none;
  margin: 0;
  width: 100%;
  min-height: calc(100vh - 5rem);
  overflow: visible;
  background-color: var(--color-background);
}

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

.hero-section {
  padding: 6rem 1.5rem 5rem;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.hero-avatars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.avatar-group {
  display: flex;
  margin-left: -0.5rem;
}

.hero-avatar {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  margin-left: -0.5rem;
  object-fit: cover;
}

.hero-join-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-family: 'Source Serif 4', serif;
  line-height: 1.1;
}

.hero-description {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 auto 2.5rem;
  max-width: 32rem;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 4rem;
}

.hero-cta-button {
  max-width: 200px;
  font-size: 0.9rem;
  padding: 0.95rem 2rem;
}

/* Hero Logos Integration */
.hero-logos {
  margin-top: 4rem;
}

.hero-logos-slider {
  max-width: 56rem;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: 2.5rem;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.hero-slider-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  will-change: transform;
  height: 100%;
  white-space: nowrap;
}

.hero-brand-logo {
  height: 2rem;
  width: auto;
  max-width: 7rem;
  min-width: 3rem;
  opacity: 0.6;
  filter: grayscale(100%) brightness(0.6);
  transition: opacity 0.3s ease;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.hero-logos-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
}

.hero-dashboard {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-image {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ========================================= */
/* PRICING SECTION                          */
/* ========================================= */

.pricing-section {
  padding: 0 1.5rem 5rem;
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 1.5rem;
}

.pricing-card {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.pricing-card.featured {
  border: 2px solid var(--color-text);
  background-color: var(--color-background-alt);
}

/* Free Tier Banner Styles */
.free-tier-banner {
  width: 100%;
  background-color: var(--color-background-alt);
  border: 1px dashed var(--color-text-light);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.free-tier-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.free-tier-info {
  flex: 1;
}

.free-tier-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.free-tier-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 0;
}

.always-free-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background-color: rgba(214, 102, 72, 0.08);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 50px;
  white-space: nowrap;
  letter-spacing: 0.025em;
}

[data-theme="dark"] .always-free-badge {
  background-color: rgba(214, 102, 72, 0.12);
  color: var(--brand);
}

.free-tier-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.free-tier-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.free-feature {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text);
}

.free-feature svg {
  color: #10b981;
  flex-shrink: 0;
}

.free-tier-cta {
  flex-shrink: 0;
}

.pricing-card.standard:hover {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.price-badge {
  position: absolute;
  top: -10px;
  left: 1.5rem;
  background: var(--brand);
  color: white;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.price-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  font-family: 'Source Serif 4', serif;
}

.price-desc {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.4;
  margin: 0;
}

.price-display {
  text-align: right;
}

.price-amount {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--color-text);
  font-family: 'Source Serif 4', serif;
}

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

.price-features {
  margin-bottom: 2rem;
  flex: 1;
}

.features-header {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-check {
  width: 16px;
  height: 16px;
  color: var(--color-text-light);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-x {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-item.limited {
  opacity: 0.6;
}

.feature-item.limited span {
  text-decoration: line-through;
  color: var(--color-text-light);
}

.pricing-card.featured .feature-check {
  color: var(--color-text);
}

.feature-item span {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.4;
}

.pricing-terms {
  text-align: center;
  margin-top: 2rem;
}

.pricing-terms p {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
}

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

.cta-button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  border: none;
}

.cta-button.primary {
  background-color: var(--brand);
  color: white;
}

.cta-button.primary:hover {
  background-color: var(--brand-dark);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
}

.cta-button.secondary:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

.cta-button.outline {
  background-color: transparent;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
}

.cta-button.outline:hover {
  background-color: var(--color-background-alt);
  border-color: var(--color-text-light);
}

/* Current plan styling */
.cta-button.current-plan {
  background-color: #10b981 !important;
  color: white !important;
  border-color: #10b981 !important;
  cursor: not-allowed !important;
  opacity: 0.9;
}

.cta-button.current-plan:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Upgrade available styling */
.cta-button.upgrade-available {
  animation: subtle-pulse 2s ease-in-out infinite;
  border-width: 2px;
}

.cta-button.upgrade-available:hover {
  animation: none;
}

@keyframes subtle-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Downgrade button styling */
.cta-button.downgrade {
  background-color: transparent !important;
  color: var(--color-text-light) !important;
  border: 1px dashed var(--color-border) !important;
}

/* Upgrade prompt banner for free users */
.upgrade-prompt-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upgrade-prompt-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.upgrade-prompt-text {
  flex: 1;
  font-size: 0.95rem;
}

.upgrade-prompt-text strong {
  color: #ffd700;
}

.upgrade-prompt-cta {
  background-color: white;
  color: #667eea;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upgrade-prompt-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================= */
/* DASHBOARD SECTION                        */
/* ========================================= */

.dashboard-section {
  padding: 4rem 2rem 2rem;
  background-color: var(--color-background);
}

.dashboard-container {
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

/* Welcome Header */
.dashboard-welcome {
  text-align: center;
  margin-bottom: 3rem;
}

.dashboard-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.user-name {
  color: var(--brand);
  font-weight: 500;
}

.dashboard-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin: 0;
}

/* Main Actions Grid - Redesigned */
.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.action-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.action-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #D66648 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.action-card:hover::before {
  transform: scaleX(1);
}

.action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--brand);
}

.action-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-background-alt);
  border-radius: 20px;
  margin-bottom: 0.5rem;
}

/* Color Preview - Brand Shades */
.color-preview {
  display: flex;
  gap: 2px;
  justify-content: center;
  align-items: center;
}

.color-shade {
  width: 5px;
  height: 20px;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Brand color shades - from light to dark */
.shade-100 {
  background-color: #FEF6F4;
}

.shade-200 {
  background-color: #F2D3C9;
}

.shade-300 {
  background-color: #EABAA4;
}

.shade-500 {
  background-color: #D66648;
}

.shade-700 {
  background-color: #954823;
}

.shade-800 {
  background-color: #74321C;
}

.shade-900 {
  background-color: #602A18;
}

.action-card:hover .color-shade {
  transform: scaleY(1.1);
}

/* Typography Preview */
.typography-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.font-size {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}

.font-size.large { font-size: 18px; }
.font-size.medium { font-size: 14px; }
.font-size.small { font-size: 10px; }

/* Spacing Preview */
.spacing-preview {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.spacing-bar {
  height: 3px;
  background-color: var(--brand);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.action-card:hover .spacing-bar {
  background-color: #D66648;
}

/* Action Content */
.action-content {
  width: 100%;
}

.action-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.action-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.5;
  max-width: 280px;
}

.action-arrow {
  display: none;
}

/* Follow Section - Minimal Design */
.follow-section {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.follow-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.follow-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin: 0;
}

.follow-actions {
  display: flex;
  gap: 0.5rem;
}

.follow-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text-light);
}

.follow-btn:hover {
  border-color: var(--color-text);
  color: var(--color-text);
  transform: translateY(-1px);
}

.twitter-btn:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

.email-btn:hover {
  background-color: var(--color-background-alt);
}

/* User Specific Content */
.user-specific-content {
  margin-top: 2rem;
}




/* ========================================= */
/* LOGO SHOWCASE SECTION                    */
/* ========================================= */

.logo-showcase {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-background-alt);
  position: relative;
}

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

.showcase-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
  margin: 0;
}

/* Logo slider container */
.logo-slider {
  max-width: 64rem;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: 3rem;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

/* Gradient fade overlays */
.logo-slider::before,
.logo-slider::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4rem;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--color-background-alt) 0%,
    transparent 100%
  );
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--color-background-alt) 0%,
    transparent 100%
  );
}

/* Sliding track */
.slider-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  will-change: transform;
  height: 100%;
  white-space: nowrap;
}

/* Logo animation - Controlled by JS */
@keyframes slide-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Smooth JavaScript-controlled animation */
.slider-track.js-animate {
  animation: none;
}

/* Fallback CSS animation if JS fails */
.slider-track:not(.js-animate) {
  animation: slide-logos 30s linear infinite;
}

/* Pause on hover - handled by JS */
.logo-slider:hover .slider-track.js-animate {
  /* Handled by JavaScript */
}

/* Brand logo styling */
.brand-logo {
  height: 2rem;
  width: auto;
  max-width: 7rem;
  min-width: 3rem;
  opacity: 0.8;
  filter: grayscale(100%) brightness(0.8);
  transition: transform 0.3s ease;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

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

/* Dark mode adjustments */
[data-theme="dark"] .brand-logo {
  filter: grayscale(100%) brightness(0.8) invert(1);
}

[data-theme="dark"] .logo-slider::before {
  background: linear-gradient(
    to right,
    var(--color-background-alt) 0%,
    transparent 100%
  );
}

[data-theme="dark"] .logo-slider::after {
  background: linear-gradient(
    to left,
    var(--color-background-alt) 0%,
    transparent 100%
  );
}

/* ========================================= */
/* TABLET RESPONSIVE                        */
/* ========================================= */

@media (max-width: 1024px) {
  /* Three-column grid already handles this layout by default */
}

/* ========================================= */
/* MOBILE RESPONSIVE                        */
/* ========================================= */

@media (max-width: 768px) {
  .logo-showcase {
    padding: 2.5rem 1rem;
  }
  
  .logo-slider {
    height: 2.5rem;
  }
  
  .slider-track {
    gap: 2.5rem;
  }
  
  .brand-logo {
    height: 1.98rem; /* 10% bigger: 1.8 * 1.1 */
    min-width: 2.75rem; /* 10% bigger: 2.5 * 1.1 */
    max-width: 5.5rem; /* 10% bigger: 5 * 1.1 */
  }
  
  .logo-slider::before,
  .logo-slider::after {
    width: 2.5rem;
  }
}

@media (max-width: 480px) {
  .logo-showcase {
    padding: 2rem 0.75rem;
  }
  
  .logo-slider {
    height: 2rem;
  }
  
  .slider-track {
    gap: 2rem;
  }
  
  .brand-logo {
    height: 1.65rem; /* 10% bigger: 1.5 * 1.1 */
    min-width: 2.2rem; /* 10% bigger: 2 * 1.1 */
    max-width: 4.4rem; /* 10% bigger: 4 * 1.1 */
  }
  
  .logo-slider::before,
  .logo-slider::after {
    width: 2rem;
  }
  
  .showcase-text {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .logo-slider {
    height: 1.8rem;
  }
  
  .slider-track {
    gap: 1.75rem;
  }
  
  .brand-logo {
    height: 1.43rem; /* 10% bigger: 1.3 * 1.1 */
    min-width: 1.98rem; /* 10% bigger: 1.8 * 1.1 */
    max-width: 3.85rem; /* 10% bigger: 3.5 * 1.1 */
  }
  
  .logo-slider::before,
  .logo-slider::after {
    width: 1.5rem;
  }
}
/* ========================================= */
/* FEATURES SECTION                         */
/* ========================================= */

.features-section {
  padding: 6rem 1.5rem;
  background-color: var(--color-background-alt);
  position: relative;
}

[data-theme="dark"] .features-section {
  background-color: var(--color-background);
}

.workflow-container {
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

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

.workflow-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.workflow-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin: 0;
}

.features-container {
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.features-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.features-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Top row - 2 cards each taking 2.5 columns (50% each) */
.feature-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.feature-card:nth-child(2) {
  grid-column: 3 / 6;
  grid-row: 1;
}

/* Bottom left area (40%) - 2 cards stacked */
.feature-card:nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2;
}

.feature-card:nth-child(4) {
  grid-column: 1 / 3;
  grid-row: 3;
}

/* Image Card - right side (60%), spans 2 rows */
.feature-card:nth-child(5) {
  grid-column: 3 / 6;
  grid-row: 2 / 4;
}

[data-theme="dark"] .feature-card {
  background-color: var(--color-surface);
  border-color: var(--color-border);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-background-subtle);
  border-radius: 0.75rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

[data-theme="dark"] .feature-icon {
  background-color: var(--color-background);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.feature-desc {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.image-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .features-section {
    padding: 4rem 1rem;
  }
  
  .features-title {
    font-size: 2rem;
  }
  
  .features-subtitle {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    min-height: auto;
  }
  
  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3),
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .image-card {
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .features-section {
    padding: 3rem 0.75rem;
  }
  
  .features-title {
    font-size: 1.75rem;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
}

/* ========================================= */
/* PRICING COMPARISON TABLE                 */
/* ========================================= */

.pricing-comparison {
  padding: 4rem 1.5rem;
  background-color: var(--color-background-alt);
}

.comparison-container {
  max-width: 64rem;
  margin: 0 auto;
  width: 100%;
}

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

.comparison-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-transform: none;
}

.comparison-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  margin: 0;
  text-transform: none;
  font-weight: 400;
}

.comparison-table-wrapper {
  overflow-x: auto;
  background-color: var(--color-white);
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}

.comparison-table-wrapper::-webkit-scrollbar {
  height: 6px;
}

.comparison-table-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 3px;
}

.comparison-table-wrapper::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-text-light);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.comparison-table thead th {
  padding: 2rem 1.5rem;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
  background-color: var(--color-white);
}

[data-theme="dark"] .comparison-table thead th {
  background-color: var(--color-surface);
}

.comparison-table thead th.plan-column.featured {
  background-color: transparent;
}

[data-theme="dark"] .comparison-table thead th.plan-column.featured {
  background-color: transparent;
}

.feature-column {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-light);
  width: 35%;
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-header svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.feature-with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.feature-with-icon svg {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
  opacity: 0.8;
}

.feature-with-icon span {
  flex: 1;
}

.plan-column {
  text-align: left;
  vertical-align: top;
  width: 32.5%;
}

.plan-column.featured {
  background-color: transparent;
}

.plan-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.135rem;
  font-weight: 500;
  color: var(--color-text);
}

.plan-column.featured .plan-name {
  color: var(--color-text);
  font-weight: 500;
}

.plan-price {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 500;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--color-border);
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table tbody td {
  padding: 1.5rem;
  font-size: 0.85rem;
  vertical-align: middle;
  color: var(--color-text-light);
  line-height: 1.5;
}

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

.highlighted {
  color: var(--color-text);
  font-weight: 500;
  background-color: transparent;
}

.comparison-table tbody td:not(.feature-name) {
  text-align: left;
  padding: 1.5rem;
}


/* ========================================= */
/* COMPARISON TABLE RESPONSIVE             */
/* ========================================= */

/* Responsive design */
@media (max-width: 768px) {
  .comparison-title {
    font-size: 1.5rem;
  }
  
  .comparison-container {
    padding: 0 1rem;
  }
  
  /* Ensure table scrolls horizontally on mobile */
  .comparison-table {
    min-width: 900px;
  }
  
  .feature-column {
    width: 280px;
    min-width: 280px;
  }
  
  .plan-column {
    width: 310px;
    min-width: 310px;
  }
  
  .comparison-table thead th {
    padding: 1.5rem 1rem;
  }
  
  .comparison-table tbody td {
    padding: 1.25rem 1rem;
    font-size: 0.8rem;
  }
  
  .plan-name {
    font-size: 1rem;
  }
  
  .plan-price {
    font-size: 0.8rem;
  }
  
  .feature-with-icon {
    gap: 0.5rem;
  }
  
  .feature-with-icon svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .comparison-container {
    padding: 0 0.5rem;
  }
  
  .comparison-table {
    min-width: 900px;
  }
  
  .feature-column {
    width: 280px;
    min-width: 280px;
  }
  
  .plan-column {
    width: 310px;
    min-width: 310px;
  }
  
  .comparison-table thead th {
    padding: 1.5rem 1rem;
  }
  
  .comparison-table tbody td {
    padding: 1.25rem 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  .plan-name {
    font-size: 1rem;
  }
  
  .plan-price {
    font-size: 0.8rem;
  }
  
  .feature-with-icon {
    gap: 0.75rem;
  }
}

/* ========================================= */
/* FAQ SECTION                              */
/* ========================================= */

.faq-section {
  padding: 5rem 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
  width: 100%;
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-title {
  font-size: 1.875rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-family: 'Source Serif 4', serif;
}

.faq-desc {
  color: var(--color-text-light);
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

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

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

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--color-text-light);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* ========================================= */
/* DARK MODE ADJUSTMENTS                    */
/* ========================================= */

[data-theme="dark"] .modern-pricing-container {
  background-color: var(--color-background);
}

[data-theme="dark"] .pricing-card {
  background-color: var(--color-white);
  border-color: var(--color-border);
}

[data-theme="dark"] .pricing-card.featured {
  background-color: var(--color-background-alt);
}

[data-theme="dark"] .companies-section {
  background-color: var(--color-background-alt);
}

/* Dark mode for hero logos */
[data-theme="dark"] .hero-brand-logo {
  filter: grayscale(100%) brightness(0.6) invert(1);
}

/* ========================================= */
/* MOBILE RESPONSIVENESS                    */
/* ========================================= */

@media (max-width: 768px) {
  .go-pro-page .app-container {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-section {
    padding: 4rem 1rem 5rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    margin-bottom: 2rem;
  }
  
  .hero-cta {
    margin-bottom: 3rem;
  }
  
  .hero-cta-button {
    max-width: 180px;
    font-size: 0.875rem;
    padding: 0.875rem 1.75rem;
  }
  
  .hero-dashboard {
    margin-top: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .pricing-section {
    padding: 0 1rem 3rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .free-tier-banner {
    padding: 1.25rem;
  }
  
  .free-tier-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .free-tier-features {
    justify-content: center;
    gap: 1rem;
  }
  
  .free-tier-cta {
    width: 100%;
  }
  
  .free-tier-cta .cta-button {
    width: 100%;
  }
  
  .free-tier-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .always-free-badge {
    font-size: 0.6875rem;
    padding: 0.1875rem 0.625rem;
  }
  
  .upgrade-prompt-banner {
    padding: 1rem;
  }
  
  .upgrade-prompt-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .upgrade-prompt-cta {
    width: 100%;
  }
  
  /* Dashboard Mobile Styles */
  .dashboard-section {
    padding: 2rem 1rem;
  }
  
  .dashboard-title {
    font-size: 1.875rem;
  }
  
  .dashboard-subtitle {
    font-size: 1rem;
  }
  
  .dashboard-actions {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .action-card {
    padding: 2rem 1.5rem;
  }
  
  .action-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
  }
  
  .action-title {
    font-size: 1.375rem;
  }
  
  
  .follow-content {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .pricing-card {
    padding: 1.5rem;
  }
  
  .price-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .price-display {
    text-align: left;
  }
  
  .companies-section {
    padding: 3rem 1rem;
  }
  
  .companies-grid {
    gap: 1.5rem;
  }
  
  .faq-section {
    padding: 3rem 1rem;
  }
  
  .faq-title {
    font-size: 1.5rem;
  }
  
  /* Benefits Mobile Styles */
  .benefits-section {
    padding: 3rem 1rem;
  }
  
  .benefits-title {
    font-size: 1.75rem;
  }
  
  .benefits-subtitle {
    font-size: 1rem;
  }
  
  .benefits-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .benefits-left,
  .benefits-right {
    gap: 2rem;
  }
  
  .benefits-left .benefit-item,
  .benefits-right .benefit-item {
    flex-direction: row;
    text-align: left;
  }
  
  .benefits-center {
    order: -1;
    padding: 1.5rem;
  }
  
  .benefit-mockup {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
  
  /* Technical Features Mobile */
  .tech-features-section {
    padding: 3rem 1rem;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .tech-card {
    padding: 1.5rem;
  }
  
  /* Pricing Comparison Mobile */
  .pricing-comparison {
    padding: 3rem 1rem;
  }
  
  .comparison-title {
    font-size: 1.75rem;
  }
  
  .comparison-table {
    font-size: 0.8rem;
  }
  
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 0.75rem 0.5rem;
  }
  
  .feature-column {
    width: 40%;
  }
  
  .plan-name {
    font-size: 0.875rem;
  }
  
  .plan-price {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 3rem 1rem 5rem;
  }
  
  .hero-title {
    font-size: 1.875rem;
  }
  
  .hero-description {
    margin-bottom: 1.75rem;
  }
  
  .hero-cta {
    margin-bottom: 2.5rem;
  }

  /* Mobile Hero Logos */
  .hero-logos {
    margin-top: 3rem;
  }

  .hero-logos-slider {
    height: 1.75rem;
    max-width: 90%;
  }

  .hero-slider-track {
    gap: 2.5rem;
  }

  .hero-brand-logo {
    height: 1.5rem;
    max-width: 5rem;
    min-width: 2rem;
  }

  .hero-logos-text {
    font-size: 0.8rem;
    margin-top: 1.25rem;
  }
  
  .hero-cta-button {
    max-width: 160px;
    font-size: 0.875rem;
    padding: 0.8rem 1.5rem;
  }
  
  .hero-dashboard {
    margin-top: 1rem;
    padding: 0 0.75rem;
  }

  /* Hero Logos Integration */
  .hero-logos {
    margin-top: 4rem;
  }

  .hero-logos-slider {
    max-width: 48rem;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    height: 2rem;
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );
  }

  .hero-slider-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    will-change: transform;
    height: 100%;
    white-space: nowrap;
  }

  .hero-brand-logo {
    height: 1.75rem;
    width: auto;
    max-width: 6rem;
    min-width: 2.5rem;
    opacity: 0.7;
    filter: grayscale(100%) brightness(0.7);
    transition: opacity 0.3s ease;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
  }

  .hero-logos-text {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 1.5rem;
    margin-bottom: 0;
    text-align: center;
    font-weight: 500;
  }
  
  .hero-avatars {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .avatar-group {
    margin-left: -0.25rem;
  }
  
  .hero-avatar {
    margin-left: -0.25rem;
  }
  
  .pricing-card {
    padding: 1.25rem;
  }
  
  .price-amount {
    font-size: 1.5rem;
  }
  
  .companies-grid {
    flex-direction: column;
    gap: 1rem;
  }
  
  .faq-question {
    padding: 1.25rem 0;
  }
  
  .free-tier-title-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
  }
  
  .free-tier-title {
    font-size: 1.125rem;
  }
  
  .always-free-badge {
    font-size: 0.625rem;
    padding: 0.1875rem 0.5rem;
  }
  
  /* Benefits Mobile Styles */
  .benefits-section {
    padding: 2.5rem 1rem;
  }
  
  .benefits-title {
    font-size: 1.5rem;
  }
  
  .benefits-subtitle {
    font-size: 0.9rem;
  }
  
  .benefit-title {
    font-size: 1rem;
  }
  
  .benefit-desc {
    font-size: 0.85rem;
  }
  
  .benefit-icon {
    width: 36px;
    height: 36px;
  }
  
  /* Pricing Comparison Mobile */
  .comparison-table thead th,
  .comparison-table tbody td {
    padding: 0.625rem 0.375rem;
    font-size: 0.75rem;
  }
}

/* ========================================= */
/* ADDITIONAL SCROLL SAFETY                 */
/* ========================================= */

.go-pro-page * {
  box-sizing: border-box;
}

/* Loading states */
.cta-button.loading {
  opacity: 0.7;
  cursor: wait;
}

.cta-button.loading svg {
  animation: spin 1s linear infinite;
}

/* Enhanced loading animation for subscribe buttons */
.cta-button.btn-loading {
  position: relative;
  cursor: not-allowed !important;
  pointer-events: none;
  animation: loadingPulse 2s ease-in-out infinite;
}

.cta-button.btn-loading:hover {
  transform: none !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.btn-loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

/* Spinner colors for primary buttons */
.cta-button.primary .btn-loading-spinner {
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
}

/* Spinner colors for secondary buttons */
.cta-button.secondary .btn-loading-spinner {
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: var(--color-text);
}

.btn-loading-text {
  vertical-align: middle;
  opacity: 0.9;
}

/* Loading pulse animation */
@keyframes loadingPulse {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

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

