/* Additional styles for new pages */

/* Page Heroes */
.page-hero {
  padding: 120px 0 60px;
  background-color: #f0f6ff;
  text-align: center;
}

.about-hero {
  background-color: #f0f9ff;
}

.page-hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
}

.page-hero-content p {
  font-size: 20px;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Page */
.contact-content {
  padding: 60px 0;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form-container h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1e293b;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #3b82f6;
  font-size: 20px;
}

.contact-info-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e293b;
}

.contact-info-card p, .contact-info-card a {
  color: #64748b;
  margin-bottom: 5px;
}

.contact-social {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-social h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #1e293b;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #3b82f6;
  color: white;
  transform: translateY(-3px);
}

.contact-faq {
  background-color: #f8fafc;
  padding: 60px 0;
}

.contact-faq h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e293b;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #1e293b;
}

.faq-item p {
  color: #64748b;
}

/* About Us Page */
.about-story {
  padding: 80px 0;
  background-color: white;
}

.story-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

@media (max-width: 768px) {
  .story-content {
    flex-direction: column;
  }
}

.story-text {
  flex: 1;
}

.story-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1e293b;
}

.story-text p {
  color: #64748b;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
}

.story-image {
  flex: 1;
}

.story-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-mission {
  padding: 80px 0;
  background-color: #f8fafc;
  text-align: center;
}

.mission-content h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1e293b;
}

.mission-statement {
  max-width: 800px;
  margin: 0 auto 60px;
}

.mission-statement p {
  font-size: 24px;
  color: #334155;
  line-height: 1.5;
  font-style: italic;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .mission-values {
    grid-template-columns: 1fr;
  }
}

.value-icon {
  width: 60px;
  height: 60px;
  background-color: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #3b82f6;
  font-size: 24px;
}

.about-team {
  padding: 80px 0;
  background-color: white;
  text-align: center;
}

.about-team h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1e293b;
}

.team-subtitle {
  font-size: 18px;
  color: #64748b;
  margin-bottom: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.team-member {
  text-align: center;
}

.team-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #1e293b;
}

.team-role {
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-bio {
  color: #64748b;
  font-size: 15px;
}

.about-join {
  padding: 100px 0;
  background-color: #1e40af;
  color: white;
  text-align: center;
}

.join-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.join-content p {
  font-size: 18px;
  color: #bfdbfe;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Legal Pages (Privacy Policy & Terms) */
.legal-content {
  padding: 120px 0 80px;
  background-color: white;
}

.legal-header {
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 10px;
}

.legal-updated {
  color: #64748b;
  font-style: italic;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.legal-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #334155;
  margin: 30px 0 15px;
}

.legal-section p, .legal-section li {
  color: #475569;
  margin-bottom: 15px;
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

/* Forgot Password Page */
.reset-success {
  text-align: center;
}

.success-icon {
  font-size: 60px;
  color: #10b981;
  margin-bottom: 20px;
}

.reset-success h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 15px;
}

.reset-success p {
  color: #64748b;
  margin-bottom: 20px;
}

.reset-success .note {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 30px;
}

/* Analytics Page */
.analytics-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .analytics-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .analytics-overview {
    grid-template-columns: 1fr;
  }
}

.overview-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.overview-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.overview-number {
  font-size: 32px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.overview-change {
  font-size: 14px;
  font-weight: 600;
}

.overview-change.positive {
  color: #10b981;
}

.overview-change.negative {
  color: #ef4444;
}

.overview-change span {
  font-weight: 400;
  color: #64748b;
  font-size: 12px;
}

.overview-note, .overview-platform {
  font-size: 14px;
  color: #64748b;
}

.overview-platform {
  font-weight: 600;
}

.overview-platform i {
  margin-right: 5px;
}

.analytics-charts {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 1200px) {
  .analytics-charts {
    grid-template-columns: 1fr 1fr;
  }
  
  .chart-container.large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .analytics-charts {
    grid-template-columns: 1fr;
  }
  
  .chart-container.large {
    grid-column: span 1;
  }
}

.chart-container {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Make charts fit properly on the page */
.chart-container {
  height: 350px; /* Fixed height for better UI */
  overflow: hidden;
}

.chart-container.large {
  height: 400px;
}

.chart-container.medium {
  height: 350px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.chart-filters select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  color: #475569;
}

.analytics-details {
  margin-bottom: 30px;
}

.analytics-details h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.analytics-table-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
}

.analytics-table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #475569;
  text-align: left;
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
}

.analytics-table td {
  padding: 12px 20px;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

.post-cell {
  max-width: 300px;
}

.post-preview {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-icon {
  min-width: 30px;
  width: 30px;
  height: 30px;
  background-color: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
}

.post-text {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight {
  font-weight: 700;
  color: #3b82f6;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 15px 20px;
  background-color: white;
  border-top: 1px solid #e2e8f0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.pagination-count {
  margin: 0 20px;
  color: #475569;
  font-size: 14px;
}

.pagination-prev, .pagination-next {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: #f8fafc;
  color: #475569;
}

.pagination-prev.disabled, .pagination-next.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.analytics-insights {
  margin-bottom: 30px;
}

.analytics-insights h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
}

.insights-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .insights-container {
    grid-template-columns: 1fr;
  }
}

.insight-card {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.insight-icon {
  width: 40px;
  height: 40px;
  background-color: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 18px;
}

.insight-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.insight-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

/* Settings Page */
.settings-nav {
  margin-bottom: 30px;
}

.settings-tabs {
  display: flex;
  list-style: none;
  border-bottom: 1px solid #e2e8f0;
  overflow-x: auto;
  padding-bottom: 1px;
}

.settings-tabs li {
  padding: 12px 20px;
  font-weight: 500;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.settings-tabs li.active {
  color: #3b82f6;
  border-bottom: 2px solid #3b82f6;
}

.settings-tab-content {
  display: none;
}

.settings-tab-content.active {
  display: block;
}

.settings-section {
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.settings-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.account-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 640px) {
  .account-plan {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.plan-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.plan-info p {
  color: #64748b;
  margin-bottom: 5px;
}

.plan-expiry {
  font-size: 14px;
  color: #475569;
}

.danger-zone {
  border: 1px solid #fecaca;
  border-radius: 8px;
}

.danger-zone h2 {
  color: #ef4444;
}

.danger-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 640px) {
  .danger-action {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}

.danger-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.danger-info p {
  color: #64748b;
  max-width: 500px;
}

.btn.danger {
  background-color: #ef4444;
  color: white;
}

.btn.danger:hover {
  background-color: #dc2626;
}

.btn.danger-outline {
  background-color: transparent;
  border: 1px solid #ef4444;
  color: #ef4444;
}

.btn.danger-outline:hover {
  background-color: #fef2f2;
}

.profile-picture-section {
  display: flex;
  align-items: center;
  gap: 30px;
}

@media (max-width: 640px) {
  .profile-picture-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

.profile-picture {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-picture-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-picture-actions button {
  width: fit-content;
}

.input-help {
  font-size: 14px;
  color: #64748b;
  margin-top: 5px;
}

.billing-plan {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 20px;
}

.billing-plan-details h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-badge {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.plan-badge.premium {
  background-color: #3b82f6;
  color: white;
}

.plan-features {
  list-style: none;
  margin: 15px 0;
}

.plan-features li {
  margin-bottom: 5px;
  color: #475569;
  display: flex;
  align-items: center;
}

.plan-features li:before {
  content: "✓";
  color: #10b981;
  margin-right: 8px;
}

.payment-card {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 15px;
}

.card-icon {
  font-size: 30px;
  margin-right: 15px;
  color: #3b82f6;
}

.card-details {
  flex: 1;
}

.card-type {
  font-weight: 600;
  color: #1e293b;
}

.card-expiry {
  font-size: 14px;
  color: #64748b;
}

.billing-table-container {
  overflow-x: auto;
}

.billing-table {
  width: 100%;
  border-collapse: collapse;
}

.billing-table th {
  text-align: left;
  padding: 12px;
  background-color: #f8fafc;
  font-weight: 600;
  color: #475569;
}

.billing-table td {
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.status.paid {
  background-color: #ecfdf5;
  color: #10b981;
}

.mt-4 {
  margin-top: 20px;
}

.connections-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.connection-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 15px;
}

.connection-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #1e293b;
}

.connection-status {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.status-badge {
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
}

.status-badge.connected {
  background-color: #ecfdf5;
  color: #10b981;
}

.status-badge.not-connected {
  background-color: #f1f5f9;
  color: #64748b;
}

.connection-account {
  font-size: 14px;
  color: #64748b;
}

.form-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #e2e8f0;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: #3b82f6;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.password-strength {
  font-size: 14px;
  margin-top: 5px;
}

.password-strength .strong {
  color: #10b981;
}

.two-factor-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.two-factor-status.enabled .status-info h3 {
  color: #10b981;
}

.recovery-methods {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.recovery-method {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 15px;
}

.method-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.method-info p {
  font-size: 14px;
  color: #64748b;
}

.sessions-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.session-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 15px;
}

.session-item.current {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
}

.session-device {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: #1e293b;
  margin-bottom: 5px;
}

.session-details {
  display: flex;
  gap: 15px;
  font-size: 14px;
  color: #64748b;
}

.current-session-badge {
  background-color: #3b82f6;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}