/* ===== GLOBAL RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F4F6F8;
  --card-bg: #ffffff;
  --text-main: #0A192F;
  --text-muted: #545454;
  --header-dark: #0A192F;
  --green: #00BFA6;
  --green-hover: #008f7a;
  --hero-gradient: linear-gradient(135deg, #0A192F 0%, #00BFA6 60%, #38EF7D 100%);
  --ad-bg: rgba(0, 0, 0, 0.03);
  --border: rgba(0, 0, 0, 0.1);
}

body.dark-mode {
  --bg: #050d1a;
  --card-bg: #112240;
  --text-main: #ffffff;
  --text-muted: #bdc1c6;
  --ad-bg: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  transition: background 0.3s ease;
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background: var(--header-dark);
  padding: 15px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo { max-height: 45px; }

.header-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 15px;
  transition: 0.3s;
}

.header-nav a:hover, .header-nav a.active { color: var(--green); }

.dark-mode-toggle {
  background: var(--green);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

/* ===== HERO SECTION ===== */
.seo-hero {
  background: var(--hero-gradient);
  color: white;
  text-align: center;
  padding: 70px 20px;
}

.seo-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

/* ===== MAIN CONTAINER ===== */
.seo-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

/* ===== TOOL CARD ===== */
.tool-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 30px;
}

.tool-textarea {
  width: 100%;
  height: 200px;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid var(--border);
  font-family: 'Courier New', monospace;
  margin-bottom: 25px;
  background: #fafafa;
  color: #333;
  resize: vertical;
}

body.dark-mode .tool-textarea {
  background: #0d192e;
  color: #fff;
  border-color: #233554;
}

.tool-btn-main {
  background: var(--green);
  color: white;
  border: none;
  padding: 18px 45px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
  text-transform: uppercase;
}

.tool-btn-main:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
}

.tool-btn-secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: 0.3s;
}

.tool-btn-secondary:hover {
  background: var(--green);
  color: white;
}

/* ===== RESULTS TABLE ===== */
.results-container {
  margin-top: 40px;
  text-align: left;
  border-top: 2px solid var(--green);
  padding-top: 30px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.results-table th {
  padding: 12px;
  border-bottom: 2px solid var(--border);
  color: var(--green);
  text-align: left;
}

.results-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

/* ===== TRUST GRID ===== */
.info-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.trust-card {
  background: rgba(0, 0, 0, 0.02);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border);
}

body.dark-mode .trust-card { background: rgba(255, 255, 255, 0.03); }

/* AD SLOTS */
.sponsor-slot {
  width: 100%;
  background: var(--ad-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
  min-height: 90px;
}

.sponsor-slot span {
  font-size: 0.65rem;
  color: #888;
  letter-spacing: 2px;
  font-weight: 700;
}

/* ADDITIONAL STYLES FOR ROBOTS TOOL RESULTS TABLE */
.results-table td {
    padding: 15px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-main);
}

.summary-box {
    padding: 15px;
    background: rgba(0, 191, 166, 0.05);
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid var(--green);
}

body.dark-mode .summary-box {
    background: rgba(255, 255, 255, 0.05);
}


/* ===== FOOTER STYLING ===== */
footer {
  background: var(--header-dark);
  color:var(--green);
  text-align: center;
  padding: 60px 20px;
  margin-top: 80px;
}

footer p {
  font-size: 0.95rem;
  color: white;
  opacity: 0.8;
}

footer a {
  color: var(--green);
  text-decoration: none;
  margin: 0 5px;
  transition: 0.3s;
  font-size: 0.9rem;
}

footer a:hover {
  color: var(--green);
}

footer .social-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

footer .social-links a:hover {
  transform: translateY(-3px);
}

footer .social-links span {
  font-weight: 600;
}

/* Ensure the copyright and developer credit looks clean */
footer p:first-child {
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 1;
}


