/* =============================================
   My Plate: AI Calorie Counter — Main Styles
   Design: Warm Orange & White 2026
   ============================================= */

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

:root {
  --orange: #FF6B35;
  --orange-light: #FF8C5A;
  --orange-pale: #FFF3EE;
  --orange-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
  --bg: #FFFFFF;
  --bg-alt: #FFF8F5;
  --bg-dark: #1A0A00;
  --text: #1A1A1A;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border: #F0E8E3;
  --card-bg: #FFFFFF;
  --card-shadow: 0 4px 24px rgba(255, 107, 53, 0.10);
  --card-shadow-hover: 0 12px 40px rgba(255, 107, 53, 0.20);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --section-pad: 96px 20px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover { opacity: 0.8; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- HEADER ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover { color: var(--orange); opacity: 1; }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-gradient);
  color: #fff !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,107,53,0.35);
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  padding: 80px 20px 60px;
  background: linear-gradient(160deg, #FFF8F5 0%, #FFFFFF 60%, #FFF3EE 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,107,53,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange-pale);
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,107,53,0.2);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  background: var(--orange-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange-gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255,107,53,0.30);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.40);
  opacity: 1;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  opacity: 1;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stars {
  color: #FBBF24;
  font-size: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 280px;
  border-radius: 40px;
  box-shadow: 0 30px 80px rgba(255,107,53,0.20), 0 10px 30px rgba(0,0,0,0.10);
  border: 8px solid #fff;
}

.phone-float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.phone-float-card.left {
  left: -20px;
  bottom: 120px;
}

.phone-float-card.right {
  right: -20px;
  top: 120px;
}

.float-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.float-icon.orange { background: var(--orange-pale); }
.float-icon.green { background: #F0FFF4; }

.float-label { color: var(--text-muted); font-weight: 400; font-size: 0.72rem; }
.float-value { color: var(--text); font-weight: 700; font-size: 0.9rem; }

/* ---- STATS BAND ---- */
.stats-band {
  background: var(--orange-gradient);
  padding: 40px 20px;
}

.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-item p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}

/* ---- FEATURES ---- */
.features {
  padding: var(--section-pad);
  background: var(--bg);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

.section-head {
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(255,107,53,0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--orange-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: var(--section-pad);
  background: var(--bg-alt);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 16px);
  right: calc(16.66% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--orange-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(255,107,53,0.30);
}

.step-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- PRICING ---- */
.pricing {
  padding: var(--section-pad);
  background: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,107,53,0.10);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-period {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price sup {
  font-size: 1.2rem;
  font-weight: 700;
  vertical-align: super;
}

.pricing-per {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-pricing.primary {
  background: var(--orange-gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,107,53,0.25);
}

.btn-pricing.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,0.35);
  opacity: 1;
}

.btn-pricing.outline {
  border: 2px solid var(--border);
  color: var(--text);
}

.btn-pricing.outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  opacity: 1;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  padding: 80px 20px;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  position: relative;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--orange);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.20);
  opacity: 1;
}

/* ---- BLOG PREVIEW ---- */
.blog-preview {
  padding: var(--section-pad);
  background: var(--bg-alt);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.blog-thumb {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--orange-pale) 0%, #FFE8DE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-body {
  padding: 24px;
}

.blog-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--bg-alt);
  padding: 6px 12px;
  border-radius: 50px;
  border: 1px dashed var(--border);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 20px 32px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--orange);
  opacity: 1;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--orange);
  opacity: 1;
}

/* ---- INNER PAGE SHARED ---- */
.page-hero {
  background: linear-gradient(160deg, #FFF8F5 0%, #FFFFFF 100%);
  padding: 64px 20px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1rem;
  color: var(--text-muted);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 20px 96px;
}

.page-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 14px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p, .page-content li {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.page-content ul, .page-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.page-content a { color: var(--orange); }

/* ---- SUPPORT PAGE ---- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.support-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.support-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.support-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.support-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-gradient);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-support:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,107,53,0.30);
  opacity: 1;
}

/* ---- BLOG PAGE ---- */
.blog-hero { text-align: center; }
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  padding: 14px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.breadcrumbs-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.breadcrumbs-inner a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs-inner a:hover {
  color: var(--orange);
  opacity: 1;
}

.breadcrumbs-inner .sep {
  color: var(--text-light);
  font-size: 0.75rem;
}

.breadcrumbs-inner .current {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

/* ---- ARTICLE PAGE ---- */
.article-hero {
  background: linear-gradient(160deg, #FFF8F5 0%, #FFFFFF 100%);
  padding: 56px 20px 48px;
  border-bottom: 1px solid var(--border);
}

.article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.article-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--orange-pale);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,107,53,0.2);
}

.article-date {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-read-time {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.article-hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
}

.article-thumb {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  height: 260px;
  background: linear-gradient(135deg, var(--orange-pale) 0%, #FFE8DE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Article body */
.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.article-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
}

.article-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}

.article-content p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.article-content li {
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 6px;
}

.article-content strong {
  color: var(--text);
  font-weight: 700;
}

.article-content a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content .highlight-box {
  background: var(--orange-pale);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.article-content .highlight-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.article-content .highlight-box strong {
  color: var(--orange);
}

.article-content .tip-box {
  background: #F0FFF4;
  border-left: 4px solid #22C55E;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.article-content .tip-box p { margin: 0; font-size: 0.95rem; color: #166534; }

.article-content .data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-content .data-table th {
  background: var(--orange-pale);
  color: var(--text);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.article-content .data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: #374151;
}

.article-content .data-table tr:last-child td { border-bottom: none; }
.article-content .data-table tr:nth-child(even) td { background: #FAFAFA; }

/* Article sidebar */
.article-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-toc h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.sidebar-toc ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-toc ul a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
  display: block;
}

.sidebar-toc ul a:hover { color: var(--orange); opacity: 1; }

.sidebar-app {
  background: var(--orange-gradient);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  color: #fff;
}

.sidebar-app img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  margin: 0 auto 14px;
}

.sidebar-app h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sidebar-app p {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 16px;
  line-height: 1.5;
}

.sidebar-app a {
  display: block;
  background: #fff;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.sidebar-app a:hover { opacity: 0.9; }

/* Article nav */
.article-nav {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.article-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 768px) {
  .article-body {
    grid-template-columns: 1fr;
    padding: 40px 20px 64px;
    gap: 32px;
  }
  .article-sidebar {
    position: static;
    order: -1;
  }
  .sidebar-toc { display: none; }
  .article-thumb { height: 180px; font-size: 4rem; }
  .article-hero { padding: 40px 20px 32px; }
  .article-content .data-table { font-size: 0.82rem; }
  .article-content .data-table th,
  .article-content .data-table td { padding: 8px 10px; }
}

/* ---- MOBILE NAV ---- */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: rgba(255,255,255,0.98);
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
}

.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--orange); opacity: 1; }
.mobile-nav .header-cta { margin-top: 12px; justify-content: center; }

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

@media (max-width: 1024px) {
  .hero-inner {
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 64px 20px;
  }

  .nav, .header-cta { display: none; }
  .hamburger { display: flex; }

  .mobile-nav.open { display: flex; }

  .hero {
    padding: 48px 20px 40px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual { order: -1; }
  .phone-mockup { width: 220px; }
  .phone-float-card.left { left: 0; bottom: 80px; }
  .phone-float-card.right { right: 0; top: 80px; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .features-grid { grid-template-columns: 1fr; }

  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }

  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.6rem; }
  .pricing-price { font-size: 2.2rem; }
  .phone-float-card { display: none; }
}
