/* ==========================================================================
   WordGridly Production SEO & Growth Stylesheet (Lightweight & Modern)
   https://www.wordsgridly.com
   ========================================================================== */

:root {
  --bg-main: #0B132B;
  --bg-card: #0F172A;
  --bg-card-hover: #1E293B;
  --border-color: #1E293B;
  --border-glow: #38BDF8;
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-sub: #CBD5E1;
  --accent-cyan: #38BDF8;
  --accent-blue: #2563EB;
  --accent-gold: #F59E0B;
  --accent-green: #10B981;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-sub);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Header */
.seo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  max-width: 1280px;
  margin: 0 auto;
}

.seo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.seo-brand-img {
  height: 34px;
  width: auto;
}

.seo-badge-tag {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.seo-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.seo-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s;
}

.seo-nav a:hover {
  color: var(--accent-cyan);
}

.seo-btn-cta {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.seo-btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* Breadcrumbs */
.seo-breadcrumbs {
  max-width: 1120px;
  margin: 20px auto 0;
  padding: 0 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.seo-breadcrumbs a {
  color: var(--accent-cyan);
  text-decoration: none;
}

.seo-breadcrumbs a:hover {
  text-decoration: underline;
}

/* Page Container */
.seo-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* Hero Section */
.seo-hero {
  text-align: center;
  padding: 40px 16px 50px;
  background: radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.12), transparent 70%);
}

.seo-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1E293B;
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.seo-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 850;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.seo-hero h1 span {
  background: linear-gradient(135deg, #38BDF8, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.seo-hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.seo-cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.seo-btn-primary {
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  color: #FFFFFF;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 750;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.6);
}

.seo-btn-secondary {
  background: #1E293B;
  border: 1px solid #334155;
  color: #FFFFFF;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.seo-btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: #243248;
}

/* Trust Bar */
.seo-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Feature Grid */
.seo-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.seo-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.seo-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.seo-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.seo-card h3 {
  font-size: 1.25rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 10px;
}

.seo-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Section Headings */
.seo-section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-main);
  margin: 60px 0 16px;
}

.seo-section-sub {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

/* Content Box / Walkthrough */
.seo-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 36px;
  margin: 40px 0;
  line-height: 1.7;
}

.seo-content-box h2 {
  font-size: 1.75rem;
  color: var(--text-main);
  margin: 28px 0 14px;
}

.seo-content-box h3 {
  font-size: 1.3rem;
  color: var(--accent-cyan);
  margin: 22px 0 10px;
}

.seo-content-box p {
  margin-bottom: 16px;
  color: var(--text-sub);
}

.seo-content-box ul, .seo-content-box ol {
  margin: 16px 0 24px 24px;
  color: var(--text-sub);
}

.seo-content-box li {
  margin-bottom: 8px;
}

/* Interactive Preview Box */
.seo-puzzle-preview-box {
  background: #020617;
  border: 1px solid #1E293B;
  border-radius: 14px;
  padding: 24px;
  margin: 30px auto;
  max-width: 600px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.seo-matrix-grid {
  font-family: monospace;
  font-size: clamp(14px, 2.2vw, 18px);
  font-weight: 700;
  letter-spacing: 0.4em;
  line-height: 1.8;
  color: #94A3B8;
  white-space: pre;
  user-select: none;
  overflow-x: auto;
  padding: 14px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 8px;
  margin: 16px 0;
}

.seo-word-bank {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}

.seo-word-pill {
  background: #1E293B;
  color: #E2E8F0;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.seo-word-pill.found {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

/* FAQ Accordion */
.seo-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 30px 0;
}

.seo-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 22px 24px;
}

.seo-faq-item h4 {
  font-size: 1.12rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  font-weight: 700;
}

.seo-faq-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Footer */
.seo-footer {
  background: #060B1A;
  border-top: 1px solid var(--border-color);
  padding: 50px 20px 30px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.seo-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.seo-footer h5 {
  color: var(--text-main);
  font-size: 0.98rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.seo-footer ul {
  list-style: none;
}

.seo-footer li {
  margin-bottom: 8px;
}

.seo-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.seo-footer a:hover {
  color: var(--accent-cyan);
}

.seo-footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.8rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .seo-header {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }
  .seo-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .seo-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .seo-btn-primary, .seo-btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .seo-matrix-grid {
    letter-spacing: 0.25em;
  }
}
