/*
Theme Name: WebsiteUtility
Theme URI: https://example.com/
Author: GitHub Copilot
Author URI: https://openai.com/
Description: A fast, responsive WordPress theme for free online utility tools.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: websiteutility
Tags: custom-logo, featured-images, one-column, two-columns, responsive-layout, accessibility-ready, blog
*/

:root {
  --wu-bg: #f5f7fb;
  --wu-surface: #ffffff;
  --wu-surface-soft: #eef3fa;
  --wu-text: #122033;
  --wu-muted: #5b6678;
  --wu-primary: #0f766e;
  --wu-primary-dark: #0b5f59;
  --wu-accent: #f59e0b;
  --wu-border: rgba(18, 32, 51, 0.1);
  --wu-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 26%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 24%),
    var(--wu-bg);
  color: var(--wu-text);
  font-family: "Outfit", "Segoe UI", sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

a {
  color: var(--wu-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--wu-primary-dark);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--wu-primary);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
}

.websiteutility-navbar {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--wu-border);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar-nav .menu-item a {
  color: var(--wu-text);
  font-weight: 600;
  padding: 0.75rem 0.9rem;
}

.navbar-nav .menu-item a:hover,
.navbar-nav .menu-item.current-menu-item > a {
  color: var(--wu-primary);
}

.hero-section {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: linear-gradient(135deg, #0f766e 0%, #155e75 52%, #0f172a 100%);
  color: #fff;
  box-shadow: var(--wu-shadow);
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-section::before {
  width: 18rem;
  height: 18rem;
  top: -6rem;
  right: -4rem;
}

.hero-section::after {
  width: 11rem;
  height: 11rem;
  bottom: -4rem;
  left: 8%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-lead {
  max-width: 42rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
}

.tool-search {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 1rem;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.section-heading {
  letter-spacing: -0.03em;
}

.surface-card,
.tool-card,
.benefit-card,
.stat-card,
.faq-card,
.content-card {
  background: var(--wu-surface);
  border: 1px solid var(--wu-border);
  border-radius: 1.4rem;
  box-shadow: var(--wu-shadow);
}

.tool-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  height: 100%;
}

.tool-card:hover,
.tool-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.25);
  box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--wu-surface-soft);
  color: var(--wu-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tool-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(245, 158, 11, 0.14));
  color: var(--wu-primary);
  font-size: 1.35rem;
  font-weight: 700;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  margin: 0 0.4rem 0.4rem 0;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #eef8f7;
  color: var(--wu-primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

.ad-slot {
  border: 1.5px dashed rgba(15, 118, 110, 0.24);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.75);
  color: var(--wu-muted);
}

.ad-slot strong {
  color: var(--wu-text);
}

.stats-grid {
  display: grid;
  gap: 1rem;
}

.stat-card {
  padding: 1.25rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--wu-primary-dark);
}

.benefit-card {
  padding: 1.5rem;
}

.faq-card .accordion-item {
  border: 0;
  border-bottom: 1px solid var(--wu-border);
}

.faq-card .accordion-item:last-child {
  border-bottom: 0;
}

.faq-card .accordion-button {
  font-weight: 600;
  box-shadow: none;
}

.faq-card .accordion-button:not(.collapsed) {
  color: var(--wu-primary-dark);
  background: rgba(15, 118, 110, 0.05);
}

.footer {
  color: #d7e1ef;
  background: #0f172a;
}

.footer a {
  color: #edf4ff;
}

.footer a:hover,
.footer a:focus {
  color: #fff;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.content-card h2,
.content-card h3,
.content-card h4 {
  margin-top: 1.5rem;
}

.info-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(255, 255, 255, 0.98));
}

.info-hero::before {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 68%);
}

.info-grid {
  display: grid;
  gap: 1rem;
}

.info-card,
.info-aside,
.info-callout {
  position: relative;
  z-index: 1;
  background: var(--wu-surface);
  border: 1px solid var(--wu-border);
  border-radius: 1.35rem;
  box-shadow: var(--wu-shadow);
}

.info-card {
  padding: 1.5rem;
}

.info-aside {
  padding: 1.25rem;
}

.info-callout {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(255, 255, 255, 0.98));
}

.info-metric {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 8rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: var(--wu-surface-soft);
}

.info-metric strong {
  font-size: 1.05rem;
  color: var(--wu-primary-dark);
}

.info-metric span {
  color: var(--wu-muted);
  font-size: 0.82rem;
}

.info-list {
  padding-left: 1.15rem;
}

.info-list li + li {
  margin-top: 0.55rem;
}

.info-sidebar-list {
  display: grid;
  gap: 0.85rem;
}

.info-sidebar-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #f7fbfc;
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.info-sidebar-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: rgba(15, 118, 110, 0.1);
  color: var(--wu-primary-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.info-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.info-section-title {
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.page-faq .accordion-button {
  padding-left: 0;
  padding-right: 0;
}

.page-faq .accordion-body {
  padding-left: 0;
  padding-right: 0;
}

.search-results-empty {
  display: none;
}

.tool-card[hidden] {
  display: none !important;
}

@media (min-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    border-radius: 1.5rem;
  }

  .hero-title {
    line-height: 1.02;
  }
}
