:root {
  --bg: #F1F2FB;
  --text: #1A2B48;
  --muted: #5b6b7c;
  --primary: #115982;
  --card: #ffffff;
  --soft-shadow: rgba(0,0,0,0.06);
  --border: #cfd8e6;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  background: var(--bg);
  font-family: "Nunito", sans-serif;
  margin: 0;
  padding: 30px;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

/* Header */
.header { text-align: center; margin-bottom: 20px; }
.header h1 { font-size: 38px; font-weight: 800; }
.header p { color: var(--muted); }

/* SETTINGS BAR */
.setting-bar {
  background: #fff;
  padding: 14px 22px;
  border-radius: 50px;
  border: 1px solid #dfe5ef;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 22px;
}

.setting-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.setting-title { font-weight: 800; }
.setting-divider { width: 2px; height: 34px; background:#d2d9e6; }

/* Tool */
.card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #edf1f7;
  box-shadow: 0 8px 28px var(--soft-shadow);
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
}

.input-wrap, .output-wrap { flex: 1; min-width: 48%; }

label { font-weight: 700; margin-bottom: 8px; display: block; }

textarea {
  width: 100%;
  height: 320px;
  padding: 16px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  resize: vertical;
}

/* Buttons */
.bottom-actions {
  margin-top: 20px; display: flex; justify-content:center; gap:14px;
}

.action-btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}
.clear-btn { background:#E04545 !important; }

/* Content styles */
.content { margin-top: 35px; }

.content h2 { font-size: 26px; font-weight:800; margin-bottom:10px; }
.content p, .content li { font-size:16px; margin-bottom:10px; }

.info-box {
  background:#f7f9ff;
  border:1px solid #e2e8f5;
  padding:12px 16px;
  border-radius:10px;
  margin-top:10px;
}

.use-cases, .features { list-style:none; padding:0; }
.use-cases li, .features li {
  background:#fbfcff;
  border:1px solid #e9eef7;
  padding:10px 12px;
  border-radius:10px;
  margin-bottom:8px;
}

.steps { padding-left:18px; }

/* FAQ */
.faq details {
  background:#fbfcff;
  border:1px solid #e9eef7;
  border-radius:10px;
  padding:12px 14px;
  margin-bottom: 10px;
}
.faq summary { font-weight:800; cursor:pointer; }

/* Footer */
.site-footer {
  text-align:center;
  padding:15px 0;
  margin-top:40px;
  font-size:14px;
  color:var(--muted);
}
.site-footer a { color:var(--primary); font-weight:800; text-decoration:none; }

/* Mobile */
@media(max-width:768px){
  .setting-bar { flex-direction:column; border-radius:18px; gap:10px; }
  .setting-divider { width:100%; height:1px; }
  textarea { height:260px; }
}
