/* ========================================
   WINNOW CHINA — SOLUTIONS PAGE STYLES
   Page: 03-solutions.html
   ======================================== */

/* ========================================
   SOLUTIONS HERO (matches about-hero style)
   ======================================== */
.solutions-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-bg);
}

.solutions-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.solutions-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.solutions-hero .container {
  position: relative;
  z-index: 2;
}

.solutions-hero .hero-content {
  max-width: 640px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 48px 48px;
  margin-top: 72px;
}

.solutions-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.2;
  margin-bottom: 20px;
}

.solutions-hero .hero-sub {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.solutions-hero .hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================
   THROW & GO ADVANTAGES (3-col cards)
   ======================================== */
.advantages-section {
  background: var(--white);
  padding: 100px 0;
}

.advantages-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(90, 80, 255, 0.1);
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(60, 40, 120, 0.15);
}

.advantage-card .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-card .card-icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.advantage-card h3 {
  font-size: 1.2rem;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================
   WORKFLOW (4-step horizontal)
   ======================================== */
.workflow-section {
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
  padding: 100px 0;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Connector line between steps */
.workflow-steps::before {
  content: '';
  position: absolute;
  top: 56px;
  left: calc(12.5% + 40px);
  right: calc(12.5% + 40px);
  height: 3px;
  background: linear-gradient(90deg, var(--blueberry), var(--orange));
  border-radius: 2px;
  z-index: 0;
}

.workflow-step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(90, 80, 255, 0.1);
  position: relative;
  z-index: 1;
}

.workflow-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(60, 40, 120, 0.15);
}

.step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--blueberry), var(--purple));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(90, 80, 255, 0.3);
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--blueberry);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-step h3 {
  font-size: 1.15rem;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 10px;
}

.workflow-step p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========================================
   PRODUCT SHOWCASE: VisionAI / VisionAI+
   ======================================== */
.products-section {
  background: var(--white);
  padding: 100px 0;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.product-showcase.reverse {
  direction: rtl;
}

.product-showcase.reverse > * {
  direction: ltr;
}

.product-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.product-content .tag {
  display: inline-block;
  background: var(--light-bg);
  color: var(--blueberry);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.product-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-content p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin-bottom: 24px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 8px;
}

.feature-list li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2rem;
  color: var(--blueberry);
  line-height: 1.8;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
.comparison-section {
  background: var(--light-bg);
  padding: 100px 0;
}

.comparison-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

.comparison-table thead th {
  padding: 24px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  vertical-align: middle;
}

.comparison-table thead th:first-child {
  background: var(--purple);
  text-align: left;
  width: 36%;
}

.comparison-table thead th:nth-child(2) {
  background: var(--blueberry);
  width: 32%;
}

.comparison-table thead th:nth-child(3) {
  background: var(--orange);
  width: 32%;
}

.comparison-table thead th .product-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 4px;
}

.comparison-table tbody td {
  padding: 18px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(90, 80, 255, 0.06);
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--purple);
}

.comparison-table tbody td:nth-child(2),
.comparison-table tbody td:nth-child(3) {
  text-align: center;
  color: var(--text-body);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background: var(--light-bg);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--green);
  border-radius: 50%;
}

.check-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--purple);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========================================
   WINNOW HUB (dark section)
   ======================================== */
.hub-section {
  background: linear-gradient(135deg, var(--dark-bg), var(--purple));
  padding: 100px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hub-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(90, 80, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hub-section .container {
  position: relative;
  z-index: 2;
}

.hub-header {
  text-align: center;
  margin-bottom: 56px;
}

.hub-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.hub-header p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hub-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.hub-feature {
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.hub-feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.hub-feature .feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.hub-feature h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.hub-feature p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.hub-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hub-screenshot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* Dashboard mockup placeholder */
.dashboard-mockup {
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #FF144B; }
.mockup-dot.yellow { background: #FFDC00; }
.mockup-dot.green { background: #00F0C8; }

.mockup-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.mockup-kpi {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.mockup-kpi .kpi-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.2;
}

.mockup-kpi .kpi-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

.mockup-chart {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 20px;
  height: 120px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.mockup-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: var(--transition);
}

/* ========================================
   RESPONSIVE — SOLUTIONS-ONLY
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .advantages-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .advantages-cards .advantage-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .workflow-steps::before {
    display: none;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-showcase.reverse {
    direction: ltr;
  }

  .hub-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hub-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .solutions-hero .hero-content {
    padding: 32px 24px;
    margin-top: 80px;
    margin-bottom: 60px;
  }

  .solutions-hero h1 {
    font-size: 2rem;
  }

  .advantages-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .advantages-cards .advantage-card:last-child {
    max-width: none;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .product-showcase {
    grid-template-columns: 1fr;
  }

  .comparison-table thead th {
    padding: 16px 12px;
    font-size: 0.85rem;
  }

  .comparison-table tbody td {
    padding: 14px 12px;
    font-size: 0.85rem;
  }

  .hub-features {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .mockup-kpis {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .mockup-kpi .kpi-value {
    font-size: 1.2rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .solutions-hero .hero-buttons {
    flex-direction: column;
  }

  .solutions-hero .hero-buttons .btn {
    width: 100%;
  }

  .comparison-table thead th:first-child {
    width: 30%;
  }

  .mockup-kpis {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
