/*
Theme Name: MMVbe
Theme URI: https://mapq.app
Author: MMVbe
Author URI: https://mapq.app
Description: Official WordPress theme for MMVbe - creators of MMVbe Mind Map Viewer Browser Extension
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mmvbe-site
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
 * This is the main stylesheet file for the MMVbe theme.
 * All additional styles are loaded via functions.php from /assets/css/
 */

:root {
    --color-primary: #0EA5E9;
    --color-secondary: #FB923C;
    --color-accent-green: #10B981;
    --color-accent-red: #EF4444;
    --color-accent-purple: #A855F7;
    --color-dark: #1E293B;
    --color-light: #F8FAFC;
    --color-white: #FFFFFF;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent-purple));
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    color: var(--color-white);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.25rem;
    color: #64748B;
    max-width: 700px;
    margin: 0 auto;
}

/* Pricing comparison page */

.pricing-page {
  background: #F8FAFC;
  padding-bottom: 80px;
}

.pricing-page-hero {
  padding: 64px 0 24px;
}

.pricing-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.pricing-page-title {
  font-family: var(--font-primary);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.pricing-page-subtitle {
  font-size: 1rem;
  color: #64748B;
  max-width: 640px;
}

.pricing-compare-section {
  padding: 24px 0 16px;
}

.pricing-compare-scroll {
  margin-top: 24px;
  overflow-x: auto;
}

.pricing-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px; /* row gap */
  min-width: 960px; /* 8列时更松一点 */
}

.pricing-compare-table thead th {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F172A;
  padding: 12px 16px;
  background: #E0F2FE;
  text-align: center;
}

.pricing-attr-col {
  background: #F1F5F9 !important;
  text-align: left !important;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.pricing-plan-col:first-of-type {
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.pricing-compare-table tbody th,
.pricing-compare-table tbody td {
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  background: #FFFFFF;
}

.pricing-compare-table tbody th.pricing-attr-label {
  text-align: left;
  font-weight: 600;
  color: #0F172A;
  background: #F8FAFC;
}

.pricing-compare-table tbody tr:nth-child(even) td {
  background: #F9FAFB;
}

.pricing-cell-strong {
  font-weight: 600;
  color: var(--color-dark);
}

.pricing-note-small {
  font-size: 0.8rem;
  color: #6B7280;
}

.plan-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.plan-period {
  font-size: 0.75em;
  font-weight: 500;
  opacity: 0.8;
}

.plan-title--split .plan-period {
  display: block;
}

.pricing-byok-footnote {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #64748B;
}
