/* PsyWrite - Landing Page Styles */

:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --secondary-color: #f9fafb;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-brand i {
  margin-right: 0.5rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline-dark {
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline-dark:hover {
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-color), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  margin-bottom: 3rem;
}


.hero-image {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Section Styles */
section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Features Section */
.features {
  background-color: white;
}

.features .row {
  margin-bottom: 2rem;
  --bs-gutter-y: 1.2rem;
}

.feature-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  height: 100%;
  transition: transform 0.3s ease;
  margin-bottom: 1.5rem;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: var(--primary-color);
  color: white;
  margin-bottom: 1.5rem;
}

.feature-icon i {
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--secondary-color);
}

.how-it-works .row {
  --bs-gutter-y: 1.2rem;
}

.step-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  height: 100%;
  position: relative;
  margin-bottom: 2rem;
}

.step-number {
  position: absolute;
  top: -1.5rem;
  left: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Video Container */
.video-container {
  position: relative;
  width: 75%; /* 75% of container width */
  max-width: 900px; /* Maximum width to prevent it from getting too large */
  margin: 0 auto; /* Center the video */
  padding-bottom: 42.1875%; /* 16:9 aspect ratio adjusted for 75% width */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  background-color: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 1rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--secondary-color);
}

.testimonials .row {
  --bs-gutter-y: 1.2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--card-shadow);
  height: 100%;
  margin-bottom: 2rem;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Pricing Section */
.pricing {
  background-color: var(--secondary-color);
}

.pricing-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
  position: relative;
  height: 100%;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
  z-index: 1;
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-10px);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-header {
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

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

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.currency {
  font-size: 1.5rem;
  vertical-align: super;
}

.period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 400;
}

.pricing-features {
  padding: 2rem;
}

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

.pricing-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.pricing-features li i {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.pricing-features li i.bi-check-circle {
  color: var(--success-color);
}

.pricing-features li i.bi-x-circle {
  color: var(--text-light);
}

.pricing-footer {
  padding: 0 2rem 2rem;
}

/* FAQ Section */
.faq {
  background-color: white;
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
}

.accordion-button {
  font-weight: 600;
  padding: 1.5rem;
  background-color: var(--secondary-color);
  border-radius: 0.5rem !important;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--secondary-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

.accordion-body {
  padding: 1.5rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
  color: white;
  padding: 5rem 0;
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary-color);
  border: none;
}

.cta .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
}

/* About Us Section */
.about-us {
  padding: 6rem 0;
  background-color: white;
}

.about-content {
  text-align: center;
}

.mission-text {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.mission-text p {
  margin-bottom: 1.5rem;
}

.team-member-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}

.team-member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.team-photo-container {
  text-align: center;
}

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  box-shadow: 0 8px 16px rgba(79, 70, 229, 0.15);
  transition: all 0.3s ease;
}

.team-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
}

.team-member-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-subtitle {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.team-description {
  text-align: left;
  line-height: 1.7;
}

.team-description p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.about-us .section-header h2 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-us .section-header h3 {
  color: var(--primary-color);
  font-weight: 600;
}

/* Contact Page Styles */
.contact-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-color), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-hero .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-content {
  padding: 6rem 0;
  background-color: white;
}

.contact-card {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background-color: var(--primary-color);
  color: white;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-form {
  text-align: left;
}

.contact-form .form-label {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.contact-form .form-control {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

.contact-form .btn {
  padding: 0.875rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.contact-info {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--secondary-color);
  border-radius: 1rem;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-color);
}

.contact-method {
  padding: 2rem 0;
}

.contact-method i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-method h5 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-method p {
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-method a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-method a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Auth Page Styles */
.auth-hero {
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
  text-align: center;
}

.auth-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, var(--primary-color), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-hero .lead {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.auth-options {
  padding: 6rem 0;
  background-color: white;
}

.auth-card {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--card-shadow);
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
  border: 2px solid transparent;
}

.auth-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  color: white;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.signup-icon {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.signin-icon {
  background: linear-gradient(135deg, #059669, #10b981);
}

.auth-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.auth-card p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.auth-form {
  text-align: left;
}

.auth-form .form-label {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.auth-form .form-control {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.auth-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.25);
}

.auth-form .btn {
  padding: 0.875rem 2rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.auth-divider:before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.auth-divider span {
  background: white;
  padding: 0 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.auth-info {
  text-align: left;
  padding: 1.5rem;
  background: var(--secondary-color);
  border-radius: 0.5rem;
}

.auth-info h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.auth-info ul {
  margin: 0;
  padding-left: 1.25rem;
}

.auth-info li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.auth-additional-info {
  margin-top: 2rem;
  padding: 3rem;
  background: var(--secondary-color);
  border-radius: 1rem;
}

.auth-additional-info h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.auth-additional-info p {
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* Footer */
.footer {
  background-color: #1f2937 !important;
  color: white !important;
  padding: 5rem 0 2rem;
}

.footer * {
  color: inherit;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white !important;
}

.footer p {
  color: rgba(255, 255, 255, 0.7) !important;
  margin-bottom: 2rem;
}

.footer h5 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white !important;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-image {
    margin-top: 3rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 6rem 0 3rem;
  }

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

  .video-container {
    width: 90%; /* Slightly larger on mobile for better visibility */
    border-radius: 0.5rem;
  }

  .video-container iframe {
    border-radius: 0.5rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .cta h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .about-us {
    padding: 4rem 0;
  }
  
  .team-member-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .mission-text {
    font-size: 1rem;
  }
}

@media (max-width: 991.98px) {
  .contact-hero {
    padding: 8rem 0 3rem;
  }
  
  .contact-hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-top: 3rem;
    padding: 2rem;
  }
}
