/*
 * AIWEKO Homepage Styles — Original Design
 * Matches the original design mockup exactly.
 * Prefix: aiweko- to avoid WordPress theme conflicts.
 */

/* ===== CSS Custom Properties ===== */
:root {
  --aiweko-primary: #0A5CB8;
  --aiweko-secondary: #00A878;
  --aiweko-accent: #F5A623;
  --aiweko-dark: #0D1B2A;
  --aiweko-energy: #E85D3D;
  --aiweko-materials: #1D9E75;
  --aiweko-smart: #5B4CE8;
  --aiweko-max: 1200px;
  --aiweko-r-sm: 6px;
  --aiweko-r-md: 10px;
  --aiweko-r-lg: 16px;
}

/* ===== HEADER ===== */
.aiweko-header {
  background: var(--aiweko-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.aiweko-header-top {
  background: #0a1a2e;
  padding: 6px 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #fff;
}
.aiweko-header-top a {
  color: #fff;
  transition: color 0.2s;
}
.aiweko-header-top a:hover {
  color: #fff;
}
.aiweko-lang-switcher {
  display: flex;
  gap: 0.75rem;
}
.aiweko-lang-btn {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 0.78rem;
  transition: all 0.2s;
  font-family: inherit;
}
.aiweko-lang-btn:hover,
.aiweko-lang-btn.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.85);
}
.aiweko-header-main {
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--aiweko-max);
  margin: 0 auto;
  height: 64px;
}
.aiweko-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.aiweko-logo span {
  color: var(--aiweko-secondary);
}
.aiweko-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.aiweko-nav a {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: var(--aiweko-r-sm);
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none;
}
.aiweko-nav a:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.aiweko-nav-cta {
  background: var(--aiweko-secondary) !important;
  color: #fff !important;
}
.aiweko-nav-cta:hover {
  background: #008a62 !important;
}

/* ===== Reset for front-page sections ===== */
.aiweko-hero,
.aiweko-trust-bar,
.aiweko-categories-section,
.aiweko-split-section,
.aiweko-payment-section,
.aiweko-rfq-section,
.aiweko-why-section,
.aiweko-cta-section,
.aiweko-footer {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Container ===== */
.aiweko-container {
  max-width: var(--aiweko-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HERO ===== */
.aiweko-hero {
  background: linear-gradient(135deg, #0D1B2A 0%, #0A5CB8 55%, #00A878 100%);
  padding: 100px 2rem 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.aiweko-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(10,92,184,0.4) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(0,168,120,0.3) 0%, transparent 60%);
}
.aiweko-hero > * {
  position: relative;
}
.aiweko-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 5px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: #fff;
}
.aiweko-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #fff;
  max-width: 820px;
  margin: 0 auto 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
.aiweko-hero h1 em {
  font-style: normal;
  color: #b8f5e0;
}
.aiweko-hero > p {
  font-size: 1.1rem;
  color: #fff;
  max-width: 580px;
  margin: 0 auto 2.5rem;
}

/* Hero CTA buttons */
.aiweko-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.aiweko-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--aiweko-r-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  font-family: inherit;
}
.aiweko-btn-primary {
  background: var(--aiweko-secondary);
  color: #fff;
}
.aiweko-btn-primary:hover {
  background: #008a62;
  transform: translateY(-1px);
  color: #fff;
}
.aiweko-btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
  font-weight: 600;
}
.aiweko-btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}
.aiweko-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
  font-weight: 600;
}
.aiweko-btn-outline-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}
.aiweko-btn-white {
  background: #fff;
  color: var(--aiweko-primary);
}
.aiweko-btn-white:hover {
  background: #f0f4ff;
  color: var(--aiweko-primary);
}
.aiweko-btn-b2c {
  background: #00C853;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,200,83,0.3);
}
.aiweko-btn-b2c:hover {
  background: #00E676;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,200,83,0.4);
}
.aiweko-btn-b2b {
  background: #1976D2;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(25,118,210,0.3);
}
.aiweko-btn-b2b:hover {
  background: #1565C0;
  color: #fff;
  box-shadow: 0 6px 20px rgba(25,118,210,0.4);
}
.aiweko-btn-full {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
}

/* Hero stats */
.aiweko-hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.aiweko-hero-stat {
  text-align: center;
}
.aiweko-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.aiweko-label {
  font-size: 0.82rem;
  color: #fff;
  margin-top: 2px;
}

/* ===== TRUST BAR ===== */
.aiweko-trust-bar {
  background: #0a1528;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.aiweko-trust-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-size: 0.83rem;
}
.aiweko-trust-icon {
  font-size: 1.1rem;
}

/* ===== SECTION HEADER ===== */
.aiweko-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.aiweko-section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: #0D1B2A;
}
.aiweko-section-header p {
  color: #6b7280;
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* ===== CATEGORY CARDS ===== */
.aiweko-categories-section {
  padding: 5rem 2rem;
}
.aiweko-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.aiweko-cat-card {
  border: 1.5px solid #e5e7eb;
  border-radius: var(--aiweko-r-lg);
  padding: 2rem;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.aiweko-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.aiweko-energy::before   { background: var(--aiweko-energy); }
.aiweko-materials::before { background: var(--aiweko-materials); }
.aiweko-smart::before    { background: var(--aiweko-smart); }
.aiweko-cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.aiweko-energy:hover    { border-color: var(--aiweko-energy); }
.aiweko-materials:hover { border-color: var(--aiweko-materials); }
.aiweko-smart:hover     { border-color: var(--aiweko-smart); }
.aiweko-cat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--aiweko-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 1.25rem;
}
.aiweko-energy .aiweko-cat-icon    { background: #fff5f2; }
.aiweko-materials .aiweko-cat-icon { background: #f0faf5; }
.aiweko-smart .aiweko-cat-icon     { background: #f2f0fe; }
.aiweko-cat-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.aiweko-cat-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.aiweko-cat-card > p {
  font-size: 0.88rem;
  color: #6b7280;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Sub-categories list */
.aiweko-subcat-list {
  list-style: none;
  margin: 0.75rem 0 1.25rem;
  padding: 0;
}
.aiweko-subcat-list li {
  padding: 0.35rem 0;
  font-size: 0.83rem;
  color: #6b7280;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.aiweko-subcat-list li::before {
  content: '›';
  color: #d1d5db;
}

/* Tags */
.aiweko-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.aiweko-tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
}
.aiweko-energy .aiweko-tag    { background: #fff5f2; color: var(--aiweko-energy); border: 1px solid #f9c0af; }
.aiweko-materials .aiweko-tag { background: #f0faf5; color: var(--aiweko-materials); border: 1px solid #9fe1cb; }
.aiweko-smart .aiweko-tag     { background: #f2f0fe; color: var(--aiweko-smart); border: 1px solid #cec8f9; }

/* Category link */
.aiweko-cat-link {
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.aiweko-energy .aiweko-cat-link    { color: var(--aiweko-energy); }
.aiweko-materials .aiweko-cat-link { color: var(--aiweko-materials); }
.aiweko-smart .aiweko-cat-link     { color: var(--aiweko-smart); }

/* ===== B2B/B2C SPLIT ===== */
.aiweko-split-section {
  padding: 5rem 2rem;
  background: #f0f4f8;
}
.aiweko-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.aiweko-split-card {
  background: #fff;
  border-radius: var(--aiweko-r-lg);
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.aiweko-split-card__header {
  padding: 2.5rem;
  color: #fff;
}
.aiweko-split-card__header.aiweko-b2c {
  background: linear-gradient(135deg, #00A878, #0D1B2A);
}
.aiweko-split-card__header.aiweko-b2b {
  background: linear-gradient(135deg, #0A5CB8, #0D1B2A);
}
.aiweko-split-emoji {
  font-size: 2.5rem;
}
.aiweko-split-card-head h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0.75rem 0 0.5rem;
}
.aiweko-split-card-head p {
  color: #fff;
  font-size: 0.9rem;
}
.aiweko-split-card-body {
  padding: 2rem;
}

/* Feature list */
.aiweko-feature-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}
.aiweko-feature-list li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid #f3f4f6;
}
.aiweko-check-b2c {
  color: var(--aiweko-secondary);
  font-weight: 700;
}
.aiweko-check-b2b {
  color: var(--aiweko-primary);
  font-weight: 700;
}

/* ===== PAYMENT SECTION ===== */
.aiweko-payment-section {
  padding: 4rem 2rem;
}
.aiweko-payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.aiweko-payment-methods h3,
.aiweko-shipping-methods h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--aiweko-primary);
}
.aiweko-shipping-title {
  margin-top: 1.5rem;
}
.aiweko-method-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.aiweko-method-item {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: var(--aiweko-r-sm);
  padding: 0.85rem;
}
.aiweko-m-icon {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.aiweko-method-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.aiweko-method-item p {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
}

/* Incoterms */
.aiweko-incoterms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.aiweko-inco-badge {
  background: #eff6ff;
  color: var(--aiweko-primary);
  border: 1px solid #bfdbfe;
  border-radius: var(--aiweko-r-sm);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== RFQ FORM ===== */
.aiweko-rfq-section {
  padding: 5rem 2rem;
  background: #f8fafc;
}
.aiweko-rfq-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.aiweko-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.aiweko-form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.aiweko-form-group {
  margin-bottom: 1rem;
}
.aiweko-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: #374151;
}
.aiweko-form-group input,
.aiweko-form-group select,
.aiweko-form-group textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}
.aiweko-form-group textarea {
  resize: vertical;
}
.aiweko-btn-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}
.aiweko-form-note {
  font-size: 0.78rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 0.75rem;
}

/* ===== WHY US ===== */
.aiweko-section--dark {
  padding: 5rem 2rem;
  background: var(--aiweko-dark);
}
.aiweko-section--dark .aiweko-section-header h2 {
  color: #fff;
}
.aiweko-section--dark .aiweko-section-header p {
  color: #fff;
}
.aiweko-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.aiweko-reason-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--aiweko-r-lg);
  padding: 1.75rem;
  transition: background 0.2s;
}
.aiweko-why-card:hover {
  background: rgba(255,255,255,0.08);
}
.aiweko-reason-card .reason-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.aiweko-reason-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.aiweko-reason-card p {
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

/* ===== CTA ===== */
.aiweko-cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0A5CB8, #00A878);
  text-align: center;
  color: #fff;
}
.aiweko-cta-section h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.aiweko-cta-section > p {
  color: #fff;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}
.aiweko-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.aiweko-footer {
  background: #0a1a2e;
  color: #fff;
}
.aiweko-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 2rem 2rem;
  max-width: var(--aiweko-max);
  margin: 0 auto;
}
.aiweko-footer-brand .aiweko-logo {
  font-size: 1.3rem;
  display: inline-block;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.aiweko-footer-brand .aiweko-logo span {
  color: #00A878;
}
.aiweko-footer-brand > p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.aiweko-cert-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.aiweko-cert-badge {
  font-size: 0.72rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}
.aiweko-footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}
.aiweko-footer-col ul {
  list-style: none;
  padding: 0;
}
.aiweko-footer-col ul li {
  margin-bottom: 0.5rem;
}
.aiweko-footer-col ul li a {
  font-size: 0.85rem;
  color: #fff;
  transition: color 0.2s;
  text-decoration: none;
}
.aiweko-footer-col ul li a:hover {
  color: #fff;
}
.aiweko-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem;
  max-width: var(--aiweko-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #fff;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== LANGUAGE MODAL ===== */
.aiweko-lang-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.aiweko-lang-modal-overlay.aiweko-open {
  opacity: 1;
  pointer-events: all;
}
.aiweko-lang-modal {
  background: #fff;
  border-radius: var(--aiweko-r-lg);
  padding: 2.5rem;
  max-width: 460px;
  width: 90%;
}
.aiweko-lang-modal h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.aiweko-lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.aiweko-lang-option {
  padding: 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: var(--aiweko-r-md);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.aiweko-lang-option:hover {
  border-color: var(--aiweko-primary);
}
.aiweko-lang-option.active {
  border-color: var(--aiweko-primary);
  background: #eff6ff;
}
.aiweko-lang-flag {
  font-size: 1.5rem;
}
.aiweko-lang-info strong {
  display: block;
  font-size: 0.9rem;
}
.aiweko-lang-info span {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* ===== SCROLL TO TOP ===== */
.aiweko-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--aiweko-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(10,92,184,0.4);
}
.aiweko-scroll-top.aiweko-show {
  opacity: 1;
}

/* ===== RESPONSIVE — Tablet ===== */
@media (max-width: 900px) {
  .aiweko-category-grid,
  .aiweko-reasons {
    grid-template-columns: 1fr 1fr;
  }
  .aiweko-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .aiweko-form-row-3 {
    grid-template-columns: 1fr 1fr;
  }

  /* Text visibility fixes for 900px */
  body .aiweko-split-section .aiweko-split-card .aiweko-split-card-head h2 { color: #fff !important; font-weight: 700; }
  body .aiweko-split-section .aiweko-split-card .aiweko-split-card-head p { color: #fff !important; font-weight: 600; }
  body .aiweko-section--dark .aiweko-why-grid .aiweko-reason-card h3 { color: #fff !important; font-weight: 700; }
  body .aiweko-section--dark .aiweko-why-grid .aiweko-reason-card p { color: #fff !important; font-weight: 500; }
  body .aiweko-cta-section h2 { color: #fff !important; font-weight: 700; }
  body .aiweko-cta-section > p { color: #fff !important; font-weight: 600; }
}

/* ===== RESPONSIVE — Mobile ===== */
@media (max-width: 640px) {
  .aiweko-category-grid,
  .aiweko-why-grid,
  .aiweko-split-grid,
  .aiweko-payment-grid,
  .aiweko-footer-grid {
    grid-template-columns: 1fr;
  }
  .aiweko-hero h1 {
    font-size: 1.9rem;
  }
  .aiweko-trust-bar {
    gap: 1.5rem;
  }
  .aiweko-method-items {
    grid-template-columns: 1fr;
  }
  .aiweko-form-row-2,
  .aiweko-form-row-3 {
    grid-template-columns: 1fr;
  }
  .aiweko-rfq-form-wrapper {
    padding: 1.5rem;
  }

  /* Text visibility fixes for 640px */
  body .aiweko-split-section .aiweko-split-card .aiweko-split-card-head h2 { color: #fff !important; font-weight: 700; }
  body .aiweko-split-section .aiweko-split-card .aiweko-split-card-head p { color: #fff !important; font-weight: 600; }
  body .aiweko-section--dark .aiweko-why-grid .aiweko-reason-card h3 { color: #fff !important; font-weight: 700; }
  body .aiweko-section--dark .aiweko-why-grid .aiweko-reason-card p { color: #fff !important; font-weight: 500; }
  body .aiweko-cta-section h2 { color: #fff !important; font-weight: 700; }
  body .aiweko-cta-section > p { color: #fff !important; font-weight: 600; }
}

/* ===== RESPONSIVE — Ensure dark bg fonts are bright on all devices ===== */
@media (max-width: 900px) {
  .aiweko-header-top {
    font-size: 0.72rem;
  }
  .aiweko-header-main {
    height: 56px;
  }
  .aiweko-logo {
    font-size: 1.2rem;
  }
  .aiweko-nav a {
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
  }
  .aiweko-trust-bar {
    gap: 1.5rem;
    padding: 1rem;
  }
  .aiweko-trust-item {
    font-size: 0.78rem;
  }
  .aiweko-reason-card {
    padding: 1.4rem;
  }
  .aiweko-footer-grid {
    padding: 3rem 1.5rem 2rem;
  }
}

@media (max-width: 640px) {
  .aiweko-header-top {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    font-size: 0.68rem;
  }
  .aiweko-header-main {
    padding: 0 1rem;
    height: 52px;
  }
  .aiweko-logo {
    font-size: 1.1rem;
  }
  .aiweko-nav {
    gap: 0.15rem;
  }
  .aiweko-nav a {
    padding: 0.3rem 0.55rem;
    font-size: 0.76rem;
  }
  .aiweko-trust-bar {
    gap: 1rem;
    padding: 0.8rem 0.5rem;
  }
  .aiweko-trust-item {
    font-size: 0.72rem;
  }
  .aiweko-section--dark {
    padding: 3rem 1rem;
  }
  .aiweko-reason-card {
    padding: 1.2rem;
  }
  .aiweko-cta-section {
    padding: 4rem 1rem;
  }
  .aiweko-footer-grid {
    padding: 2rem 1rem 1.5rem;
    gap: 1.5rem;
  }
  .aiweko-footer-bottom {
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ===== DARK BG TEXT ENFORCEMENT ===== */
/* Force all text on dark backgrounds to pure white for readability */
/* Using body prefix for higher specificity to override Astra theme */

body .aiweko-hero,
body .aiweko-hero h1,
body .aiweko-hero h1 em,
body .aiweko-hero .aiweko-hero-tag,
body .aiweko-hero .aiweko-hero-cta .aiweko-btn-outline,
body .aiweko-hero > p,
body .aiweko-hero .aiweko-label { color: #fff !important; font-weight: 600; }

body .aiweko-split-section .aiweko-split-card .aiweko-split-card-head,
body .aiweko-split-section .aiweko-split-card .aiweko-split-card-head h2 { color: #fff !important; font-weight: 700; }
body .aiweko-split-section .aiweko-split-card .aiweko-split-card-head p { color: #fff !important; font-weight: 600; }

body .aiweko-trust-bar,
body .aiweko-trust-bar .aiweko-trust-item { color: #fff !important; font-weight: 600; }

body .aiweko-section--dark,
body .aiweko-section--dark h2 { color: #fff !important; font-weight: 700; }
body .aiweko-section--dark .aiweko-section-header p { color: #fff !important; font-weight: 600; }
body .aiweko-section--dark .aiweko-reasons .aiweko-reason-card h3 { color: #fff !important; font-weight: 700; }
body .aiweko-section--dark .aiweko-reasons .aiweko-reason-card p { color: #fff !important; font-weight: 500; }

body .aiweko-cta-section,
body .aiweko-cta-section h2 { color: #fff !important; font-weight: 700; }
body .aiweko-cta-section > p { color: #fff !important; font-weight: 600; }

body .aiweko-footer,
body .aiweko-footer h3 { color: #fff !important; font-weight: 700; }
body .aiweko-footer p,
body .aiweko-footer a,
body .aiweko-footer .aiweko-footer-brand > p,
body .aiweko-footer .aiweko-footer-col ul li a,
body .aiweko-footer .aiweko-footer-bottom { color: #fff !important; font-weight: 500; }

body .aiweko-header-top,
body .aiweko-header-top a,
body .aiweko-header-main .aiweko-logo,
body .aiweko-header-main .aiweko-nav a,
body .aiweko-header .aiweko-lang-btn,
body .aiweko-header .aiweko-cert-badge { color: #fff !important; font-weight: 600; }

@media (max-width: 900px) {
  body .aiweko-hero,
  body .aiweko-hero h1,
  body .aiweko-hero h1 em,
  body .aiweko-hero .aiweko-hero-tag,
  body .aiweko-hero .aiweko-hero-cta .aiweko-btn-outline,
  body .aiweko-hero > p,
  body .aiweko-hero .aiweko-label { color: #fff !important; font-weight: 600; }
  body .aiweko-trust-bar .aiweko-trust-item { color: #fff !important; font-weight: 600; }
  body .aiweko-section--dark .aiweko-why-grid .aiweko-reason-card h3 { color: #fff !important; font-weight: 700; }
  body .aiweko-section--dark .aiweko-why-grid .aiweko-reason-card p { color: #fff !important; font-weight: 500; }
  body .aiweko-cta-section h2 { color: #fff !important; font-weight: 700; }
  body .aiweko-cta-section > p { color: #fff !important; font-weight: 600; }
  body .aiweko-footer h3,
  body .aiweko-footer,
  body .aiweko-footer a { color: #fff !important; font-weight: 600; }
  body .aiweko-header-top,
  body .aiweko-header-top a { color: #fff !important; font-weight: 600; }
}

/* Mobile */
@media (max-width: 640px) {
  body .aiweko-hero,
  body .aiweko-hero h1,
  body .aiweko-hero h1 em,
  body .aiweko-hero .aiweko-hero-tag,
  body .aiweko-hero .aiweko-hero-cta .aiweko-btn-outline,
  body .aiweko-hero > p,
  body .aiweko-hero .aiweko-label { color: #fff !important; font-weight: 600; }
  body .aiweko-trust-bar .aiweko-trust-item { color: #fff !important; font-weight: 600; }
  body .aiweko-section--dark .aiweko-why-grid .aiweko-reason-card h3 { color: #fff !important; font-weight: 700; }
  body .aiweko-section--dark .aiweko-why-grid .aiweko-reason-card p { color: #fff !important; font-weight: 500; }
  body .aiweko-cta-section h2 { color: #fff !important; font-weight: 700; }
  body .aiweko-cta-section > p { color: #fff !important; font-weight: 600; }
  body .aiweko-footer h3,
  body .aiweko-footer,
  body .aiweko-footer a { color: #fff !important; font-weight: 600; }
  body .aiweko-header-top,
  body .aiweko-header-top a { color: #fff !important; font-weight: 600; }
}
