/* =========================================================
   ImgToolkit — "Darkroom Workbench" design system
   A photo lab pegboard: amber safelight glow, film-sprocket
   dividers, mono readouts for technical numbers.
========================================================= */

:root {
  --bg: #14161a;
  --bg-elevated: #1b1e25;
  --bg-card: #1f232b;
  --border: #2b2f39;
  --border-light: #383d49;
  --text: #f2f0ea;
  --text-muted: #9297a3;
  --text-faint: #5c6270;
  --amber: #e8a33d;
  --amber-dim: #7a5a26;
  --teal: #3fa796;
  --danger: #d9694f;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(232, 163, 61, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 20%, rgba(63, 167, 150, 0.06), transparent 60%);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(20, 22, 26, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #1a1305;
  font-size: 13px;
}
.brand small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.header-stat {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-stat .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}

/* ---------- Sprocket divider (film strip motif) ---------- */
.sprocket-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 36px 0;
  opacity: 0.5;
}
.sprocket-divider span {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--border-light);
  transform: rotate(45deg);
}
.sprocket-divider .line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: var(--border);
  transform: none;
  border-radius: 0;
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 40px;
  text-align: center;
}
.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--amber-dim);
  border-radius: 100px;
  background: rgba(232, 163, 61, 0.06);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(27px, 8.5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 22px 0 16px;
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero p.sub {
  color: var(--text-muted);
  font-size: clamp(13.5px, 3.6vw, 17px);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Drop zone (hero interactive element) ---------- */
.dropzone {
  margin: 40px auto 0;
  max-width: 640px;
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 40px 24px;
  background: var(--bg-elevated);
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.dropzone.dragover {
  border-color: var(--amber);
  background: rgba(232, 163, 61, 0.06);
}
.dropzone::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  box-shadow: 0 0 40px 4px rgba(232, 163, 61, 0.18);
}
.dropzone.pulse::before { opacity: 1; animation: safelight 2.4s ease-in-out infinite; }
@keyframes safelight {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.7; }
}
.dropzone .dz-icon {
  width: clamp(30px, 8vw, 44px);
  height: clamp(30px, 8vw, 44px);
  margin: 0 auto 14px;
  color: var(--amber);
}
.dropzone p { margin: 0; color: var(--text-muted); font-size: 14px; }
.dropzone p.dz-hint { margin-top: 6px; font-size: 12px; }
.dropzone strong { color: var(--text); font-weight: 600; }
.dropzone input[type="file"] { display: none; }

/* ---------- Pegboard tool grid ---------- */
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.pegboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 80px;
}
@media (max-width: 860px) {
  .pegboard { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pegboard { grid-template-columns: 1fr; }
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  transition: border-color 0.18s, transform 0.18s, background 0.18s;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 168px;
}
.tool-card:hover {
  border-color: var(--amber-dim);
  transform: translateY(-2px);
  background: #22262f;
}
.tool-card .peg-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  position: absolute;
  top: 18px;
  right: 20px;
}
.tool-card .tool-icon {
  width: clamp(26px, 6vw, 34px);
  height: clamp(26px, 6vw, 34px);
  color: var(--amber);
  margin-bottom: 4px;
}
.tool-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0;
  font-weight: 600;
}
.tool-card .tagline {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
  line-height: 1.45;
}
.tool-card .go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s;
}
.tool-card:hover .go { opacity: 1; transform: translateX(0); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0 40px;
  color: var(--text-faint);
  font-size: 13px;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Tool page ---------- */
.tool-page { padding: 44px 0 90px; }
.tool-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.tool-header .peg-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  border-radius: 100px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 12px;
}
.tool-header h1 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 8px;
  font-weight: 600;
}
.tool-header p { color: var(--text-muted); max-width: 500px; margin: 0; }
.back-link {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s, color 0.18s;
}
.back-link:hover { border-color: var(--border-light); color: var(--text); }

.workbench {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) {
  .workbench { grid-template-columns: 1fr; }
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.panel h2 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0 0 18px;
}

.upload-slot {
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-sm);
  padding: 30px 16px;
  text-align: center;
  transition: border-color 0.18s, background 0.18s;
  cursor: pointer;
}
.upload-slot.dragover { border-color: var(--amber); background: rgba(232, 163, 61, 0.05); }
.upload-slot p { margin: 10px 0 0; color: var(--text-muted); font-size: 13.5px; }
.upload-slot input { display: none; }

.preview-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.preview-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  position: relative;
  background: var(--bg-elevated);
}
.preview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.preview-thumb .rm {
  position: absolute; top: 2px; right: 2px;
  width: 18px; height: 18px;
  background: rgba(20,22,26,0.85);
  border-radius: 50%;
  color: var(--text);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  border: none;
}

/* File chip — used for PDFs/Word docs where a thumbnail isn't possible */
.file-chip {
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-elevated);
  position: relative;
}
.file-chip-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--amber);
}
.file-chip-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding-right: 20px;
}
.file-chip-name {
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.file-chip-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}
.file-chip .rm {
  position: absolute; top: 8px; right: 8px;
  width: 18px; height: 18px;
  background: var(--bg-card);
  border-radius: 50%;
  color: var(--text);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  flex-shrink: 0;
}

.field-group { margin-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.field label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.field label .val { color: var(--amber); }
.field input[type="text"],
.field input[type="number"],
.field select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.field input[type="text"]:focus,
.field input[type="number"]:focus,
.field select:focus {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
  border-color: var(--amber);
}
.field input[type="range"] {
  width: 100%;
  accent-color: var(--amber);
}
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.field.checkbox { display: flex; align-items: center; gap: 8px; flex-direction: row; }
.field.checkbox label { margin: 0; }

.run-btn {
  width: 100%;
  margin-top: 24px;
  background: var(--amber);
  color: #1a1305;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.18s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.run-btn:hover { background: #f0ae4c; }
.run-btn:active { transform: scale(0.99); }
.run-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* result / status panel */
.status-panel { min-height: 220px; display: flex; flex-direction: column; }
.status-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  text-align: center;
  gap: 10px;
  font-size: 13.5px;
  padding: 20px 0;
}
.status-empty .ring {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px dashed var(--border-light);
}
.status-working {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; flex: 1; padding: 30px 0;
}
.spinner {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 3px solid var(--border-light);
  border-top-color: var(--amber);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.status-working p { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-muted); }

.result-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.result-box .badge-ok {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal); font-family: var(--font-mono); font-size: 12.5px;
  align-self: flex-start;
}
.result-box .badge-ok .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.size-compare {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}
.size-compare .to { color: var(--amber); }
.size-compare .saved {
  margin-left: auto;
  background: rgba(63, 167, 150, 0.12);
  color: var(--teal);
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11.5px;
}
.download-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--teal); color: #06211c;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
}
.error-box {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--danger); text-align: center; font-size: 13.5px; padding: 20px;
}

/* cropper area */
.cropper-wrap { margin-top: 16px; max-height: 360px; overflow: hidden; border-radius: var(--radius-sm); }
.cropper-wrap img { max-width: 100%; display: block; }

/* utility */
.hidden { display: none !important; }
.icon { width: 20px; height: 20px; }
/* ===========================
        NEW NAVBAR
===========================*/

.nav-wrapper{

display:flex;

align-items:center;

justify-content:space-between;

gap:30px;

height:72px;

}

.main-nav{

display:flex;

align-items:center;

gap:28px;

}

.main-nav>a{

color:var(--text-muted);

font-size:14px;

transition:.25s;

}

.main-nav>a:hover{

color:var(--amber);

}

/* Only shown inside the mobile slide-in menu; hidden on desktop */
.mobile-auth-links{
display:none;
}

.auth-buttons{

display:flex;

gap:12px;

align-items:center;

}

.login-btn{

padding:10px 18px;

border:1px solid var(--border-light);

border-radius:8px;

transition:.25s;

}

.login-btn:hover{

border-color:var(--amber);

color:var(--amber);

}

.register-btn{

padding:10px 20px;

background:var(--amber);

color:#111;

border-radius:8px;

font-weight:600;

transition:.25s;

}

.register-btn:hover{

transform:translateY(-2px);

}

/* ===================================================
                AUTH PAGES
=================================================== */

.auth-page{

    min-height:calc(100vh - 68px);

    display:flex;

    align-items:center;

    justify-content:center;

    padding:60px 20px;

}

.auth-card{

    width:100%;

    max-width:460px;

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:16px;

    padding:40px;

    box-shadow:0 20px 60px rgba(0,0,0,.35);

}

.auth-card h1{

    margin:0;

    font-family:var(--font-display);

    font-size:34px;

}

.auth-card p{

    color:var(--text-muted);

    margin:10px 0 30px;

}

.auth-form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.auth-form label{

    display:block;

    margin-bottom:8px;

    font-size:13px;

    font-family:var(--font-mono);

    color:var(--text-muted);

}

.auth-form input{

    width:100%;

    padding:14px 16px;

    border-radius:8px;

    border:1px solid var(--border-light);

    background:var(--bg-elevated);

    color:var(--text);

    font-size:15px;

}

.auth-form input:focus{

    outline:none;

    border-color:var(--amber);

}

.auth-options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:13px;

    color:var(--text-muted);

}

.auth-options a{

    color:var(--amber);

}

.auth-btn{

    width:100%;

    margin-top:8px;

    padding:14px;

    border:none;

    border-radius:8px;

    background:var(--amber);

    color:#111;

    font-weight:700;

    font-size:15px;

}

.divider{

    display:flex;

    align-items:center;

    gap:12px;

    margin:25px 0;

    color:var(--text-faint);

    font-size:13px;

}

.divider::before,

.divider::after{

    content:"";

    flex:1;

    height:1px;

    background:var(--border);

}

.google-btn{

    width:100%;

    padding:14px;

    border:1px solid var(--border-light);

    background:transparent;

    color:var(--text);

    border-radius:8px;

}

.auth-footer{

    margin-top:25px;

    text-align:center;

    color:var(--text-muted);

}

.auth-footer a{

    color:var(--amber);

    font-weight:600;

}
.nav-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.main-nav>a{
    color:var(--text-muted);
    transition:.3s;
}

.main-nav>a:hover{
    color:var(--amber);
}

.dropdown{

    position:relative;

}

.drop-btn{

    background:none;

    border:none;

    color:var(--text-muted);

    cursor:pointer;

    display:flex;

    align-items:center;

    gap:6px;

    font-size:15px;

    padding:10px 0;

}

.drop-btn:hover{

    color:var(--amber);

}

.dropdown-menu{

    position:absolute;

    top:100%;

    left:0;

    width:240px;

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:10px;

    display:none;

    overflow:hidden;

    z-index:999;

}

/* Invisible bridge */
.dropdown::after{

    content:"";

    position:absolute;

    left:0;

    top:100%;

    width:100%;

    height:12px;

}

.dropdown:hover .dropdown-menu,

.dropdown-menu:hover{

    display:block;

}

.dropdown-menu a{

    display:block;

    padding:12px 18px;

    color:var(--text-muted);

    transition:.25s;

}

.dropdown-menu a:hover{

    background:rgba(232,163,61,.08);

    color:var(--amber);

}

.auth-buttons{
    display:flex;
    gap:12px;
}

.login-btn{
    padding:10px 18px;
    border:1px solid var(--border);
    border-radius:8px;
}

.register-btn{
    padding:10px 20px;
    background:var(--amber);
    color:#111;
    border-radius:8px;
    font-weight:600;
}
/* ================= ABOUT PAGE ================= */

.info-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:24px;

    margin-bottom:60px;

}

.info-card{

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:10px;

    padding:28px;

    transition:.3s;

}

.info-card:hover{

    transform:translateY(-5px);

    border-color:var(--amber);

}

.info-card h2{

    margin-bottom:15px;

    font-family:var(--font-display);

}

.info-card p{

    color:var(--text-muted);

}

.about-box{

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:10px;

    padding:35px;

}

.about-box h2{

    margin-bottom:15px;

}

.about-box p{

    color:var(--text-muted);

}

.about-box ul{

    margin-top:20px;

    padding-left:20px;

}

.about-box li{

    margin-bottom:12px;

    color:var(--text);

}

.cta-box{

    text-align:center;

    padding:60px 20px;

}

.cta-box h2{

    font-size:36px;

    margin-bottom:15px;

}

.cta-box p{

    color:var(--text-muted);

    margin-bottom:25px;

}
/* ================= CONTACT ================= */

.contact-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:30px;

    margin-bottom:80px;

}

.contact-card{

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:10px;

    padding:30px;

}

.contact-card h2{

    margin-bottom:20px;

}

.contact-card textarea{

    width:100%;

    background:var(--bg-elevated);

    border:1px solid var(--border-light);

    border-radius:6px;

    color:var(--text);

    padding:12px;

    resize:vertical;

}

.contact-info{

    display:flex;

    flex-direction:column;

    gap:20px;

    margin-top:30px;

}

@media(max-width:900px){

    .contact-grid{

        grid-template-columns:1fr;

    }

}
/* ================= FORM FIELDS ================= */

.field{

    margin-bottom:18px;

}

.field label{

    display:block;

    margin-bottom:8px;

    color:var(--text-muted);

    font-size:14px;

    font-family:var(--font-mono);

}

.field input,
.field textarea,
.field select{

    width:100%;

    background:var(--bg-elevated);

    border:1px solid var(--border-light);

    border-radius:6px;

    color:var(--text);

    padding:12px;

    font-size:14px;

    font-family:var(--font-body);

    transition:.25s;

}

.field input:focus,
.field textarea:focus,
.field select:focus{

    outline:none;

    border-color:var(--amber);

    box-shadow:0 0 0 2px rgba(232,163,61,.15);

}

.field input::placeholder,
.field textarea::placeholder{

    color:var(--text-faint);

}
/* ================= PRICING ================= */

.pricing-page{

    padding:70px 0;

}

.pricing-header{

    text-align:center;

    margin-bottom:50px;

}

.pricing-header h1{

    font-size:42px;

    margin-bottom:12px;

    color:var(--text);

}

.pricing-header p{

    color:var(--text-muted);

    max-width:650px;

    margin:auto;

}

.pricing-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

    margin-top:50px;

}

.pricing-card{

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:14px;

    padding:35px;

    transition:.3s;

    position:relative;

}

.pricing-card:hover{

    transform:translateY(-8px);

    border-color:var(--amber);

    box-shadow:0 0 30px rgba(232,163,61,.15);

}

.pricing-card.popular{

    border:2px solid var(--amber);

}

.badge{

    position:absolute;

    top:18px;

    right:18px;

    background:var(--amber);

    color:#111;

    padding:5px 12px;

    border-radius:30px;

    font-size:12px;

    font-weight:700;

}

.plan{

    font-size:28px;

    margin-bottom:10px;

}

.price{

    font-size:42px;

    font-weight:700;

    color:var(--amber);

    margin-bottom:20px;

}

.price span{

    font-size:16px;

    color:var(--text-muted);

}

.feature-list{

    list-style:none;

    padding:0;

    margin:25px 0;

}

.feature-list li{

    padding:10px 0;

    border-bottom:1px solid var(--border);

    color:var(--text-muted);

}

.plan-btn{

    display:block;

    width:100%;

    text-align:center;

    padding:14px;

    border-radius:8px;

    background:var(--amber);

    color:#111;

    font-weight:700;

    margin-top:25px;

    transition:.3s;

}

.plan-btn:hover{

    background:#f3b14c;

}

.coming-soon{

    opacity:.7;

}

.pricing-bottom{

    margin-top:70px;

    text-align:center;

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:12px;

    padding:35px;

}

.pricing-bottom h2{

    margin-bottom:12px;

}

.pricing-bottom p{

    color:var(--text-muted);

    margin-bottom:20px;

}
/* ================= FAQ ================= */

.faq-page{

    padding:70px 0;

}

.faq-container{

    max-width:850px;

    margin:50px auto;

}

.faq-item{

    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:10px;

    margin-bottom:18px;

    overflow:hidden;

}

.faq-question{

    width:100%;

    background:none;

    border:none;

    color:var(--text);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 25px;

    font-size:18px;

    cursor:pointer;

}

.faq-question span{

    color:var(--amber);

    font-size:24px;

    transition:.3s;

}

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:.35s;

}

.faq-answer p{

    padding:0 25px 20px;

    color:var(--text-muted);

    line-height:1.7;

}

.faq-item.active .faq-answer{

    max-height:250px;

}

.faq-item.active .faq-question span{

    transform:rotate(45deg);

}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-faint);
  font-size: 13px;
  transition: color 0.18s;
}
.footer-links a:hover {
  color: var(--amber);
}
/* ==========================================
        RESPONSIVE FIXES
==========================================*/

@media (max-width:992px){

    .nav-wrapper{
        flex-wrap:wrap;
        height:auto;
        padding:18px 0;
        gap:20px;
    }

    .main-nav{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
        gap:18px;
    }

    .auth-buttons{
        width:100%;
        justify-content:center;
    }

    .tool-header{
        flex-direction:column;
    }

    .tool-header h1{
        font-size:28px;
    }

}

@media (max-width:768px){

    .wrap{
        padding:0 18px;
    }

    .hero{
        padding:44px 0 32px;
    }

    .dropzone{
        padding:26px 18px;
    }

    .workbench{
        grid-template-columns:1fr;
    }

    .pricing-grid{
        grid-template-columns:1fr;
    }

    .info-grid{
        grid-template-columns:1fr;
    }

    .contact-grid{
        grid-template-columns:1fr;
    }

    .site-footer .wrap{
        flex-direction:column;
        text-align:center;
    }

}

@media (max-width:576px){

    .brand{
        font-size:16px;
    }

    .brand small{
        display:none;
    }

    .main-nav{
        gap:14px;
    }

    .main-nav a,
    .drop-btn{
        font-size:14px;
    }

    .login-btn,
    .register-btn{
        padding:8px 14px;
        font-size:13px;
    }

    .hero{
        padding:36px 0 28px;
    }

    .panel{
        padding:16px;
    }

    .tool-card{
        min-height:auto;
        padding:16px;
        gap:6px;
    }

    .tool-card h3{
        font-size:15px;
    }

    .tool-card .tagline{
        font-size:12.5px;
    }

    .pegboard{
        gap:10px;
    }

    .workbench{
        gap:16px;
    }

    .pricing-card{
        padding:25px;
    }

    .faq-question{
        font-size:16px;
        padding:18px;
    }

    .faq-answer p{
        padding:0 18px 18px;
    }

}/* ================= MOBILE NAV ================= */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    color:var(--text);
    font-size:28px;
    cursor:pointer;
    z-index:1001;
}

@media(max-width:768px){

.menu-toggle{
    display:block;
}

.nav-wrapper{
    height:72px;
}

/* Full screen menu */

.main-nav{
    position:fixed;
    top:72px;
    left:-100%;
    width:100%;
    height:calc(100vh - 72px);
    background:var(--bg-card);

    display:flex;
    flex-direction:column;
    flex-wrap:nowrap;
    align-items:flex-start;
    justify-content:flex-start;
    gap:18px;

    padding:25px;

    overflow-y:auto;

    transition:.35s;

    z-index:999;
}

.main-nav.active{
    left:0;
}

/* Login buttons */

.auth-buttons{
    display:none;
}

.mobile-auth-links{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:12px;

    margin-top:auto;
    padding-top:20px;

    border-top:1px solid var(--border);
}

.login-btn,
.register-btn{
    width:100%;
    text-align:center;
}

/* Dropdown */

.dropdown{
    width:100%;
}

.drop-btn{
    width:100%;
    justify-content:space-between;
}

.dropdown-menu{
    position:static;
    display:none;
    width:100%;
    background:transparent;
    border:none;
    margin-top:8px;
}

.dropdown.open .dropdown-menu{
    display:block;
}

.dropdown-menu a{
    padding:12px 15px;
}

}