/* ==========================================================================
   CRAFTEDTECH — HOMEPAGE STYLING v2.0
   Every section unique. Every pixel intentional.
   ========================================================================== */

/* ==========================================================================
   1. CINEMATIC HERO SECTION
   ========================================================================== */
.ct-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + var(--nav-top) + 40px) 6% 0;
  background: var(--bg);
}

.ct-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 900px;
  max-height: 900px;
  background: radial-gradient(circle at center,
    rgba(var(--azure-rgb), 0.06) 0%,
    rgba(var(--cyan-rgb), 0.03) 40%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.ct-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hero Content (Left) */
.ct-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 6rem;
  max-width: 540px;
}

.ct-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.ct-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-muted);
}

.ct-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 400;
  line-height: 0.97;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 2rem;
}

.ct-hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--azure);
}

.ct-hero-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 400px;
}

.ct-hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ct-hero-trust {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.ct-hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ct-hero-trust-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.ct-hero-trust-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Hero Visual (Right) */
.ct-hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 70vh;
}

.ct-hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at center,
    rgba(var(--azure-rgb), 0.12) 0%,
    rgba(var(--cyan-rgb), 0.06) 50%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
}

.ct-hero-product {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  animation: floatSlow 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 80px rgba(10,10,11,0.15));
  position: relative;
  z-index: 2;
  cursor: none;
  transition: filter var(--t-med);
}

body.dark .ct-hero-product {
  filter: drop-shadow(0 40px 80px rgba(26,86,255,0.12));
}

.ct-hero-specs {
  position: absolute;
  bottom: 12%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 3;
}

.ct-hero-spec-item {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.ct-spec-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.ct-spec-label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Scroll hint */
.ct-hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 6%;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.ct-scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.ct-scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--azure);
  animation: scrollLine 2s var(--ease-out) infinite;
}

@keyframes scrollLine {
  0%   { left: -100%; }
  100% { left: 100%; }
}

@media (max-width: 1024px) {
  .ct-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 5rem;
    padding-top: calc(var(--nav-h) + var(--nav-top) + 2rem);
    text-align: center;
  }
  .ct-hero-content {
    max-width: 100%;
    padding-bottom: 3rem;
  }
  .ct-hero-sub { max-width: 100%; }
  .ct-hero-ctas { justify-content: center; }
  .ct-hero-trust { justify-content: center; }
  .ct-hero-visual { min-height: 50vw; }
  .ct-hero-specs { flex-direction: row; bottom: -2rem; right: auto; left: 50%; transform: translateX(-50%); }
  .ct-hero-scroll-hint { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .ct-hero-headline { font-size: clamp(2.8rem, 10vw, 5rem); }
  .ct-hero-specs { display: none; }
  .ct-hero-scroll-hint { display: none; }
}

/* ==========================================================================
   2. BRAND MANIFESTO SECTION
   ========================================================================== */
.ct-manifesto {
  background: var(--ink);
  padding: 8rem 6%;
  position: relative;
  overflow: hidden;
}

body.dark .ct-manifesto { background: #06060A; }

.ct-manifesto::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle,
    rgba(var(--azure-rgb), 0.08) 0%,
    transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.ct-manifesto-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ct-manifesto .ct-eyebrow { color: rgba(255,255,255,0.3); }

.ct-manifesto-text {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 2.5rem;
}

.ct-manifesto-text em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, var(--azure), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ct-manifesto-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.45);
  max-width: 580px;
  line-height: 1.75;
}

/* ==========================================================================
   3. EDITORIAL CATEGORY TILES
   ========================================================================== */
.ct-categories {
  padding: 8rem 6%;
  background: var(--bg);
}

.ct-categories-header {
  max-width: 1360px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.ct-categories-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
}

/* Asymmetric 3-column grid */
.ct-categories-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr;
  grid-template-rows: 580px;
  gap: 1.25rem;
}

.ct-cat-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ct-cat-tile {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-med) var(--ease-spring),
              box-shadow var(--t-med) var(--ease-out);
}

.ct-cat-tile:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-xl);
}

.ct-cat-col .ct-cat-tile { flex: 1; }

.ct-cat-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-xslow) var(--ease-out);
}

.ct-cat-tile:hover img { transform: scale(1.04); }

.ct-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 11, 0.75) 0%,
    rgba(10, 10, 11, 0.2) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  color: var(--white);
  transition: background var(--t-med) var(--ease-out);
}

.ct-cat-tile:hover .ct-cat-overlay {
  background: linear-gradient(
    to top,
    rgba(10, 10, 11, 0.85) 0%,
    rgba(10, 10, 11, 0.3) 60%,
    transparent 100%
  );
}

.ct-cat-overlay h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.ct-cat-overlay p {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.ct-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast), gap var(--t-fast) var(--ease-spring);
}

.ct-cat-tile:hover .ct-cat-link { color: var(--white); gap: 10px; }

@media (max-width: 1024px) {
  .ct-categories-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .ct-cat-tile { height: 400px; }
  .ct-cat-col .ct-cat-tile { height: 190px; }
}

@media (max-width: 640px) {
  .ct-categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .ct-cat-tile { height: 320px; }
  .ct-cat-col { flex-direction: column; gap: 1rem; }
  .ct-cat-col .ct-cat-tile { height: 240px; }
}

/* ==========================================================================
   4. FLAGSHIP EDITORIAL SHOWCASE
   ========================================================================== */
.ct-flagship {
  background: var(--stone);
  padding: 0;
  overflow: hidden;
}

body.dark .ct-flagship { background: var(--bg-surface); }

.ct-flagship-inner {
  max-width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 70vh;
  align-items: stretch;
}

/* Visual panel */
.ct-flagship-visual {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.ct-flagship-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-xslow) var(--ease-out);
}

.ct-flagship:hover .ct-flagship-visual img { transform: scale(1.02); }

/* Content panel */
.ct-flagship-content {
  padding: 6rem 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg-card);
}

body.dark .ct-flagship-content { background: var(--bg-deep); }

.ct-flagship-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.ct-flagship-content p {
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 420px;
}

.ct-flagship-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.ct-stat-item {
  padding: 1.25rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.ct-stat-item:last-child { border-right: none; }

.ct-stat-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.ct-stat-lbl {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .ct-flagship-inner {
    grid-template-columns: 1fr;
  }
  .ct-flagship-visual { min-height: 50vw; }
  .ct-flagship-content { padding: 4rem 6%; }
  .ct-flagship-content p { max-width: 100%; }
}

/* ==========================================================================
   5. CRAFT STORY (3 Chapters)
   ========================================================================== */
.ct-craft-story {
  background: var(--ink);
  padding: 8rem 6%;
  position: relative;
  overflow: hidden;
}

body.dark .ct-craft-story { background: #06060A; }

.ct-craft-story::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle,
    rgba(var(--cyan-rgb), 0.05) 0%,
    transparent 65%);
  border-radius: 50%;
}

.ct-craft-header {
  max-width: 1360px;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 1;
}

.ct-craft-header .ct-eyebrow { color: rgba(255,255,255,0.3); }

.ct-craft-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.02em;
}

.ct-craft-inner {
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.ct-craft-chapter {
  padding: 3.5rem 3rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
  transition: background var(--t-med) var(--ease-out);
}

.ct-craft-chapter:last-child { border-right: none; }

.ct-craft-chapter:hover { background: rgba(255,255,255,0.02); }

.ct-craft-num {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  transition: color var(--t-med);
}

.ct-craft-chapter:hover .ct-craft-num { color: rgba(var(--azure-rgb), 0.2); }

.ct-craft-chapter h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.ct-craft-chapter p {
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  line-height: 1.75;
}

.ct-craft-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  margin-top: 2rem;
  transition: background var(--t-med);
}

.ct-craft-chapter:hover .ct-craft-dot { background: var(--azure); }

@media (max-width: 1024px) {
  .ct-craft-inner { grid-template-columns: 1fr; }
  .ct-craft-chapter { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .ct-craft-chapter:last-child { border-bottom: none; }
  .ct-craft-chapter { padding: 2.5rem; }
}

/* ==========================================================================
   6. PRODUCT MOSAIC (Bento-style)
   ========================================================================== */
.ct-mosaic {
  padding: 8rem 6%;
  background: var(--bg);
}

.ct-mosaic-header {
  max-width: 1360px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.ct-mosaic-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
}

/* The dynamically generated product grid lives here */
#trending-products,
#new-arrivals,
#gaming-collection,
#ai-recommended {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 480px) {
  #trending-products,
  #new-arrivals,
  #gaming-collection,
  #ai-recommended {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* ==========================================================================
   7. INNOVATION STRIP
   ========================================================================== */
.ct-innovation {
  background: var(--stone);
  padding: 7rem 6%;
  overflow: hidden;
  position: relative;
}

body.dark .ct-innovation { background: var(--bg-surface); }

.ct-innovation-header {
  max-width: 1360px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.ct-innovation-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
}

.ct-innovation-strip {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.ct-innovation-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform var(--t-med) var(--ease-spring),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med);
  overflow: hidden;
}

.ct-innovation-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--azure), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}

.ct-innovation-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-azure);
}

.ct-innovation-card:hover::before { transform: scaleX(1); }

.ct-innovation-icon {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--azure);
  line-height: 1;
}

.ct-innovation-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.ct-innovation-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 1024px) { .ct-innovation-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .ct-innovation-strip { grid-template-columns: 1fr; } }

/* ==========================================================================
   8. TESTIMONIALS (Magazine Pullquote Style)
   ========================================================================== */
.ct-testimonials {
  padding: 8rem 6%;
  background: var(--bg);
}

.ct-testimonials-header {
  max-width: 1360px;
  margin: 0 auto 4rem;
}

.ct-testimonials-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
}

.ct-testimonials-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

/* Large featured testimonial */
.ct-testimonial-featured {
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

body.dark .ct-testimonial-featured { background: var(--bg-deep); border: 1px solid var(--border); }

.ct-testimonial-featured::before {
  content: '\201C';
  position: absolute;
  top: -1rem;
  left: 2.5rem;
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}

.ct-testimonial-featured .ct-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.ct-testimonial-featured .ct-reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.ct-reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--border);
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.1);
}

.ct-reviewer-avatar img { width: 100%; height: 100%; object-fit: cover; }

.ct-reviewer-info h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.ct-reviewer-info span { font-size: 0.78rem; color: rgba(255,255,255,0.4); font-family: var(--font-sans); }

.ct-reviewer-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}

.ct-reviewer-stars svg { fill: #F59E0B; color: #F59E0B; }

/* Smaller testimonial cards */
.ct-testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease-spring),
              box-shadow var(--t-med) var(--ease-out);
}

.ct-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ct-testimonial-card .ct-quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.ct-testimonial-card .ct-reviewer {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.ct-testimonial-card .ct-reviewer-avatar {
  border-color: var(--border);
  width: 42px;
  height: 42px;
}

.ct-testimonial-card .ct-reviewer-info h4 {
  font-size: 0.875rem;
  color: var(--text);
}

.ct-testimonial-card .ct-reviewer-info span { color: var(--text-muted); }

.ct-testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(var(--azure-rgb), 0.05);
  line-height: 1;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .ct-testimonials-grid { grid-template-columns: 1fr 1fr; }
  .ct-testimonial-featured { grid-column: span 2; }
}

@media (max-width: 640px) {
  .ct-testimonials-grid { grid-template-columns: 1fr; }
  .ct-testimonial-featured { grid-column: span 1; }
  .ct-testimonial-featured { padding: 2.5rem; }
}

/* ==========================================================================
   9. STATS COUNTER (kept functional, restyled)
   ========================================================================== */
.stats-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}

@media (max-width: 992px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { 
  .stats-grid { grid-template-columns: 1fr; } 
  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 2rem 1.5rem !important;
  }
  .stat-card:last-child {
    border-bottom: none !important;
  }
}

.stat-card {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  transition: background var(--t-med);
}

.stat-card:nth-child(4n) { border-right: none; }
.stat-card:hover { background: var(--bg-surface); }

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(var(--azure-rgb), 0.06);
  color: var(--azure);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-lbl {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ==========================================================================
   10. NEWSLETTER STRIP
   ========================================================================== */
.ct-newsletter {
  background: var(--azure);
  padding: 6rem 6%;
  position: relative;
  overflow: hidden;
}

.ct-newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60vw;
  height: 200%;
  background: radial-gradient(circle,
    rgba(255,255,255,0.07) 0%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ct-newsletter-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.ct-newsletter .ct-eyebrow {
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.ct-newsletter-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.ct-newsletter-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.ct-newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.ct-newsletter-form input {
  flex: 1;
  padding: 0.95rem 1.25rem;
  font-size: 0.9rem;
  color: var(--white);
  background: transparent;
}

.ct-newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }

.ct-newsletter-form button {
  padding: 0 1.75rem;
  background: var(--white);
  color: var(--azure);
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}

.ct-newsletter-form button:hover {
  background: var(--stone);
}

/* ==========================================================================
   11. FAQ (restyled minimal)
   ========================================================================== */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq-item {
  background: var(--bg-card);
  border: none;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background var(--t-fast);
}

.faq-header:hover { background: var(--bg-surface); }

.faq-header h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.faq-header svg {
  transition: transform var(--t-med) var(--ease-out);
  color: var(--text-muted);
  flex-shrink: 0;
}

.faq-item.active .faq-header svg { transform: rotate(180deg); color: var(--azure); }

.faq-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease-out),
              padding var(--t-med) var(--ease-out);
}

.faq-item.active .faq-content { padding: 0 2rem 1.5rem; max-height: 300px; }
.faq-content p { font-size: 0.9rem; color: var(--text-soft); line-height: 1.75; }

/* ==========================================================================
   12. DEALS SECTION (Refactored)
   ========================================================================== */
.deals-container {
  max-width: 1360px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 5rem 6%;
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

body.dark .deals-container { background: var(--bg-deep); border: 1px solid var(--border); }

.deals-container::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(var(--azure-rgb), 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

@media (max-width: 992px) { 
  .deals-container { 
    grid-template-columns: 1fr; 
    padding: 3.5rem 2rem; 
    gap: 3rem; 
  } 
}
@media (max-width: 480px) {
  .deals-container {
    padding: 2.5rem 1.25rem !important;
    gap: 2rem !important;
    border-radius: var(--r-lg) !important;
  }
  .deals-info {
    text-align: center !important;
  }
  .deals-info div[style*="display:flex"] {
    justify-content: center !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }
  .deals-info button,
  .deals-info a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
  }
}

.deals-info h3 { color: var(--white); font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; margin-bottom: 1rem; letter-spacing: -0.02em; }
.deals-info p { color: rgba(255,255,255,0.45); margin-bottom: 2rem; }

.countdown-box { display: flex; gap: 1rem; margin-bottom: 2.5rem; }

.countdown-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  width: 80px; height: 80px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

.countdown-num { font-family: var(--font-display); font-size: 2rem; font-weight: 500; color: var(--cyan); line-height: 1; }
.countdown-lbl { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-top: 4px; }

.deals-image { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.deals-image img { max-height: 380px; max-width: 100%; height: auto; animation: floatSlow 7s ease-in-out infinite; position: relative; z-index: 2; }
.deals-glow-bg { position: absolute; width: 280px; height: 280px; background: var(--cyan); filter: blur(100px); opacity: 0.12; z-index: 1; border-radius: 50%; }

@media (max-width: 480px) {
  .countdown-box {
    gap: 8px !important;
    margin-bottom: 2rem !important;
    justify-content: center !important;
  }
  .countdown-item {
    width: 60px !important;
    height: 60px !important;
    border-radius: var(--r-sm) !important;
  }
  .countdown-num {
    font-size: 1.35rem !important;
  }
  .countdown-lbl {
    font-size: 0.5rem !important;
    margin-top: 2px !important;
  }
}


/* ==========================================================================
   HOMEPAGE LAYOUT MISC
   ========================================================================== */

/* Announcement bar badge adjustment */
.badge-sale, .badge-new, .badge-hot {
  padding: 3px 9px;
  font-size: 0.62rem;
}

/* Page body spacing (account for fixed nav + bar) */
body.home-page {
  padding-top: 0;
}

/* Gaming / AI Rec sections (kept, restyled) */
.ct-collection-section {
  padding: 7rem 6%;
  background: var(--stone);
}

body.dark .ct-collection-section { background: var(--bg-surface); }

/* Brands ticker, legacy */
.brands-ticker-wrap { background: var(--bg-card); }
body.dark .brands-ticker-wrap { background: var(--bg-deep); }
