/*
Theme Name: TechnoWholesale
Theme URI: https://technowholesale.com
Author: OpenCode
Description: A wholesale and dropship landing page for TechnoWholesale.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Text Domain: technowholesale
*/

:root {
  --navy-950: #020b1f;
  --navy-900: #061a3f;
  --navy-800: #08275d;
  --navy-700: #0b367a;
  --navy-600: #0f4a9c;
  --blue-100: #dbeafe;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --gold: #f6c85f;
  --aqua: #54d7ff;
  --shadow: 0 24px 60px rgba(2, 11, 31, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: #f8fbff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 12% 10%, rgba(84, 215, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 0%, rgba(246, 200, 95, 0.14), transparent 24rem),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.site-shell {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(2, 11, 31, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
}

.site-logo img {
  width: 230px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2rem);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--aqua);
}

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

.portal-link,
.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1.18rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.portal-link {
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-cta,
.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold), #ffe59e);
  box-shadow: 0 14px 32px rgba(246, 200, 95, 0.22);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.nav-cta:hover,
.portal-link:hover,
.button-primary:hover,
.button-secondary:hover,
.nav-cta:focus-visible,
.portal-link:focus-visible,
.button-primary:focus-visible,
.button-secondary:focus-visible {
  transform: translateY(-2px);
}

.brand-top {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-top-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.4rem;
  align-items: center;
  max-width: 1200px;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  margin: 0 auto;
}

.brand-top p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.brand-logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.brand-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.2rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 1.1rem;
  box-shadow: 0 16px 34px rgba(2, 11, 31, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.brand-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(2, 11, 31, 0.24);
}

.brand-logo-card img {
  width: auto;
  max-width: 8.5rem;
  height: 2.25rem;
  object-fit: contain;
}

.brand-logo-card:nth-child(1) img,
.brand-logo-card:nth-child(4) img {
  max-width: 3.2rem;
}

.hero {
  position: relative;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 39, 93, 0.88), rgba(2, 11, 31, 0.96)),
    radial-gradient(circle at 80% 15%, rgba(84, 215, 255, 0.4), transparent 24rem),
    var(--navy-950);
}

.hero::after {
  position: absolute;
  right: -14rem;
  bottom: -18rem;
  width: 42rem;
  height: 42rem;
  content: "";
  background: radial-gradient(circle, rgba(84, 215, 255, 0.18), transparent 66%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1200px;
  min-height: 720px;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.75rem;
  margin: 0 0 1.1rem;
  color: var(--blue-100);
  background: rgba(84, 215, 255, 0.13);
  border: 1px solid rgba(84, 215, 255, 0.28);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: var(--aqua);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(84, 215, 255, 0.9);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.hero h1 span {
  color: var(--aqua);
}

.hero-copy {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 640px;
  margin-top: 2.6rem;
}

.trust-pill {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
}

.trust-pill strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1;
}

.trust-pill span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  font-weight: 700;
}

.margin-board {
  position: relative;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.margin-board::before {
  position: absolute;
  top: -1.8rem;
  right: 2rem;
  width: 7rem;
  height: 7rem;
  content: "";
  background: linear-gradient(135deg, var(--aqua), transparent);
  border-radius: 999px;
  opacity: 0.5;
  filter: blur(8px);
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.25rem 1rem;
}

.board-top h2 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy-950);
  background: #dffcff;
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.live-badge::before {
  width: 0.48rem;
  height: 0.48rem;
  content: "";
  background: #16a34a;
  border-radius: 999px;
}

.deal-list {
  display: grid;
  gap: 0.85rem;
}

.deal-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.35rem;
}

.deal-icon {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-950));
  border-radius: 1rem;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 900;
}

.deal-card h3 {
  margin: 0;
  font-size: 1rem;
}

.deal-card p {
  margin: 0.15rem 0 0;
  color: var(--slate-500);
  font-size: 0.86rem;
  font-weight: 700;
}

.profit {
  min-width: 6rem;
  text-align: right;
}

.profit span {
  display: block;
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.profit strong {
  color: #0b8f54;
  font-size: 1.24rem;
}

.section {
  max-width: 1200px;
  padding: clamp(4rem, 8vw, 6.8rem) clamp(1rem, 4vw, 3rem);
  margin: 0 auto;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-kicker {
  margin: 0 0 0.55rem;
  color: var(--navy-600);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 760px;
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-intro {
  max-width: 460px;
  margin: 0;
  color: var(--slate-500);
  font-size: 1.02rem;
}

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

.category-card {
  min-height: 11rem;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid rgba(8, 39, 93, 0.08);
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(8, 39, 93, 0.08);
}

.category-card:nth-child(3n + 1) {
  background: linear-gradient(160deg, var(--white), #eef7ff);
}

.category-card:nth-child(3n + 2) {
  background: linear-gradient(160deg, var(--white), #f7fbff);
}

.category-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  border-radius: 1rem;
  place-items: center;
  font-weight: 950;
}

.category-card h3 {
  margin: 1.25rem 0 0.4rem;
  color: var(--navy-950);
  font-size: 1.05rem;
}

.category-card p {
  margin: 0;
  color: var(--slate-500);
  font-size: 0.92rem;
}

.platform-band {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.platform-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.platform-band .section-kicker,
.platform-band h2 {
  color: var(--white);
}

.platform-band .section-intro {
  color: rgba(255, 255, 255, 0.68);
}

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

.platform-card {
  min-height: 10rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.4rem;
}

.platform-card strong {
  display: block;
  color: var(--aqua);
  font-size: 1.1rem;
}

.platform-card span {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: process;
}

.process-step {
  position: relative;
  min-height: 15rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(8, 39, 93, 0.08);
  border-radius: 1.6rem;
  box-shadow: 0 20px 44px rgba(8, 39, 93, 0.07);
  counter-increment: process;
}

.process-step::before {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  margin-bottom: 3rem;
  color: var(--white);
  content: counter(process, decimal-leading-zero);
  background: var(--navy-900);
  border-radius: 999px;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 950;
}

.process-step h3 {
  margin: 0 0 0.45rem;
  color: var(--navy-950);
  font-size: 1.1rem;
}

.process-step p {
  margin: 0;
  color: var(--slate-500);
}

.brand-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 1.1rem;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid rgba(8, 39, 93, 0.08);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(8, 39, 93, 0.06);
  font-weight: 900;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 0%, rgba(84, 215, 255, 0.32), transparent 24rem),
    linear-gradient(135deg, var(--navy-950), var(--navy-700));
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  color: var(--white);
}

.cta-panel p {
  max-width: 620px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: rgba(255, 255, 255, 0.68);
  background: var(--navy-950);
}

.footer-logo img {
  width: 210px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .brand-top-inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero-grid,
  .platform-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .category-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: relative;
  }

  .site-logo img {
    width: 205px;
  }

  .nav-cta {
    width: 100%;
  }

  .header-actions {
    width: 100%;
  }

  .portal-link,
  .header-actions .nav-cta {
    flex: 1;
  }

  .hero-grid {
    padding-top: 3rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 17vw, 4.4rem);
  }

  .trust-row,
  .brand-logo-strip,
  .category-grid,
  .platform-cards,
  .process {
    grid-template-columns: 1fr;
  }

  .brand-logo-card {
    justify-content: center;
  }

  .deal-card {
    grid-template-columns: auto 1fr;
  }

  .profit {
    grid-column: 1 / -1;
    text-align: left;
  }
}
