/* =====================
   THEME VARIABLES
===================== */
:root {
  --primary: #0f766e;      /* green-blue */
  --secondary: #0284c7;    /* blue */
  --accent: #fde047;      /* soft yellow */
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1f2937;
  --border: #e5e7eb;
}

/* =====================
   BASE RESET
===================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links a {
  margin-left: 16px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links .active {
  color: var(--secondary);
}

/* =====================
   HERO
===================== */
.hero {
  text-align: center;
  padding: 60px 20px 50px;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
  );
  color: white;
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  opacity: 0.95;
}

/* =====================
   MAIN CONTAINER
===================== */
.container {
  max-width: 900px;
  margin: -30px auto 60px;
  padding: 0 20px;
}

/* =====================
   TOOL CARD
===================== */
.tool-card {
  background: var(--card);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.tool-card h2 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 6px;
}


/* =====================
   HEADINGS & TEXT
===================== */
h1, h2 {
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
  color: #040404;
}

/* =====================
   INPUTS
===================== */
textarea,
input,
select {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  margin-bottom: 12px;
  font-size: 15px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

textarea {
  font-family: monospace;
}

/* =====================
   BUTTONS
===================== */
button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 18px;
  margin: 6px 6px 6px 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

button:hover {
  background: var(--secondary);
}

button:last-child {
  background: #e5e7eb;
  color: #111827;
}

button:last-child:hover {
  background: #d1d5db;
}


/* =====================
   STATS / RESULTS
===================== */
.stats,
.result {
  background: #f1f5f9;
  padding: 14px;
  border-radius: 6px;
  margin-top: 15px;
}

/* =====================
   FOOTER
===================== */
footer {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  color: #6b7280;
  font-size: 14px;
}

/* =====================
   ERROR TEXT
===================== */
.error {
  color: #dc2626;
  margin-top: 10px;
}

/* =====================
   TOOLS DASHBOARD
===================== */
.tools-dashboard {
  max-width: 1100px;
  margin: 20px auto 40px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.tool-box {
  background: var(--card);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-top: 4px solid var(--secondary);
}

.tool-box span {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}

.tool-box h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.tool-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.tool-box.active {
  border-top-color: var(--accent);
  background: #fefce8;
}


.contact-box {
  background: #f8fafc;
  border-left: 4px solid #4f46e5;
  padding: 16px;
  margin: 16px 0;
  border-radius: 8px;
}

.contact-email {
  font-size: 18px;
  color: #4f46e5;
  font-weight: 600;
}

.contact-note {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}

.privacy-content h2 {
  margin-top: 26px;
  color: #1f2937;
}

.privacy-content p {
  line-height: 1.7;
  color: #374151;
}

.site-footer {
  margin-top: 50px;
  padding: 25px 20px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
}

.site-footer .footer-links {
  margin-top: 8px;
}

.site-footer a {
  margin: 0 10px;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  text-decoration: underline;
}

.seo-intro {
  max-width: 900px;
  margin: 30px auto 10px;
  padding: 0 15px;
}

.seo-text {
  font-size: 15px;
  line-height: 1.6;
  color: #043f67;
  font-weight: 500;
  padding-bottom: 20px;
}
.seo-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 15px;
}

.seo-section h2 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #5b2ddb; /* matches modern SaaS look */
}

.seo-section ul {
  padding-left: 20px;
}

.seo-section li {
  margin-bottom: 6px;
  color: #444;
}
/* FAQ Section */
.faq-section {
  margin: 50px auto;
  max-width: 900px;
}

.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
  color: #222;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #333;
  cursor: pointer;
}

.faq-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  display: none;
}

.faq-item.open p {
  display: block;
}