/* Mobile-First Responsive Stylesheet for Get SuperIntelligence */
:root {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-hero: #090d16;
  --text-main: #0f172a;
  --text-muted: #475569;
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --accent: #0d9488;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.74;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

img, svg, video, canvas, iframe, ins {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Partner Bar */
.top-bar {
  background: #020617;
  color: #e2e8f0;
  font-size: 13px;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.top-bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.top-bar-links a {
  color: #38bdf8;
  font-weight: 600;
  padding: 4px 2px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

/* Sticky Header & Mobile Hamburger Menu */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  position: relative;
  gap: 12px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  text-decoration: none !important;
  min-width: 0;
}

.brand-icon {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #fff;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.brand-logo strong {
  display: block;
  font-size: clamp(16px, 2.5vw, 19px);
  line-height: 1.2;
}

.brand-logo small {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 11px;
  border-radius: 8px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover {
  background: #f0f9ff;
  color: var(--primary);
  text-decoration: none;
}

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #020617 0%, #0c4a6e 60%, #115e59 100%);
  color: #ffffff;
  padding: clamp(28px, 5vw, 52px) 0;
  margin-bottom: clamp(20px, 4vw, 32px);
}

.breadcrumb {
  font-size: 13px;
  color: #7dd3fc;
  margin-bottom: 12px;
  line-height: 1.5;
}

.breadcrumb a {
  color: #bae6fd;
  padding: 4px 0;
}

.page-hero h1 {
  font-size: clamp(22px, 4vw, 38px);
  line-height: 1.25;
  margin-bottom: 14px;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 18px);
  color: #e0f2fe;
  max-width: 900px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 13px;
  color: #bae6fd;
}

.hero-meta code {
  background: rgba(255, 255, 255, 0.14);
  padding: 3px 8px;
  border-radius: 4px;
  color: #fde047;
  font-size: 12px;
}

/* Main Content Grid */
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  margin-bottom: 56px;
}

.content-article {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(18px, 4vw, 36px);
  box-shadow: var(--shadow);
  min-width: 0;
}

.compliance-notice {
  background: #f0f9ff;
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: #0c4a6e;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Responsive Copyright-Free Tech Figures */
.article-figure {
  margin: 0 0 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f172a;
  box-shadow: var(--shadow);
}

.secondary-figure {
  margin-top: 22px;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-figure figcaption {
  padding: 12px 16px;
  font-size: 13px;
  color: #cbd5e1;
  background: #0f172a;
  line-height: 1.5;
}

.article-section {
  margin-bottom: clamp(26px, 4vw, 36px);
}

.article-section h2 {
  font-size: clamp(19px, 3vw, 24px);
  color: #0f172a;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
  line-height: 1.3;
}

.article-section h3 {
  font-size: clamp(16px, 2.4vw, 18px);
  color: #1e293b;
  margin: 16px 0 8px;
  line-height: 1.35;
}

.article-section p {
  margin-bottom: 16px;
  color: #334155;
}

.article-section ul,
.article-section ol {
  margin: 0 0 18px 20px;
  color: #334155;
}

.article-section li {
  margin-bottom: 10px;
}

/* CTA Banner & Touch-Friendly Buttons (min-height: 46px) */
.cta-banner {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #7dd3fc;
  border-radius: var(--radius);
  padding: clamp(18px, 3.5vw, 24px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 24px 0;
}

.cta-text {
  flex: 1 1 280px;
}

.cta-text h3 {
  margin-top: 0;
  color: #0c4a6e;
}

.cta-text p {
  margin-bottom: 0;
  font-size: 15px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--accent);
  color: #ffffff !important;
}

.btn-secondary:hover {
  background: #0f766e;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary) !important;
  background: #ffffff;
}

.btn-block {
  display: flex;
  width: 100%;
  margin-top: 10px;
}

.btn-table {
  width: 100%;
}

.ad-container {
  margin: 24px 0;
  text-align: center;
  min-height: 10px;
  overflow: hidden;
}

/* Comparison Table & Mobile Card Transformation */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
}

.comparison-table tr:nth-child(even) {
  background: #f8fafc;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 4px;
}

/* Related Cards Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fafc;
  text-decoration: none !important;
  min-height: 110px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  background: #ffffff;
}

.related-tag {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.related-card strong {
  color: #0f172a;
  font-size: 15px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.related-card span:last-child {
  font-size: 12px;
  color: var(--text-muted);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.highlight-card {
  border-top: 4px solid var(--primary);
}

.sidebar-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #0f172a;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  border-bottom: 1px solid #f1f5f9;
}

.sidebar-list li:last-child {
  border-bottom: 0;
}

.sidebar-list a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.4;
}

/* Footer */
.site-footer {
  background: #020617;
  color: #cbd5e1;
  padding: 48px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 12px;
}

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

.footer-col li {
  margin-bottom: 4px;
}

.footer-col a {
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 4px 0;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-disclaimer {
  border-top: 1px solid #1e293b;
  padding-top: 22px;
  font-size: 13px;
  color: #94a3b8;
}

.footer-disclaimer p {
  margin-bottom: 12px;
}

.copyright {
  color: #e2e8f0;
  font-weight: 600;
}

/* ==========================================================================
   MOBILE & TABLET BREAKPOINTS (Google Mobile-Friendly / 320px - 960px)
   ========================================================================== */
@media (max-width: 960px) {
  .main-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 2px solid var(--border);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    gap: 4px;
    z-index: 120;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
    border-radius: 6px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 14px;
  }

  .top-bar-brand {
    display: none;
  }

  .top-bar-inner {
    justify-content: center;
  }

  .top-bar-links {
    justify-content: center;
    gap: 6px 14px;
    font-size: 12px;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  /* Transform tables into clean vertical Mobile Cards so there is ZERO horizontal scrolling */
  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table th,
  .comparison-table td,
  .comparison-table tr {
    display: block;
    width: 100%;
  }

  .comparison-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .comparison-table tr {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 14px;
    background: #ffffff !important;
    padding: 6px 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  }

  .comparison-table td {
    border: none;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding: 10px 14px;
    text-align: left;
  }

  .comparison-table td:last-child {
    border-bottom: 0;
  }

  .comparison-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    margin-bottom: 4px;
  }
}
