/* ===== Reset & Base ===== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7;color:#1a1a2e;background:#fff;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:#1a2744;text-decoration:underline;text-underline-offset:2px}
a:hover{color:#c9a961}
table{border-collapse:collapse;width:100%}

/* ===== Typography ===== */
h1,h2,h3,h4{font-family:'Playfair Display',Georgia,'Times New Roman',serif;line-height:1.3;color:#1a2744;margin-bottom:.8em;font-weight:700}
h1{font-size:clamp(1.75rem,5vw,2.75rem)}
h2{font-size:clamp(1.4rem,3.5vw,2rem);margin-top:2.5rem}
h3{font-size:clamp(1.15rem,2.5vw,1.4rem);margin-top:2rem}
p{margin-bottom:1.2em}
ul,ol{margin-bottom:1.2em;padding-left:1.5em}
li{margin-bottom:.5em}
strong{color:#1a2744}

/* ===== Layout ===== */
.container{max-width:860px;margin:0 auto;padding:0 1.5rem}
.wide-container{max-width:1200px;margin:0 auto;padding:0 1.5rem}

/* ===== Header ===== */
.site-header{background:#fff;border-bottom:1px solid #e8e8e8;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.nav{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;max-width:1200px;margin:0 auto;flex-wrap:wrap;gap:.5rem}
.nav-brand{font-family:'Playfair Display',serif;font-size:1.3rem;font-weight:700;color:#1a2744;text-decoration:none}
.nav-brand:hover{color:#c9a961}
.nav-links{display:flex;gap:1.2rem;flex-wrap:wrap;list-style:none;padding:0;margin:0;align-items:center}
.nav-links a{text-decoration:none;font-size:.88rem;color:#555;font-weight:500;padding:.3rem .2rem;border-bottom:2px solid transparent;transition:border-color .2s}
.nav-links a:hover{color:#c9a961;border-bottom-color:#c9a961}
.nav-lang{font-size:.8rem;color:#999}

/* ===== Hero ===== */
.hero{background:linear-gradient(135deg,#1a2744 0%,#2a3a5c 100%);color:#fff;padding:3.5rem 1.5rem;text-align:center}
.hero h1{color:#fff;margin-bottom:1rem}
.hero .subtitle{font-size:1.15rem;opacity:.9;max-width:700px;margin:0 auto 1.5rem;line-height:1.6}
.hero img{border-radius:12px;margin:2rem auto 0;max-width:900px;width:100%;box-shadow:0 20px 60px rgba(0,0,0,.3)}
.hero-meta{display:flex;justify-content:center;gap:1.5rem;margin-top:1.5rem;flex-wrap:wrap;font-size:.85rem;opacity:.7}
.hero-meta span{display:flex;align-items:center;gap:.4rem}

/* ===== Quick Answer ===== */
.quick-answer{background:#f8f6f0;border-left:4px solid #c9a961;padding:1.5rem 2rem;margin:2.5rem 0;border-radius:0 8px 8px 0}
.quick-answer h2{margin-top:0;font-size:1.15rem;color:#1a2744;margin-bottom:1rem}
.quick-answer ul{margin-bottom:0}
.quick-answer li{margin-bottom:.6em;line-height:1.6}
.quick-answer li strong{color:#1a2744}

/* ===== Article ===== */
article{padding:1rem 0 3rem}
section{margin-bottom:2rem}
.intro{font-size:1.1rem;line-height:1.8;color:#333}
.intro p{margin-bottom:1.3em}

/* ===== Service Card ===== */
.service-card{border:1px solid #e0e0e0;border-radius:12px;padding:2rem;margin:2rem 0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.04);transition:box-shadow .3s}
.service-card:hover{box-shadow:0 4px 20px rgba(0,0,0,.08)}
.service-card.ranked-1{border-color:#c9a961;border-width:2px;background:#fffdf5}
.service-rank{display:inline-flex;align-items:center;gap:.5rem;font-size:1.1rem;font-weight:700;color:#c9a961;margin-bottom:.5rem}
.service-rank .medal{font-size:1.8rem}
.service-card h3{color:#1a2744;margin-bottom:.5rem}
.service-card .for-whom{font-style:italic;color:#666;margin-bottom:1rem;font-size:.95rem}
.service-card .description{margin-bottom:1rem}
.service-card ul{margin-bottom:1.5rem}
.service-card ul li{position:relative;padding-left:1.8em;margin-bottom:.5em}
.service-card ul li::before{content:"✓";position:absolute;left:0;color:#c9a961;font-weight:700}

/* ===== CTA Block ===== */
.cta-block{background:linear-gradient(135deg,#1a2744,#2a3a5c);color:#fff;padding:2.5rem;border-radius:12px;text-align:center;margin:2.5rem 0}
.cta-block h3{color:#fff;margin-bottom:.8rem}
.cta-block p{color:rgba(255,255,255,.9);margin-bottom:1.2rem}
.cta-button{display:inline-block;background:#c9a961;color:#1a2744;padding:.9rem 2.2rem;border-radius:8px;text-decoration:none;font-weight:700;font-size:1.05rem;transition:transform .2s,box-shadow .2s;border:none}
.cta-button:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(201,169,97,.4);color:#1a2744}
.cta-block .cta-note{font-size:.8rem;opacity:.6;margin-top:.8rem}

/* Inline CTA */
.cta-inline{background:#f8f6f0;border:1px solid #e0d5c0;border-radius:8px;padding:1.5rem 2rem;margin:2rem 0;text-align:center}
.cta-inline p{margin-bottom:.8rem;color:#333}
.cta-inline a{font-weight:700;color:#1a2744;border-bottom:2px solid #c9a961;padding-bottom:1px}
.cta-inline a:hover{color:#c9a961}

/* ===== Table ===== */
.table-wrap{overflow-x:auto;margin:2rem 0}
.comparison-table{width:100%;border-collapse:collapse;font-size:.95rem;min-width:600px}
.comparison-table th{background:#1a2744;color:#fff;padding:1rem;text-align:left;font-family:'Inter',sans-serif;font-weight:600}
.comparison-table td{padding:1rem;border-bottom:1px solid #e0e0e0;vertical-align:top}
.comparison-table tr:nth-child(even){background:#f8f9fa}
.comparison-table tr:hover{background:#f8f6f0}
.comparison-table .service-name{font-weight:700;color:#1a2744}

/* ===== Checklist ===== */
.checklist{background:#f8f6f0;border-radius:12px;padding:2rem;margin:2rem 0}
.checklist h3{margin-top:0}
.checklist ul{list-style:none;padding-left:0;margin-bottom:0}
.checklist li{padding-left:1.8em;position:relative;margin-bottom:.8em;line-height:1.6}
.checklist li::before{content:"✓";position:absolute;left:0;color:#c9a961;font-weight:700;font-size:1.1em}

/* ===== Tips ===== */
.tips-list{counter-reset:tip;margin:2rem 0;padding-left:0;list-style:none}
.tip-item{counter-increment:tip;padding-left:3.5rem;position:relative;margin-bottom:1.8rem}
.tip-item::before{content:counter(tip);position:absolute;left:0;top:0;width:2.4rem;height:2.4rem;background:#1a2744;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;font-family:'Playfair Display',serif}
.tip-item h4{font-family:'Inter',sans-serif;font-size:1.05rem;color:#1a2744;margin-bottom:.3rem}
.tip-item p{margin-bottom:0}

/* ===== Stats ===== */
.stats-block{background:#1a2744;color:#fff;padding:2.5rem;border-radius:12px;margin:2rem 0}
.stats-block h3{color:#c9a961;margin-top:0;margin-bottom:1.5rem;text-align:center}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1.5rem;text-align:center}
.stat-item{padding:1rem 0}
.stat-number{font-size:2.5rem;font-family:'Playfair Display',serif;color:#c9a961;display:block;margin-bottom:.3rem}
.stat-label{font-size:.9rem;opacity:.8;line-height:1.4}

/* ===== FAQ ===== */
.faq-section{margin:2rem 0}
.faq-section details{border:1px solid #e0e0e0;border-radius:8px;margin-bottom:.8rem;padding:1rem 1.5rem;transition:background .2s}
.faq-section summary{cursor:pointer;font-weight:600;color:#1a2744;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;align-items:center}
.faq-section summary::-webkit-details-marker{display:none}
.faq-section summary::after{content:"+";font-size:1.3rem;color:#c9a961;font-weight:300}
.faq-section details[open]{background:#f8f6f0}
.faq-section details[open] summary::after{content:"−"}
.faq-section details p{margin-top:.8rem;margin-bottom:0;color:#444;line-height:1.7}

/* ===== Brainstorm ===== */
.brainstorm{background:#f8f9fa;border-radius:12px;padding:2rem;margin:2rem 0}
.brainstorm h3{margin-top:0}
.brainstorm ul{list-style:none;padding-left:0;margin-bottom:0}
.brainstorm li{padding-left:1.8em;position:relative;margin-bottom:.8em;line-height:1.6;color:#333}
.brainstorm li::before{content:"→";position:absolute;left:0;color:#c9a961;font-weight:700}

/* ===== Rarely Explained ===== */
.rarely-explained{background:#f8f6f0;border-radius:12px;padding:2rem;margin:2rem 0;border-left:4px solid #1a2744}
.rarely-explained h3{margin-top:0}
.rarely-explained h4{font-family:'Inter',sans-serif;font-size:1.05rem;color:#1a2744;margin-top:1.5rem;margin-bottom:.5rem}
.rarely-explained p{color:#444}

/* ===== Article Image ===== */
.article-image{margin:2.5rem 0;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.08)}
.article-image img{width:100%}
.article-image figcaption{padding:.8rem 1rem;font-size:.85rem;color:#888;text-align:center;font-style:italic}
.pinterest-image{max-width:450px;margin:2.5rem auto;border-radius:12px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.1)}
.pinterest-image figcaption{padding:.8rem 1rem;font-size:.85rem;color:#888;text-align:center;font-style:italic}

/* ===== Footer ===== */
.site-footer{background:#1a2744;color:#fff;padding:3rem 1.5rem 2rem;margin-top:3rem}
.footer-content{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem}
.footer-section h4{color:#c9a961;font-size:1rem;margin-bottom:1rem;font-family:'Playfair Display',serif}
.footer-section a{color:rgba(255,255,255,.8);text-decoration:none;display:block;margin-bottom:.5rem;font-size:.9rem}
.footer-section a:hover{color:#c9a961}
.footer-section p{color:rgba(255,255,255,.7);font-size:.9rem;line-height:1.6}
.footer-bottom{text-align:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.1);font-size:.85rem;color:rgba(255,255,255,.5)}

/* ===== Language Pages ===== */
.lang-hero{background:linear-gradient(135deg,#1a2744 0%,#2a3a5c 100%);color:#fff;padding:3rem 1.5rem;text-align:center;border-radius:0 0 0 0}
.lang-hero h1{color:#fff;margin-bottom:1rem}
.lang-hero .subtitle{font-size:1.1rem;opacity:.9;max-width:700px;margin:0 auto}

/* ===== RTL Support for Arabic ===== */
html[dir="rtl"] body{text-align:right}
html[dir="rtl"] .nav{flex-direction:row-reverse}
html[dir="rtl"] .nav-links{flex-direction:row-reverse}
html[dir="rtl"] .quick-answer{border-left:none;border-right:4px solid #c9a961;border-radius:8px 0 0 8px}
html[dir="rtl"] ul,html[dir="rtl"] ol{padding-left:0;padding-right:1.5em}
html[dir="rtl"] .service-card ul li,html[dir="rtl"] .checklist li,html[dir="rtl"] .brainstorm li{padding-left:0;padding-right:1.8em}
html[dir="rtl"] .service-card ul li::before,html[dir="rtl"] .checklist li::before,html[dir="rtl"] .brainstorm li::before{left:auto;right:0}
html[dir="rtl"] .tip-item{padding-left:0;padding-right:3.5rem}
html[dir="rtl"] .tip-item::before{left:auto;right:0}
html[dir="rtl"] .rarely-explained{border-left:none;border-right:4px solid #1a2744}
html[dir="rtl"] .comparison-table th,html[dir="rtl"] .comparison-table td{text-align:right}

/* ===== Responsive ===== */
@media(max-width:768px){
  .nav{flex-direction:column;align-items:flex-start;gap:.8rem}
  .nav-links{gap:.8rem}
  .hero{padding:2.5rem 1rem}
  .hero .subtitle{font-size:1rem}
  .cta-block{padding:1.5rem}
  .service-card{padding:1.5rem}
  .comparison-table{font-size:.85rem}
  .comparison-table th,.comparison-table td{padding:.6rem .5rem}
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat-number{font-size:2rem}
  .footer-content{grid-template-columns:1fr}
  .quick-answer{padding:1.2rem 1.5rem}
  .checklist,.brainstorm,.rarely-explained{padding:1.5rem}
}

@media(max-width:480px){
  .nav-links{font-size:.8rem;gap:.5rem}
  h1{font-size:1.5rem}
  h2{font-size:1.25rem}
  .tip-item{padding-left:2.8rem}
  .tip-item::before{width:2rem;height:2rem;font-size:.85rem}
  .stats-grid{grid-template-columns:1fr}
}

/* ===== Print ===== */
@media print{
  .site-header,.site-footer,.cta-block,.cta-inline{display:none}
  body{color:#000}
  h1,h2,h3{color:#000}
}