:root{
  --purple-1:#7b2ff7;
  --purple-2:#c936c9;
  --orange-1:#f7971e;
  --hero-gradient: linear-gradient(135deg, var(--purple-1) 0%, #c23fce 45%, var(--orange-1) 100%);
  --btn-gradient: linear-gradient(90deg, #6a3df0, #9438e8);
  --text-dark:#1e1b3a;
  --text-body:#5b5876;
  --card-bg:#ffffff;
  --card-border:#eee6f7;
  --bg-tint:#f7f4fc;
  --radius-lg:24px;
  --radius-md:16px;
  --radius-pill:999px;
  --font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max-width: 720px;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font);
  color:var(--text-dark);
  background:#ffffff;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}
.wrap{max-width:var(--max-width); margin:0 auto; padding:0 20px;}

/* Top bar */
.topbar{display:flex; align-items:center; justify-content:space-between; padding:14px 20px;}
.brand{display:flex; align-items:center; gap:10px;}
.brand-mark{
  width:36px; height:36px; border-radius:10px;
  background:var(--hero-gradient);
  display:flex; align-items:center; justify-content:center;
  color:#fff;
}
.brand-mark svg{width:20px; height:20px;}
.brand-name{font-weight:700; font-size:19px; letter-spacing:-0.02em;}
.topbar-right{display:flex; align-items:center; gap:14px;}
.lang-select{font-size:14px; font-weight:500; color:var(--text-dark); display:flex; align-items:center; gap:4px;}
.icon-btn{width:22px; height:22px; color:var(--text-dark);}

/* Hero */
.hero{background:var(--hero-gradient); padding:28px 20px 44px; border-radius:0 0 32px 32px;}
.tool-tabs{
  display:flex; gap:8px; overflow-x:auto;
  background:#fff; border-radius:var(--radius-pill);
  padding:10px 14px; margin-bottom:26px;
  box-shadow:0 10px 30px rgba(70,20,120,0.15);
}
.tool-tabs::-webkit-scrollbar{display:none;}
.tool-tab{
  flex:0 0 auto; width:38px; height:38px; border-radius:10px;
  display:flex; align-items:center; justify-content:center;
}
.tool-tab svg{width:20px; height:20px;}
.hero h1{color:#fff; text-align:center; font-size:32px; font-weight:800; letter-spacing:-0.02em; margin-bottom:12px;}
.hero p.sub{color:rgba(255,255,255,0.92); text-align:center; font-size:15px; line-height:1.5; max-width:480px; margin:0 auto 28px;}
.input-row{
  background:rgba(255,255,255,0.95); border-radius:var(--radius-pill);
  display:flex; align-items:center; gap:8px; padding:6px 6px 6px 20px; margin-bottom:16px;
}
.input-row input{flex:1; border:none; outline:none; background:transparent; font-size:15px; font-family:inherit; color:var(--text-dark); padding:12px 0;}
.input-row input::placeholder{color:#a79fc0;}
.paste-btn{
  background:#fff; border:1px solid #eee; color:var(--purple-1);
  font-weight:600; font-size:14px; padding:10px 18px; border-radius:var(--radius-pill);
  white-space:nowrap; display:flex; align-items:center; gap:6px;
}
.btn-icon{width:16px; height:16px; display:inline-flex;}
.btn-icon svg{width:100%; height:100%;}
.download-btn{
  width:100%; background:var(--btn-gradient); color:#fff; font-weight:700; font-size:17px;
  padding:17px; border-radius:var(--radius-pill); box-shadow:0 12px 24px rgba(90,30,180,0.35);
  display:flex; align-items:center; justify-content:center; gap:8px;
}
.download-btn .btn-icon svg{stroke:#fff;}
.download-btn:active{transform:translateY(1px);}
.download-status{color:#fff; text-align:center; font-size:13px; margin-top:12px; min-height:18px;}

/* Sections */
section{padding:52px 0;}
.section-title{font-size:26px; font-weight:800; text-align:center; letter-spacing:-0.02em; margin-bottom:14px; line-height:1.3;}
.section-title .accent{color:var(--purple-1);}
.section-lede{color:var(--text-body); text-align:center; font-size:15px; line-height:1.6; max-width:520px; margin:0 auto 34px;}
.rule{height:3px; width:64px; margin:0 auto 30px; background:linear-gradient(90deg, var(--purple-2), var(--orange-1)); border-radius:2px;}

/* Type cards */
.type-card{display:flex; align-items:flex-start; gap:14px; border:1px solid var(--card-border); border-radius:var(--radius-md); padding:18px; margin-bottom:14px; background:var(--card-bg);}
.type-icon{width:44px; height:44px; border-radius:12px; flex:0 0 auto; display:flex; align-items:center; justify-content:center; background:var(--bg-tint);}
.type-icon svg{width:22px; height:22px;}
.type-card h3{font-size:16px; font-weight:700; margin-bottom:4px;}
.type-card p{font-size:14px; color:var(--text-body); line-height:1.5;}

/* Why choose */
.feature-row{display:flex; gap:16px; align-items:flex-start; border:1px solid var(--card-border); border-radius:var(--radius-md); padding:20px; margin-bottom:16px;}
.feature-icon{width:46px; height:46px; border-radius:14px; flex:0 0 auto; display:flex; align-items:center; justify-content:center; background:var(--bg-tint);}
.feature-icon svg{width:22px; height:22px;}
.feature-row h3{font-size:17px; font-weight:700; margin-bottom:6px;}
.feature-row p{font-size:14px; color:var(--text-body); line-height:1.6;}

/* Steps */
.tab-switch{display:flex; background:var(--bg-tint); border-radius:var(--radius-pill); padding:4px; margin-bottom:28px;}
.tab-btn{flex:1; text-align:center; padding:12px 8px; border-radius:var(--radius-pill); font-size:13px; font-weight:600; color:var(--text-body);}
.tab-btn.active{background:var(--btn-gradient); color:#fff;}
.tab-panel{display:none;}
.tab-panel.active{display:block;}
.step-visual{background:var(--bg-tint); border-radius:var(--radius-lg); padding:24px; margin-bottom:18px; display:flex; align-items:center; justify-content:center;}
.step-visual svg{width:100%; max-width:320px;}
.step-num{display:inline-block; font-size:13px; font-weight:700; color:var(--purple-1); background:#f1e6fb; padding:4px 12px; border-radius:var(--radius-pill); margin-bottom:10px;}
.step-block h3{font-size:16px; font-weight:700; margin-bottom:8px;}
.step-block p{font-size:14px; color:var(--text-body); line-height:1.6; margin-bottom:30px;}
.step-block p strong{color:var(--purple-1);}

/* Big features */
.big-feature{border:1px solid var(--card-border); border-radius:var(--radius-lg); padding:20px; margin-bottom:22px;}
.big-feature-art{background:linear-gradient(135deg, var(--purple-1), var(--purple-2)); border-radius:var(--radius-md); height:180px; margin-bottom:20px; display:flex; align-items:center; justify-content:center;}
.big-feature-art svg{width:64px; height:64px; stroke:#fff;}
.big-feature h3{font-size:19px; font-weight:700; margin-bottom:10px;}
.big-feature p{font-size:14px; color:var(--text-body); line-height:1.65;}

/* FAQ */
.faq-item{border:1px solid var(--card-border); border-radius:var(--radius-md); margin-bottom:14px; overflow:hidden;}
.faq-q{width:100%; display:flex; align-items:center; justify-content:space-between; padding:18px 20px; font-weight:700; font-size:15px; text-align:left;}
.faq-q .chev{transition:transform .25s ease; color:var(--text-body); flex:0 0 auto; margin-left:12px;}
.faq-item.open .chev{transform:rotate(180deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .25s ease; padding:0 20px; font-size:14px; color:var(--text-body); line-height:1.6;}
.faq-item.open .faq-a{padding-bottom:18px;}

/* Footer */
footer{background:var(--bg-tint); padding:44px 0 26px;}
.footer-brand{display:flex; align-items:center; gap:10px; margin-bottom:24px;}
.footer-cols{display:flex; flex-direction:column;}
.footer-col-title{display:flex; align-items:center; justify-content:space-between; padding:14px 0; border-top:1px solid #e7e0f2; font-weight:600; font-size:15px;}
.copyright{text-align:center; font-size:13px; color:var(--text-body); margin-top:20px; padding-top:20px; border-top:1px solid #e7e0f2;}

@media (min-width:760px){
  .hero h1{font-size:42px;}
  .type-grid, .feature-grid, .bigfeature-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
}
