/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(ellipse at 20% 10%, rgba(18,30,45,0.6), transparent 10%),
              radial-gradient(ellipse at 90% 90%, rgba(6,12,20,0.6), transparent 10%),
              #0b1116;
  color: #e6eef7;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

/* Layout */
.container { width: 1180px; max-width: calc(100% - 40px); margin: 0 auto; }
.topbar { background: rgba(8,12,18,0.65); font-size: 13px; color: #c9d6e6; padding: 8px 0; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #f6d07a; text-decoration: none; margin-left: 6px; }

.header { padding: 24px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.logo { display: flex; align-items: center; gap: 12px; }
.main-nav a { color: #cfe6ff; margin-left: 18px; text-decoration: none; font-weight: 600; font-size: 13px; opacity: 0.9; }
.main-nav a:hover { color: #fff; }

.layout { display: grid; grid-template-columns: 1fr 360px; gap: 36px; align-items: start; padding-bottom: 60px; }

.title { font-size: 40px; line-height: 1.05; margin: 6px 0 20px; color: #f6f9fb; font-weight: 700; text-shadow: 0 2px 0 rgba(0,0,0,0.4); }

/* Tool form */
.tool-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(1,5,10,0.6);
}
.tool-card .row { margin-bottom: 12px; }
.tool-card label { display: block; color: #b9c7d8; font-size: 14px; margin-bottom: 8px; }
.tool-card input[type="text"], 
.tool-card select, 
.tool-card textarea, 
.subscribe input[type="email"] {
  width: 100%; background: #0b1320; border: 1px solid rgba(255,255,255,0.04);
  padding: 10px 12px; color: #e6eef7; border-radius: 8px; font-size: 14px;
}
.tool-card textarea { min-height: 80px; resize: vertical; }

.btns { display: flex; gap: 12px; margin-bottom: 14px; }
.btn { background: transparent; color: #f6d07a; border: 2px solid rgba(246,208,122,0.12); padding: 10px 16px; border-radius: 8px; cursor: pointer; font-weight: 700; }
.btn.active { background:#f6b616; color:#081017; border:none; }
.btn-pro { background: transparent; color: #f6d07a; border: 2px solid rgba(246, 208, 122, 0.12); padding: 10px 16px; border-radius: 8px; cursor: pointer; font-weight: 700; }
.btn-primary { background: #f6b616; color: #081017; border: none; padding: 12px 18px; border-radius: 10px; font-weight: 700; box-shadow: 0 6px 24px rgba(246,182,38,0.12); }

.search-box { border: 1px dashed rgba(255,255,255,0.03); padding: 12px; border-radius: 10px; margin-bottom: 12px; }
.search-box legend { color: #f6f9fb; font-weight: 700; padding: 0 8px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.grid label { margin-bottom: 6px; display: block; color: #bcd2e8; }

.toggles { display: flex; flex-direction: column; gap: 8px; margin: 10px 0 18px; color: #bcd2e8; }
.toggles label { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.toggles input[type="checkbox"] { width: 16px; height: 16px; accent-color: #f6b616; }

/* Sidebar */
.side-col .card { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); padding: 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.03); margin-bottom: 18px; }
.side-col .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; margin-top: 5px; }
.side-col .tags span { background: rgba(255,255,255,0.03); padding: 6px 10px; border-radius: 6px; color: #e6eef7; font-size: 13px; }
.tags a { color: #fff; text-decoration: none; }
.tags a:hover { color: #f6b616; }
.video-thumb img { width: 100%; border-radius: 8px; display: block; }
.promo .btn-primary { display: inline-block; margin-top: 12px; }

/* Footer */
.footer { margin-top: 40px; padding: 28px 0; color: #9fb3c9; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: flex-start; }
.footer-left .logo { display: flex; flex-direction: column; align-items: flex-start; }
.logo-info { max-width: 320px; margin-top: 10px; }
.logo__text { display: flex; margin-bottom: 10px; font-size: 14px; flex-wrap: wrap; }
.logo__text span:first-child { color: #ffb800; margin-right: 5px; }

.footer-center { text-align: center; }
.social-title { font-weight: 600; margin-bottom: 10px; color: #f6d07a; display: block; }
.social-icons { display: flex; gap: 12px; justify-content: center; }
.social { width: 36px; height: 36px; display: inline-block; background-size: cover; filter: brightness(1) saturate(1) invert(84%) sepia(56%) saturate(2469%) hue-rotate(12deg) brightness(98%) contrast(97%); transition: 0.3s; }
.social:hover { opacity: 0.8; }

.footer-right .subscribe { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-right .subscribe input { width: 100%; max-width: 260px; }
.footer-right .subscribe button { width: auto; }
.social-icons img { filter: invert(64%) sepia(84%) saturate(660%) hue-rotate(0deg) brightness(104%) contrast(96%); }
.social-icons a:nth-child(-n+2):hover img { filter: invert(54%) sepia(98%) saturate(7491%) hue-rotate(176deg) brightness(95%) contrast(96%); }
.social-icons a:nth-child(3):hover { filter: invert(15%) sepia(93%) saturate(7476%) hue-rotate(1deg) brightness(99%) contrast(119%); }



/* Responsive */
@media (max-width: 1000px) {
  .layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .footer-left .logo { align-items: center; }
  .footer-right { text-align: center; }
  .footer-right .subscribe { align-items: center; }
  .social-icons { justify-content: center; }
}
