/* Mind Log Support Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary Brand Colors - More Refined */
  --primary-purple: #6366f1;
  --secondary-purple: #7c3aed;
  --dark-purple: #5b21b6;
  --light-purple: #f8fafc;
  --accent-purple: #8b5cf6;
  
  /* Neutral Colors */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  
  /* Background Colors */
  --background: #ffffff;
  --surface: #f9fafb;
  --surface-light: #f3f4f6;
  --surface-dark: #f1f5f9;
  
  /* Border Colors */
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --border-dark: #d1d5db;
  
  /* Shadow System */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography Scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  /* Sticky header/sidebar coordination */
  --support-header-height: 96px; /* overwritten at runtime by header-component.js */
  --support-sticky-gap: 24px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* Support Header */
.support-header {
  background: var(--background);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mind-log-logo {
  display: flex;
  align-items: center;
}

.mind-log-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mind-log-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.support-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.support-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s ease;
  position: relative;
  padding: 8px 0;
}

.support-nav a:hover {
  color: var(--primary-purple);
  transform: translateY(-1px);
}

.support-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-purple);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.support-nav a:hover::after {
  width: 100%;
}

.get-app-btn {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  color: white !important;
  padding: 16px 32px;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
  position: relative;
  overflow: hidden;
  min-width: 160px;
  text-align: center;
  cursor: pointer;
}

.get-app-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.get-app-btn:hover {
  background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.get-app-btn:hover::before {
  left: 100%;
}

.get-app-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

/* Support Main Content */
.support-main-new {
  background: var(--surface);
  min-height: calc(100vh - 120px);
}

/* Support Hero Section */
.support-hero {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  color: white;
  padding: 100px 0;
  text-align: center;
}

.support-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.support-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.support-hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn.primary {
  background: white;
  color: var(--primary-purple);
}

.hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Support Content Grid */
.support-content {
  padding: 80px 0;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  width: 95%;
  margin: 0 auto;
  padding: 0 40px;
}

/* FAQ Categories */
.faq-categories h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.category-card {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-purple), var(--secondary-purple));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-color: var(--border);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  border-radius: 14px;
  color: white;
  margin-bottom: 24px;
  transition: transform 0.2s ease;
}

.category-card:hover .category-icon {
  transform: scale(1.05);
}

.category-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.category-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
  font-size: 0.95rem;
}

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

.category-card li {
  color: var(--text-secondary);
  padding: 8px 0;
  position: relative;
  padding-left: 0;
  transition: all 0.2s ease;
}

.category-card li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all 0.2s ease;
  display: block;
  padding: 4px 0;
}

.category-card li a:hover {
  color: var(--primary-purple);
  transform: translateX(4px);
}

/* Support Sidebar */
.support-sidebar-new {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: sticky;
  top: calc(var(--support-header-height) + var(--support-sticky-gap));
  height: fit-content;
}

.support-card {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

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

.support-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.support-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.support-btn-new {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.support-btn-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.support-btn-new.secondary {
  background: var(--surface);
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}

.support-btn-new.secondary:hover {
  background: var(--primary-purple);
  color: white;
}

.support-note {
  margin-top: 12px;
  text-align: center;
}

.support-note small {
  color: var(--text-muted);
  font-style: italic;
}

.forum-link {
  display: block;
  text-align: center;
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 600;
  padding: 12px;
  border: 2px solid var(--primary-purple);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.forum-link:hover {
  background: var(--primary-purple);
  color: white;
}

/* Article Content Styles */
.article-content {
  background: var(--background);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.article-section {
  margin-bottom: 60px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.article-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.step-guide {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 32px 0;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.feature-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-list li:last-child {
  border-bottom: none;
}

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

.custom-item {
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.custom-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.custom-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.tips-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.tip {
  background: var(--surface);
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-purple);
}

.tip h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tip p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.back-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 1;
}

.related-articles {
  background: var(--background);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.related-articles h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.related-articles li {
  margin-bottom: 12px;
}

.related-articles a {
  color: var(--primary-purple);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.related-articles a:hover {
  color: var(--dark-purple);
}

/* Footer */
footer {
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  margin-top: 48px;
}

.footer-content {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content a {
  color: var(--text-muted);
  margin: 0 8px;
}

.footer-content a:hover {
  color: var(--primary-purple);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .support-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 30px;
  }
  
  .support-sidebar-new {
    order: -1;
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
  }
  
  .support-card {
    min-width: 300px;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .support-nav {
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .support-nav a {
    font-size: var(--text-sm);
  }
  
  .support-hero {
    padding: 60px 0;
  }
  
  .support-hero h1 {
    font-size: 2.5rem;
  }
  
  .support-hero p {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .support-content {
    padding: 40px 0;
  }
  
  .support-grid {
    padding: 0 20px;
  }
  
  .faq-categories h2 {
    font-size: 2rem;
  }
  
  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .category-card {
    padding: 24px;
  }
  
  .support-sidebar-new {
    flex-direction: column;
  }
  
  .support-card {
    min-width: unset;
  }
} 
