/* ==========================================================================
   FIXILA - PERSONAL PAGE STYLESHEET
   Save as: /css/personal.css
   Used on: personal.html ONLY
   ========================================================================== */

/* ==========================================================================
   SERVICES SECTION (Grid Cards)
   ========================================================================== */
.services-section {
  padding: 6rem 2rem;
  background: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.service-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: #2563eb;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: #1e293b;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card > p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 0;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.service-features li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.5;
}

.service-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
  font-size: 1rem;
}

.service-cta {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: auto;
}

.service-cta:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   COMMUNITY SECTION
   ========================================================================== */
.community-section {
  padding: 6rem 2rem;
  background: #f8fafc;
}

.community-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 2rem;
  padding: 0 1rem;
}

.community-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.community-card:hover {
  border-left-color: #2563eb;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.community-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #1e293b;
  font-weight: 700;
}

.community-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
  margin: 0;
}

.community-cta {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.community-cta p {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.community-cta .btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.community-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   SUBSCRIPTION/PRICING SECTION
   ========================================================================== */
.subscription-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.pricing-tables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

@media (min-width: 1200px) {
  .pricing-tables {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .pricing-tables {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

.pricing-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border: 3px solid #2563eb;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.pricing-card.featured:hover {
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.3);
}

.popular-badge {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1rem;
  font-weight: 700;
}

.price {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}

.price .currency {
  font-size: 1.5rem;
  color: #64748b;
  align-self: flex-start;
  margin-top: 0.5rem;
  margin-right: 0.25rem;
}

.price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1;
}

.price .period {
  font-size: 1rem;
  color: #64748b;
  align-self: flex-end;
  margin-bottom: 0.75rem;
  margin-left: 0.25rem;
}

.pricing-subtitle {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 0.5rem;
}

.pricing-features {
  padding: 2rem;
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features ul li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-features ul li:last-child {
  border-bottom: none;
}

.pricing-features ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.1rem;
}

.pricing-features ul li strong {
  color: #1e293b;
  font-weight: 700;
}

.pricing-cta {
  display: block;
  margin: 0 2rem 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.pricing-cta:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pricing-note {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin: 0 2rem 2rem;
  font-style: italic;
}

.pricing-faq {
  max-width: 900px;
  margin: 4rem auto 0;
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pricing-faq h4 {
  font-size: 1.3rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.included-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.included-features span {
  font-size: 0.95rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.included-features span::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================================================
   ADD-ONS SECTION
   ========================================================================== */
.addons-section {
  padding: 6rem 2rem;
  background: white;
}

.addons-container {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1rem;
}

.addon-category {
  margin-bottom: 3rem;
}

.addon-category:last-child {
  margin-bottom: 2rem;
}

.addon-category h3 {
  font-size: 1.5rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  font-weight: 700;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #2563eb;
}

.addon-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #2563eb;
  transition: all 0.3s ease;
}

.addon-item:hover {
  background: #e0f2fe;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.addon-info h4 {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.addon-info p {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.addon-price {
  font-size: 1.3rem;
  color: #2563eb;
  font-weight: 700;
  white-space: nowrap;
  margin-left: 1rem;
}

.addon-footer {
  max-width: 900px;
  margin: 3rem auto 0;
  text-align: center;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  padding: 2rem;
  border-radius: 12px;
}

.addon-footer p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.addon-footer .btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.addon-footer .btn-primary:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   SERVICE PANELS (override for personal page)
   ========================================================================== */
.service-panel {
  display: none !important;
}

.service-panel.active {
  display: flex !important;
}

.service-panel ul {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.service-panel ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.95rem;
}

.service-panel ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #74C0FC;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE (Personal Page Specific)
   ========================================================================== */
@media (max-width: 992px) {
  .pricing-tables {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .community-content {
    grid-template-columns: 1fr;
  }
  
  .pricing-tables {
    grid-template-columns: 1fr;
  }
  
  .addon-items {
    grid-template-columns: 1fr;
  }
  
  .included-features {
    flex-direction: column;
    gap: 1rem;
  }
  
  .price .amount {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .services-section,
  .subscription-section,
  .addons-section {
    padding: 4rem 1rem;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
  }
  
  .service-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .community-card h3 {
    font-size: 1.1rem;
  }
  
  .pricing-header h3 {
    font-size: 1.3rem;
  }
  
  .price .amount {
    font-size: 2.5rem;
  }
  
  .addon-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .addon-price {
    margin-left: 0;
  }
}