* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f5f7fa;
  color: #222;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
#beta-banner {
  background-color: #ffe58a;
  color: #222;
  text-align: center;
  padding: 10px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 9999;
}


/* HEADER */
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background: #1c1f26;
  padding: 0.8rem 1.2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
.logo-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-logo {
  height: 36px;
  margin-bottom: 4px;
}
.tagline {
  color: #cfcfcf;
  font-size: 0.85rem;
}

/* NAVIGATION */
.main-nav {
  display: flex;
  align-items: center;
}
.main-menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
}
.main-menu li {
  position: relative;
}
.main-menu a {
  color: #f0f0f0;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  font-size: 15px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.main-menu a:hover {
  border-bottom: 2px solid #facc15;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2a2d34;
  min-width: 180px;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  color: #e0e0e0;
  padding: 10px 16px;
  font-size: 14px;
  display: block;
  text-decoration: none;
}
.dropdown-menu li a:hover {
  background: #3c3f46;
}

.hamburger {
  display: none;
  font-size: 26px;
  color: #f0f0f0;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
    padding: 16px;
    position: relative;
  }
  .hamburger {
    display: block;
    position: absolute;
    top: 16px;
    right: 20px;
  }
  .main-nav {
    width: 100%;
  }
  .main-menu {
    flex-direction: column;
    background-color: #1c1f26;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .main-nav.open .main-menu {
    max-height: 500px;
  }
  .main-menu li a {
    display: block;
    padding: 14px 20px;
    color: white;
    font-size: 16px;
    border-bottom: 1px solid #005e3d;
  }
  .main-menu li a:hover {
    background-color: #005e3d;
  }
  .dropdown-menu {
    position: relative;
    display: none;
    flex-direction: column;
    background: #2a2d34;
    padding: 0.5rem 0;
    border-radius: 6px;
    margin-top: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }
  .dropdown-menu li {
    padding-left: 1.5rem;
  }
  .dropdown-menu a {
    color: #e0e0e0;
    text-decoration: none;
    display: block;
  }
}


/* ---------------------------------
  📣 INTRO SECTION
---------------------------------- */
.intro-block {
  text-align: center;
  margin-bottom: 30px;
  padding: 0 10px;
}
.intro-block h1 {
  font-size: 28px;
  color: #008060;
  font-weight: 700;
  margin-bottom: 10px;
}
.intro-block h2 {
  font-size: 22px;
  color: #006647;
  margin-top: 20px;
  font-weight: 600;
}
.intro-block p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* ---------------------------------
  🧮 CALCULATOR SECTION
---------------------------------- */
.container {
  max-width: 100vw;
  background: white;
  margin: 30px 0;
  padding: 30px 0;
  border-radius: 0;
  box-shadow: none;
}
.main-grid {
  padding: 0 32px;
}
@media (max-width: 768px) {
  .main-grid {
    padding: 0 8px;
  }
}

.main-grid {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 1024px) {
  .main-grid {
    flex-direction: column;
  }
}
.calculator-section {
  flex: 1;
  min-width: 300px;
}
.results-section {
  flex: 1.3;
  min-width: 350px;
}
label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}
input,
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: 0.2s ease;
}
input:focus,
select:focus {
  border-color: #008060;
  outline: none;
}
button {
  width: 100%;
  background-color: #008060;
  color: white;
  padding: 14px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}
button:hover {
  background-color: #006647;
}

/* ---------------------------------
  📊 RESULTS SECTION
---------------------------------- */
.results-placeholder {
  padding: 20px;
  text-align: center;
  color: #888;
  font-size: 15px;
  background: #fcfcfc;
  border: 1px dashed #ddd;
  border-radius: 8px;
}
.results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  color: #333;
  margin-top: 10px;
  background: white;
}
.results-table th,
.results-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}
.results-table th {
  background-color: #f1fff7;
  color: #006647;
  font-weight: 600;
}
.results-table tr:last-child td {
  font-weight: bold;
  color: #008060;
}
.results-table .profit-row td {
  background-color: #e6fff3;
  color: #008060;
  font-weight: bold;
}
.price-top-feedback {
  margin-top: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 10px 8px 2px 8px;
  border-radius: 8px;
}
.price-top-feedback.optimal { color: #008060; }
.price-top-feedback.low { color: #f59e42; }
.price-top-feedback.high { color: #b99105; }
.price-top-feedback.too-low,
.price-top-feedback.too-high { color: #e74c3c; }

.system-suggestion {
  font-size: 15px;
  text-align: center;
  margin-bottom: 12px;
  color: #36415e;
}
.system-suggestion b {
  color: #008060;
}

/* Additional styling for summary and settlement */
.suggested-price {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background-color: #f1fff7;
  border-left: 6px solid #008060;
  padding: 10px 16px;
  border-radius: 8px;
  color: #008060;
  margin-bottom: 10px;
}
.break-even {
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: #444;
  padding-left: 4px;
  margin-bottom: 20px;
}
.bank-settlement {
  background: #fefbe9;
  border: 1px solid #facc15;
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 20px;
  color: #222;
}
.bank-settlement p:first-child {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #8c5700;
}

/* 🛈 Tooltip for Pick & Pack Fee */
.tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip::after {
  content: 'This includes Amazon FBA courier and storage fees used to deliver and return inventory.';
  position: absolute;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.tooltip:hover::after {
  opacity: 1;
}

/* Disclaimer text under results */
.result-disclaimer {
  font-size: 13px;
  color: #666;
  margin-top: 14px;
  line-height: 1.5;
  background: #f9f9f9;
  border: 1px dashed #ccc;
  padding: 10px 14px;
  border-radius: 6px;
}

/* 💡 Seller Tip */
.tips-box {
  background: #f1fff7;
  border-left: 5px solid #008060;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.tips-box h4 {
  margin-bottom: 8px;
  font-size: 16px;
  color: #008060;
}
.tips-box p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* 📌 Static Pages */
.page-section {
  padding: 60px 30px;
  max-width: 900px;
  margin: 0 auto;
}
.page-section h2 {
  font-size: 26px;
  color: #008060;
  margin-bottom: 20px;
}
.page-section h3 {
  font-size: 20px;
  margin-top: 25px;
  color: #006647;
}
.page-section p,
.page-section ul {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}
.page-section ul {
  padding-left: 20px;
  list-style: disc;
}

/* 📞 Contact */
.contact-form {
  margin-top: 20px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 6px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  resize: vertical;
}
.contact-form button {
  background-color: #008060;
  color: white;
  border: none;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-form button:hover {
  background-color: #006647;
}

/* 🧠 Autocomplete */
.autocomplete-group {
  position: relative;
}
.autocomplete-list {
  position: absolute;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  z-index: 1000;
  list-style: none;
  padding-left: 0;
}
.autocomplete-list li {
  padding: 10px;
  cursor: pointer;
}
.autocomplete-list li:hover {
  background-color: #f0f0f0;
}

/* 📎 Footer */
.site-footer {
  background-color: #f4f6f9;
  color: #333;
  padding: 30px 20px;
  text-align: center;
  font-size: 15px;
  border-top: 1px solid #ccc;
  margin-top: 60px;
  line-height: 1.6;
}
.site-footer p {
  margin: 8px 0;
}
@media (max-width: 600px) {
  .container {
    padding: 10px !important;
    margin: 8px !important;
    border-radius: 8px;
  }
  .main-grid {
    flex-direction: column !important;
    gap: 0 !important;
  }
  .calculator-section,
  .results-section {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .tips-box {
    padding: 10px 8px !important;
  }
  .results-placeholder {
    padding: 12px !important;
    font-size: 14px;
  }
  .page-section {
    padding: 22px 8px !important;
  }
  .intro-block {
    padding: 0 4px !important;
  }
  label,
  input,
  select,
  button {
    font-size: 1em !important;
  }
}
input, select, textarea, button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 1em;
}
input, select, button {
  min-height: 48px;
}
@media (max-width: 600px) {
  .tooltip::after {
    top: auto;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: normal;
    width: 220px;
    text-align: center;
  }
}
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block !important;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2a2d34;
    min-width: 180px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 100;
    display: none;
  }

  .dropdown-menu li a {
    color: #e0e0e0;
    padding: 10px 16px;
    font-size: 14px;
    display: block;
    text-decoration: none;
  }

  .dropdown-menu li a:hover {
    background: #3c3f46;
  }
}
.result-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,128,96,0.08);
  padding: 24px 30px 18px 30px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Make input & output cards same height and aligned */
.main-grid {
  align-items: stretch;
}
.calculator-section,
.results-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 540px;
}
@media (max-width: 1024px) {
  .calculator-section,
  .results-section {
    min-height: unset;
  }
}

/* Strong card for suggested price */
.suggested-price-card {
  background: #e6fff3;
  color: #008060;
  font-size: 21px;
  font-weight: bold;
  text-align: center;
  padding: 18px 0 12px 0;
  border-radius: 8px;
  margin-bottom: 8px;
  border-left: 7px solid #008060;
  box-shadow: 0 2px 6px rgba(0,128,96,0.07);
}

.break-even-row {
  font-size: 16px;
  color: #333;
  text-align: center;
  margin-bottom: 12px;
}

/* Results Table Polish */
.results-table {
  background: #f9fafc;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  margin-bottom: 8px;
}
.results-table tr:last-child td {
  font-weight: bold;
  background: #e8ffe8;
  color: #008060 !important;
  font-size: 18px;
}
.results-table tr td:last-child {
  text-align: right;
}

.bank-settlement {
  background: #fff7e0;
  border: 1.5px solid #facc15;
  color: #222;
  font-size: 16px;
  font-weight: 500;
  padding: 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(250,204,21,0.06);
}
.main-grid {
  display: flex;
  gap: 30px;
  align-items: stretch;
}
.calculator-section, .results-section {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 520px;
}
.suggest-btn {
  display: block;
  margin: 16px auto 8px auto;
  background: #fff;
  color: #008060;
  border: 2px solid #008060;
  padding: 10px 24px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.suggest-btn:hover {
  background: #008060;
  color: #fff;
}
.suggested-price-card {
  margin: 20px auto 10px auto;
  background: #f1fff7;
  border-left: 6px solid #008060;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 19px;
  font-weight: 600;
  text-align: center;
  color: #008060;
}
.margin-rto-summary {
  font-size: 15px;
  margin-top: 6px;
  text-align: center;
  color: #333;
}
.results-table-wrapper {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(0,0,0,0.04);
  margin-bottom: 14px;
  padding: 12px 8px 0 8px;
}



