:root {
  --green: #22c55e;
  --green-dark: #16a34a;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
}

/* RESET + BASE */
* {
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* LAYOUT */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

header {
  background: linear-gradient(135deg, #22c55e, #4ade80);
  color: #fff;
}

.logo {
  font-size: 28px;
  font-weight: 700;
}

.hero {
  text-align: center;
  padding: 70px 0;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  max-width: 760px;
  margin: auto;
}

/* CARDS */
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  margin-bottom: 40px;
}

/* TOOL GRID (HOMEPAGE) */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tool {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  background: #fff;
}

.tool a {
  font-weight: 700;
  font-size: 16px;
}

/* CONVERTER (TOOL PAGES) */
.converter {
  text-align: center;
}

.file-input {
  margin: 20px 0;
}

.file-name {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

/* PRIMARY ACTION BUTTON (MONEY BUTTON) */
.convert-btn {
  margin-top: 22px;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 18px 42px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.convert-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* TEXT SECTIONS */
section h2 {
  margin-top: 0;
  margin-bottom: 14px;
}

section p {
  margin-bottom: 16px;
  color: #374151;
}

/* AD SLOTS (ADSENSE READY) */
.ad-slot {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }

  .convert-btn {
    width: 100%;
  }
}
/* =========================
   TOOLS GRID (HOMEPAGE)
========================= */

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.tool-card {
  display: block;
  background: #ffffff;
  padding: 22px;
  border-radius: 14px;
  text-decoration: none;
  color: #1f2937;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tool-card h2 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #16a34a; /* green */
}


.tool-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}

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

.tool-title {
  color: #16a34a;
  font-weight: 700;
}
.faq-section {
  max-width: 900px;
  margin: 60px auto;
}

.faq-section h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: #16a34a;
  font-weight: 700;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  margin-bottom: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.faq-item summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  float: right;
  font-size: 20px;
  color: #16a34a;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 14px;
  font-size: 15px;
  color: #374151;
}
/* FAQ STYLING */

.faq-section {
  max-width: 900px;
  margin: 60px auto;
}

.faq-section h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: #16a34a;
  font-weight: 700;
}

.faq-item {
  background: #ffffff;
  border-radius: 14px;
  margin-bottom: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.faq-item summary {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "＋";
  float: right;
  font-size: 20px;
  color: #16a34a;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 14px;
  font-size: 15px;
  color: #374151;
}

/* =========================
   FOOTER – PREMIUM STYLE
========================= */

.footer {
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #cbd5e1;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  color: #94a3b8;
}

.footer-title {
  font-size: 15px;
  color: #22c55e;
  margin-bottom: 14px;
  display: block;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer ul li a:hover {
  color: #22c55e;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

/* FOOTER AD SLOT (AdSense friendly) */
.ad-slot {
  background: #ffffff;
  color: #64748b;
  text-align: center;
  padding: 18px;
  margin: 60px auto;
  border-radius: 12px;
  font-size: 14px;
  max-width: 900px;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-desc {
    margin: 0 auto;
  }
}
/* =========================
   HEADER – CLEAN TOOL STYLE
========================= */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* LOGO */
.logo {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.logo:hover {
  color: #16a34a;
}

/* TAGLINE */
.header-tagline {
  font-size: 14px;
  color: #6b7280;
}

/* ACCENT BAR */
.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

/* MOBILE */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 6px;
  }
}
/* =========================
   HEADER – SMART TOOL BAR
========================= */

.site-header {
  background: #f8fafc;
  padding: 20px 0;
}

.header-bar {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* LOGO */
.logo {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo span {
  color: #16a34a;
}

.logo:hover span {
  text-decoration: underline;
}

/* META PILLS */
.header-meta {
  display: flex;
  gap: 8px;
}

.pill {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #16a34a;
  font-weight: 600;
}

/* MOBILE */
@media (max-width: 768px) {
  .header-bar {
    flex-direction: column;
    gap: 10px;
  }
}
/* =========================
   HEADER – TOOL INTERFACE
========================= */

.site-header {
  background: #0f172a; /* dark slate */
  padding: 14px 0;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  font-size: 18px;
  font-weight: 700;
  color: #e5e7eb;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo span {
  color: #22c55e; /* accent only on brand name */
}

.logo:hover span {
  opacity: 0.85;
}

/* RIGHT SIDE */
.header-nav span {
  font-size: 13px;
  color: #94a3b8;
  background: rgba(255,255,255,0.06);
  padding: 6px 12px;
  border-radius: 999px;
}

/* MOBILE */
@media (max-width: 768px) {
  .header-wrap {
    flex-direction: column;
    gap: 6px;
  }
}
