/* ===== Hide React root (static HTML site) ===== */
#root{display:none!important}

/* ===== Reset & Base ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.7;color:#1a1a2e;background:#fff;font-size:17px}
img{max-width:100%;height:auto;display:block}
a{color:#1e3a5f;text-decoration:none;transition:color .2s}
a:hover{color:#d97706}
ul,ol{padding-left:1.5em;margin-bottom:1em}
li{margin-bottom:.4em}

/* ===== Layout ===== */
.container{max-width:800px;margin:0 auto;padding:0 20px}
.container-wide{max-width:1100px;margin:0 auto;padding:0 20px}

/* ===== Typography ===== */
h1,h2,h3,h4{line-height:1.3;font-weight:700;color:#0f172a;scroll-margin-top:80px}
h1{font-size:clamp(1.7rem,5vw,2.6rem);margin-bottom:.6em}
h2{font-size:clamp(1.35rem,4vw,1.9rem);margin-top:2.5em;margin-bottom:.7em;padding-bottom:.3em;border-bottom:2px solid #e2e8f0}
h3{font-size:clamp(1.15rem,3vw,1.4rem);margin-top:1.8em;margin-bottom:.5em}
p{margin-bottom:1.1em}
strong{font-weight:600;color:#0f172a}

/* ===== Header / Nav ===== */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.95);backdrop-filter:blur(8px);border-bottom:1px solid #e2e8f0}
.site-header .container-wide{display:flex;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px}
.site-logo{font-size:1.25rem;font-weight:700;color:#0f172a;letter-spacing:-.02em}
.site-logo span{color:#d97706}
.site-nav{display:flex;gap:24px;flex-wrap:wrap}
.site-nav a{font-size:.95rem;color:#475569;font-weight:500}
.site-nav a:hover{color:#d97706}

/* ===== Hero ===== */
.hero{padding:60px 0 40px;text-align:center;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%)}
.hero h1{max-width:700px;margin:0 auto .5em}
.hero .subtitle{font-size:1.1rem;color:#64748b;max-width:600px;margin:0 auto 1.5em}
.hero-img{width:100%;max-width:900px;margin:2em auto 0;border-radius:12px;box-shadow:0 4px 24px rgba(0,0,0,.08)}

/* ===== Quick Answer ===== */
.quick-answer{background:#f0f7ff;border:1px solid #bae6fd;border-radius:12px;padding:24px 28px;margin:2em 0}
.quick-answer h2{border:none;margin-top:0;font-size:1.2rem;color:#0c4a6e}
.quick-answer ul{margin-bottom:0}
.quick-answer li{margin-bottom:.5em}

/* ===== CTA Blocks ===== */
.cta-block{background:linear-gradient(135deg,#1e3a5f 0%,#0f172a 100%);border-radius:14px;padding:32px 28px;margin:2.5em 0;text-align:center;color:#fff}
.cta-block h3{color:#fff;margin-top:0}
.cta-block p{color:#cbd5e1;margin-bottom:1.2em}
.cta-btn{display:inline-block;background:#d97706;color:#fff;padding:14px 36px;border-radius:50px;font-size:1.05rem;font-weight:600;transition:transform .2s,box-shadow .2s;box-shadow:0 4px 14px rgba(217,119,6,.3)}
.cta-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(217,119,6,.4);color:#fff}
.cta-block-light{background:#fefce8;border:2px solid #fde68a;border-radius:14px;padding:28px;margin:2em 0}
.cta-block-light h3{color:#92400e;margin-top:0}
.cta-block-light .cta-btn{background:#92400e}
.cta-block-light .cta-btn:hover{box-shadow:0 6px 20px rgba(146,64,14,.3)}

/* ===== Service Cards ===== */
.service-card{border:1px solid #e2e8f0;border-radius:14px;padding:28px;margin:2em 0;transition:box-shadow .2s}
.service-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.06)}
.service-card.gold{border-color:#fde68a;background:linear-gradient(180deg,#fffbeb 0%,#fff 30%)}
.service-badge{display:inline-block;font-size:.85rem;font-weight:600;padding:4px 14px;border-radius:50px;margin-bottom:12px}
.badge-1{background:#fde68a;color:#92400e}
.badge-2{background:#dbeafe;color:#1e40af}
.badge-3{background:#d1fae5;color:#065f46}
.service-card h3{margin-top:0}
.service-card .for-who{font-style:italic;color:#64748b;margin-bottom:.8em}
.service-card ul{margin-bottom:1em}
.service-link{display:inline-block;margin-top:.5em;font-weight:600;color:#d97706;border-bottom:2px solid #d97706;padding-bottom:2px}
.service-link:hover{color:#92400e;border-color:#92400e}

/* ===== Tables ===== */
.table-wrap{overflow-x:auto;margin:2em 0;border-radius:10px;border:1px solid #e2e8f0}
table{width:100%;border-collapse:collapse;font-size:.95rem}
th{background:#1e3a5f;color:#fff;padding:14px 16px;text-align:left;font-weight:600}
td{padding:12px 16px;border-bottom:1px solid #e2e8f0}
tbody tr:nth-child(even){background:#f8fafc}
tbody tr:hover{background:#f1f5f9}

/* ===== Tips & Checklist ===== */
.tips-list{counter-reset:tip;list-style:none;padding-left:0}
.tips-list li{counter-increment:tip;position:relative;padding-left:48px;margin-bottom:1.2em}
.tips-list li::before{content:counter(tip);position:absolute;left:0;top:0;width:32px;height:32px;background:#1e3a5f;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}
.checklist{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:12px;padding:24px 28px;margin:2em 0}
.checklist h3{margin-top:0;color:#166534}
.checklist ul{list-style:none;padding-left:0}
.checklist li{padding-left:28px;position:relative;margin-bottom:.6em}
.checklist li::before{content:"✓";position:absolute;left:0;color:#16a34a;font-weight:700}

/* ===== Statistics Block ===== */
.stats-block{background:#f8fafc;border-left:4px solid #1e3a5f;border-radius:8px;padding:24px 28px;margin:2em 0}
.stats-block h3{margin-top:0;color:#1e3a5f}
.stat-item{display:flex;align-items:baseline;gap:12px;margin-bottom:.8em}
.stat-number{font-size:1.8rem;font-weight:700;color:#d97706;min-width:80px}
.stat-desc{color:#475569}

/* ===== What Others ===== */
.what-others{background:#fef3c7;border-radius:12px;padding:28px;margin:2em 0}
.what-others h3{margin-top:0;color:#92400e}

/* ===== Brainstorming ===== */
.brainstorming{background:#f5f3ff;border-radius:12px;padding:28px;margin:2em 0}
.brainstorming h3{margin-top:0;color:#5b21b6}
.brainstorming ul{list-style:none;padding-left:0}
.brainstorming li{padding:10px 0;border-bottom:1px solid #e9d5ff}
.brainstorming li:last-child{border:none}

/* ===== FAQ ===== */
.faq-section{margin:2.5em 0}
details{border:1px solid #e2e8f0;border-radius:10px;padding:0;margin-bottom:12px;overflow:hidden}
summary{padding:16px 20px;font-weight:600;color:#0f172a;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:1.3rem;color:#94a3b8;transition:transform .2s}
details[open] summary::after{transform:rotate(45deg)}
details[open] summary{border-bottom:1px solid #e2e8f0}
.faq-answer{padding:16px 20px;color:#475569}

/* ===== Article Meta ===== */
.article-meta{display:flex;flex-wrap:wrap;gap:16px;font-size:.9rem;color:#64748b;margin-bottom:2em;padding-bottom:1em;border-bottom:1px solid #e2e8f0}
.article-meta span{display:flex;align-items:center;gap:6px}

/* ===== Content Images ===== */
.content-img{width:100%;border-radius:10px;margin:1.5em 0;box-shadow:0 2px 12px rgba(0,0,0,.06)}
figcaption{font-size:.85rem;color:#94a3b8;text-align:center;margin-top:.5em}

/* ===== Footer ===== */
.site-footer{background:#0f172a;color:#94a3b8;padding:40px 0 24px;margin-top:4em}
.site-footer .container-wide{display:flex;flex-direction:column;gap:20px}
.footer-links{display:flex;flex-wrap:wrap;gap:20px}
.footer-links a{color:#94a3b8;font-size:.9rem}
.footer-links a:hover{color:#fff}
.footer-disclaimer{font-size:.85rem;color:#64748b;max-width:700px;line-height:1.6}
.footer-copy{font-size:.85rem;color:#64748b;border-top:1px solid #1e293b;padding-top:16px}

/* ===== Language Flags ===== */
.lang-switcher{display:flex;gap:8px;flex-wrap:wrap}
.lang-switcher a{font-size:.85rem;padding:4px 10px;border:1px solid #e2e8f0;border-radius:6px;color:#475569}
.lang-switcher a:hover{border-color:#d97706;color:#d97706}

/* ===== RTL Support ===== */
html[dir="rtl"] body{text-align:right}
html[dir="rtl"] ul,html[dir="rtl"] ol{padding-left:0;padding-right:1.5em}
html[dir="rtl"] .tips-list li{padding-left:0;padding-right:48px}
html[dir="rtl"] .checklist li{padding-left:0;padding-right:28px}
html[dir="rtl"] .site-nav{flex-direction:row-reverse}

/* ===== Responsive ===== */
@media(max-width:640px){
  body{font-size:16px}
  .container,.container-wide{padding:0 16px}
  .site-nav{display:none}
  .hero{padding:40px 0 30px}
  .cta-block{padding:24px 20px}
  .service-card{padding:20px}
  table{font-size:.85rem}
  th,td{padding:10px 8px}
  .stats-block,.checklist,.what-others,.brainstorming,.quick-answer{padding:18px 16px}
}

/* ===== Print ===== */
@media print{
  .site-header,.site-footer,.cta-block,.cta-block-light,.service-link{display:none}
  body{font-size:12pt;color:#000}
  a{color:#000;text-decoration:underline}
}
