/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-wrap: balance;
  -webkit-tap-highlight-color: transparent;

}

body {
  font-family: 'Parkinsans', sans-serif;
  line-height: 1.4;
  color: var(--primary-color);
  /* overflow-x: hidden; */
  padding: 0;
  margin: 0;
  background: #FCFAF8;
  font-smoothing: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0.4px transparent;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0.4px transparent;
  text-rendering: optimizeLegibility;  overscroll-behavior-y: none;

}

.site-container {
  margin: 0 auto;
  padding: 0 32px;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.small-content-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.single-page {
  background-color: #F5EBE0;
  color:#43392E;
  padding:200px 0;
  font-size: 18px;
  line-height:1.5;
  font-weight: 500;
}

.single-page a {
  color: #1A3890;
  transition: all 0.3s ease;
  display: inline-block;
}

.single-page a:hover {
  color: #252F45;
}

.single-page a:active {
  transform:scale(0.98);
}

.single-page h1 {
  font-size: 72px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.single-page h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 5rem;
  margin-bottom: 1rem;
}

.single-page p {
  margin-bottom: 1rem;
}

.single-page ul {
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.single-page ul li {
  margin-bottom: 0.5rem;
}

/* Color Variables */
:root {
  --primary-color: #2B51AB;
  --secondary-color: #666666;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #999999;
  --white: #FFFFFF;
  --black: #000000;
  --highlight-color: #FFF5AD;
}

button {

  font-family: 'Parkinsans', sans-serif;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

.highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.highlight:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  padding: 0px 3px;
  border-radius: 4px;
  background-color: var(--highlight-color);
  z-index: -1;
  pointer-events: none;
}

/* Buttons */
.btn {
  padding: 14px 24px;
  border: none;
  border-radius: 60px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.1s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 17px;
  transition: all 0.4s cubic-bezier(.13, 0, .14, 1);
}


.btn:hover {
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); */
  transform: scale(1.02) !important;
}


.btn:active {
  transform: scale(.98) !important;
}

.btn:hover svg {
  opacity: .9;
}

.header .btn {
  /* padding: 16px 24px; */
  font-size: 16px;
  /* padding-right: 20px; */
}

.btn svg {
  opacity: .7;
  transition: all 0.1s ease;
}

.btn:has(svg) {
  padding-right: 16px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #FCFAF8;
}

.btn-primary:hover {
  background-color: #1A3890;
}

.btn-primary:active {
  background-color: #252F45;
  transform: scale(0.98);
}

.btn-secondary {
  background-color: #F5EBE0;
  color: #252F45;
}

.btn-secondary:hover {
  background-color: #FCFAF8;
}

.btn-secondary:active {
  background-color: white;
  transform: scale(0.98);
}

/* Header */
.header {
  background-color: #F5EBE0;
  padding: 0 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height:86px;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  height:86px;
}

.header-content .logo {
  justify-self: start;
}

.header-content .nav {
  justify-self: center;
}

.header-content .btn {
  justify-self: end;
  white-space: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.logo-icon,
.logo-icon svg {
  height: 36px;
  width: 106px
}

.logo-icon path {
  fill: #43392E;
}

.nav {
  display: flex;
  gap: 0;
}

.nav-link {
  color: #43392E;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.1s ease;
  padding: 32px 12px;
}

.nav-link:hover {
  color: #1A3890;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: #F5EBE0;
  padding: 160px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-container {
  width:100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-columns {
  width:100%;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  margin-bottom:-100px;
  min-height:530px;
}

.hero-logo svg {
  height:60px;
  width:auto;
}

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  padding-top:48px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.hero-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
  color: #1A3890;
  position: relative;
  z-index: 1;
  text-align: left;
}

.hero-title .highlight {
  font-weight: 600;
}
.hero-title .highlight:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  padding: 0px 6px;
  border-radius: 8px;
  background: #FFF085;
  z-index: -1;
  pointer-events: none;
}


.hero-center {
  display: flex;
  justify-content: center;
  margin-bottom:-119px;
  height:219px;
  z-index:2;
  transform:translateZ(0);
  position:relative;

  /* display:none; */
}

.main-cta-box {
  background-color: #E3F2FC;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(72, 59, 27, .2);
  outline: solid 6px rgba(72, 59, 27, .1);
  max-width: 1100px;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  text-decoration: none;
  border:solid 6px white;
  transition: all 0.4s cubic-bezier(.13, 0, .14, 1);
}

.main-cta-box .btn {
  transition: all 0.4s cubic-bezier(.13, 0, .14, 1);
  outline: solid 0 #1A3890;
  outline-offset: -1px;
}

.main-cta-box:hover {
  transform: scale(1.02) translateY(-4px);
  background:#f1f9fe;
}

.main-cta-box:hover .btn {
  transform: scale(1.04);
  background: #1A3890;
  outline: solid 6px #1A3890
}

.main-cta-box:active {
  transform: scale(0.98);
}

.main-cta-box-logo {
  height:63px;
  width:auto;
}

.main-cta-box-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--primary-color);
  text-align: left;
  width:340px;
}

.main-cta-box-title h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-color);
  text-align: left;
  margin-bottom:12px;
  color:#1A3890;
}


.label {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: left;
  line-height: 1.2;
}

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

.cta-text {
  font-size: 18px;
  line-height: 1.4;
  color: var(--primary-color);
  font-weight: 500;
  text-align: left;
  flex:1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-avatars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--medium-gray);
}

.hero-preview {
  flex:1;
  margin-right:-40px;
  font-size: 0;
  max-width: 800px;
  background:url(../images/hero-desktop.png?v=1.0.0) no-repeat left center / auto 100%;
}

.hero-preview .mobile {
  display: none;
}



.width-fit-content {
  width: fit-content;
}



.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.designed-by-elected h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.arrow-down {
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
}

.app-screenshots {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.phone-mockup {
  width: 200px;
  height: 400px;
  background: #000;
  border-radius: 25px;
  padding: 10px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.app-header {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.app-menu {
  flex: 1;
}

.menu-item {
  background-color: var(--light-gray);
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.tablet-mockup {
  width: 300px;
  height: 200px;
  background: #000;
  border-radius: 20px;
  padding: 15px;
}

.tablet-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 15px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.speech-categories {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category {
  background-color: var(--light-gray);
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.create-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-top: 1rem;
}

.survey-box {
  background: #252F45;
  color: #F5EBE0;
  padding: 32px 32px;
  padding-top:150px;
  text-align: left;
  position: relative;
  display: block;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(.13, 0, .14, 1);
}

/* .survey-box:after {
  content: '';
  position: absolute;
  top: -88px;
  left: 40px;
  width: 88px;
  height: 97px;
  background: url(../images/libellule.svg) no-repeat center center / contain;
  transition: all 0.4s cubic-bezier(.13, 0, .14, 1);
} */

.survey-box .btn {
  transition: all 0.4s cubic-bezier(.13, 0, .14, 1);
  outline: solid 0 white;
  outline-offset: -1px;
  /* transform-origin: center left; */
}

.survey-box:hover {
  /* background:#29354d; */
  transform: scale(1.01) translateY(-4px);
}

.survey-box:hover .btn {
  transform: scale(1.04);
  background: white;
  outline: solid 12px rgba(255, 255, 255, 0.2);
}

.survey-box:hover:after {
  left: 60px;
  top: -100px;
}


.survey-box .wrapper {
  max-width: 400px;
  padding: 32px 0;
}

.survey-box .inner {
  max-width: 900px;
  background: url(../images/survey.svg) no-repeat center right / auto 380px;
  margin: 0 auto;
}

.survey-box h3 {
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.02rem;
  font-size: 30px;
  margin-bottom: 1.5rem;
}

.survey-box p {
  margin-top: 1.5rem;
  opacity: 1;
  letter-spacing: 0.01rem;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  opacity: 0.8;
}

.pain-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pain-bubble {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  text-align: center;
  position: relative;
}

.pain-bubble::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--primary-color);
}

/* Campaign and Elected Sections */
.campaign-section,
.elected-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 34px;
  margin-top: 1rem;
  line-height: 1.4;
  color: #1A3890;
  letter-spacing: -0.01em;
}

.user-avatars {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 3rem;
}

.feature-card {
  padding: 32px;
  border-radius: 24px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  min-height: 280px;
  cursor: pointer;
  will-change: transform;
  /* transition: all 0.4s ease; */
}

a.feature-card {
  text-decoration: none;
}

.feature-card .card-content,
.feature-card .card-details {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.feature-card .card-details {
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  bottom: 32px;
  padding-top: 54px;
  width: auto;
  height: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: all 0.2s ease;
}

.feature-card .card-content {
  transition: all 0.2s ease 0.1s;
}

.feature-card.show-details .card-content,
.feature-card:not(.show-details):hover .card-content {
  opacity: 0;
  transform: translateY(12px) scale(1.02);
  visibility: hidden;
  transition: all 0.2s ease;
}

.feature-card.show-details .card-details,
.feature-card:not(.show-details):hover .card-details {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition: all 0.4s ease 0.1s;
}

.feature-card .close-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}

.feature-card .close-icon:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.feature-card .card-details h3 {
  margin-top: 0;
}

.feature-card .card-details p {
  line-height: 1.5;
  font-size: 15px;
  font-weight: 500;
}

.feature-card .card-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card .card-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.feature-card .card-details li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: currentColor;
  font-weight: bold;
}

.feature-card.light-yellow {
  background: #FBF1DA;
  color: #C1881F;
}

.feature-card.light-green {
  background: #E3F3EB;
  color: #2F7F5C;
}

.feature-card.light-pink {
  background: #F7EDF2;
  color: #B7668D;
}

.feature-card.light-orange {
  background: #FCECE3;
  color: #AC6640;
}

.feature-card.light-blue {
  background: #E3F2FC;
  color: #397199;
}

.feature-card.light-purple {
  background: #EDEEF7;
  color: #49529C;
}

.card-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}

.learn-more {
  color: inherit;
  opacity: .8;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  background: white;
  border-radius: 60px;
  padding: 10px 16px;
  transition: all 0.4s ease;
}

.learn-more:hover {
  opacity: 1;
  transform: scale(1.04);
  transition: all 0.1s ease;
}

.learn-more svg {
  opacity: 0.8;
}

.learn-more svg path {
  fill: currentColor;
}

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

.margin-auto {
  margin-left: auto;
  margin-right: auto;
}

.illu {
  max-width: 488px;
}

.cta-card {
  background-color: #252F45;
  color: #F5EBE0;
  justify-content: space-between;
}

.cta-card h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}

.cta-card button {
  width: 100%;
  text-align: center;
}

.section-cta {
  text-align: center;
}

/* Serenity Section */
.serenity-section {
  background: url(../images/libellule-background.svg) no-repeat bottom left / auto 80% #C9EDDD;
  padding: 80px 0;
}

.serenity-section h2 {
  text-align: center;
  font-size: 34px;
  margin-bottom: 3rem;
  color: #173B2B;
}

.serenity-content {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.benefit-card {
  gap: 16px;
  flex: 1;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: white;
  /* color: #173B2B; */
  color: #173B2B;
  font-weight: 500;
  box-shadow: 0 12px 40px 0 #57668828;
}

.benefit-card-icon {
  /* width: 64px;
  height: 64px; */
  width: 32px;
  height: 32px;
  /* background-color: #ddf0e7; */
  /* background-color: white; */
  /* border-radius: 12px; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2F7F5C;
}




.testimonial {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  /* padding:16px; */
  color: #173B2B;
  text-align: center;
  margin: auto;
}

.testimonial .avatar {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  box-shadow: 0 12px 40px 0 #57668828;
}

.testimonial .avatar-1 {
  background: url(../images/avatar-1.png) no-repeat center center / contain;
}

.testimonial .avatar-2 {
  background: url(../images/avatar-2.png) no-repeat center center / contain;
}

.testimonial .avatar-3 {
  background: url(../images/avatar-3.png) no-repeat center center / contain;
}

.testimonial .avatar-4 {
  background: url(../images/avatar-4.png) no-repeat center center / contain;
}

.testimonial .avatar-5 {
  background: url(../images/avatar-5.png) no-repeat center center / contain;
}

.testimonial p {
  /* font-style: italic; */
  font-weight: 500;
  font-size: 18px;
}

/* FAQ Section */
.faq-section {
  background-color: #252F45;
  color: #F5EBE0;
  padding: 80px 0;
}

.faq-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.faq-left h2 {
  font-size: 30px;
  margin-bottom: 2rem;
}

.faq-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;

}

.faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(.42, 0, .14, 1);
  border-radius: 16px;
}

.faq-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(.42, 0, .14, 1);
  /* letter-spacing: 0.01em; */
}

.faq-question svg {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--highlight-yellow);
  font-size: 12px;
}

.faq-question span {
  flex: 1;
}

.faq-question i:last-child {
  color: var(--highlight-yellow);
  transform: rotate(90deg);
  opacity: 0.5;
  transition: all 0.3s cubic-bezier(.42, 0, .14, 1);
}

.faq-item:hover .faq-question i:last-child {
  opacity: 1;
}

.faq-answer {
  max-height: 0;
  color: rgba(245, 235, 224, 0.9);
  line-height: 1.6;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(.42, 0, .14, 1),
    padding 0.3s cubic-bezier(.42, 0, .14, 1),
    background 0.3s cubic-bezier(.42, 0, .14, 1);
}

.faq-answer.active {
  max-height: 400px;
}

.faq-answer .inner {
  padding: 1.5rem;
  padding-top: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(.42, 0, .14, 1), opacity 0.3s cubic-bezier(.42, 0, .14, 1);
}

.faq-answer ul {
  padding-left: 16px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: rgb(245, 235, 224);
}

/* Join Community Section */
.join-community {
  background-color: #F5EBE0;
  padding: 120px 0 0;
}

.join-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.join-content .logo svg {
  max-width: 200px;
}

.join-content h2 {
  font-size: 34px;
  margin: 0;
  color: var(--primary-blue);
}

.footer-preview {
  margin-top: 64px;
  font-size: 0;
}

.footer-preview img {
  max-height: 353px;
  max-width: 100%;
}

.footer-preview .mobile {
  display: none;
}


/* Footer */
.footer {
  background-color: #252F45;
  color: #9fadcb;
  padding: 64px 0 128px;
  position: relative;
  font-size:15px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer .logo svg {
  max-width: 128px;
}

.footer .logo svg path {
  fill: #D7E1F7;
}

.footer-left {
  font-size:14px;
  line-height:1.4;
}

.footer-cols {
  padding-top:32px;
  display: flex;
  flex-direction: row;
  gap: 3rem;
}

.footer-links-title {
  font-weight: 600;
  font-size: 16px;
  color: #D7E1F7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer a {
  color: #9fadcb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {

  .hero {
    padding-top:48px;
  }

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

  .hero-preview {
    background:url(../images/hero-desktop.png) no-repeat top center / 100% auto;
    margin:0;
    max-width:none;
    width:100%;
    aspect-ratio: 4/2;
  }

  .main-cta-box-title {
    width:auto;
  }

  .hero-columns {
    flex-direction: column;
    margin-bottom:-40px;
    gap:24px;
  }

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

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .survey-box .inner {
    background: transparent;
  }

  .header {
    display: none;
  }

  .faq-content {
    grid-template-columns: 1fr;
  }

  .hero-center {
    height:auto;
  }

  .main-cta-box {
    flex-direction: column;
    height:auto;
  }
}

@media (max-width: 768px) {

  .main-cta-box {
    /* margin-left:-20px;
    margin-right:-20px;
    border-radius:0; */
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .main-cta-box .label {
    justify-content: flex-start;
    flex:1;
  }

  .cta-text {
    font-size: 20px;
    text-align:left;
  }

  .main-cta-box .highlight:before {
    display: none;
  }


  .feature-card:not(.show-details):hover .card-content {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition: all 0.4s ease 0.1s;
  }

  .feature-card:not(.show-details):hover .card-details {
    opacity: 0;
    transform: translateY(12px) scale(1.02);
    visibility: hidden;
    transition: all 0.2s ease;
  }


  .site-container {
    padding: 0;
  }

  .serenity-content {
    flex-direction: column;
    gap: 8px;
  }

  .content-container:has(.survey-box) {
    padding: 0;
  }

  .survey-box {
    border-radius: 0;
    padding-top:80px;
  }

  .hero-preview {
    margin-bottom: 0;

    background:url(../images/hero-mobile.png?v=1.0.0) no-repeat bottom center / contain;
    margin:0;
    max-width:none;
    width:100%;
    aspect-ratio: 2/2;
  }

  .hero-main {
    padding-top:0;
  }

  .survey-box:after {
    display: none;
  }

  .header {
    display: none;
  }

  .hero-logo svg {
    height: 50px;
  }

  .hero-preview .mobile {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 400px;
    margin: 0 auto;
  }

  .hero-preview .desktop {
    display: none;
  }

  .container {
    padding: 0 15px;
  }

  .illu {
    width: 100%;
  }

  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero {
    padding: 60px 0 60px;
  }

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

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

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

  .designed-by-elected h2 {
    font-size: 2rem;
  }

  .app-screenshots {
    flex-direction: column;
    align-items: center;
  }

  .pain-points {
    grid-template-columns: 1fr;
  }

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

  .serenity-content {
    grid-template-columns: 1fr;
  }

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

  .join-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: left;
  }

  .footer-cols {
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  .phone-mockup {
    width: 150px;
    height: 300px;
  }

  .tablet-mockup {
    width: 200px;
    height: 150px;
  }

  .hero-columns {
    margin-bottom:0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 0 60px;
  }

  .main-cta-box:active {
    transform: scale(1);
  }

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

  .section-header h2,
  .designed-by-elected h2,
  .serenity-section h2,
  .faq-section h2,
  .join-community h2 {
    font-size: 1.8rem;
  }


  .btn {
    /* padding: 10px 20px; */
    /* font-size: 0.9rem; */
  }

  .phone-mockup {
    width: 120px;
    height: 240px;
  }

  .tablet-mockup {
    width: 150px;
    height: 100px;
  }

  .hero-container {
    padding-left:24px;
    padding-right:24px;
  }

  .main-cta-box {
    padding: 32px 32px;
    border-radius:32px 32px 0 0;
    border:none;
  }


  .testimonial {
    flex-direction: column;
    text-align: center;
  }

  .testimonial .avatar {
    align-self: center;
  }

  .survey-box {
    padding:80px 12px 32px;
  }

  .hero-center {
    margin-left:-24px;
    margin-right:-24px;
  }

  .main-cta-box-title {
    width:auto;
  }

  .cta-text {
    font-size: 16px;
  }
}

/* Additional mobile optimizations */
@media (max-width: 360px) {
  .container {
    padding: 0 10px;
  }

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

  .section-header h2,
  .designed-by-elected h2,
  .serenity-section h2,
  .faq-section h2,
  .join-community h2 {
    font-size: 1.5rem;
  }

  .btn {
    padding: 8px 16px;
    font-size: 1rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for feature cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.feature-card {
  animation: all 0.2s cubic-bezier(.13, 0, .14, 1);
}

.feature-card:hover,
.cta-card:hover {
  transform: scale(1.05) !important;
}

.cta-card:active {
  transform: scale(0.98) !important;
  transition: all 80ms cubic-bezier(.13, 0, .14, 1);
}

.feature-card:hover .learn-more,
.feature-card:hover .close-icon {
  transform: scale(1.05) !important;
  background: white;
}

/* Mobile menu styles */
.nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--primary-blue);
  padding: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

  .nav.active {
    display: flex;
  }
}