/* Femma Landing Page - Official Design */

/* 
COLOR PALETTE:
- Eclipse (primary purple): #462377
- Cornflower (blue): #1F1FC9
- Tulip (red): #E1231C
- Lavendel (light purple): #936DA4
- Birch (green): #B8DD7B
- Oat (background): #F7F3EB
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Ovo&display=swap');
@import url('https://fonts.cdnfonts.com/css/utile');

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Utile', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #462377;
  line-height: 1.7;
  background: #F7F3EB;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Ovo', serif;
  font-weight: 400;
  line-height: 1.3;
  color: #462377;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  text-align: center;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0.75rem;
}

p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #462377;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.25rem;
  color: #936DA4;
}

/* Header */
.header {
  padding: 2vw 0;
  background: rgba(247, 243, 235, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(175, 175, 224, 0.2);
}

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

.logo {
  font-family: 'Ovo', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #462377;
}

.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #462377;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav a:hover {
  color: #936DA4;
}

.nav-cta {
  background: #462377;
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: #936DA4;
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 8rem 0 6rem;
  background: #F4EFE6;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  text-align: left;
}

.hero-title {
  margin-bottom: 2rem;
  font-size: 36px;
  color: #462377;
}

.hero-subtitle {
  font-size: 18px;
  color: #462377;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-cta-note {
  font-size: 0.95rem;
  color: #936DA4;
}

.hero-visual {
  max-width: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Chat phone mockup */
.chat-phone {
  background: linear-gradient(135deg, #e8e0d5, #d9cfc0);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 280px;
  margin: 0 auto;
  border: 1px solid #d0c4b3;
}

.chat-screen {
  background: #F7F3EB;
  border-radius: 24px;
  overflow: hidden;
  min-height: 400px;
}

.chat-header {
  background: linear-gradient(135deg, #936DA4, #462377);
  color: white;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chat-messages {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  padding: 10px 12px;
  border-radius: 16px;
  max-width: 75%;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.5s ease-out forwards;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-size: 0.85rem;
  line-height: 1.4;
}

.user-msg {
  background: linear-gradient(135deg, #936DA4, #462377);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
  animation-delay: 0s;
}

.femma-msg {
  background: #f5f3f7;
  color: #2d3748;
  margin-right: auto;
  border-bottom-left-radius: 4px;
  animation-delay: 0.6s;
}

.user-msg:nth-child(3) {
  animation-delay: 1.2s;
}

.femma-msg:nth-child(4) {
  animation-delay: 1.8s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bubbleIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: #B8DD7B;
  color: #462377;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #A0CC60;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 221, 123, 0.4);
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.btn-green {
  background: #B8DD7B !important;
  color: #462377 !important;
}

.btn-green:hover {
  background: #A0CC60 !important;
  color: #462377 !important;
}

/* Problem Section */
.problem {
  padding: 6rem 0;
  background: #F7F3EB;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.problem-card {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: #F7F3EB;
  border: 2px solid #936DA4;
  transition: transform 0.3s;
}

.problem-card:hover {
  transform: translateY(-5px);
  border-color: #462377;
}



.problem-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.problem-card p {
  font-size: 1rem;
  color: #462377;
}

.problem-insight {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
  background: #936DA4;
  border-radius: 12px;
  border-left: 4px solid #462377;
  color: #F7F3EB;
}

.problem-insight p {
  color: #F7F3EB;
}

.problem-insight p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.problem-insight p:last-child {
  margin-bottom: 0;
}

/* Solution Section */
.solution {
  padding: 6rem 0;
  background: #E1231C;
}

.solution h2 {
  color: #F7F3EB;
}

.solution-intro {
  color: #F7F3EB !important;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.solution-item {
  position: relative;
  padding-left: 4rem;
}

.solution-number {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Ovo', serif;
  font-size: 3rem;
  color: rgba(247, 243, 235, 0.3);
  font-weight: 400;
}

.solution-item h3 {
  margin-bottom: 1rem;
  color: #F7F3EB;
}

.solution-item p {
  color: #F7F3EB;
}

/* Life Areas Section */
.life-areas {
  padding: 6rem 0;
  background: #F7F3EB;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.area-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  background: #F7F3EB;
  border: 2px solid #936DA4;
  transition: all 0.3s;
}

.area-card:hover {
  border-color: #462377;
  transform: translateY(-5px);
}

.area-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: block;
  object-fit: contain;
}

.area-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.area-card p {
  font-size: 1rem;
  color: #936DA4;
}

/* Why Femma Section */
.why-femma {
  padding: 6rem 0;
  background: #462377;
  color: white;
}

.why-femma h2 {
  color: white;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 3px solid #B8DD7B;
}

.comparison-item h3 {
  color: white;
  margin-bottom: 1rem;
}

.comparison-them {
  color: #936DA4;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.comparison-us {
  color: white;
  font-weight: 500;
  font-size: 1.05rem;
}

/* Social Proof Section */
.social-proof {
  padding: 6rem 0;
  background: #F0CFCA;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(70, 35, 119, 0.08);
}

.stat-number {
  font-family: 'Ovo', serif;
  font-size: 3.5rem;
  color: #936DA4;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: #462377;
}

.testimonial {
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 3rem;
  background: white;
  border-radius: 12px;
  border-left: 4px solid #936DA4;
}

.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-source {
  font-size: 1rem;
  color: #936DA4;
}

/* Blog Section */
.blog {
  padding: 6rem 0;
  background: #F7F3EB;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.blog-post {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 2px solid #936DA4;
  transition: all 0.3s;
}

.blog-post:hover {
  transform: translateY(-5px);
  border-color: #462377;
  box-shadow: 0 10px 30px rgba(70, 35, 119, 0.15);
}

.blog-post-date {
  font-size: 0.9rem;
  color: #936DA4;
  margin-bottom: 0.5rem;
}

.blog-post h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.blog-post-excerpt {
  color: #462377;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.blog-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #AFAFE0;
  color: #462377;
  border-radius: 20px;
  font-size: 0.85rem;
}

.blog-admin {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 3rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #936DA4;
}

.blog-admin h3 {
  margin-bottom: 2rem;
  text-align: center;
}

.blog-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-form input,
.blog-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #936DA4;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #462377;
  background: #F7F3EB;
}

.blog-form input:focus,
.blog-form textarea:focus {
  outline: none;
  border-color: #462377;
  background: white;
}

.blog-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* Pricing Section */
.pricing {
  padding: 6rem 0;
  background: white;
}

.pricing-card {
  max-width: 600px;
  margin: 3rem auto;
  padding: 3rem;
  background: #F7F3EB;
  border-radius: 20px;
  border: 2px solid #936DA4;
  box-shadow: 0 20px 60px rgba(147, 109, 164, 0.15);
  text-align: center;
}

.pricing-card .btn-primary {
  margin: 2rem auto 0;
  display: block;
  width: fit-content;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #AFAFE0;
}

.pricing-header h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.price-amount {
  font-family: 'Ovo', serif;
  font-size: 4rem;
  color: #462377;
}

.price-period {
  font-size: 1rem;
  color: #936DA4;
}

.pricing-features {
  margin: 2rem 0;
}

.feature {
  padding: 0.75rem 0;
  font-size: 1.125rem;
  border-bottom: 1px solid #AFAFE0;
}

.feature:last-child {
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #936DA4;
}

.pricing-values {
  max-width: 800px;
  margin: 4rem auto 0;
  text-align: center;
}

.pricing-values h3 {
  margin-bottom: 1rem;
}

.pricing-values p {
  color: #936DA4;
}

.pricing-values .value-prop {
  background: #F4EFE6;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: left;
  border-left: 4px solid #1F1FC9;
}

.pricing-values .value-prop h3 {
  text-align: left;
  margin-bottom: 1rem;
  color: #1F1FC9;
}

.pricing-values .value-prop p {
  margin-bottom: 1rem;
  color: #1F1FC9;
}

.pricing-values .value-prop p:last-child {
  margin-bottom: 0;
}

/* Vision Section */
.vision {
  padding: 6rem 0;
  background: #AFAFE0;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.vision-item {
  padding: 2.5rem;
  background: white;
  border-radius: 12px;
  border-top: 4px solid #936DA4;
}

.vision-item h3 {
  margin-bottom: 1rem;
}

.vision-item p {
  color: #462377;
}

.tech-tagline {
  margin-top: 1rem;
  font-style: italic;
  font-size: 1.125rem;
  color: #936DA4;
  font-weight: 500;
}

.vision-standalone {
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 3rem;
  background: linear-gradient(135deg, #F4EFE6 0%, #E8DFD0 100%);
  border-radius: 12px;
  border-left: 4px solid #936DA4;
  text-align: center;
}

.vision-standalone h3 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.vision-standalone p {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.vision-standalone p:last-child {
  margin-bottom: 0;
}

.vision-standalone .tech-tagline {
  font-size: 1.25rem;
  color: #462377;
}

/* Final CTA Section */
.final-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #462377 0%, #936DA4 100%);
  color: white;
  text-align: center;
}

.final-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #E5E5E5;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: #462377;
  color: #E5E5E5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #E5E5E5;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #AFAFE0;
}

.partner-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #AFAFE0 !important;
  font-weight: 500;
}

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

.footer-bottom p {
  font-size: 0.875rem;
  color: #E1B6D1;
}

/* Responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero-content-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-text {
    text-align: center;
  }

  .hero-cta {
    align-items: center;
  }

  .hero-visual {
    margin: 0 auto;
  }

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

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .chat-bubble.user,
  .chat-bubble.femma {
    margin-left: 0;
    margin-right: 0;
  }

  .solution-item {
    padding-left: 0;
  }

  .solution-number {
    position: static;
    display: block;
    margin-bottom: 1rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .price-amount {
    font-size: 3rem;
  }

  section {
    padding: 4rem 0 !important;
  }
}

@media (max-width: 480px) {
  .problem-grid,
  .areas-grid,
  .comparison-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
