/* Advanced Portfolio Component Styles */

body.portfolio-page {
  background: #0B1121;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-link-item i {
  width: 14px;
  height: 14px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 20px;
  padding: 0.55rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-tag--green {
  color: #00E599;
  background: rgba(0, 229, 153, 0.05);
  border: 1px solid rgba(0, 229, 153, 0.3);
}

.hero-tag--blue {
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #94A3B8;
  }

  .footer-baseline {
    background: #070B14;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-family: 'Outfit', sans-serif;
  }

  .footer-link {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .footer-link:hover {
    color: #fff;
  }

  .footer-section-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 1.5rem;
  }

  .footer-section-title span {
    font-size: 0.75rem;
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .footer-card {
    background: rgba(255,255,255,0.01);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 1.25rem;
  }

  .footer-card-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #00E599;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }

  .footer-card-text {
    color: #64748B;
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
  }

  .footer-card-link {
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
  }

  .browser-dot--red { background: #EF4444; }
  .browser-dot--yellow { background: #F59E0B; }
  .browser-dot--green { background: #10B981; }

  .SEO-dot--blue,
  .seo-metric-dot--blue { background: #3B82F6; }
  .seo-metric-dot--purple { background: #8B5CF6; }
  .seo-metric-dot--green { background: #10B981; }
  .seo-metric-dot--yellow { background: #F59E0B; }

  .mega-item-icon--top {
    margin-top: 8px;
  }

  .section-dark-strong {
    padding: 100px 0;
    background: #070B14;
  }

  .section-light-strong {
    padding: 100px 0;
    background: #F8FAFC;
  }

  .section-center {
    text-align: center;
  }

  .section-intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
  }

  .section-intro .section-copy {
    max-width: 600px;
    color: #9CA3AF;
  }

  .browser-display {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .browser-screen {
    background: #000;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .browser-security-note {
    font-size: 0.7rem;
    color: #64748B;
    font-weight: bold;
    letter-spacing: 0.5px;
  }

  .cta-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 20px;
    padding: 6px 16px;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #00E599;
    background: rgba(0, 229, 153, 0.05);
    border: 1px solid rgba(0, 229, 153, 0.2);
    font-weight: 700;
    text-transform: uppercase;
  }

  .cta-action {
    padding: 16px 36px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
  }

  .review-stars { display: flex; gap: 0.4rem; color: #F59E0B; margin-bottom: 1.5rem; }

  .review-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #E2E8F0;
    padding-top: 1.5rem;
  }

  .review-avatar {
    width: 40px;
    height: 40px;
    background: rgba(0,229,153,0.1);
    color: #00E599;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
  }

  .review-meta {
    display: flex;
    flex-direction: column;
  }

  .reviewer-name { color: #0F172A; font-weight: 700; }
  .reviewer-role { color: #64748B; font-size: 0.85rem; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.mega-item-content {
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
}

.mega-item-group {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin: 1.5rem 0 1rem;
  padding-top: 1.5rem;
}

.quick-city-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quick-city-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.quick-city-link:hover {
  color: #fff;
}

.quick-city-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00E599;
}

.hero-title {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  text-transform: uppercase;
  line-height: 1.05;
}

.hero-copy {
  color: #9CA3AF;
  max-width: 600px;
}

.tracker-label {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.tracker-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.tracker-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tracker-status-indicator {
  width: 10px;
  height: 10px;
  background: #00E599;
  border-radius: 50%;
  box-shadow: 0 0 10px #00E599;
}

.tracker-status-text {
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
}

.tracker-status-text strong {
  font-weight: 700;
}

.tracker-copy {
  color: #9CA3AF;
  font-size: 0.85rem;
  line-height: 1.6;
}

.browser-controls {
  display: flex;
  gap: 0.5rem;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 1.5rem;
}

.browser-nav-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease;
}

.browser-nav-btn:hover {
  background: rgba(255,255,255,0.1);
}

.browser-security-note {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.web-showcase-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.web-showcase-panel .section-meta {
  font-size: 0.75rem;
  color: #00E599;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.audit-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.audit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15,23,42,0.12);
  border-color: rgba(59,130,246,0.2);
}

.audit-card .audit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.audit-card .audit-title {
  font-size: 1.4rem;
  color: #0F172A;
  margin-bottom: 0.25rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.audit-card .audit-client {
  font-size: 0.75rem;
  color: #3B82F6;
  font-weight: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.audit-card .audit-body p {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.audit-card .audit-body p:last-child {
  margin-bottom: 2rem;
}

.audit-card .audit-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
  text-align: center;
}

.audit-card .audit-metric {
  font-size: 0.65rem;
  color: #94A3B8;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.audit-card .audit-metric-value {
  font-size: 1.25rem;
  color: #0F172A;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
}

.review-stars {
  color: #F59E0B;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.4rem;
}

.review-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background: rgba(0,229,153,0.1);
  color: #00E599;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.review-card .reviewer-name {
  color: #0F172A;
  font-weight: 700;
}

.review-card .reviewer-role {
  color: #64748B;
  font-size: 0.85rem;
}

.footer-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.footer-button:hover {
  background: rgba(255,255,255,0.08);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand span {
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8;
  font-size: 0.8rem;
}

.footer-link {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .audit-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}

  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-actions .btn-saas-green,
.hero-actions .btn-saas-outline,
.cta-panel .btn-saas-green,
.nav-dropdown-content a,
.quick-city-link {
  text-decoration: none;
}

.panel-card,
.project-card,
.browser-frame,
.review-card,
.footer-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}

.panel-card {
  padding: 2rem;
}

.panel-card--soft {
  background: #f8fafc;
}

.portfolio-metric-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(15,23,42,0.08);
  display: flex;
  flex-direction: column;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-description,
.section-copy {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 46rem;
  margin: 0;
}

.section-spaced {
  padding: 100px 0;
}

.section-dark-alt {
  background: #070B14;
}

.section-dark-alt-2 {
  background: #0B1121;
}

.section-light-alt {
  background: #F8FAFC;
}

.section-white-full {
  background: #fff;
  padding-bottom: 100px;
}

.section-border {
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
}

.browser-preview {
  display: flex;
  justify-content: center;
  width: 100%;
}

.browser-screen {
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.browser-secure-note {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.browser-nav-group {
  display: flex;
  gap: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 1.5rem;
}

.browser-nav-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.browser-nav-btn:hover {
  background: rgba(255,255,255,0.1);
}

.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
}

.section-intro .section-copy {
  max-width: 600px;
  color: #9CA3AF;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 20px;
  padding: 0.55rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

.section-label--green {
  color: #00E599;
  background: rgba(0, 229, 153, 0.05);
  border: 1px solid rgba(0, 229, 153, 0.3);
}

.section-label--blue {
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.section-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.section-panel-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.section-meta {
  font-size: 0.75rem;
  color: #00E599;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.audit-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

audit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

audit-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

audit-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

audit-pill--green {
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.08);
}

audit-pill--blue {
  color: #3B82F6;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.08);
}

audit-card-context {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 700;
  letter-spacing: 0.04em;
}

audit-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
  text-align: center;
}

audit-card-metric {
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

audit-card-metric-value {
  font-size: 1.25rem;
  color: #0F172A;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

audit-card-title {
  font-size: 1.4rem;
  color: #0F172A;
  margin-bottom: 0.25rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

audit-card-meta {
  font-size: 0.75rem;
  color: #3B82F6;
  font-weight: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

audit-card-copy {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 1rem;
}

audit-card-copy strong {
  color: #0F172A;
}

.review-stars {
  display: flex;
  gap: 0.5rem;
  color: #F59E0B;
  margin-bottom: 1.5rem;
}

.review-card-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
}

.review-avatar {
  width: 40px;
  height: 40px;
  background: rgba(0,229,153,0.1);
  color: #00E599;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,229,153,0.05);
  border: 1px solid rgba(0,229,153,0.2);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: #00E599;
  font-weight: 700;
  font-size: 0.75rem;
}

.footer-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}

.footer-cta-button:hover {
  background: rgba(255,255,255,0.08);
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  background: #00E599;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070B14;
  font-weight: 900;
  font-size: 1.1rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section a {
  color: #94A3B8;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #fff;
}


.text-center {
  text-align: center;
}

.footer-label {
  display: inline-block;
  background: rgba(0, 229, 153, 0.05);
  border: 1px solid rgba(0, 229, 153, 0.2);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.65rem;
  color: #00E599;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
}

.seo-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.seo-dot-group {
  display: flex;
  gap: 6px;
}

.seo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.seo-sidebar-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.seo-sidebar-link {
  color: #00E599;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.seo-chart-frame {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  position: relative;
}

.seo-chart-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #1E293B;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.seo-chart-image {
  width: 100%;
  border-radius: 4px;
}

.seo-metric-title,
.seo-metric-label {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.seo-metric-value {
  font-size: 2rem;
  font-weight: 700;
}

.seo-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 1rem;
  font-weight: 500;
  gap: 1rem;
  flex-wrap: wrap;
}

.seo-meta-highlight {
  color: #00E599;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.seo-step-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.seo-step-row {
  display: flex;
  gap: 12px;
}

.seo-step-badge {
  width: 20px;
  min-width: 20px;
  height: 20px;
  background: rgba(0,229,153,0.1);
  border: 1px solid #00E599;
  color: #00E599;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  flex-shrink: 0;
}

.seo-step-text {
  font-size: 0.85rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.section-heading-row,
.showcase-header-panel {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
}

.section-gray {
  background: #F8FAFC;
}

.panel-section {
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
}

.footer-panel-text {
  max-width: 650px;
}

@media (max-width: 1024px) {
  .seo-header-actions,
  .seo-meta-row,
  .seo-sidebar-footer,
  .section-heading-row,
  .showcase-header-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section-white-full {
  background: #fff;
  padding: 100px 0;
}

.metric-card-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #64748B;
}

.metric-card-heading i {
  width: 20px;
  height: 20px;
  color: #00E599;
}

.metric-card-value {
  font-size: 2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.metric-card-note {
  color: #64748B;
  font-size: 0.85rem;
}

.seo-badge,
.cta-badge,
.audit-pill,
.metadata-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,229,153,0.1);
  color: #00E599;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
}

.seo-badge {
  background: rgba(0,229,153,0.1);
  border: 1px solid rgba(0,229,153,0.2);
}

.showcase-header-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  flex-wrap: wrap;
}

.showcase-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.browser-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.browser-controls button {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.browser-controls button:hover {
  background: rgba(255,255,255,0.1);
}

.browser-frame {
  width: 100%;
  max-width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  overflow: hidden;
}

.browser-frame .browser-top {
  background: #111827;
}

.browser-screen {
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.audit-filter-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.audit-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.audit-card .audit-pill {
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.audit-card .audit-pill--green {
  color: #10B981;
  border: 1px solid rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.08);
}

.audit-card .audit-pill--blue {
  color: #3B82F6;
  border: 1px solid rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.08);
}

.audit-card .audit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.audit-card .audit-title {
  font-size: 1.4rem;
  color: #0F172A;
  margin-bottom: 0.25rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.audit-card .audit-client {
  font-size: 0.75rem;
  color: #3B82F6;
  font-weight: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.audit-card .audit-body p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.audit-card .audit-body p:last-child {
  margin-bottom: 2rem;
}

.audit-card .audit-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
  text-align: center;
}

.audit-card .audit-metric {
  font-size: 0.65rem;
  color: #94A3B8;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.audit-card .audit-metric-value {
  font-size: 1.25rem;
  color: #0F172A;
  font-weight: 800;
  font-family: 'Outfit';
}

.review-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-card .review-stars {
  color: #F59E0B;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 0.4rem;
}

.review-card .review-quote {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 2rem;
}

.review-card .review-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
}

.review-card .review-avatar {
  width: 40px;
  height: 40px;
  background: rgba(0,229,153,0.1);
  color: #00E599;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
}

.review-card .reviewer-name {
  color: #0F172A;
  font-weight: 700;
}

.review-card .reviewer-role {
  color: #64748B;
  font-size: 0.85rem;
}

.review-card .review-meta {
  font-size: 0.7rem;
  color: #00E599;
  font-weight: bold;
  margin-top: 0.25rem;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 229, 153, 0.05);
  border: 1px solid rgba(0, 229, 153, 0.2);
  border-radius: 20px;
  padding: 0.65rem 1rem;
  color: #00E599;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-panel {
  background: #070b14;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.cta-panel h2 {
  margin-bottom: 1rem;
}

.cta-panel p {
  color: #9ca3af;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}

.cta-panel .btn-saas-green {
  padding: 16px 36px;
  font-size: 1rem;
}

.footer-panel {
  background: rgba(11, 17, 33, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  margin-bottom: 4rem;
}

.footer-panel-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-panel-top h3 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.footer-panel-top p {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
}

.footer-column h3,
.footer-column span {
  color: #fff;
  font-weight: 700;
}

.footer-column a,
.footer-panel a,
.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover,
.footer-panel a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand-icon {
  width: 32px;
  height: 32px;
  background: #00E599;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070B14;
  font-weight: 900;
  font-size: 1.1rem;
}
  
  .header-nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  
  .highlight-green {
    color: #00E599;
  }
  
  .portfolio-hero {
    padding-top: 80px;
    padding-bottom: 120px;
    background: #0B1121;
  }
  
  .section-light {
    background: #fff;
    color: #0F172A;
    padding: 100px 0;
  }
  
  .section-gray {
    background: #F8FAFC;
  }
  
  .panel-section {
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
  }
  
  .portfolio-cta {
    padding: 100px 0;
  }
  
  .portfolio-footer {
    background: #070B14;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-family: 'Outfit', sans-serif;
  }
  
  .section-white-full {
    background: #fff;
    padding: 100px 0;
  }
  
  .seo-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  }
  
  .seo-card-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }
  
  .seo-card-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,229,153,0.1);
    color: #00E599;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
  }
  
  .seo-metric-title,
  .seo-metric-label {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
  }
  
  .seo-metric-value {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 700;
  }
  
  .seo-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748B;
    margin-bottom: 1rem;
    font-weight: 500;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .seo-meta-highlight {
    color: #00E599;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }
  
  .seo-chart-frame {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
  }
  
  .seo-chart-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #1E293B;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
  }
  
  .seo-chart-image {
    width: 100%;
    border-radius: 4px;
  }
  
  .seo-sidebar .sidebar-section-title {
    margin-bottom: 0.75rem;
  }
  
  .seo-sidebar p,
  .seo-sidebar .keyword-tag {
    margin-bottom: 0;
  }
  
  .seo-step-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .seo-step-row {
    display: flex;
    gap: 12px;
  }
  
  .seo-step-badge {
    width: 20px;
    min-width: 20px;
    height: 20px;
    background: rgba(0,229,153,0.1);
    border: 1px solid #00E599;
    color: #00E599;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    flex-shrink: 0;
  }
  
  .seo-step-text {
    font-size: 0.85rem;
    color: #E2E8F0;
    line-height: 1.5;
  }
  
  .section-heading-row,
  .showcase-header-panel {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 2rem;
  }
  
  .showcase-panel {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .browser-frame {
    width: 100%;
    max-width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    overflow: hidden;
  }
  
  .browser-frame .browser-dot {
    width: 12px;
    height: 12px;
  }
  
  .browser-address {
    background: rgba(255,255,255,0.05);
  }
  
  .browser-screen {
    background: #000;
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .device-toggle {
    margin: 0;
  }
  
  .device-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
  }
  
  .device-btn.active {
    background: #00E599;
    color: #0B1121;
    font-weight: 700;
  }
  
  .audit-filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }
  
  .audit-filter-bar .project-tag {
    border-radius: 20px;
    padding: 0.8rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #E2E8F0;
    transition: all 0.2s ease;
  }
  
  .audit-filter-bar .project-tag.active,
  .audit-filter-bar .project-tag:hover {
    background: #0B1121;
    color: #fff;
    border-color: #0B1121;
  }
  
  .audit-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
  }
  
  .audit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(15,23,42,0.12);
    border-color: rgba(59,130,246,0.2);
  }
  
  .audit-card .audit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .audit-card .audit-title {
    font-size: 1.4rem;
    color: #0F172A;
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
  }
  
  .audit-card .audit-client {
    font-size: 0.75rem;
    color: #3B82F6;
    font-weight: bold;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
  }
  
  .audit-card .audit-body p {
    font-size: 0.85rem;
    color: #0F172A;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .audit-card .audit-body p:last-child {
    margin-bottom: 2rem;
  }
  
  .audit-card .audit-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    border-top: 1px solid #E2E8F0;
    padding-top: 1.5rem;
    text-align: center;
  }
  
  .audit-card .audit-footer .audit-meta {
    font-size: 0.65rem;
    color: #94A3B8;
    font-weight: bold;
    margin-bottom: 0.25rem;
  }
  
  .audit-card .audit-footer .audit-value {
    font-size: 1.25rem;
    color: #0F172A;
    font-weight: 800;
    font-family: 'Outfit';
  }
  
  .review-card .review-stars {
    color: #F59E0B;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.35rem;
  }
  
  .review-card .review-quote {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 2rem;
  }
  
  .review-card .review-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #E2E8F0;
    padding-top: 1.5rem;
  }
  
  .review-card .review-avatar {
    width: 40px;
    height: 40px;
    background: rgba(0,229,153,0.1);
    color: #00E599;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
  }
  
  .review-card .reviewer-name {
    color: #0F172A;
    font-weight: 700;
  }
  
  .review-card .reviewer-role {
    color: #64748B;
    font-size: 0.85rem;
  }
  
  .review-card .review-meta {
    font-size: 0.7rem;
    color: #00E599;
    font-weight: bold;
    margin-top: 0.25rem;
  }
  
  .footer-panel-top {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
  }
  
  .footer-panel-top h3 {
    color: #fff;
    margin: 0 0 0.5rem;
    font-weight: 700;
  }
  
  .footer-panel-top p {
    color: #94A3B8;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .footer-column .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00E599;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }
  
  .footer-card p {
    color: #64748B;
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .footer-card a {
    display: inline-block;
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: #94A3B8;
  }
  
  .footer-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    background: rgba(0,229,153,0.08);
    padding: 0.35rem 0.9rem;
    color: #00E599;
    font-size: 0.75rem;
    font-weight: 700;
  }
  display: inline-block;
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #94A3B8;
}

.footer-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: rgba(0,229,153,0.08);
  padding: 0.35rem 0.9rem;
  color: #00E599;
  font-size: 0.75rem;
  font-weight: 700;
}

  .footer-baseline {
    background: #070B14;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-family: 'Outfit', sans-serif;
  }

  .mega-column-title i,
  .device-btn i,
  .browser-nav-btn i,
  .section-label i,
  .footer-link i,
  .review-stars i {
    width: 14px;
    height: 14px;
  }

  .device-btn i,
  .browser-nav-btn i {
    width: 15px;
    height: 15px;
  }

  .review-stars i {
    width: 16px;
    height: 16px;
  }

  filter: blur(50px);
  border-radius: 50%;
}

/* Floating Metrics */
.floating-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.floating-metric-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
@media (max-width: 1024px) {
  .floating-metrics-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
}
@media (max-width: 640px) {
  .floating-metrics-grid { grid-template-columns: 1fr; }
}

/* SEO Case Study Viewer */
.seo-case-viewer {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3rem;
}
.seo-case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.seo-project-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-family: inherit;
  font-weight: 600;
  color: #0f172a;
  outline: none;
  min-width: 300px;
  cursor: pointer;
}
.seo-case-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
@media (max-width: 1024px) {
  .seo-case-grid { grid-template-columns: 1fr; }
  .seo-case-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .seo-project-select { width: 100%; }
}

.seo-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.5rem;
}
.seo-sidebar {
  background: #0B1121;
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
}
.sidebar-section {
  margin-bottom: 2rem;
}
.sidebar-section-title {
  font-size: 0.7rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.keyword-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  display: inline-block;
  margin: 0 4px 8px 0;
  color: #9CA3AF;
}

/* Web Design Showcase */
.web-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}
@media (max-width: 1024px) {
  .web-showcase-grid { grid-template-columns: 1fr; }
}
.project-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.project-tag {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 6px;
  color: #9CA3AF;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.project-tag:hover, .project-tag.active {
  background: rgba(0, 229, 153, 0.1);
  border-color: rgba(0, 229, 153, 0.3);
  color: #00E599;
}
.browser-mockup {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: max-width 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto;
  max-width: 100%;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}
.browser-top {
  background: #1E293B;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.browser-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.browser-dot--red { background: #EF4444; }
.browser-dot--yellow { background: #F59E0B; }
.browser-dot--green { background: #10B981; }
.browser-address {
  background: #0F172A;
  border-radius: 6px;
  padding: 6px 12px;
  flex-grow: 1;
  font-size: 0.85rem;
  color: #00E599;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.05);
}
.browser-address i {
  width: 12px;
}
.browser-display {
  display: flex;
  justify-content: center;
  width: 100%;
}
.browser-screen {
  background: #000;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.audit-metric--divider {
  border-left: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
}
.browser-secure-note {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.browser-nav-group {
  display: flex;
  gap: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 1.5rem;
}
.browser-nav-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}
.browser-nav-btn:hover {
  background: rgba(255,255,255,0.1);
}

.section-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
}
.section-intro .section-copy {
  max-width: 600px;
  color: #9CA3AF;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 20px;
  padding: 0.55rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}
.section-label--green {
  color: #00E599;
  background: rgba(0, 229, 153, 0.05);
  border: 1px solid rgba(0, 229, 153, 0.3);
}
.section-label--blue {
  color: #3B82F6;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.section-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.section-meta {
  font-size: 0.75rem;
  color: #00E599;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.section-dark .section-heading,
.section-dark .section-intro h2,
.section-dark .section-intro h3 {
  color: #fff;
}
.section-dark .section-copy {
  color: #9CA3AF;
}

.audit-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.audit-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.audit-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.audit-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.audit-pill--green {
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
  background: rgba(16, 185, 129, 0.08);
}
.audit-pill--blue {
  color: #3B82F6;
  border: 1px solid rgba(59, 130, 246, 0.2);
  background: rgba(59, 130, 246, 0.08);
}
.audit-card-context {
  font-size: 0.75rem;
  color: #94A3B8;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.audit-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
  text-align: center;
}
.audit-card-metric {
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.audit-card-metric-value {
  font-size: 1.25rem;
  color: #0F172A;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.review-stars {
  display: flex;
  gap: 0.5rem;
  color: #F59E0B;
  margin-bottom: 1.5rem;
}
.review-card-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid #E2E8F0;
  padding-top: 1.5rem;
}
.review-avatar {
  width: 40px;
  height: 40px;
  background: rgba(0,229,153,0.1);
  color: #00E599;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.review-meta {
  display: flex;
  flex-direction: column;
}
.review-card .reviewer-name {
  color: #0f172a;
  font-weight: 700;
}
.review-card .reviewer-role {
  color: #64748B;
  font-size: 0.85rem;
}
.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,229,153,0.05);
  border: 1px solid rgba(0,229,153,0.2);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  color: #00E599;
  font-weight: 700;
  font-size: 0.75rem;
}
.footer-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.footer-cta-button:hover {
  background: rgba(255,255,255,0.08);
}
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-brand-icon {
  width: 32px;
  height: 32px;
  background: #00E599;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070B14;
  font-weight: 900;
  font-size: 1.1rem;
}
.footer-section {
  margin-bottom: 2rem;
}
.footer-section a {
  color: #94A3B8;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.footer-section a:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .audit-grid { grid-template-columns: 1fr; }
}
.device-btn {
  padding: 8px 16px;
  border-radius: 4px;
  color: #9CA3AF;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
}
.device-btn.active {
  background: #00E599;
  color: #0B1121;
  font-weight: bold;
}

/* Portfolio Header + Navigation */
.header {
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 999;
}
.header .saas-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.header .nav-link-item {
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.header .nav-link-item:hover,
.header .nav-link-item.active {
  color: #fff;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  min-width: 300px;
  width: max-content;
  background: rgba(7, 14, 25, 0.96);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 30px 90px rgba(0,0,0,0.25);
  backdrop-filter: blur(22px);
}
.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.mega-column-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.mega-column-items {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}
.mega-item:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}
.mega-item-icon {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
.mega-item-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}
.mega-item-desc {
  color: #9ca3af;
  font-size: 0.85rem;
  line-height: 1.6;
}
.quick-city-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.quick-city-link:hover {
  color: #fff;
}
.quick-city-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e599;
}

/* Hero + Global Metrics */
.portfolio-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-actions .btn-saas-outline {
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  background: rgba(255,255,255,0.03);
}

/* Tracker + Cards */
.verified-tracker-card {
  background: linear-gradient(180deg, rgba(7, 12, 23, 0.96), rgba(18, 28, 48, 0.98));
  border: 1px solid rgba(255,255,255,0.08);
}
.floating-metrics-grid {
  margin-top: -70px;
  padding-bottom: 2rem;
}
.floating-metric-card {
  position: relative;
  overflow: hidden;
}
.floating-metric-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 85%);
  pointer-events: none;
}
.floating-metric-card > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.35rem;
}
.floating-metric-card span,
.floating-metric-card div {
  color: #475569;
}

/* SEO Viewer */
.seo-case-viewer {
  background: #fff;
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 30px 70px rgba(15,23,42,0.12);
}
.seo-case-header {
  align-items: flex-end;
}
.seo-case-header h2 {
  color: #0f172a;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.seo-case-header p {
  color: #64748b;
  max-width: 35rem;
}
.seo-case-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}
.seo-metrics-row {
  gap: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.75rem;
}
.seo-metrics-row > div {
  padding: 1rem 0;
}
.seo-metrics-row > div:last-child {
  text-align: right;
}
.seo-metrics-row div[style*="font-size: 2rem"] {
  font-size: 2.2rem !important;
}
.seo-metrics-row span {
  color: #64748b !important;
  letter-spacing: 0.04em !important;
}
.seo-sidebar {
  background: linear-gradient(180deg, #0b1121 0%, #121c33 100%);
  border-radius: 20px;
  padding: 2rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
}
.seo-sidebar h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.seo-sidebar p {
  color: #cbd5e1;
}
.seo-sidebar .sidebar-section-title {
  color: #94a3b8;
}
.seo-sidebar .sidebar-section + .sidebar-section {
  margin-top: 2rem;
}
.sidebar-section .keyword-tag {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #d1d5db;
}

/* Web Showcase */
.browser-mockup {
  border: 1px solid rgba(15,23,42,0.12);
}
.browser-top {
  background: #111827;
}
.browser-address {
  background: rgba(255,255,255,0.05);
}

/* Audit cards */
#auditFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.audit-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.audit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15,23,42,0.12);
  border-color: rgba(59,130,246,0.2);
}
.audit-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}
.audit-card p {
  color: #475569;
}

/* Reviews */
.review-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15,23,42,0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-card p {
  color: #475569;
  line-height: 1.75;
  font-size: 0.95rem;
}
.review-card .reviewer-name {
  color: #0f172a;
  font-weight: 700;
}
.review-card .reviewer-role {
  color: #64748b;
  font-size: 0.85rem;
}

/* CTA and Footer */
.cta-panel {
  background: #070b14;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.cta-panel h2 {
  margin-bottom: 1rem;
}
.cta-panel p {
  color: #9ca3af;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}
.footer-panel {
  background: rgba(11, 17, 33, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
  margin-bottom: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.35fr;
  gap: 2rem;
}
.footer-column h3,
.footer-column span {
  color: #fff;
  font-weight: 700;
}
.footer-column a,
.footer-panel a,
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-column a:hover,
.footer-panel a:hover,
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #94a3b8;
}
.footer-brand-tag {
  display: inline-flex;
  align-items:center;
  gap:0.5rem;
  border-radius:999px;
  background: rgba(0,229,153,0.08);
  padding: 0.35rem 0.9rem;
  color: #00e599;
  font-size:0.75rem;
  font-weight:700;
}

/* Responsive */
@media (max-width: 1150px) {
  .portfolio-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .mega-menu-grid { grid-template-columns: 1fr; }
  .seo-case-grid,
  .web-showcase-grid,
  #auditGrid { grid-template-columns: 1fr; }
  .floating-metrics-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
  .audit-card { min-height: auto; }
}
@media (max-width: 760px) {
  .header .saas-container { flex-direction: column; align-items: flex-start; }
  .portfolio-hero-grid { gap: 2rem; }
  .hero-title { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .seo-case-header { flex-direction: column; align-items:flex-start; gap:1rem; }
  .seo-metrics-row { grid-template-columns: 1fr; }
  .browser-mockup { max-width: 100%; }
  .project-tag-grid { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
