/*
Theme Name: SwiftScale Technologies
Theme URI: https://www.swiftscaletech.com
Author: SwiftScale Technologies
Author URI: https://www.swiftscaletech.com
Description: A clean, professional e-commerce enablement theme for SwiftScale Technologies. Built for Amazon manufacturers and consumer brands.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Proprietary
License URI: https://www.swiftscaletech.com
Text Domain: swiftscale
Tags: business, one-page, dark, custom-colors, custom-logo, full-width-template, featured-images, threaded-comments
*/

/* ─── CSS RESET & VARIABLES ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:   #05111F;
  --navy2:  #0B1E33;
  --navy3:  #102645;
  --blue:   #1A6FD4;
  --blue2:  #2484F0;
  --green:  #25B872;
  --green2: #1EA060;
  --orange: #F07820;
  --orange2:#D96810;
  --white:  #FFFFFF;
  --g50:    #F7F9FC;
  --g100:   #EDF1F7;
  --g200:   #D4DCE8;
  --g400:   #8FA3BC;
  --g600:   #4A6280;
  --text:   #0B1E33;
  --bdr:    rgba(255,255,255,0.07);
  --head:   'Manrope', sans-serif;
  --body:   'Inter', sans-serif;
}

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* ─── NAVIGATION ─── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(5,17,31,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--bdr);
  transition: background 0.3s;
}

.site-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.site-logo .text-logo {
  font-family: var(--head);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.03em;
}

.site-logo .text-logo span { color: var(--green); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.main-nav ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.main-nav ul li a:hover { color: #fff; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-outline-nav {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 18px;
  border: 1px solid rgba(255,255,255,0.11);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-nav:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}

.btn-cta-nav {
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.btn-cta-nav:hover { background: var(--green2); }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

/* ─── HERO ─── */
.hero-section {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 6% 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
  pointer-events: none;
}

.glow-blue  { width: 580px; height: 480px; background: var(--blue);   top: -120px; left: -80px; }
.glow-green { width: 480px; height: 380px; background: var(--green);  bottom: -60px; right: 60px; }
.glow-orange{ width: 280px; height: 240px; background: var(--orange); top: 38%; left: 52%; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(37,184,114,0.22);
  background: rgba(37,184,114,0.07);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 28px;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}

.hero-section h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  color: #fff;
  margin-bottom: 22px;
}

.hero-section h1 .accent { color: var(--green); }

.hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.72;
  font-weight: 300;
  color: rgba(255,255,255,0.46);
  max-width: 540px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-hero-primary {
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-hero-primary:hover {
  background: var(--green2);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,184,114,0.25);
  color: #fff;
}

.btn-hero-ghost {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.11);
  transition: all 0.2s;
  display: inline-block;
}

.btn-hero-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}

.proof-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

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

.proof-num {
  font-family: var(--head);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.proof-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.36);
  margin-top: 4px;
}

.proof-div {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.09);
}

/* ─── MARQUEE ─── */
.marquee-section {
  background: var(--navy2);
  border-top: 1px solid var(--bdr);
  border-bottom: 1px solid var(--bdr);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: marquee 24s linear infinite;
  align-items: center;
}

.marquee-item {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.marquee-sep {
  color: rgba(255,255,255,0.08);
  font-size: 12px;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION COMMONS ─── */
.section-light  { padding: 88px 6%; background: var(--white); }
.section-gray   { padding: 88px 6%; background: var(--g50); }
.section-dark   { padding: 88px 6%; background: var(--navy); }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tag-green  { color: var(--green); }
.tag-blue   { color: var(--blue2); }
.tag-orange { color: var(--orange); }
.tag-white  { color: rgba(255,255,255,0.4); }

.section-h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.h2-dark  { color: var(--text); }
.h2-white { color: #fff; }

.section-lead {
  font-size: 17px;
  line-height: 1.72;
  font-weight: 300;
  max-width: 500px;
}

.lead-muted { color: var(--g600); }
.lead-white { color: rgba(255,255,255,0.42); }

/* ─── SERVICE BLOCKS ─── */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 88px;
}

.service-block:last-child { margin-bottom: 0; }

.service-block.flip { direction: rtl; }
.service-block.flip > * { direction: ltr; }

.service-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sn-blue   { color: var(--blue2); }
.sn-green  { color: var(--green); }
.sn-orange { color: var(--orange); }

.service-block h3 {
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--text);
  margin-bottom: 14px;
}

.service-p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--g600);
  margin-bottom: 28px;
}

.stats-row {
  display: flex;
  gap: 28px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.stat-val {
  font-family: var(--head);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.04em;
  margin-bottom: 2px;
}

.sv-blue   { color: var(--blue2); }
.sv-green  { color: var(--green); }
.sv-orange { color: var(--orange); }

.stat-lbl { font-size: 12px; color: var(--g400); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.18s;
}

.bl-blue   { color: var(--blue2); }
.bl-green  { color: var(--green); }
.bl-orange { color: var(--orange); }
.btn-link:hover { gap: 10px; }

/* ─── PANEL / DASHBOARD CARDS ─── */
.panel {
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.panel-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
}

.pb-blue   { background: var(--blue2); }
.pb-green  { background: var(--green); }
.pb-orange { background: var(--orange); }

.panel-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 16px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.kpi {
  background: #fff;
  border: 1px solid var(--g100);
  border-radius: 10px;
  padding: 13px 15px;
}

.kpi-l {
  font-size: 11px;
  color: var(--g400);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.kpi-v {
  font-family: var(--head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.kv-blue   { color: var(--blue); }
.kv-green  { color: var(--green2); }
.kv-orange { color: var(--orange2); }

.badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
  margin-top: 4px;
}

.badge-blue   { background: #E6F0FB; color: var(--blue); }
.badge-green  { background: #E8F9F1; color: var(--green2); }
.badge-orange { background: #FEF3E9; color: var(--orange2); }

.bar-list { display: flex; flex-direction: column; gap: 7px; margin-top: 4px; }

.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bar-name {
  font-size: 11px;
  color: var(--g400);
  width: 66px;
  flex-shrink: 0;
}

.bar-track {
  flex: 1;
  height: 5px;
  background: var(--g100);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill { height: 100%; border-radius: 3px; }

.bf-blue   { background: var(--blue2); }
.bf-green  { background: var(--green); }
.bf-orange { background: var(--orange); }

.bar-pct {
  font-size: 11px;
  color: var(--g400);
  width: 30px;
  text-align: right;
}

/* ─── PROCESS STEPS ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 52px;
}

.process-step {
  background: var(--navy2);
  padding: 30px 26px;
}

.process-step:first-child { border-radius: 12px 0 0 12px; }
.process-step:last-child  { border-radius: 0 12px 12px 0; }

.step-idx {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pi-1 { color: var(--blue2); }
.pi-2 { color: #0ABFBF; }
.pi-3 { color: var(--green); }
.pi-4 { color: var(--orange); }

.step-icon { font-size: 22px; margin-bottom: 13px; }

.step-h4 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin-bottom: 9px;
  letter-spacing: -0.02em;
}

.step-p {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
}

/* ─── TESTIMONIALS ─── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.testi-card {
  background: #fff;
  border: 1px solid var(--g100);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.testi-stars {
  color: #F59E0B;
  font-size: 13px;
  letter-spacing: -1px;
  margin-bottom: 13px;
}

.testi-quote {
  font-size: 14px;
  line-height: 1.75;
  color: var(--g600);
  margin-bottom: 18px;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 11px;
  border-top: 1px solid var(--g100);
  padding-top: 16px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-family: var(--head);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.av-blue   { background: #E6F0FB; color: var(--blue); }
.av-green  { background: #E8F9F1; color: var(--green2); }
.av-orange { background: #FEF3E9; color: var(--orange2); }

.author-name { font-size: 13px; font-weight: 600; color: var(--text); }
.author-co   { font-size: 12px; color: var(--g400); margin-top: 1px; }

/* ─── CHANNELS ─── */
.channels-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}

.channel-chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px;
  padding: 8px 15px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: all 0.18s;
}

.channel-chip:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7);
}

/* ─── CTA BOX ─── */
.cta-box {
  background: var(--g50);
  border: 1px solid var(--g100);
  border-radius: 18px;
  padding: 60px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.cta-left { max-width: 500px; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  align-items: center;
}

.cta-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ─── FOOTER ─── */
#site-footer {
  background: var(--navy);
  border-top: 1px solid var(--bdr);
  padding: 60px 6% 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-logo img { height: 38px; margin-bottom: 14px; }

.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
  max-width: 250px;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
  font-family: var(--body);
}

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

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--bdr);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.22);
}

.footer-legal { display: flex; gap: 22px; }

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ─── WORDPRESS STANDARD ─── */
.site-main { display: block; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }
.wp-block-image img { max-width: 100%; }
.alignwide { max-width: 1200px; margin: 0 auto; }
.alignfull { width: 100%; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta .btn-outline-nav { display: none; }

  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--navy2);
    padding: 24px 6%;
    border-bottom: 1px solid var(--bdr);
    z-index: 199;
  }

  .main-nav.open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .service-block,
  .service-block.flip {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 36px;
    margin-bottom: 56px;
  }

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

  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:first-child { border-radius: 12px 0 0 0; }
  .process-step:nth-child(2) { border-radius: 0 12px 0 0; }
  .process-step:nth-child(3) { border-radius: 0 0 0 12px; }
  .process-step:last-child   { border-radius: 0 0 12px 0; }

  .cta-box { flex-direction: column; gap: 28px; padding: 36px 28px; }
  .cta-left { max-width: 100%; }

  .proof-div { display: none; }
}

@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-radius: 0 !important; }
  .process-step:first-child { border-radius: 12px 12px 0 0 !important; }
  .process-step:last-child  { border-radius: 0 0 12px 12px !important; }
  .kpi-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}
