/*
Theme Name: Ecomm Code
Theme URI: https://ecommcode.com
Author: Ecomm Code
Description: Ecomm Code - Amazon, Walmart, TikTok Shop & eBay Management Agency
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ecommcode
*/

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: #0F2645;
  background: #fff;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: 'Barlow', sans-serif; font-weight: 700; line-height: 1.15; color: #091A30; }

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --navy:      #0F2645;
  --navy-dark: #091A30;
  --sky:       #3AAFDC;
  --sky-light: #7DD4F0;
  --white:     #FFFFFF;
  --off-white: #F4F8FC;
  --gray:      #6B7B90;
  --gray-light:#E8EDF3;
  --wa:        #25D366;
  --radius:    10px;
}

/* =============================================
   LAYOUT
   ============================================= */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 90px 0; }
.section--alt  { background: var(--off-white); }
.section--dark { background: var(--navy-dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.tc { text-align: center; }

/* =============================================
   TYPOGRAPHY HELPERS
   ============================================= */
.section-label {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky); margin-bottom: .65rem;
}
.section-title  { font-size: clamp(1.8rem, 3.5vw, 2.8rem); margin-bottom: .9rem; }
.section-sub    { font-size: 1rem; color: var(--gray); max-width: 560px; margin: 0 auto; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 2px solid transparent;
  transition: all .22s ease; white-space: nowrap; text-decoration: none;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn-primary  { background: var(--sky);  color: #fff; border-color: var(--sky); }
.btn-primary:hover { background: #2898C2; border-color: #2898C2; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(58,175,220,.35); }

.btn-outline  { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.1); }

.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); font-size: 15px; padding: 15px 32px; }
.btn-wa:hover { background: #1AAD54; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }

/* =============================================
   HEADER / NAV
   ============================================= */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(9,26,48,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(58,175,220,.15);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.nav-logo img  { height:60px; width:200px; object-fit:cover; display: block; }
.nav-links     { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a   { color: rgba(255,255,255,.78); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--sky); }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s; }

/* mobile nav */
.mobile-nav { display: none; flex-direction: column; background: var(--navy-dark); padding: 12px 24px 24px; border-top: 1px solid rgba(58,175,220,.12); }
.mobile-nav.open { display: flex; }
.mobile-nav a   { padding: 12px 0; color: rgba(255,255,255,.8); font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.06); display: block; }
.mobile-nav a:hover { color: var(--sky); }

/* =============================================
   HERO
   ============================================= */
#hero {
  background: var(--navy-dark); min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(58,175,220,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(58,175,220,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(58,175,220,.12) 0%, transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(58,175,220,.12); border: 1px solid rgba(58,175,220,.3);
  color: var(--sky); font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 1.25rem;
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px;
  background: var(--sky); border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); color: #fff; margin-bottom: 1.25rem; line-height: 1.08; }
.hero-title em { font-style: normal; color: var(--sky); }
.hero-desc { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2rem; max-width: 460px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }
.hero-platforms { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-platforms span { font-size: 11px; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; }
.platform-pill {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px; padding: 4px 11px;
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,.7);
}
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 2rem; }
.hero-stat-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(58,175,220,.15);
  border-radius: var(--radius); padding: 18px 14px; text-align: center;
}
.stat-num  { font-family:'Barlow',sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--sky); line-height: 1; margin-bottom: 6px; }
.stat-label{ font-size: 10px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; }

/* Hero visual / dashboard */
.hero-visual  { display: flex; flex-direction: column; gap: 14px; }
.dash-card    { background: rgba(255,255,255,.05); border: 1px solid rgba(58,175,220,.2); border-radius: 14px; padding: 18px 22px; }
.dash-hd      { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.dash-title   { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }
.badge-g      { font-size: 10px; padding: 3px 9px; border-radius: 100px; font-weight: 700; background: rgba(37,211,102,.15); color: #25D366; }
.badge-b      { font-size: 10px; padding: 3px 9px; border-radius: 100px; font-weight: 700; background: rgba(58,175,220,.15); color: var(--sky); }
.rev-num      { font-family:'Barlow',sans-serif; font-size: 2rem; font-weight: 800; color: #fff; }
.rev-chg      { font-size: 12px; font-weight: 700; color: #25D366; margin-left: 8px; }
.mini-bars    { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 12px; }
.bar          { flex: 1; background: rgba(58,175,220,.18); border-radius: 3px 3px 0 0; }
.bar.active   { background: var(--sky); }
.mp-row       { display: flex; gap: 8px; }
.mp-item      { flex: 1; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 10px; text-align: center; }
.mp-name      { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.mp-val       { font-family:'Barlow',sans-serif; font-size: 1rem; font-weight: 700; color: var(--sky); }

/* =============================================
   PLATFORM STRIP
   ============================================= */
#platform-strip {
  background: var(--navy); padding: 24px 0;
  border-top: 1px solid rgba(58,175,220,.12);
  border-bottom: 1px solid rgba(58,175,220,.12);
}
.strip-inner  { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.strip-label  { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.strip-div    { width: 1px; height: 22px; background: rgba(255,255,255,.12); }
.p-badge      { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; color: rgba(255,255,255,.75); padding: 7px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
.p-dot        { width: 10px; height: 10px; border-radius: 50%; }


.strip-inner{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.p-badge{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:transparent;
  padding:8px 15px;
  border-radius:50px;
}

.p-badge img{
  height:30px;
  width:auto;
  object-fit:contain;
  display:block;
}

.p-badge span{
  font-size:14px;
  font-weight:600;
}

.strip-div{
  width:1px;
  height:24px;
  background:rgba(255,255,255,0.2);
}

.strip-label{
  font-weight:600;
  color:#fff;
}
/* =============================================
   SERVICES
   ============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 3rem; }
.service-card  {
  background: #fff; border: 1px solid var(--gray-light);
  border-radius: 14px; padding: 30px 26px;
  transition: all .25s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--sky);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { border-color: rgba(58,175,220,.3); box-shadow: 0 8px 32px rgba(15,38,69,.1); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 50px; height: 50px; background: rgba(58,175,220,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.service-icon svg { width: 24px; height: 24px; color: var(--sky); }
.service-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.service-card p  { font-size: 14px; color: var(--gray); line-height: 1.7; }
.sp-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 1rem; }
.sp-tag  { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 100px; background: var(--off-white); color: var(--gray); letter-spacing: .04em; text-transform: uppercase; }

/* =============================================
   WHY US
   ============================================= */
.why-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 3rem; }
.why-list    { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.why-item    { display: flex; gap: 16px; align-items: flex-start; }
.why-check   { width: 36px; height: 36px; background: rgba(58,175,220,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.why-check svg { width: 17px; height: 17px; color: var(--sky); }
.why-text h4 { font-size: 1rem; margin-bottom: 4px; }
.why-text p  { font-size: 14px; color: var(--gray); }
.results-panel { background: var(--navy-dark); border-radius: 18px; padding: 34px; }
.results-panel .pt { font-size: 12px; font-weight: 700; color: var(--sky); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.r-metric    { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.r-metric:last-child { border-bottom: none; }
.r-label     { font-size: 14px; color: rgba(255,255,255,.6); }
.r-value     { font-family:'Barlow',sans-serif; font-size: 1.35rem; font-weight: 700; color: var(--sky); }

/* =============================================
   PROCESS
   ============================================= */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 3.5rem; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px; background: rgba(58,175,220,.2); z-index: 0; }
.process-step { text-align: center; padding: 0 16px; position: relative; }
.step-num     { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); color: #fff; font-family:'Barlow',sans-serif; font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px rgba(58,175,220,.15); }
.process-step h4 { font-size: .95rem; margin-bottom: 8px; }
.process-step p  { font-size: 13px; color: var(--gray); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testi-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 3rem; }
.testi-card  { background: rgba(255,255,255,.05); border: 1px solid rgba(58,175,220,.15); border-radius: 14px; padding: 28px; transition: border-color .2s; }
.testi-card:hover { border-color: rgba(58,175,220,.4); }
.testi-stars { color: #F5A623; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text  { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author{ display: flex; align-items: center; gap: 12px; }
.testi-avatar{ width: 42px; height: 42px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; font-family:'Barlow',sans-serif; font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0; }
.testi-name  { font-weight: 700; font-size: 14px; color: #fff; }
.testi-role  { font-size: 12px; color: rgba(255,255,255,.45); }

/* =============================================
   CTA SECTION
   ============================================= */
#cta-section { background: var(--sky); padding: 90px 0; text-align: center; position: relative; overflow: hidden; }
#cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
#cta-section h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
#cta-section .cta-sub { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-form   { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; position: relative; z-index: 1; }
.cta-input  { padding: 14px 20px; border-radius: var(--radius); border: 2px solid rgba(255,255,255,.35); background: rgba(255,255,255,.16); color: #fff; font-size: 15px; font-family:'DM Sans',sans-serif; outline: none; min-width: 210px; transition: border-color .2s; }
.cta-input::placeholder { color: rgba(255,255,255,.65); }
.cta-input:focus { border-color: rgba(255,255,255,.75); background: rgba(255,255,255,.22); }
.cta-note   { font-size: 13px; color: rgba(255,255,255,.72); position: relative; z-index: 1; }

/* =============================================
   CONTACT
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; margin-top: 3rem; }
.contact-info h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.contact-info p  { color: var(--gray); margin-bottom: 2rem; font-size: 15px; }
.contact-items   { display: flex; flex-direction: column; gap: 16px; }
.contact-item    { display: flex; align-items: center; gap: 14px; }
.contact-icon    { width: 44px; height: 44px; border-radius: 10px; background: rgba(58,175,220,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg{ width: 22px; height: 22px; color: var(--sky); }
.ci-label { font-size: 11px; color: var(--gray); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.ci-val   { font-size: 15px; font-weight: 600; color: var(--navy-dark); }
.contact-form-box { background: #fff; border: 1px solid var(--gray-light); border-radius: 18px; padding: 36px; box-shadow: 0 4px 24px rgba(15,38,69,.09); }
.contact-form-box h3 { font-size: 1.3rem; margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; color: var(--navy-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-light); border-radius: var(--radius); font-size: 15px; font-family:'DM Sans',sans-serif; color: var(--navy-dark); background: #fff; outline: none; transition: border-color .2s; -webkit-appearance: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--sky); }
.form-group textarea { height: 110px; resize: vertical; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer { background: var(--navy-dark); padding: 60px 0 24px; color: rgba(255,255,255,.6); border-top: 1px solid rgba(58,175,220,.12); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo img { height: 36px; width: auto; margin-bottom: 14px; }
.footer-desc { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.5); margin-bottom: 18px; }
.footer-heading { font-family:'Barlow',sans-serif; font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links   { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer-links a:hover { color: var(--sky); }
.social-links { display: flex; gap: 10px; }
.social-link  { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: all .2s; }
.social-link:hover { background: rgba(58,175,220,.2); border-color: var(--sky); color: var(--sky); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; }

/* =============================================
   FLOATING WHATSAPP
   ============================================= */
#wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-bubble { background: var(--wa); color: #fff; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.45); cursor: pointer; animation: float-bob 3s ease-in-out infinite; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.wa-bubble:hover { transform: scale(1.1) !important; box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.wa-bubble svg { width: 30px; height: 30px; }
@keyframes float-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.wa-tooltip { background: #fff; color: var(--navy-dark); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 100px; box-shadow: 0 4px 16px rgba(0,0,0,.12); white-space: nowrap; display: none; }
#wa-float:hover .wa-tooltip { display: block; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-inner    { grid-template-columns: 1fr; }
  .hero-visual   { display: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); }
  .process-steps::before { display: none; }
  .why-grid      { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid    { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section     { padding: 60px 0; }
  .nav-links, .nav-cta-desk { display: none; }
  .hamburger   { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid  { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats  { grid-template-columns: 1fr; }
  .form-row    { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .cta-form    { flex-direction: column; align-items: center; }
  .cta-input   { width: 100%; max-width: 360px; }
}
