/* ===================================
   AI Productivity Tool - Page Styles
   =================================== */

/* Productivity Hero */
.productivity-hero {
  padding: 100px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(107, 70, 255, 0.05) 0%, rgba(239, 71, 111, 0.03) 100%);
}

.hero-tagline {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  color: #6b46ff;
  margin: 16px 0;
}

.productivity-hero .sub {
  margin-top: 20px;
  max-width: 800px;
}

.productivity-hero .sub strong {
  color: #ef476f;
  font-weight: 700;
}

/* Workspace Section */
.workspace-section {
  background: white;
}

.workspace-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 1px solid rgba(16, 24, 40, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: white;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  transform: translateY(-4px);
  border-color: rgba(107, 70, 255, 0.2);
}

.benefit-icon {
  font-size: 24px;
  font-weight: 700;
  color: #3ddc97;
  min-width: 30px;
}

.benefit-item p {
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
  font-size: 15px;
}

/* Workflows Section */
.workflows-section {
  background: linear-gradient(180deg, rgba(107, 70, 255, 0.02) 0%, transparent 100%);
  padding: 60px 24px;
}

.workflow-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.workflow-tab {
  padding: 14px 28px;
  background: white;
  border: 2px solid rgba(16, 24, 40, 0.1);
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.workflow-tab:hover {
  border-color: #6b46ff;
  color: #6b46ff;
  background: rgba(107, 70, 255, 0.05);
  transform: translateY(-2px);
}

.workflow-tab.active {
  background: linear-gradient(135deg, #6b46ff, #ef476f);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(107, 70, 255, 0.3);
}

/* Features Grid Section */
.features-grid-section {
  background: white;
  padding: 80px 24px;
}

.features-category {
  margin-bottom: 60px;
}

.features-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 1px;
}

.category-icon {
  font-size: 32px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature-box {
  background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
  border: 2px solid rgba(16, 24, 40, 0.08);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-box:hover {
  background: white;
  border-color: #6b46ff;
  box-shadow: 0 8px 24px rgba(107, 70, 255, 0.15);
  transform: translateY(-6px);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.feature-box h4 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, rgba(107, 70, 255, 0.03), rgba(239, 71, 111, 0.03));
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.process-card {
  background: white;
  border-radius: 20px;
  padding: 40px 32px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.08);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.process-card:hover {
  border-color: #6b46ff;
  box-shadow: 0 16px 40px rgba(107, 70, 255, 0.2);
  transform: scale(1.03);
}

.card-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6b46ff, #ef476f);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(107, 70, 255, 0.3);
}

.card-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.process-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.process-card p {
  color: #6b7280;
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
  padding: 80px 24px;
}

.cta-box {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-box p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-box .btn-cta {
  margin-top: 8px;
}

/* Dark Mode - Productivity Page */
.dark .productivity-hero,
.dark .workspace-section,
.dark .features-grid-section {
  background: transparent;
}

.dark .benefit-item,
.dark .feature-box,
.dark .process-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.dark .benefit-item:hover,
.dark .feature-box:hover,
.dark .process-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(107, 70, 255, 0.4);
}

.dark .benefit-item p,
.dark .process-card p {
  color: #9fb0c9;
}

.dark .category-title,
.dark .feature-box h4,
.dark .process-card h3 {
  color: #e6eef8;
}

.dark .workflow-tab {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #9fb0c9;
}

.dark .workflow-tab:hover {
  background: rgba(107, 70, 255, 0.15);
  color: #a78bfa;
}

.dark .workflow-tab.active {
  background: linear-gradient(135deg, #6b46ff, #ef476f);
  color: white;
}

.dark .cta-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #4338ca 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .productivity-hero {
    padding: 80px 20px 40px;
  }

  .workspace-benefits,
  .process-cards {
    grid-template-columns: 1fr;
  }

  .workflow-tabs {
    gap: 8px;
  }

  .workflow-tab {
    padding: 12px 20px;
    font-size: 14px;
  }

  .features-row {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
  }

  .feature-box {
    padding: 24px 16px;
  }

  .process-card {
    padding: 32px 24px;
  }

  .card-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .cta-section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .card-icon {
    font-size: 40px;
  }

  .feature-icon {
    font-size: 32px;
  }

  .category-icon {
    font-size: 24px;
  }

  .category-title {
    font-size: 20px;
  }
}
