/* ========================================
   LANDING.CSS
   ======================================== */
/* 
 * GZIP BUDGET: ~58 KB (warn at 50 KB)
 * Current gzip size: ~8 KB (well under budget)
 * This file contains: Landing page styles, login/register pages, landing-specific components
 * Used by: Public/unauthenticated pages
 */

/* Landing Page Styles */

/* UNUSED: testimonials section removed */

/* Hide benefits subtitle - index page only */
.index-page .benefits .section-subtitle,
.index-page .section.benefits .section-subtitle,
.index-page .benefits .section-header .section-subtitle {
    display: none !important;
}

/* Hide features subtitle - index page only */
.index-page .features .section-subtitle,
.index-page .section.features .section-subtitle,
.index-page .features .section-header .section-subtitle {
    display: none !important;
}

/* Hide leaderboard subtitle - index page only */
.index-page .leaderboard-section .section-subtitle,
.index-page .section.leaderboard-section .section-subtitle,
.index-page .leaderboard-section .section-header .section-subtitle {
    display: none !important;
}

/* Hide pricing subtitle - index page only */
.index-page .pricing .section-subtitle,
.index-page .section.pricing .section-subtitle,
.index-page .pricing .section-header .section-subtitle {
    display: none !important;
}

/* Hide all section badges - index page only */
.index-page .section-badge,
.index-page .section-header .section-badge,
.index-page .features .section-badge,
.index-page .benefits .section-badge,
.index-page .leaderboard-section .section-badge,
.index-page .steps .section-badge,
.index-page .testimonials .section-badge,
.index-page .pricing .section-badge {
    display: none !important;
}

/* Hide pricing badges - index page only */
.index-page .pricing-badge {
    display: none !important;
}

/* Footer description is now visible on all pages */

/* Note: .wrap has been replaced with .container globally - see base.css for .container definition */

/* Hero highlight text */
.hero-highlight {
  color: #a8a8a8;
}

/* Scroll to Top Button - Global */
.scroll-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--text-inverse);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.scroll-to-top:focus {
    outline: 3px solid var(--color-primary-400);
    outline-offset: 2px;
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* Focus Indicators - Improved visibility */
/* Only apply to inline text links, not button-styled links */
p a:focus,
.content-legacy p a:focus,
.content-legacy a:focus,
li a:focus,
.content-legacy li a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Remove focus outline from button-styled links - visual override */
a.btn:focus,
a[class*="btn"]:focus {
    outline: none;
}

/* Nav button styles are in base.css - no duplicates needed here */

/* Index.php Specific Styles - Hero, Features, Benefits, etc. - Only apply to index page */
/* Body padding-top now standardized in base.css (64px) */

.index-page .hero {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--shadow-gray-600-40) 0%, var(--shadow-gray-500-30) 100%), 
                url('../src/assets/hero_2.jpg') center top/cover no-repeat;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.index-page .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--shadow-accent-40);
    z-index: 1;
}

.index-page .hero .container {
    padding: 0 24px;
}

.index-page .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.index-page .hero-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.index-page .hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.index-page .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--shadow-white-90);
    margin-bottom: 32px;
}

.index-page .hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

/* Hero buttons - layout only (colors/typography in components.css) */
/* .btn-hero - layout wrapper (use with .btn .btn-primary) */
.index-page .btn-hero {
    min-width: 220px;
    width: 220px;
    /* Ensure hero buttons match global button corner radius */
    border-radius: 4px;
}


.index-page .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.85); /* Reduce size by 15% */
}

/* Animation classes for hero section - index page only */
.index-page .animate-slide-left {
    animation: slideInLeft 0.8s ease-out;
}

.index-page .animate-slide-right {
    animation: slideInRight 0.8s ease-out;
}

.index-page .animate-delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.index-page .animate-delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.index-page .animate-delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    
}

.index-page .dashboard-preview {
    background: var(--bg-surface);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-subtle);
    max-width: 400px;
    width: 100%;
}

.index-page .dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.index-page .dashboard-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
}

.index-page .dashboard-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--success-green);
    font-weight: 600;
}

.index-page .status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    animation: pulse 2s infinite;
}

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

.index-page .dashboard-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.index-page .stat-card {
    background: var(--bg-subtle);
    padding: 16px;
    text-align: center;
}

.index-page .stat-card-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.index-page .stat-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.index-page .leaderboard-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.index-page .leaderboard-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--bg-subtle);
}


.index-page .leaderboard-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.index-page .leaderboard-rank {
    font-weight: 700;
    color: var(--text-main);
    min-width: 24px;
}

.index-page .leaderboard-name {
    font-weight: 600;
    color: var(--text-main);
}

.index-page .leaderboard-points {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.875rem;
}

/* Section Styles - index page only */

.index-page .section-header {
    text-align: center;
    margin-bottom: 36px;
    margin-left: auto;
    margin-right: auto;
}

.index-page .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.index-page .section-highlight {
    color: var(--accent);
}

/* Features Section - index page only */
.index-page .features {
}

.index-page .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.index-page .feature-card {
    background: var(--gray-200);
    padding: 12px;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-slow);
    text-align: left;
}

.index-page .feature-card:hover {
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.index-page .feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    text-align: left;
}

.index-page .feature-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
}

/* Benefits Section - index page only */
.index-page .benefits {
}

.index-page .benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--gray-200);
    border: 1px solid var(--border-subtle);
    padding: 8px;
    transition: var(--transition-slow);
}

.index-page .benefits-content:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.index-page .benefits-text {
    flex: 1;
}

.index-page .benefits-list {
    list-style: none;
    padding: 0;
}

.index-page .benefits-list li {
    padding: 8px 0;
    color: var(--text-main);
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
}

.index-page .benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

/* Leaderboard Section - index page only */
.index-page .leaderboard-container {
    max-width: 1200px;
    margin: 0 auto;
}

.index-page .leaderboard-content {
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.index-page .leaderboard-header {
    display: grid;
    grid-template-columns: 60px 2fr 120px 80px;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 2px solid var(--border-subtle);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.index-page .leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.index-page .leaderboard-row {
    display: grid;
    grid-template-columns: 60px 2fr 120px 80px;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-subtle);
    align-items: center;
}

.index-page .leaderboard-row:last-child {
    border-bottom: none;
}

.index-page .leaderboard-row.podium {
    background: var(--bg-subtle);
    padding: 16px;
    margin: 4px 0;
}

.index-page .rank-number {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
}

.index-page .podium-icon {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
}

.index-page .podium-icon svg {
    width: 16px;
    height: 16px;
}

.index-page .dashboard-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
    vertical-align: middle;
}

.index-page .dashboard-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    color: var(--white);
    stroke: currentColor;
    fill: none;
}

.index-page .player-info {
    flex: 1;
}

.index-page .player-name {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 4px;
}

.index-page .player-ladder {
    font-size: 0.875rem;
    color: var(--text-soft);
}

.index-page .points-value {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--accent);
}

.index-page .points-label {
    font-size: 0.75rem;
    color: var(--text-soft);
    margin-left: 4px;
}

.index-page .wins-losses {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.875rem;
}

.index-page .wins-separator {
    margin: 0 4px;
    color: var(--text-soft);
}

/* UNUSED: Steps section styles removed (how-it-works is hidden) */

/* UNUSED: Pricing section styles removed (not used in index.php) */

/* What is a Pool Ladder? Section - index page only */
.index-page .ladder-intro {
}

.index-page .ladder-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.index-page .ladder-intro-text {
    text-align: left;
}

.index-page .ladder-intro-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 24px;
}

.index-page .ladder-intro-description {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 20px;
}

.index-page .ladder-intro-description:last-of-type {
    margin-bottom: 0;
}

/* How It Works Section - index page only */
.index-page .how-it-works {
    display: none;
}

/* Mobile Action Bar - index page uses same rules as other pages */
/* All mobile action bar styles are now in base.css - no index-page overrides needed */

/* CTA Section - index page only */
.index-page .cta {
    color: var(--text-main);
    padding: 16px 0 0 0;
    text-align: center;
}

.index-page .cta-content {
    max-width: 100%;
    width: 100%;
    background: var(--accent);
    padding: 32px;
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.index-page .cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-align: left;
}

.index-page .cta-highlight {
    color: var(--white);
}

.index-page .cta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    flex: 1;
    margin-bottom: 0;
    min-width: 0;
}

.index-page .cta-subtitle {
    font-size: 1.125rem;
    color: var(--shadow-white-90);
    margin: 0;
    line-height: 1.6;
    text-align: left;
}

.index-page .cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    flex-shrink: 0;
    align-items: center;
}

/* CTA buttons - layout only */

.index-page .btn-lg {
    min-width: 180px;
}

/* CTA .btn-outline uses canonical button styles from components.css */

.index-page .cta-trust {
    margin-top: 0;
    width: 100%;
    flex-basis: 100%;
}

.index-page .cta-trust p {
    font-size: 1rem;
    color: var(--shadow-white-90);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 16px;
}

/* Feature icons - minimal lines - index page only */
.index-page .feature-icon {
    width: 40px !important;
    height: 4px !important;
    margin-bottom: 20px !important;
    background: var(--primary) !important;
    display: block !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.index-page .feature-icon .icon {
    display: none !important;
}

/* Hide any remaining icon styling */
.index-page .feature-icon > * {
    display: none !important;
}

/* Override any existing icon container styles */
.index-page .feature-icon {
    background-color: var(--primary) !important;
    background-image: none !important;
}

/* Guest Access link is now visible on landing pages */

/* ========================================
   MOBILE RESPONSIVENESS (Admin.php Compatible)
   ======================================== */

/* Desktop (1200px) - index page only */

/* Tablet and below (1024px) - index page only */

/* Mobile and below (768px) - index page only */

/* Small mobile (640px) - index page only */

/* Extra small screens (480px) - index page only */

/* ========================================
   MOBILE TOUCH & SCROLLING OPTIMIZATIONS
   ======================================== */

/* Touch scrolling for mobile - index page only */

/* ========================================
   ACCESSIBILITY & MOTION PREFERENCES
   ======================================== */

/* Respect user's motion preferences - Same as admin.php */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   LEGAL PAGES STYLES (Terms of Service & Privacy Policy)
   Note: Now using .page-container-legacy, .page-header-legacy, and .content-legacy from base.css
   ======================================== */

/* ========================================
   HELP PAGE STYLES
   Note: Now using .page-container-legacy, .page-header-legacy, and .content-legacy from base.css
   ======================================== */

/* Table of Contents */
.toc {
  background: var(--bg-subtle);
  padding: 32px;
  margin-bottom: 48px;
  border: 1px solid var(--border-subtle);
}

.toc h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 12px;
}

.toc a {
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.toc a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
}

/* Help Sections */


.step ol,
.step ul {
  margin: 12px 0;
  padding-left: 24px;
}

.step li {
  margin-bottom: 8px;
  color: var(--text-main);
  line-height: 1.6;
}

.step p {
  color: var(--text-main);
}

.troubleshoot-item {
  background: transparent;
  padding: 24px;
  border: none;
  margin-bottom: 24px;
}


.troubleshoot-item ul {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
}

.troubleshoot-item li {
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 8px;
}

.troubleshoot-item a {
  color: var(--link-color);
  text-decoration: none;
}

.troubleshoot-item a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
}

/* ========================================
   SUPPORT PAGE STYLES
   Note: Now using .page-container-legacy, .page-header-legacy, .grid-legacy, and .card-legacy-standard from base.css
   ======================================== */

/* Support Content */
/* .content-page-content spacing handled by .additional-help margin-top */

/* Wider content area for support page */
.support-page.text-content-page .content-page-content > .quick-help-section {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.quick-help {
  margin-bottom: 48px;
}

.quick-help h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

.help-link {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.help-link:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.popular-topics {
  margin-bottom: 48px;
}

.popular-topics h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.topic-item {
  background: var(--bg-surface);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.topic-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.topic-item li {
  margin-bottom: 12px;
}

.topic-item a {
  color: var(--link-color);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.topic-item a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
}

.contact-options {
  text-align: center;
}

.contact-options h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.contact-method {
  background: var(--bg-surface);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  text-align: center;
  transition: transform 0.2s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.contact-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-details small {
  font-size: 0.813rem;
  color: var(--text-soft);
}

.contact-details .unavailable,
.contact-details .coming-soon {
  color: var(--text-soft);
}

.contact-details .unavailable {
  text-decoration: line-through;
}

/* ====== STATUS PAGE STYLES ====== */
/* Note: Now using .page-container-legacy and .page-header-legacy from base.css */

.status-content {
  margin-bottom: 48px;
}

.support-information {
  margin-bottom: 48px;
}

.info-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.info-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

.info-content > p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.support-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.resource-item {
  background: transparent;
  padding: 32px 24px;
  box-shadow: none;
  border: none;
  text-align: center;
  transition: transform 0.2s ease;
}

.resource-item:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.resource-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}


.contact-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ====== CONTACT PAGE STYLES ====== */
/* Note: Now using .page-container-legacy.wide and .page-header-legacy from base.css */

/* .content-page-content spacing handled by .additional-help margin-top */

/* Hide additional-help-section on contact page */
.contact-page .additional-help-section {
  display: none;
}

/* Wider content area for contact page */
.contact-page.text-content-page .content-page-content > .contact-grid {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  margin-top: 32px;
}

.contact-form-section {
  /* padding, background, border-radius, border, box-shadow - now in components.css */
}

.contact-form-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Contact form layout - minimal overrides only */
/* Form groups use canonical spacing from components.css */
/* Textarea min-height override for contact form (canonical is 100px) */
.contact-form .form-group textarea,
.contact-form .form-textarea {
  min-height: 120px;
}

/* Contact page specific layout overrides */

.contact-page .contact-info-section {
  gap: 0;
  padding-top: 1.5rem;
}

.contact-helper-text {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  margin-top: 0;
}

/* Contact page - all paragraphs use 1.125rem line-height */
.contact-page p {
  line-height: 1.125rem;
}

.contact-page .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.contact-page .contact-method {
  display: flex;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  padding: 12px 0;
  box-shadow: none;
  border: none;
  outline: none;
}

.contact-page .contact-details {
  text-align: left;
}

.contact-page .contact-details a {
  color: var(--link-color);
  text-decoration: none;
}

.contact-page .contact-details a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
}

/* Contact page responsive styles */
@media (max-width: 1200px) {
  .contact-page .contact-grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

@media (max-width: 768px) {
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-page .contact-info-section {
    padding: 16px;
  }
  
  .contact-page .contact-methods {
    gap: 2px;
  }
  
  .contact-page .contact-method {
    flex-direction: row;
    text-align: left;
  }
  
  .contact-page .contact-icon {
    margin-right: 16px;
    margin-bottom: 0;
    margin-top: 4px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.contact-info-card {
  background: var(--bg-surface);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}

.contact-info-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-info-card a {
  color: var(--link-color);
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
}

/* Contact Info Section */
.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
}

/* Social Section */
.social-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.social-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
    background: var(--bg-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: currentColor;
  fill: currentColor;
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 2px solid var(--border-subtle);
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
}

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



/* Modal styles are now in base.css - base styles apply to all pages */

/* Guest Modal - Now uses legacy modal structure, no custom styles needed */

/* ====== SHARED FORM STYLES (Login & Register) ====== */
/* Shared page-level html/body styles */
html.login-page,
html.register-page {
  background: var(--bg-page);
  min-height: 100vh;
}

html.login-page,
html.register-page,
body.login-page,
body.register-page {
  background: var(--bg-page);
}

body.login-page,
body.register-page {
  background: var(--bg-page);
  min-height: 100vh;
  padding-bottom: 0;
  /* Body padding-top uses base rules from base.css - no override needed */
}

/* Shared container for login and register pages */
.form-container,
.login-container,
.register-container,
.forgot-password-container,
.reset-password-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px 20px 40px 20px;
  margin: 0;
}

/* Form container and header styles now use canonical styles from components.css */
/* .form-minimal container, .form-header, and header typography are defined in components.css */
/* Only landing-specific extensions below (login-minimal, register-minimal, etc. use .form-minimal base) */

.login-minimal,
.register-minimal,
.forgot-password-minimal,
.reset-password-minimal,
.login-card {
  /* These extend .form-minimal from components.css - no duplicate needed */
}

.login-card {
  margin: 0 auto;
}

/* Form group and input styles now use canonical classes from components.css */
/* .form-minimal .form-group uses canonical 24px margin-bottom from components.css */
/* Inputs should use .form-input, .form-select, .form-textarea classes for canonical styling */
/* Password toggle, submit button width, and link styles now use canonical styles from components.css */

/* Landing-specific extensions for login-minimal, register-minimal, etc. */
.login-minimal .submit-btn,
.login-card .submit-btn {
  margin-top: 8px;
}

/* .primary-btn - layout wrapper (use with .btn .btn-primary) */

/* Error/success messages now in shared section below */

/* Shared link text styles */
.register-link-text,
.demo-link-text {
  margin-bottom: 12px;
}

.register-link-text:last-child,
.demo-link-text:last-child {
  margin-bottom: 0;
}

/* Demo Card Styles */
.demo-card {
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--white) 100%);
  border: 1px solid var(--border-subtle);
}

.demo-header {
  text-align: center;
  margin-bottom: 32px;
}

.demo-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.demo-header p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

.demo-features {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-size: 16px;
}

.demo-feature svg {
  color: var(--success-green);
  flex-shrink: 0;
}

/* .demo-btn - layout wrapper (use with .btn .btn-primary) */
.demo-card .demo-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.demo-card .demo-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

/* Responsive Login Layout */

/* Loading spinner now in shared section below */

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

/* Login page specific styles now use shared styles above - no duplicates needed */

/* Mode Toggle */
.mode-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  gap: 8px;
    background: var(--bg-subtle);
  padding: 4px;
}

/* Mode toggle button styles */
.mode-toggle button {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-family);
  opacity: 0.7;
  border-radius: 4px;
}

.mode-toggle button:hover:not(.active) {
  color: var(--text-main);
  background: var(--bg-subtle);
  opacity: 0.9;
}

.mode-toggle button.active {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
  opacity: 1;
  border: 1px solid var(--accent);
}

.mode-toggle button:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Abbreviate mode toggle button text at 480px and below */
@media (max-width: 480px) {
  #regularModeBtn {
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
  }
  
  #regularModeBtn::after {
    content: "Regular";
    text-indent: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: inherit;
    color: inherit;
  }
  
  #guestModeBtn {
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
  }
  
  #guestModeBtn::after {
    content: "Demo";
    text-indent: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: inherit;
    color: inherit;
  }
}

.login-minimal .form-group.hidden {
  display: none;
}

/* .form-help now uses canonical styles from components.css (12px font-size, 2px margin-top) */

.resend-code {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

/* Resend code button - layout only (colors/typography in components.css) */
.resend-code button {
  padding: 0;
  text-decoration: underline;
}

/* Shared error/success message styles */
.login-page .error-message,
.login-page .success-message,
.register-page .error-message,
.register-page .success-message {
  background: var(--bg-subtle);
  color: var(--text-main);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  border: 1px solid var(--border-strong);
  display: none;
}

.login-page .error-message.show,
.login-page .success-message.show,
.register-page .error-message.show,
.register-page .success-message.show {
  display: block;
}

/* Loading spinner styles now use canonical styles from components.css */
/* .form-minimal .loading is defined in components.css */
/* Page-specific loading styles below for login-page and register-page */

/* Shared responsive styles for form cards */
@media (max-width: 768px) {
  .login-card {
    padding: 32px 24px;
  }
}

@media (max-width: 640px) {
  .form-container,
  .login-container,
  .register-container,
  .forgot-password-container,
  .reset-password-container {
    padding: 20px 20px 20px 20px;
  }
  
  .login-card {
    padding: 24px 20px;
  }
}

/* Register-specific responsive: form-row becomes single column on small screens */
@media (max-width: 640px) {
  .register-minimal .form-row {
    grid-template-columns: 1fr;
  }
}

/* Login page responsive */

/* ====== REGISTER PAGE STYLES ====== */
/* Register page html/body styles now use shared styles above */

/* Register container now uses shared .form-container styles - no override needed */
/* Register-minimal now uses shared .form-minimal styles - no duplicate needed */

/* Register-specific: Two-column form row */
.register-minimal .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0;
}

.register-minimal .form-row .form-group {
  margin-bottom: 24px;
}

.register-minimal .terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.register-minimal .terms-checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-top: 2px;
}

.register-minimal .terms-checkbox label {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-muted);
}

.register-minimal .terms-checkbox a {
  color: var(--link-color);
  text-decoration: none;
}

.register-minimal .terms-checkbox a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
}

/* Register submit button uses shared styles - no override needed */

/* Register error/success messages now use shared styles above */

.login-link {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
}

.login-link a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  color: var(--link-color-hover);
  text-decoration: underline;
}

/* Loading spinner now uses shared styles above */

/* Register page responsive - consolidated with login responsive rules above */
@media (min-width: 641px) {
  .register-minimal #firstName::placeholder,
  .register-minimal #lastName::placeholder {
    color: transparent;
  }
}

@media (max-width: 640px) {
  .register-minimal .form-row {
    grid-template-columns: 1fr;
  }
  
  .register-minimal .form-row .form-group:first-child {
    margin-bottom: 12px;
  }
  
  .register-minimal label[for="lastName"],
  .register-minimal label[for="password_confirm"] {
    display: none;
  }
  
  .register-minimal label[for="firstName"] {
    text-indent: -9999px;
    overflow: hidden;
    position: relative;
  }
  
  .register-minimal label[for="firstName"]::after {
    content: "Full Name";
    text-indent: 0;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
  }
}

@media (max-width: 480px) {
  .button-selection-group {
    flex-direction: column;
  }
}

/* Hide leaderboard section on index page */
.index-page .leaderboard-section {
  display: none;
}

/* ========================================
   SHARED STYLES FOR LOGGED-OUT PAGES
   ======================================== */

/* Button styles are now in base.css - base styles apply to all pages */
/* Only context-specific overrides below */


/* Shared Page Header Styles */
.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Shared FAQ Item Styles (Static Cards) */
/* .faq-item base styles moved to FAQ page section below */



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

/* Shared Contact Method Styles */
.contact-method {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-surface);
    box-shadow: 0 2px 4px var(--shadow-black-05);
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-details p {
    font-size: 1rem;
    color: var(--text-main);
    margin: 0 0 4px 0;
}

.contact-details small {
    font-size: 0.875rem;
    color: var(--text-soft);
}

/* Shared Help Actions / CTA Actions */
.help-actions,
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Shared Card Styles */
.card-white {
    background: transparent;
    padding: 32px;
    border: none;
}

/* .pricing-plan padding now in components.css (40px) */

/* Rules card styling for rules-index.php */
.rules-card {
    margin-bottom: 1rem;
}

.rules-grid {
    display: grid;
}

.rules-card p {
    display: none;
}

.card-white-sm {
    background: transparent;
    padding: 24px;
    border: none;
}

/* Shared Section Styles */
.section-gray {
    padding: 32px;
}

.section-gray-lg {
    padding: 48px 32px;
}

/* Content page base classes moved to components.css for consistency */


/* ========================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   Minimal header-only styles - content uses shared .text-content-page styles
   ======================================== */

.legal-header {
}

.legal-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.legal-section {
  margin-bottom: 24px;
}

/* ========================================
   SUPPORT PAGE
   Page-specific overrides for support content
   ======================================== */

.help-card {
  text-align: center;
}

.help-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.help-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}


/* Contact grid already has gap: 48px, so no additional spacing needed */

/* Shared Page Header Styles */
.page-header,
.contact-header,
.support-header,
.faq-header,
.pricing-header,
.help-header,
.status-header,
.legal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1,
.contact-header h1,
.support-header h1,
.faq-header h1,
.pricing-header h1,
.help-header h1,
.status-header h1,
.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.page-subtitle,
.contact-subtitle,
.support-subtitle,
.faq-subtitle,
.pricing-subtitle,
.help-subtitle,
.status-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Form input styles now use canonical classes from components.css */
/* Use .form-input, .form-select, .form-textarea for canonical styling */
/* Search input uses .search-input from components.css */

/* Shared Section Heading Styles */
.section-heading,
.contact-info-section h2,
.quick-help h2,
.popular-topics h2,
.contact-options h2,
.features-section-title,
.still-need-help h2,
.pricing-cta h2,
.services-status-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Shared Grid Styles */
.grid-2-col,
.help-cards,
.topics-grid,
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

/* Shared Icon Styles */
.contact-icon,
.help-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-main);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 16px;
    margin-top: 4px;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.help-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
}

.help-icon svg {
    width: 100%;
    height: 100%;
}

/* Shared Hero Styles (for logged-out pages) */
.hero {
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50%;
    margin-right: -50%;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--shadow-gray-600-40) 0%, var(--shadow-gray-500-30) 100%), 
                url('../src/assets/hero_2.jpg') center 35%/cover no-repeat;
    overflow: hidden;
    margin-top: 0 !important;
    min-height: 298px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--shadow-accent-40);
    z-index: 1;
}

.hero .container {
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--shadow-white-90);
    margin: 0;
}

/* Body padding-top now standardized in base.css (64px) */

/* Shared Responsive Styles */
@media (max-width: 768px) {
    .page-header h1,
    .contact-header h1,
    .support-header h1,
    .faq-header h1,
    .pricing-header h1,
    .help-header h1,
    .status-header h1,
    .legal-header h1 {
        font-size: 2rem;
    }

    .grid-2-col,
    .help-cards,
    .topics-grid,
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 8px;
        margin-top: 0;
    }

    /* Hero responsive styles */
    .hero {
        min-height: 238px;
        padding: 32px 0;
    }
    
    .hero-text h1 {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    /* FAQ grid responsive (moved from base.css) */
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   INDEX PAGE RESPONSIVE STYLES
   ======================================== */

/* @media (max-width: 1024px) */
@media (max-width: 1024px) {
  .index-page .hero-content {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Hero buttons - layout only */
  .index-page .btn-hero {
    width: 175px !important;
    min-width: 175px !important;
  }
  
  .index-page .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  
  .index-page .hero-text h1 {
    font-size: 2.4rem !important; /* Reduced by 20% from 3rem */
  }
  
  /* Hero visual stays visible at 1024px - show dashboard preview */
  .index-page .hero-visual {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    transform: scale(0.75) !important; /* Reduce size by 25% */
  }
  
  .index-page .hero-visual.animate-slide-right {
    display: flex !important;
    opacity: 1 !important;
    animation: slideInRight 0.8s ease-out !important;
    width: auto !important;
    height: auto !important;
    transform: scale(0.75) !important; /* Reduce size by 25% */
  }
  
  .index-page .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
  
  /* Benefits columns stay side by side at 1024px - will change at 768px */
  
  /* Steps container stays 4 columns at 1024px - will change at 640px */
  
  /* Pricing grid stays 3 columns at 1024px - will change below this breakpoint */
  
  /* Reduce padding and font sizes in pricing section at 1024px */
  .index-page .pricing-card {
    padding: 20px !important;
  }
  
  .index-page .pricing-header {
    margin-bottom: 16px !important;
  }
  
  .index-page .pricing-title {
    font-size: 1.1875rem !important; /* 19px - reduced by 1px from 1.25rem (20px) */
    margin-bottom: 10px !important;
  }
  
  .index-page .pricing-price {
    margin-bottom: 16px !important;
  }
  
  .index-page .price-currency {
    font-size: 1.0625rem !important; /* 17px - reduced by 1px from 1.125rem (18px) */
  }
  
  .index-page .price-amount {
    font-size: 2.4375rem !important; /* 39px - reduced by 1px from 2.5rem (40px) */
  }
  
  .index-page .price-period {
    font-size: 1rem !important;
  }
  
  .index-page .pricing-features {
    margin-bottom: 20px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .feature-item {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    padding: 5px 0 !important;
  }
  
  .index-page .pricing-cta {
    margin-top: 16px !important;
  }
  
  .index-page .section-title {
    font-size: 0 !important;
    line-height: 0 !important;
  }
  
  .index-page .section-title .section-highlight {
    font-size: 2.5rem !important;
    line-height: normal !important;
    display: block !important;
  }
}

/* Mobile: navbar is 56px at 768px and below */
@media (max-width: 768px) {
  /* Mobile: align hero top with bottom of fixed header */
  body.index-page,
  body.pricing-page {
    padding-top: 56px; /* Match mobile header height */
  }
  
  .index-page .hero-h1-desktop {
    display: none !important;
  }
  
  .index-page .hero-h1-mobile {
    display: block !important;
  }
  
  .index-page .hero-subtitle-desktop {
    display: none !important;
  }
  
  .index-page .hero-subtitle-mobile {
    display: block !important;
  }
  
  .index-page .hero-text h1 {
    font-size: 2.1rem !important;
    font-weight: 600 !important;
  }
  
  .index-page .hero-content {
    display: block !important;
    grid-template-columns: none !important;
    text-align: center;
  }
  
  /* Hide hero visual at 768px and below */
  .index-page .hero-visual {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  
  .index-page .hero-visual.animate-slide-right {
    display: none !important;
    opacity: 0 !important;
    animation: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  
  .index-page .hero-subtitle {
    font-size: 1.125rem !important;
  }
  
  .index-page .hero-buttons {
    flex-direction: row !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .index-page .hero-buttons .btn {
    flex: 0 0 175px !important;
    max-width: 175px !important;
    padding: 16px 32px !important;
    line-height: 1.6 !important;
    min-height: auto !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  
  /* Keep hero buttons identical size at 768px */
  .index-page .hero .btn-hero {
    padding: 16px 32px !important;
    line-height: 1.6 !important;
    min-height: auto !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  
  
  /* CTA layout - stack vertically on mobile */
  .index-page .cta-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 16px !important;
  }
  
  .index-page .cta-title {
    margin-bottom: 8px !important;
  }
  
  .index-page .cta-row {
    flex: none !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  
  .index-page .cta-buttons {
    justify-content: flex-start !important;
    flex-shrink: 1 !important;
    width: 100% !important;
  }
  
  .index-page .cta-trust {
    width: auto !important;
    flex-basis: auto !important;
    margin-top: 0 !important;
  }
  
  /* Benefits content - show mobile version at 768px and below */
  .index-page .benefits-desktop {
    display: none !important;
  }
  
  .index-page .benefits-mobile {
    display: block !important;
  }
  
  /* Benefits content - single column layout at 768px and below */
  .index-page .benefits-content {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 12px;
  }
  
  /* Feature descriptions - show mobile version at 768px and below */
  .index-page .feature-desc-desktop {
    display: none !important;
  }
  
  .index-page .feature-desc-mobile {
    display: inline !important;
  }
  
  /* Features cards stay in grid at 768px - will stack at 640px */
  
  /* Steps container stays 4 columns at 768px - will change at 640px */
  
  .index-page .pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  .index-page .pricing-card.featured {
    transform: none !important;
  }
  
  .index-page .section-subtitle {
    font-size: 1rem !important;
  }
  
  .index-page .hero,
  .index-page .features,
  .index-page .benefits,
  .index-page .steps,
  .index-page .pricing {
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Further exclude hero buttons by parent context */
  .index-page .hero .btn,
  .index-page .hero-buttons .btn {
    min-height: auto !important;
    height: auto !important;
    line-height: 1.5 !important;
  }
}

/* @media (max-width: 640px) */
@media (max-width: 640px) {
  /* Contact and Support page mobile styles (moved from base.css) */
  .support-resources {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* Status and Pricing page mobile styles (moved from base.css) */
  .status-page {
    padding: 20px 16px;
  }
  
  .status-header h1 {
    font-size: 2rem;
  }
  
  .info-content h2 {
    font-size: 1.75rem;
  }
  
  .info-content > p {
    font-size: 1rem;
    margin-bottom: 32px;
  }
  
  /* Reduce padding for features container at 640px and under */
  .index-page .features .container {
    padding: 0 16px !important;
  }
  
  .index-page .features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 0 !important;
  }
  
  .index-page .feature-title {
    font-size: 1.25rem !important;
  }
  
  .index-page .btn-lg {
    padding: 16px 24px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    min-width: 180px !important;
  }
  
  .index-page .section-subtitle {
    line-height: 1.6 !important;
  }
  
  .index-page .pricing-price .currency {
    font-size: 1.25rem !important;
  }
  
  /* CTA trust text - show mobile version at 640px and below */
  .index-page .cta-trust-desktop {
    display: none !important;
  }
  
  .index-page .cta-trust-mobile {
    display: inline !important;
  }
  
  .index-page .container {
    padding: 16px 16px 0px 16px;
  }
  
  .index-page .cta .container {
    padding: 16px 16px 20px 16px;
  }
}

/* @media (max-width: 480px) */
@media (max-width: 480px) {
  /* Apply 640px features container padding rules at 480px */
  .index-page .features .container {
    padding: 0 16px !important;
  }
  
  
  .index-page .cta-title {
    font-size: 1.75rem !important;
  }
  
  /* CTA title - show mobile version at 480px and below */
  .index-page .cta-title-desktop {
    display: none !important;
  }
  
  .index-page .cta-title-mobile {
    display: inline !important;
  }
  
  /* CTA subtitle - show mobile version at 480px and below */
  .index-page .cta-subtitle-desktop {
    display: none !important;
  }
  
  .index-page .cta-subtitle-mobile {
    display: inline !important;
  }
  
  /* Stack pricing cards at 480px */
  .index-page .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  /* Hero size reduction moved to 640px breakpoint */
  
  .index-page .hero-buttons {
    flex-direction: row !important;
    gap: 12px !important;
    width: auto !important;
    justify-content: center !important;
  }
  
  /* Hero buttons - layout only at 480px */
  .index-page .hero-buttons .btn {
    width: 150px !important;
    min-width: 150px !important;
    flex: 0 0 150px !important;
    padding: 12px 20px !important;
    min-height: auto !important;
  }
  
  .index-page .hero .btn-hero {
    width: 150px !important;
    min-width: 150px !important;
    padding: 12px 20px !important;
    min-height: auto !important;
  }
  
  .index-page .features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .index-page .feature-card {
    padding: 12px;
  }
  
  .index-page .feature-title {
    font-size: 1.125rem !important;
  }
  
  .index-page .feature-description {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .feature-card {
    padding: 12px;
  }
  
  /* Button layout only */
  .index-page .btn-lg {
    min-width: 180px !important;
  }
  
  .index-page .section-subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .pricing-card {
    padding: 20px !important;
  }
  
  .index-page .pricing-title {
    font-size: 1.125rem !important;
  }
  
  .index-page .pricing-price {
    font-size: 1.75rem !important;
  }
  
  .index-page .pricing-price .currency {
    font-size: 1.125rem !important;
  }
  
  .index-page .pricing-features {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .feature-item {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

/* ========================================
   HELP PAGE STYLES
   ======================================== */

/* Help page styles - uses .content-page and .content-page-content classes */

/* .help-subtitle uses shared page subtitle styles from landing.css */

.toc {
  /* Uses shared .section-gray style from landing.css */
  padding: 24px;
  margin-bottom: 48px;
}

.toc h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 8px;
}

.toc a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.help-section {
  /* Spacing handled by parent .content-page-content with gap */
}

.help-section:last-of-type {
  padding-bottom: 0;
  margin-bottom: 0; /* Remove margin since .additional-help has margin-top */
}

.help-section p {
  color: var(--text-main);
}

.help-section ul, .help-section ol {
  color: var(--text-main);
  margin-bottom: 16px;
  padding-left: 24px;
}

.help-section li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.troubleshoot-item {
  background: transparent;
  padding: 20px;
  margin-bottom: 16px;
}


/* Additional Help Section - base styles moved to components.css */
/* Page-specific overrides below */

/* ========================================
   PRICING PAGE STYLES
   ======================================== */

.pricing-subtitle {
  max-width: 700px;
}

.pricing-plan {
  /* padding, background, border-radius - now in components.css (40px) */
  margin-bottom: 80px;
}

.pricing-plan-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 16px;
}

.price-currency {
  font-size: 2rem;
  font-weight: 600;
  color: var(--gray-700);
  vertical-align: baseline;
}

.price-amount {
  font-size: 4rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
}

.price-period {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-left: 4px;
}

.pricing-plan-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  text-align: center;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-section {
  margin-bottom: 48px;
}

.features-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-group {
  background: transparent;
  border-radius: 8px;
  padding: 0;
}

.feature-group-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.feature-icon {
  color: var(--accent);
  font-weight: bold;
  margin-right: 12px;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-plan-action {
  padding-top: 32px;
}

.pricing-section-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 24px;
  text-align: left;
}

.pricing-form {
  width: 100%;
}

.pricing-table {
  width: 100%;
  margin-bottom: 16px;
}

.pricing-table-row {
  display: grid;
  grid-template-columns: auto 2fr 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-bottom: 8px;
}

.pricing-table-row:hover {
  background: var(--gray-50);
}

.pricing-table-row input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--accent);
}

.pricing-col-description {
  font-size: 0.95rem;
  color: var(--gray-700);
  text-align: left;
}

.pricing-col-monthly {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: center;
}

.pricing-col-total {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  text-align: center;
}

.pricing-form-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 32px;
  margin-bottom: 16px;
}

.pricing-form-actions .btn {
  min-width: 200px;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 16px;
  margin-bottom: 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-asterisk {
  margin-left: auto;
  color: var(--gray-600);
}

/* Pricing page responsive styles */
@media (max-width: 768px) {
  .price-amount {
    font-size: 3rem;
  }
  
  .features-grid-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pricing-table-row {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }
  
  .pricing-col-monthly,
  .pricing-col-total {
    display: none;
  }
  
  .pricing-table-row::after {
    content: attr(data-monthly) " / " attr(data-total);
    grid-column: 2;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
  }
  
  .pricing-form-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pricing-form-actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .pricing-plan {
    padding: 24px 20px;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
}

/* ========================================
   FAQ PAGE STYLES
   ======================================== */

/* FAQ page styles - uses .content-page and .content-page-content classes */


.faq-search {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Search input uses base .search-input from components.css - layout only */
.faq-search .search-input {
  flex: 1;
}

.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* .search-btn button styles now handled by .btn, .btn-primary, and .btn-sm classes */

.faq-items {
  display: flex;
  flex-direction: column;
}

/* FAQ Item - canonical definition (replaces card-white-sm) */
.faq-item {
  background: transparent;
  padding: 8px 12px 0 12px;
  border: none;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--bg-subtle);
  padding: 0 12px;
}

.faq-question h4 {
  flex: 1;
  padding: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

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

.faq-answer {
  padding: 0 12px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  padding: 0 12px;
  max-height: 500px;
  margin-top: 8px;
}


@media (max-width: 768px) {
  .faq-search {
    flex-direction: column;
  }
}

/* ========================================
   LANDING PAGE RESPONSIVE RULES (from base.css)
   ======================================== */

@media (max-width: 1200px) {
  .index-page .hero-text h1 {
    font-size: 3.5rem !important;
  }
}

@media (max-width: 1024px) {
  .index-page .hero {
    padding: 60px 0 80px !important;
    margin-bottom: 42px;
  }
  
  .index-page .section {
    margin-bottom: 20px;
  }
  
  /* Keep hero content in grid layout at 1024px to show visual */
  .index-page .hero-content {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 48px;
    text-align: left;
  }
  
  .index-page .hero-text {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
  }
  
  /* Hero visual stays visible at 1024px - show dashboard preview */
  .index-page .hero-visual {
    display: flex !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  .index-page .hero-visual.animate-slide-right {
    display: flex !important;
    opacity: 1 !important;
    animation: slideInRight 0.8s ease-out !important;
    width: auto !important;
    height: auto !important;
  }
  
  .index-page .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
  }
  
  /* Benefits columns stay side by side at 1024px - will change at 768px */
  
  /* Steps container stays 4 columns at 1024px - will change at 640px */
  
  /* Pricing grid stays 3 columns at 1024px - will change below this breakpoint */
  
  /* Reduce padding and font sizes in pricing section at 1024px */
  .index-page .pricing-card {
    padding: 20px !important;
  }
  
  .index-page .pricing-header {
    margin-bottom: 16px !important;
  }
  
  .index-page .pricing-title {
    font-size: 1.1875rem !important; /* 19px - reduced by 1px from 1.25rem (20px) */
    margin-bottom: 10px !important;
  }
  
  .index-page .pricing-price {
    margin-bottom: 16px !important;
  }
  
  .index-page .price-currency {
    font-size: 1.0625rem !important; /* 17px - reduced by 1px from 1.125rem (18px) */
  }
  
  .index-page .price-amount {
    font-size: 2.4375rem !important; /* 39px - reduced by 1px from 2.5rem (40px) */
  }
  
  .index-page .price-period {
    font-size: 1rem !important;
  }
  
  .index-page .pricing-features {
    margin-bottom: 20px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .feature-item {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    padding: 5px 0 !important;
  }
  
  .index-page .pricing-cta {
    margin-top: 16px !important;
  }
  
  .login-minimal {
    max-width: 500px;
  }
  
  .register-minimal {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .index-page .hero-content {
    display: block !important;
    grid-template-columns: none !important;
    text-align: center;
  }
  
  /* Hide hero visual at 768px and below */
  .index-page .hero-visual {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }
  
  .index-page .hero-visual.animate-slide-right {
    display: none !important;
    opacity: 0 !important;
    animation: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  
  .index-page .hero h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
  }
  
  .index-page .hero-subtitle {
    font-size: 1.125rem !important;
  }
  
  .index-page .hero-buttons {
    flex-direction: row !important;
    gap: 12px !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .index-page .hero-buttons .btn {
    width: 220px !important;
    min-width: 220px !important;
    flex: 0 0 220px !important;
    max-width: 220px !important;
    padding: 16px 32px !important;
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
    min-height: auto !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  
  /* Keep hero buttons identical size at 768px */
  .index-page .hero .btn-hero,
  .index-page .hero .btn-outline {
    width: 220px !important;
    min-width: 220px !important;
    padding: 16px 32px !important;
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
    min-height: auto !important;
    height: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  
  .index-page .pricing-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  .index-page .pricing-card.featured {
    transform: none !important;
  }
  
  .index-page .section-subtitle {
    font-size: 1rem !important;
  }
  
  .index-page .hero,
  .index-page .features,
  .index-page .benefits,
  .index-page .steps,
  .index-page .pricing {
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Prevent horizontal scroll on mobile */
  body {
    overflow-x: hidden !important;
  }
  
  /* Further exclude hero buttons by parent context */
  .index-page .hero .btn,
  .index-page .hero-buttons .btn {
    min-height: auto !important;
    height: auto !important;
    line-height: 1.5 !important;
  }
}

@media (max-width: 640px) {
  .index-page .hero {
    margin-top: 0 !important;
  }
  
  .index-page .hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }
  
  .index-page .hero-subtitle {
    font-size: 1rem !important;
  }
  
  /* Hero buttons - 200px width at 640px */
  .index-page .hero-buttons .btn {
    width: 200px !important;
    min-width: 200px !important;
    flex: 0 0 200px !important;
    max-width: 200px !important;
  }
  
  .index-page .hero .btn-hero,
  .index-page .hero .btn-outline {
    width: 200px !important;
    min-width: 200px !important;
  }
  
  /* Reduce padding for features container at 640px and under */
  .index-page .features .container {
    padding: 0 16px !important;
  }
  
  .index-page .features-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 0 !important;
  }
  
  .index-page .feature-title {
    font-size: 1.25rem !important;
  }
  
  .index-page .benefits-content {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  
  .index-page .steps-container {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  /* Step items - horizontal layout with icon on left, title and description in same cell at 640px and under */
  .index-page .step-item {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 12px 16px !important;
    column-gap: 16px !important;
    row-gap: 12px !important;
    align-items: flex-start !important;
  }
  
  .index-page .step-icon {
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
    grid-row: 1 / 3 !important;
    grid-column: 1 !important;
  }
  
  .index-page .step-icon svg {
    width: 20px !important;
    height: 20px !important;
  }
  
  .index-page .step-title {
    margin: 0 !important;
    margin-bottom: 0 !important;
    font-size: 1rem !important;
    line-height: 1.2 !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  
  .index-page .step-description {
    margin: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  
  .index-page .btn-lg {
    padding: 16px 24px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    min-width: 180px !important;
  }
  
  .index-page .section-subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .pricing-card {
    padding: 24px !important;
  }
  
  .index-page .pricing-title {
    font-size: 1.25rem !important;
  }
  
  .index-page .pricing-price {
    font-size: 2rem !important;
  }
  
  .index-page .pricing-price .currency {
    font-size: 1.25rem !important;
  }
  
  .index-page .pricing-features {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .feature-item {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .forgot-password-minimal,
  .reset-password-minimal {
    max-width: 100%;
  }
  
  .login-card {
    padding: 24px 20px;
  }
  
  .login-card .form-header h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  /* Apply 640px features container padding rules at 480px */
  .index-page .features .container {
    padding: 0 16px !important;
  }
  
  /* Stack pricing cards at 480px */
  .index-page .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .index-page .hero-buttons {
    flex-direction: row !important;
    gap: 12px !important;
    width: auto !important;
    justify-content: center !important;
  }
  
  /* Hero buttons - 150px width at 480px with reduced padding */
  .index-page .hero-buttons .btn {
    width: 150px !important;
    min-width: 150px !important;
    flex: 0 0 150px !important;
    padding: 12px 20px !important;
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
    min-height: auto !important;
  }
  
  /* Keep hero buttons identical size at 480px */
  .index-page .hero .btn-hero,
  .index-page .hero .btn-outline {
    width: 150px !important;
    min-width: 150px !important;
    padding: 12px 20px !important;
    font-size: 1.125rem !important;
    line-height: 1.6 !important;
    min-height: auto !important;
  }
  
  .index-page .features-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .index-page .feature-card {
    padding: 12px;
  }
  
  .index-page .feature-title {
    font-size: 1.125rem !important;
  }
  
  .index-page .feature-description {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .btn-lg {
    padding: 14px 20px !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    min-width: 180px !important;
  }
  
  .index-page .section-subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .section-title .section-highlight {
    font-size: 1.5rem !important;
  }
  
  .index-page .pricing-card {
    padding: 20px !important;
  }
  
  .index-page .pricing-title {
    font-size: 1.125rem !important;
  }
  
  .index-page .pricing-price {
    font-size: 1.75rem !important;
  }
  
  .index-page .pricing-price .currency {
    font-size: 1.125rem !important;
  }
  
  .index-page .pricing-features {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .index-page .feature-item {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}

/* ========================================
   DESKTOP ENHANCEMENTS (1281px and up)
   ======================================== */

@media (min-width: 1281px) {
  .index-page .feature-card {
    padding: 16px;
  }
  
  .index-page .benefits-content {
    padding: 16px;
  }
  
  /* Help card backgrounds and shadows - reintroduced for desktop */
  .resource-item {
    background: var(--bg-surface);
    box-shadow: var(--shadow-lg);
  }
  
  .resource-item:hover {
    box-shadow: var(--shadow-xl);
  }
  
  .troubleshoot-item {
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
  }
  
  /* Card backgrounds and borders - reintroduced for desktop */
  .card-white {
    background: var(--bg-surface);
    border: 1px solid var(--gray-300);
  }
  
  .card-white-sm {
    background: var(--bg-surface);
    border: 1px solid var(--gray-300);
  }
  
  .resource-item {
    border: 1px solid var(--border-subtle);
  }
  
  /* Pricing feature-group background - reintroduced for desktop */
  .feature-group {
    background: var(--gray-50);
  }
}
