/* ============================================================
   JESSE SITE — ORANGE THEME
   ============================================================ */

:root {
  --brand:        #ea580c;   /* orange-600  */
  --brand-dark:   #c2410c;   /* orange-700  */
  --brand-light:  #fff7ed;   /* orange-50   */
  --brand-mid:    #fed7aa;   /* orange-200  */
  --text:         #1a202c;
  --muted:        #64748b;
  --border:       #e2e8f0;
  --bg:           #ffffff;
  --radius:       14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ---- LAYOUT ---- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 1.1rem;
  color: var(--text); text-decoration: none;
}
.mark svg rect, .mark svg line { stroke: var(--brand); fill: var(--brand); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav-back {
  display: flex; align-items: center; gap: 6px;
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
}
.nav-back:hover { color: var(--brand); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600;
  font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer;
  transition: all 0.15s;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-block { width: 100%; justify-content: center; }
.arrow { transition: transform 0.15s; }
.btn-primary:hover .arrow { transform: translateX(3px); }

/* ---- HERO ---- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; padding: 80px 24px 64px;
}
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px; }
  .preview { display: none; }
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-light); padding: 4px 14px; border-radius: 20px;
  margin-bottom: 16px;
}
.hero-copy h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  line-height: 1.2; margin-bottom: 16px;
}
.accent { color: var(--brand); }
.lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 0.82rem; color: var(--muted); }

/* preview card */
.preview {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.preview-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--brand-light); color: var(--brand);
  padding: 3px 10px; border-radius: 20px;
}
.preview-dot { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.preview-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.preview-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.preview-row .k { color: var(--muted); }
.preview-row .v { font-weight: 600; }
.preview-result {
  display: flex; justify-content: space-between; align-items: baseline;
  background: var(--brand-light); border-radius: 10px; padding: 16px 20px;
}
.preview-result .lbl { font-size: 0.82rem; color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.preview-result .num { font-family: 'JetBrains Mono', monospace; font-size: 2rem; font-weight: 700; color: var(--brand); }

/* ---- FEATURES ---- */
.section { padding: 48px 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); }
.ficon { display: block; margin-bottom: 12px; }
.feature h3 { font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

/* ---- ABOUT ---- */
.about { background: var(--brand-light); padding: 64px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }
.about h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; font-weight: 800; margin-top: 12px; }
.about-body p { color: var(--muted); margin-bottom: 16px; }

/* ---- FOOTER ---- */
.footer { border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fine { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   CALCULATOR PAGE
   ============================================================ */

/* VUNA standard calculator widget */
.vuna-wrap { max-width: 440px; margin: 32px auto 0; }
.vuna-header {
  border: 2px dashed var(--border); border-radius: 10px;
  padding: 12px; text-align: center; margin-bottom: 16px;
}
.vuna-header h4 { margin: 0; font-weight: 700; font-size: 1rem; }
.vuna-header p  { margin: 0; font-size: 0.8rem; color: var(--muted); }

.vuna-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; background: #fff;
}

#result {
  width: 100%; text-align: right;
  font-size: 1.6rem; font-family: 'JetBrains Mono', monospace;
  padding: 14px 16px; border: 1px solid var(--border);
  border-radius: 10px; background: #f8fafc;
  margin-bottom: 16px; color: var(--text);
}

.btn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.btn-grid button {
  padding: 14px; border-radius: 10px; border: 1px solid var(--border);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  background: #f8fafc; color: var(--text); transition: background 0.15s;
}
.btn-grid button:hover { background: var(--border); }
.btn-operator { background: var(--brand-light) !important; color: var(--brand) !important; border-color: var(--brand-mid) !important; }
.btn-action   { background: #fff1f2 !important; color: #e11d48 !important; border-color: #fecdd3 !important; }
.btn-equals   { background: var(--brand) !important; color: #fff !important; border-color: var(--brand) !important; }
.btn-equals:hover { background: var(--brand-dark) !important; }

/* section divider */
.section-divider { border: none; border-top: 2px dashed var(--border); margin: 48px auto; max-width: 720px; }
.section-label { text-align: center; margin-bottom: 32px; }
.section-label h2 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin: 0; }
.section-label p  { color: var(--muted); margin-top: 6px; font-size: 0.95rem; }

/* ---- CONVERTER CARD ---- */
.conv-wrap { max-width: 600px; margin: 0 auto 64px; padding: 0 24px; }
.conv-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; background: #fff;
}
.conv-card h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.conv-card .card-sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 24px; }

.conv-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-bottom: 16px; }
@media (max-width: 500px) { .conv-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

.control {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.95rem; color: var(--text); background: #fff; width: 100%;
  font-family: inherit;
}
.control:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(234,88,12,0.12); }

.swap-btn {
  background: var(--brand-light); border: 1px solid var(--brand-mid);
  color: var(--brand); border-radius: 10px; padding: 10px 14px;
  font-size: 1.1rem; cursor: pointer; font-weight: 700; transition: background 0.15s;
  white-space: nowrap;
}
.swap-btn:hover { background: var(--brand-mid); }

.conv-amount { position: relative; }
.conv-amount input {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 1rem; width: 100%; font-family: 'JetBrains Mono', monospace;
}
.conv-amount input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(234,88,12,0.12); }

.conv-result-box {
  background: var(--brand-light); border-radius: 12px;
  padding: 20px 24px; text-align: center; margin: 16px 0;
  display: none;
}
.conv-result-box .big {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem; font-weight: 700; color: var(--brand);
}
.conv-result-box .sub { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.conv-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 8px; }
.conv-error { color: #e11d48; font-size: 0.85rem; margin-top: 8px; display: none; }
