/* TherAIpy Landing Page - Custom Styles */
/* Brand Colors from TherAIpy_Colour_Guide.md */

:root {
  /* Primary Colors */
  --therapeutic-blue: #2F80ED;
  --healing-green: #6FCF97;
  
  /* Supporting Colors */
  --deep-navy: #1B2A41;
  --soft-teal: #2A9D8F;
  --neutral-grey: #E5E7EB;
  
  /* Semantic Colors */
  --soft-amber: #F2B705;
  --muted-rose: #B56576;
  
  /* Text & Backgrounds */
  --text-primary: #1B2A41;
  --text-light: #ffffff;
  --bg-light: #F9FAFB;
  --bg-white: #ffffff;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--therapeutic-blue) 0%, var(--soft-teal) 100%);
  color: var(--text-light);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(111,207,151,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(47,128,237,0.1);stop-opacity:1" /></linearGradient></defs><circle cx="200" cy="100" r="150" fill="url(%23grad)" /><circle cx="900" cy="400" r="200" fill="url(%23grad)" /><circle cx="1100" cy="150" r="100" fill="url(%23grad)" /></svg>');
  opacity: 0.3;
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  color: var(--text-light);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-section .tagline {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.hero-section .company-name {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-logo {
  max-width: 380px;
  height: auto;
  display: block;
}

.logo-container-white {
  display: inline-block;
  background-color: var(--bg-white);
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.company-logo {
  max-width: 200px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo-container-white:hover .company-logo {
  transform: scale(1.02);
}

.btn-primary {
  background-color: var(--healing-green);
  border: none;
  color: var(--text-light);
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #5bb582;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 207, 151, 0.4);
  color: var(--text-light);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
  padding: 12px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--therapeutic-blue);
  transform: translateY(-2px);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-light {
  background-color: var(--bg-white);
}

.section-grey {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--deep-navy);
}

.section-subtitle {
  text-align: center;
  color: var(--text-primary);
  opacity: 0.8;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Cards */
.feature-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-grey);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.15);
  border-color: var(--therapeutic-blue);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  color: var(--therapeutic-blue);
  margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid var(--neutral-grey);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(47, 128, 237, 0.2);
}

.pricing-card.featured {
  border-color: var(--therapeutic-blue);
  box-shadow: 0 8px 24px rgba(47, 128, 237, 0.15);
}

.pricing-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--therapeutic-blue), var(--healing-green));
  color: white;
  padding: 0.5rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  transform: rotate(45deg) translate(30%, -50%);
  transform-origin: center;
  width: 200px;
  text-align: center;
}

.pricing-card.coming-soon {
  opacity: 0.8;
  position: relative;
}

.pricing-card.coming-soon::after {
  content: 'Coming Soon';
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--soft-amber);
  color: var(--deep-navy);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-card h3 {
  color: var(--deep-navy);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--therapeutic-blue);
  margin-bottom: 0.5rem;
}

.pricing-price small {
  font-size: 1.2rem;
  color: var(--text-primary);
  opacity: 0.7;
}

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

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--neutral-grey);
  position: relative;
  padding-left: 2rem;
}

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

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--healing-green);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Personas Section */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.persona-item {
  background: var(--bg-white);
  border-left: 4px solid var(--therapeutic-blue);
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.persona-item:hover {
  box-shadow: 0 6px 16px rgba(47, 128, 237, 0.15);
  transform: translateX(4px);
}

.persona-item:nth-child(even) {
  border-left-color: var(--healing-green);
}

.persona-item h4 {
  color: var(--therapeutic-blue);
  margin-bottom: 0.5rem;
}

.persona-item p {
  margin: 0;
  opacity: 0.8;
}

/* Roadmap Section */
.roadmap-item {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--healing-green);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.roadmap-item:hover {
  box-shadow: 0 6px 16px rgba(111, 207, 151, 0.2);
  transform: translateX(5px);
}

.roadmap-item h4 {
  color: var(--healing-green);
  margin-bottom: 1rem;
}

/* Feedback Form */
.feedback-form {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--deep-navy);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--neutral-grey);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--therapeutic-blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 237, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.privacy-notice {
  font-size: 0.9rem;
  color: var(--text-primary);
  opacity: 0.7;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 6px;
}

.btn-submit {
  background: linear-gradient(135deg, var(--therapeutic-blue), var(--soft-teal));
  color: var(--text-light);
  border: none;
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(47, 128, 237, 0.3);
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
  background: var(--deep-navy);
  color: var(--text-light);
  padding: 3rem 0 2rem;
}

.footer h5 {
  color: var(--healing-green);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 1;
  color: var(--healing-green);
}

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

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

.footer-logo-container {
  display: inline-block;
  background-color: var(--bg-white);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-logo {
  max-width: 150px;
  height: auto;
  display: block;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section .tagline {
    font-size: 1.2rem;
  }
  
  .hero-logo {
    max-width: 280px;
  }
  
  .company-logo {
    max-width: 150px;
  }
  
  .logo-container-white {
    padding: 8px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .feedback-form {
    padding: 2rem;
  }
  
  .pricing-price {
    font-size: 2.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

/* Smooth Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}
