:root{
  --bg:#F2FBF7;
  --surface:#FFFFFF;
  --text:#0B1220;
  --muted:#51607A;
  --brand:#2E7D6B;
  --brand2:#6D28D9;
  --accent:#F59E0B;
  --line:rgba(11,18,32,.12);
  --shadow:0 18px 40px rgba(11,18,32,.10);
  --white:#FFFFFF;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Segoe UI", "Avenir Next", "Trebuchet MS", sans-serif;
  color:var(--text);
  background:radial-gradient(circle at 90% 0%, rgba(109,40,217,.10), transparent 42%), var(--bg);
  line-height:1.6;
  overflow-x:clip;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
.section{padding:72px 0}
.section-sm{padding:56px 0}
.section-title{font-size:clamp(1.6rem,2.6vw,2.4rem);line-height:1.2;margin:0 0 12px}
.section-sub{color:var(--muted);max-width:760px;margin:0 0 24px}
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:var(--shadow);
}

.btn{
  height:44px;
  padding:10px 14px;
  font-size:14px;
  border-radius:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:600;
  border:1px solid transparent;
  cursor:pointer;
  transition:.25s ease;
}
.btn-primary{background:linear-gradient(135deg,var(--brand),#225f51);color:var(--white)}
.btn-primary:hover{filter:brightness(1.05)}
.btn-secondary{background:var(--white);color:var(--text);border-color:var(--line)}
.btn-secondary:hover{border-color:var(--brand);color:var(--brand)}
.btn-accent{background:var(--accent);color:var(--text)}

.site-header{
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter: blur(10px);
  background:rgba(242,251,247,.86);
  border-bottom:1px solid var(--line);
}
.header-row{
  min-height:72px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:20px;
}
.logo{
  font-size:1.05rem;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  gap:10px;
  letter-spacing:.2px;
}
.logo svg{color:var(--brand2)}
.nav-links{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap}
.nav-links a{color:var(--muted);font-weight:600}
.nav-links a[aria-current="page"], .nav-links a:hover{color:var(--brand)}
.header-cta{display:flex;align-items:center;gap:8px}
.menu-toggle{
  display:none;
  border:1px solid var(--line);
  width:44px;height:44px;border-radius:12px;
  background:var(--white);
  align-items:center;justify-content:center;
}
.mobile-menu{
  display:none;
  border-top:1px solid var(--line);
  background:var(--white);
}
.mobile-menu .menu-inner{padding:14px 16px 20px;display:grid;gap:10px}
.mobile-menu a{
  padding:10px 12px;
  border-radius:10px;
  color:var(--muted);
  border:1px solid transparent;
}
.mobile-menu a[aria-current="page"],
.mobile-menu a:hover{border-color:var(--line);color:var(--brand);background:rgba(46,125,107,.06)}
body.menu-open{overflow:hidden}
body.menu-open .mobile-menu{display:block;animation:slideDown .25s ease}

.hero{
  width:100%;
  min-height:85vh;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
}
.hero-bg{
  position:absolute;
  inset:0;
}
.hero-slide{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  opacity:0;
  transition:opacity .9s ease;
}
.hero-slide.active{opacity:1}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(100deg, rgba(11,18,32,.72) 0%, rgba(11,18,32,.55) 40%, rgba(11,18,32,.18) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  color:var(--white);
  padding-top:54px;
  padding-bottom:54px;
}
.hero-content h1{
  margin:0 0 16px;
  line-height:1.12;
  font-size:clamp(2rem,4.8vw,4.1rem);
  max-width:760px;
}
.hero-content p{max-width:640px;font-size:1.08rem;margin:0 0 24px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.chips{display:flex;gap:10px;flex-wrap:wrap}
.chip{
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.1);
  padding:8px 12px;
  border-radius:999px;
  font-size:.88rem;
}
.hero-controls{
  margin-top:24px;
  display:flex;
  align-items:center;
  gap:12px;
}
.hero-dots{display:flex;gap:8px;align-items:center}
.hero-dot{
  width:11px;height:11px;border-radius:50%;border:1px solid rgba(255,255,255,.8);
  background:transparent;cursor:pointer
}
.hero-dot.active{background:var(--white)}
.hero-pause{
  color:var(--white);
  border:1px solid rgba(255,255,255,.45);
  background:rgba(11,18,32,.25);
}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.tip-card,.cat-card,.guide-card,.text-card,.faq-preview,.feature-box,.info-card{
  padding:22px;
}
.tip-card .icon{
  width:42px;height:42px;border-radius:12px;background:rgba(46,125,107,.12);display:grid;place-items:center;color:var(--brand)
}
.cat-card img,.guide-card img,.feature-img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:14px;
}
.guide-card h3,.cat-card h3,.feature-box h3,.text-card h3{margin:0 0 8px;line-height:1.25}
.muted{color:var(--muted)}

.cta-band{
  background:linear-gradient(130deg, rgba(46,125,107,.13), rgba(109,40,217,.13));
  border:1px solid var(--line);
  border-radius:26px;
  padding:28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.page-hero{
  padding:90px 0 40px;
}
.page-hero h1{font-size:clamp(2rem,4vw,3rem);line-height:1.15;margin:0 0 14px}
.page-hero p{max-width:720px;color:var(--muted)}

.tool-box{padding:24px}
label{display:block;font-weight:600;margin-bottom:8px}
input,select,textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:12px;
  font:inherit;
  background:var(--white);
}
textarea{min-height:130px;resize:vertical}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.result{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(46,125,107,.1);
  border:1px solid rgba(46,125,107,.24);
}
.error{color:#b42318;font-size:.9rem;margin-top:6px}

.faq-list{display:grid;gap:12px}
.faq-item{overflow:hidden}
.faq-trigger{
  width:100%;
  text-align:left;
  border:0;
  background:var(--white);
  padding:18px 20px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.faq-panel{padding:0 20px 18px;color:var(--muted);display:none}
.faq-item.open .faq-panel{display:block}

.site-footer{
  margin-top:72px;
  background:#0d172b;
  color:#d9e1f2;
  padding:52px 0 20px;
}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:20px}
.footer-title{margin:0 0 10px;color:#fff}
.footer-links{display:grid;gap:8px}
.footer-links a{color:#d9e1f2}
.footer-links a:hover{color:#fff}
.socials{display:flex;gap:10px}
.socials a{
  width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.25);
  display:grid;place-items:center
}
.disclaimer{
  margin-top:20px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.18);
  font-size:.92rem;
  color:#d6dff3;
}

.scroll-top{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:70;
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--white);
  box-shadow:var(--shadow);
  display:none;
}
.scroll-top.show{display:block}

.toast{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:24px;
  background:#072817;
  color:#fff;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.2);
  box-shadow:var(--shadow);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  z-index:80;
}
.toast.show{opacity:1}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

@keyframes slideDown{
  from{opacity:.2;transform:translateY(-8px)}
  to{opacity:1;transform:translateY(0)}
}

@media (max-width: 992px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media (max-width: 768px){
  .section{padding:44px 0}
  .section-sm{padding:38px 0}
  .header-row{grid-template-columns:1fr auto;min-height:66px}
  .nav-links,.header-cta{display:none}
  .menu-toggle{display:inline-flex}
  .grid-3,.grid-2{grid-template-columns:1fr}
  .hero{min-height:86vh}
  .hero-content h1{font-size:clamp(1.8rem,7vw,2.7rem)}
  .page-hero{padding-top:72px}
}

@media (max-width: 480px){
  .btn{height:40px;padding:8px 12px;font-size:13px}
  .chip{font-size:.8rem}
  .cta-band{padding:20px}
  .footer-grid{grid-template-columns:1fr}
}

@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto;animation:none!important;transition:none!important}
}
