
:root {
  --primary: #0071E3;
  --primary-dark: #0058B0;
  --primary-light: #E8F4FD;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --text: #1D1D1F;
  --text-secondary: #6E6E73;
  --border: #D2D2D7;
  --success: #30D158;
  --radius: 16px;
  --max-width: 960px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 20px; font-weight: 700; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 980px; font-weight: 600; font-size: 14px; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: scale(1.02); }
.btn-secondary { background: var(--bg-alt); color: var(--text); }
.btn-secondary:hover { background: var(--border); }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* HERO */
.hero { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); padding: 80px 24px 60px; text-align: center; }
.hero h1 { font-size: 48px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 16px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-subtitle { font-size: 19px; color: var(--text-secondary); max-width: 600px; margin: 0 auto 32px; line-height: 1.5; }
.hero .btn { margin: 0 8px; }
.breadcrumb { font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* CONTENT */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.content-block { padding: 48px 0; }
.content-block + .content-block { border-top: 1px solid var(--border); }
.content-block h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 20px; }
.content-block h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.content-block p { font-size: 17px; color: var(--text-secondary); margin-bottom: 16px; line-height: 1.7; }
.content-block ul, .content-block ol { margin: 16px 0; padding-left: 24px; }
.content-block li { font-size: 16px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.6; }
.content-block li strong { color: var(--text); }
.note { background: var(--primary-light); border-left: 4px solid var(--primary); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0; font-size: 15px; }

/* STEPS */
.steps { margin: 24px 0; }
.step { display: flex; gap: 20px; margin-bottom: 24px; padding: 24px; background: var(--bg-alt); border-radius: var(--radius); }
.step-num { width: 36px; height: 36px; min-width: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.step-body h3 { margin-bottom: 4px; }
.step-body p { margin-bottom: 0; font-size: 15px; }

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.feature-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; transition: transform 0.2s, box-shadow 0.2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.feature-icon { font-size: 32px; margin-bottom: 12px; }
.feature-card h3 { font-size: 16px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); margin-bottom: 0; }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin-top: 24px; }
.stat-card { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-value { font-size: 32px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

/* COMPARISON TABLE */
.comparison-table { overflow-x: auto; margin: 24px 0; }
.comparison-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.comparison-table th, .comparison-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.comparison-table th { background: var(--bg-alt); font-weight: 600; font-size: 14px; }
.comparison-table .yes { color: var(--success); font-weight: 600; }
.comparison-table .no { color: #FF3B30; font-weight: 600; }
.comparison-table .maybe { color: #FF9500; font-weight: 600; }

/* TESTIMONIAL */
.testimonial { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; margin: 16px 0; }
.testimonial p { font-size: 17px; font-style: italic; color: var(--text); margin-bottom: 8px; }
.testimonial span { font-size: 14px; color: var(--text-secondary); }

/* TIPS LIST */
.tips-list { counter-reset: tip; list-style: none; padding: 0; }
.tips-list li { counter-increment: tip; padding: 20px 20px 20px 60px; position: relative; background: var(--bg-alt); border-radius: var(--radius); margin-bottom: 12px; font-size: 16px; color: var(--text-secondary); line-height: 1.6; }
.tips-list li::before { content: counter(tip); position: absolute; left: 16px; top: 20px; width: 32px; height: 32px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.tips-list li strong { color: var(--text); }

/* FAQ */
.faq-section h2 { margin-bottom: 24px; }
.faq-list { margin-top: 16px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; padding: 18px 20px; background: none; border: none; text-align: left; font-size: 16px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; }
.faq-q:hover { background: var(--bg-alt); }
.faq-arrow { font-size: 20px; color: var(--text-secondary); transition: transform 0.2s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-a p { padding: 0 20px; font-size: 15px; }
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 18px; }
.faq-item.open .faq-a p { padding-top: 0; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, #0071E3, #00A1FF); padding: 80px 24px; text-align: center; margin-top: 48px; }
.cta-section h2 { font-size: 36px; color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 18px; margin-bottom: 32px; }
.cta-section .btn-primary { background: #fff; color: var(--primary); font-size: 17px; padding: 16px 32px; }
.cta-section .btn-primary:hover { background: rgba(255,255,255,0.9); transform: scale(1.05); }
.cta-rating { margin-top: 16px; color: rgba(255,255,255,0.7); font-size: 14px; }

/* RELATED */
.related-section { padding: 48px 0; }
.related-section h2 { font-size: 24px; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.related-card { display: block; padding: 20px; background: var(--bg-alt); border-radius: 12px; text-decoration: none; color: var(--text); transition: all 0.2s; border: 1px solid transparent; }
.related-card:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,113,227,0.1); }
.related-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.related-card p { font-size: 13px; color: var(--text-secondary); margin: 0; }

/* FOOTER */
footer { background: #1D1D1F; color: #86868B; padding: 48px 24px 32px; margin-top: 0; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-col h4 { color: #F5F5F7; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-col p { font-size: 13px; line-height: 1.5; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #86868B; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: #F5F5F7; }
.footer-bottom { max-width: 1200px; margin: 32px auto 0; padding-top: 24px; border-top: 1px solid #424245; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; }
.footer-bottom a { color: #86868B; text-decoration: none; font-size: 12px; margin-left: 16px; }
.footer-bottom a:hover { color: #F5F5F7; }

/* HOMEPAGE */
.home-hero { padding: 100px 24px 80px; text-align: center; background: linear-gradient(180deg, #F5F5F7 0%, #FFFFFF 100%); }
.home-hero h1 { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
.home-hero h1 span { background: linear-gradient(135deg, #0071E3, #00A1FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.home-hero p { font-size: 21px; color: var(--text-secondary); max-width: 600px; margin: 0 auto 40px; }
.home-stats { display: flex; justify-content: center; gap: 48px; margin-top: 48px; }
.home-stat { text-align: center; }
.home-stat-val { font-size: 36px; font-weight: 700; color: var(--primary); }
.home-stat-label { font-size: 14px; color: var(--text-secondary); }
.category-section { padding: 80px 24px; }
.category-section:nth-child(even) { background: var(--bg-alt); }
.category-section h2 { font-size: 36px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.category-section .section-subtitle { text-align: center; color: var(--text-secondary); font-size: 18px; margin-bottom: 40px; }
.category-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.category-card { display: block; padding: 24px; background: var(--bg); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: all 0.2s; border: 1px solid var(--border); }
.category-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,113,227,0.1); }
.category-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.category-card p { font-size: 14px; color: var(--text-secondary); margin: 0; line-height: 1.5; }
.all-pages-section { padding: 80px 24px; }
.all-pages-section h2 { font-size: 32px; text-align: center; margin-bottom: 40px; }
.all-pages-grid { max-width: 1200px; margin: 0 auto; column-count: 3; column-gap: 24px; }
.all-pages-grid a { display: block; padding: 8px 0; font-size: 14px; color: var(--primary); text-decoration: none; break-inside: avoid; }
.all-pages-grid a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
  .home-hero h1 { font-size: 36px; }
  .home-hero p { font-size: 17px; }
  .home-stats { flex-direction: column; gap: 20px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); padding: 20px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .content-block h2 { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .step { flex-direction: column; gap: 12px; }
  .all-pages-grid { column-count: 1; }
  .category-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .category-section h2 { font-size: 28px; }
}
