:root{--navy:#0a1929;--navy-2:#0f2942;--aqua:#00d4ff;--aqua-2:#00b4d8;--teal:#0077b6;--deep:#03045e;--light:#f8fcff;--light-2:#e6f4fa;--gray:#64748b;--text:#1e293b;--text-light:#475569;--border:rgba(0,180,216,0.15);--shadow-sm:0 1px 3px rgba(10,25,41,0.08);--shadow:0 4px 20px rgba(10,25,41,0.08);--shadow-lg:0 20px 50px rgba(10,25,41,0.15);--text-on-dark:#dbeafe;--text-on-dark-soft:#a5c9e0;--heading-on-dark:#7dd3fc;}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Roboto',-apple-system,BlinkMacSystemFont,'Helvetica Neue',sans-serif;color:var(--text);background:var(--light);line-height:1.7;-webkit-font-smoothing:antialiased;font-size:16px;}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
.logo-sm{display:inline-block;width:1.1em;height:1.1em;border-radius:50%;vertical-align:-0.2em;margin:0 0.15em;box-shadow:0 0 10px rgba(0,212,255,0.5);object-fit:cover;}
.logo-sm-lg{display:inline-block;width:28px;height:28px;border-radius:50%;vertical-align:middle;margin-right:0.5rem;box-shadow:0 0 14px rgba(0,212,255,0.5);object-fit:cover;}
.img-placeholder{width:100%;border:2px dashed rgba(0,180,216,0.4);border-radius:12px;padding:3rem 1.5rem;text-align:center;color:var(--gray);background:rgba(0,180,216,0.04);font-size:0.9rem;font-style:italic;margin:1.5rem 0;}
.img-placeholder-dark{border-color:rgba(125,211,252,0.35);color:var(--text-on-dark-soft);background:rgba(125,211,252,0.05);}
.nav-bar{position:sticky;top:0;z-index:1000;background:rgba(10,25,41,0.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(0,212,255,0.1);padding:0.9rem 2rem;}
.nav-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:2rem;}
.brand{display:flex;align-items:center;gap:0.7rem;font-weight:900;font-size:1.15rem;letter-spacing:-0.02em;color:var(--text-on-dark);}
.brand-icon{width:34px;height:34px;border-radius:50%;object-fit:cover;box-shadow:0 0 20px rgba(0,212,255,0.5);}
.brand-name span{color:var(--aqua);}
.nav-links{display:flex;gap:1.5rem;align-items:center;font-size:0.9rem;font-weight:500;flex-wrap:wrap;}
.nav-links a{color:var(--text-on-dark-soft);transition:color 0.2s;white-space:nowrap;}
.nav-links a:hover{color:var(--heading-on-dark);}
.dropdown{position:relative;display:inline-block;}
.dropbtn{background:none;border:none;color:var(--text-on-dark-soft);font-family:inherit;font-size:0.9rem;font-weight:500;cursor:pointer;padding:0;}
.dropbtn:hover{color:var(--heading-on-dark);}
.dropdown-content{display:none;position:absolute;top:100%;left:0;background:var(--navy-2);min-width:220px;border:1px solid rgba(0,212,255,0.25);border-radius:10px;z-index:1001;padding:0.5rem 0;box-shadow:0 15px 40px rgba(0,0,0,0.6);margin-top:0.6rem;}
.dropdown-content a{color:var(--text-on-dark)!important;padding:0.65rem 1.2rem;display:block;font-size:0.88rem;white-space:nowrap;}
.dropdown-content a:hover{background:rgba(0,212,255,0.1);color:var(--heading-on-dark)!important;}
.dropdown:hover .dropdown-content{display:block;}
.lang-switch{display:flex;gap:0.4rem;align-items:center;}
.lang-btn{background:transparent;border:1px solid rgba(255,255,255,0.15);color:var(--text-on-dark-soft);font-size:0.85rem;font-weight:700;padding:0.3rem 0.6rem;border-radius:6px;cursor:pointer;transition:all 0.2s;font-family:inherit;}
.lang-btn:hover,.lang-btn.active{border-color:var(--aqua);color:var(--heading-on-dark);background:rgba(0,212,255,0.1);}
.menu-toggle{display:none;background:none;border:none;color:var(--text-on-dark);font-size:1.5rem;cursor:pointer;}

/* === INTRO / HERO === */
.intro{background:radial-gradient(ellipse at top,var(--navy-2) 0%,var(--navy) 55%,var(--deep) 100%);color:var(--text-on-dark);padding:5rem 2rem 6rem;position:relative;overflow:hidden;}
.intro::before{content:'';position:absolute;top:-20%;right:-10%;width:700px;height:700px;background:radial-gradient(circle,rgba(0,212,255,0.12) 0%,transparent 70%);pointer-events:none;}
.intro-inner{max-width:820px;margin:0 auto;position:relative;z-index:1;text-align:center;}
.intro-title{font-size:clamp(2.4rem,6vw,4rem);font-weight:900;line-height:1.05;letter-spacing:-0.035em;margin-bottom:2.5rem;text-transform:lowercase;color:var(--heading-on-dark);}
.intro-title img{display:inline-block;width:0.8em;height:0.8em;border-radius:50%;vertical-align:0.05em;margin:0 0.2em;box-shadow:0 0 24px rgba(0,212,255,0.55);object-fit:cover;}
.intro-lead{font-size:clamp(1.15rem,2.2vw,1.45rem);line-height:1.65;color:var(--text-on-dark);font-weight:400;margin-bottom:1.8rem;text-align:left;}
.intro-body{font-size:1rem;line-height:1.75;color:var(--text-on-dark-soft);margin-bottom:1.6rem;text-align:left;}
.intro-body strong{color:var(--heading-on-dark);font-weight:700;}
.intro-body em{color:var(--heading-on-dark);font-style:normal;font-weight:600;}
.intro-cta{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem;justify-content:center;}
.btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.95rem 2rem;border-radius:10px;font-weight:700;font-size:0.95rem;transition:all 0.25s;cursor:pointer;border:none;font-family:inherit;text-decoration:none;}
.btn-primary{background:linear-gradient(135deg,var(--aqua) 0%,var(--aqua-2) 100%);color:var(--navy);box-shadow:0 8px 30px rgba(0,212,255,0.35);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(0,212,255,0.5);}
.btn-ghost{background:rgba(255,255,255,0.06);color:var(--text-on-dark);border:1px solid rgba(255,255,255,0.18);backdrop-filter:blur(10px);}
.btn-ghost:hover{background:rgba(255,255,255,0.12);border-color:var(--aqua);color:var(--heading-on-dark);}

/* === EDITORIAL SECTIONS === */
.section{padding:5rem 2rem;}
.section-inner{max-width:820px;margin:0 auto;}
.section-wide{max-width:1100px;}
.section-dark{background:linear-gradient(180deg,var(--navy) 0%,var(--deep) 100%);color:var(--text-on-dark);}
.section-dark .section-title{color:var(--heading-on-dark);}
.section-dark .section-label{color:var(--aqua);}
.section-dark .section-body{color:var(--text-on-dark);}
.section-dark .section-body p{color:var(--text-on-dark-soft);}
.section-dark .section-body strong{color:var(--heading-on-dark);}
.section-dark .section-body em{color:var(--heading-on-dark);font-style:italic;}
.section-light{background:var(--light);}
.section-light-alt{background:var(--light-2);}
.section-label{display:inline-block;font-size:0.78rem;font-weight:700;letter-spacing:0.18em;text-transform:uppercase;color:var(--aqua-2);margin-bottom:1rem;}
.section-title{font-size:clamp(1.7rem,3.2vw,2.4rem);font-weight:900;letter-spacing:-0.025em;color:var(--navy);margin-bottom:1.2rem;line-height:1.2;}
.section-title img{display:inline-block;width:0.75em;height:0.75em;border-radius:50%;vertical-align:0.05em;margin-right:0.35em;box-shadow:0 0 18px rgba(0,212,255,0.45);object-fit:cover;}
.section-body{font-size:1.05rem;line-height:1.8;color:var(--text-light);}
.section-body p{margin-bottom:1.2rem;}
.section-body p:last-child{margin-bottom:0;}
.section-body strong{color:var(--navy);font-weight:700;}
.section-body em{font-style:italic;color:var(--navy);}
.section-body a{color:var(--teal);text-decoration:underline;}

/* === REFERENCE / CITATION BLOCK === */
.ref{font-size:0.86rem;color:var(--gray);border-left:3px solid rgba(0,180,216,0.3);padding:0.6rem 0 0.6rem 1rem;margin:1.5rem 0;line-height:1.65;}
.ref strong{color:var(--navy);font-weight:700;}
.section-dark .ref{color:var(--text-on-dark-soft);border-left-color:rgba(125,211,252,0.4);}
.section-dark .ref strong{color:var(--heading-on-dark);}

/* === COMPONENT DETAIL BLOCK === */
.component{padding:2.5rem 0;border-bottom:1px solid var(--border);}
.component:last-child{border-bottom:none;}
.component-head{display:flex;align-items:center;gap:0.8rem;margin-bottom:1rem;flex-wrap:wrap;}
.component-num{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--navy) 0%,var(--teal) 100%);color:var(--aqua);font-weight:900;font-size:1.05rem;flex-shrink:0;box-shadow:0 6px 18px rgba(0,119,182,0.3);}
.component h3{font-size:1.25rem;font-weight:700;color:var(--navy);letter-spacing:-0.02em;}
.section-dark .component h3{color:var(--heading-on-dark);}
.section-dark .component{border-bottom-color:rgba(125,211,252,0.15);}
.component .tag{display:inline-block;font-size:0.7rem;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--aqua-2);background:rgba(0,180,216,0.1);padding:0.22rem 0.65rem;border-radius:4px;margin-left:0.4rem;}
.section-dark .component .tag{color:var(--heading-on-dark);background:rgba(125,211,252,0.12);}
.component p{color:var(--text-light);font-size:1rem;line-height:1.75;margin-bottom:0.8rem;}
.section-dark .component p{color:var(--text-on-dark-soft);}
.component p:last-child{margin-bottom:0;}
.component strong{color:var(--navy);}
.section-dark .component strong{color:var(--text-on-dark);}

/* === COMPARISON TABLE === */
.comparison{width:100%;border-collapse:collapse;margin:2rem 0;font-size:0.95rem;}
.comparison th,.comparison td{padding:1rem 0.9rem;text-align:left;border-bottom:1px solid var(--border);vertical-align:top;}
.comparison th{font-weight:700;color:var(--navy);background:var(--light-2);font-size:0.88rem;letter-spacing:0.02em;}
.comparison td:first-child{font-weight:600;color:var(--navy);width:34%;}
.comparison td{color:var(--text-light);line-height:1.6;}
.comparison .bad{color:#b91c1c;}
.comparison .good{color:#047857;font-weight:600;}
.section-dark .comparison th{background:rgba(0,212,255,0.08);color:var(--heading-on-dark);}
.section-dark .comparison td{border-bottom-color:rgba(125,211,252,0.15);}
.section-dark .comparison td:first-child{color:var(--text-on-dark);}
.section-dark .comparison td{color:var(--text-on-dark-soft);}
.section-dark .comparison .bad{color:#fca5a5;}
.section-dark .comparison .good{color:#6ee7b7;}

/* === IMAGE figure === */
figure{margin:2rem 0;}
figure img{border-radius:12px;width:100%;box-shadow:var(--shadow-lg);}
figcaption{font-size:0.85rem;color:var(--gray);text-align:center;margin-top:0.8rem;font-style:italic;}
.section-dark figcaption{color:var(--text-on-dark-soft);}

/* === CONTACT / FOOTER === */
.contact{background:linear-gradient(135deg,var(--navy) 0%,var(--teal) 100%);color:var(--text-on-dark);text-align:center;padding:5rem 2rem;}
.contact .section-title{color:var(--heading-on-dark);}
.contact p{font-size:1.05rem;color:var(--text-on-dark-soft);max-width:640px;margin:0 auto 1.5rem;}
.contact .email{font-size:1.1rem;color:var(--aqua);text-decoration:underline;font-weight:700;}
.footer{background:var(--navy);color:var(--text-on-dark-soft);padding:3rem 2rem 5rem;text-align:center;font-size:0.9rem;}
.footer-brand{display:flex;align-items:center;justify-content:center;gap:0.6rem;margin-bottom:1rem;color:var(--text-on-dark);font-weight:900;font-size:1.2rem;}
.footer-brand img{width:30px;height:30px;border-radius:50%;box-shadow:0 0 20px rgba(0,212,255,0.4);}
.footer p{margin:0.3rem 0;}
.footer a{color:var(--aqua);}
.lang-content{display:none;}
.lang-content.active{display:block;}

@media (max-width:900px){
.nav-links{display:none;}
.nav-links.open{display:flex;position:absolute;top:100%;left:0;right:0;background:var(--navy);flex-direction:column;padding:1.5rem 2rem;gap:1rem;border-bottom:1px solid rgba(0,212,255,0.2);}
.menu-toggle{display:block;}
.dropdown-content{position:static;box-shadow:none;border:none;background:rgba(0,0,0,0.25);padding-left:1rem;margin-top:0.5rem;}
.intro{padding:3.5rem 1.2rem 4rem;}
.section{padding:3.5rem 1.2rem;}
.comparison{font-size:0.88rem;}
.comparison th,.comparison td{padding:0.8rem 0.6rem;}
.comparison td:first-child{width:40%;}
}
@media (max-width:600px){
.section{padding:3rem 1.1rem;}
.comparison,.comparison thead,.comparison tbody,.comparison tr,.comparison th,.comparison td{display:block;}
.comparison th{display:none;}
.comparison td:first-child{padding-bottom:0.2rem;border:none;font-size:0.9rem;color:var(--aqua-2);}
.comparison td{border-bottom:1px solid var(--border);}
}