/* Subscription Page CSS */
.subscription-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f5f5f7;
  min-height: 100vh;
  margin-top: 8vh;
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 16px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-button {
  color: #007AFF !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  border: 2px solid #007AFF !important;
  background: transparent !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
}

.back-button:hover {
  background: rgba(0, 122, 255, 0.1) !important;
  color: #0056CC !important;
  border-color: #0056CC !important;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  color: #007AFF !important;
  text-decoration: none !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
}

.nav-link:hover {
  background: rgba(0, 122, 255, 0.1) !important;
  color: #0056CC !important;
}

.logo-icon {
  font-size: 24px;
  color: #007AFF;
}

/* Main Container */
.subscription-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Header */
.subscription-header {
  text-align: center;
  margin-bottom: 60px;
}

.subscription-title {
  font-size: 48px;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 16px 0;
}

.subscription-subtitle {
  font-size: 21px;
  color: #6e6e73;
  margin: 0;
}

/* Category Section */
.category-section {
  margin-bottom: 80px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1d1d1f;
  text-align: center;
  margin: 0 0 16px 0;
}

.section-subtitle {
  font-size: 18px;
  color: #6e6e73;
  text-align: center;
  margin: 0 0 40px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  border-radius: 16px;
  border: 2px solid #e5e5e7;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
  padding: 24px;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.category-card.selected {
  border-color: #007AFF;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
  background: rgba(0, 122, 255, 0.05);
}

.category-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.category-name {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 8px 0;
}

.category-description {
  font-size: 14px;
  color: #6e6e73;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.category-checkbox {
  position: absolute;
  top: 16px;
  right: 16px;
}

/* User Info Section */
.user-info-section {
  margin-bottom: 60px;
}

.user-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 16px;
  font-weight: 600;
  color: #1d1d1f;
}

.form-input {
  height: 48px;
  border-radius: 12px;
  border: 2px solid #e5e5e7;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

/* Subscribe Section */
.subscribe-section {
  text-align: center;
  padding: 80px 0 60px;
  margin-top: 60px;
}

.subscribe-button {
  background: transparent !important;
  border: 2px solid #007AFF !important;
  border-radius: 8px !important;
  padding: 16px 48px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  height: auto !important;
  color: #007AFF !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
}

.subscribe-button:hover:not(:disabled) {
  background: rgba(0, 122, 255, 0.1) !important;
  color: #0056CC !important;
  border-color: #0056CC !important;
}

.subscribe-button:disabled {
  background: #f5f5f7 !important;
  color: #a1a1a6 !important;
  border-color: #e5e5e7 !important;
  cursor: not-allowed !important;
}

.subscribe-note {
  font-size: 14px;
  color: #6e6e73;
  margin: 16px 0 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .subscription-title {
    font-size: 36px;
  }

  .subscription-subtitle {
    font-size: 18px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .section-title {
    font-size: 28px;
  }
}
