.dashboard-content {
  padding: 0px;
}

.landing {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.landing-content-section {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 40px 120px;
}

.landing-container {
  padding: 20px 120px;
}

.landing-content-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.top-heading-section {
  max-width: 45%;
  padding-right: 20px;
}

.top-heading-section h1 {
  font-size: 32px;
  font-weight: 500px;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.top-heading-section p {
  font-size: 24px;
  font-weight: 200px;
  font-style: italic;
  margin-bottom: 20px;
  font-family: "Roboto", sans-serif;
  color: #333333;
}

.center-text p {
  font-size: 20px;
  font-weight: 400;
  gap: 2px;
  color: #333333;
  font-style: italic;
  font-family: "Roboto", sans-serif;
}

.center-text {
  text-align: center;
  margin-top: 20px;
}

.top-button-group {
  margin-top: 80px;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.get-started-btn {
  display: flex;
  width: 250px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #0b459c;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-family: "Roboto";
  font-size: 16px;
}

.learn-more-btn {
  background-color: transparent;
  font-size: 16px;
  color: #494949;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  font-family: "Roboto";
  display: flex;
  align-items: center;
}

.arrow-img {
  width: 25px;
  height: 25px;
}

.created-by-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 40px;
  gap: 40px;
  margin-bottom: 40px;
}

.created-by-section p {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: center;
  font-family: "Playfair Display", serif;
}

.created-by-section img {
  margin-top: 20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
}

.family-image-section img {
  width: 598px;
  height: 379.734px;
  border-radius: 10px;
}

.family-image-section video {
  width: 598px;
  height: 379.734px;
  border-radius: 10px;
  object-fit: cover;
}

.glance-section {
  text-align: center;
  margin-top: 30px;
}

.glance-section h2 {
  font-size: 32px;
  margin-top: 5px;
  font-weight: 500;
  color: #1c1c1c;
  font-family: "Playfair Display", serif;
}

.glance-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
}

.glance-item:nth-child(1) {
  margin-left: 50px;
}

.glance-item.selected .card {
  border: 2px solid #2563eb !important;
  border-radius: 16px !important;
}

.glance-item.selected .card-front,
.glance-item.selected .card-back {
  border: none;
}

.card {
  position: relative;
  width: 364px;
  height: 358px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card-front,
.card-back {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 10px;
}

.card-front {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.card-back {
  transform: rotateY(180deg);
}

.glance-item:hover .card {
  transform: none;
}

.glance-item.flipped .card {
  transform: rotateY(180deg);
}

.glance-item {
  width: 364px;
  height: 358px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card-content-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-radius: 10px;
  height: 100%;
  font-size: 24px;
  font-family: "Roboto serif";
  color: #ffffff;
  width: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.card-title {
  padding-bottom: 15px;
  font-size: 28px;
  font-weight: 600;
  font-family: "Playfair Display";
  color: #ffffff;
}

.card-content-feature img {
  margin-top: 30px;
}

.card-content-back {
  padding: 20px;
  font-size: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.card-content img {
  margin-top: 10px;
}

.tools-360-section {
  text-align: center;
  margin-top: 50px;
  width: 100%;
  padding: 0 20px;
  margin-bottom: 50px;
}

.tools-360-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 500;
  color: #1c1c1c;
  font-family: "Playfair Display", serif;
}

.parallel-planning-process-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.scorecard-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.tool-card {
  width: 310px;
  background: #ffffff;
  border: 1px solid #0b459c;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-top {
  background: transparent;
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #0b459c;
}

.icon-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tool-icon {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  object-fit: contain;
}

.card-body {
  padding: 15px;
  text-align: center;
  margin-bottom: 15px;
}

.card-body h3 {
  font-size: 24px;
  font-weight: 500;
  color: #1c1c1c;
  margin-bottom: 8px;
  line-height: 28px;
  font-family: "Playfair Display";
}

.card-body p {
  font-size: 16px;
  color: #333333;
  font-weight: 400;
  margin: 0;
  line-height: 1.5;
  font-family: "Roboto";
}

.testimonial-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

@media (max-width: 1024px) {
  .landing-content-inner {
    flex-direction: column;
    align-items: center;
  }
  .family-image-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 15px;
  }
  .top-heading-section {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
  }
  .family-image-section img {
    width: 90vw;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .family-image-section video {
    width: 90vw;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .top-button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-right: 0;
  }
  .created-by-section {
    flex-direction: column;
    gap: 20px;
    margin-top: 0px;
    margin-bottom: 20px;
  }
  .glance-items {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .glance-item {
    margin-left: 0 !important;
  }
  .parallel-planning-process-section,
  .scorecard-section {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .landing-content-section,
  .landing-container {
    padding: 30px 10px;
  }
  .glance-section {
    margin-top: 0px;
  }
  .testimonial-carousel {
    margin: 20px;
  }
}

@media (max-width: 768px) {
  .landing-content-section,
  .landing-container {
    padding: 20px 5vw;
  }
  .top-heading-section h1 {
    font-size: 24px;
  }
  .top-heading-section p {
    font-size: 18px;
  }
  .center-text p {
    font-size: 16px;
  }
  .created-by-section p {
    font-size: 20px;
  }
  .created-by-section img {
    width: 120px;
    height: 120px;
  }
  .card,
  .glance-item {
    width: 90vw;
    max-width: 340px;
    height: auto;
    min-height: 220px;
  }
  .card-title {
    font-size: 20px;
  }
  .card-content-back {
    font-size: 16px;
  }
  .tools-360-section h2,
  .glance-section h2 {
    font-size: 24px;
    font-weight: 600;
  }
  .tool-card {
    width: 90vw;
    max-width: 320px;
  }
  .testimonial-section {
    padding: 0 10px;
  }
}

@media (max-width: 640px) {
  .landing-content-section,
  .landing-container {
    padding: 10px 2vw;
  }
  .top-heading-section h1 {
    font-size: 24px;
    font-weight: 600;
  }
  .top-heading-section p {
    font-size: 14px;
  }
  .center-text p {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .created-by-section p {
    font-size: 14px;
  }
  .created-by-section img {
    width: 100px;
    height: 100px;
    margin-top: 0px;
  }
  .card,
  .glance-item {
    width: 98vw;
    max-width: 92vw;
    min-height: 200px;
  }
  .card-title {
    font-size: 14px;
  }
  .card-content-back {
    font-size: 12px;
  }
  .tool-card {
    width: 98vw;
  }
  .get-started-btn,
  .learn-more-btn {
    max-width: 30%;
    font-size: 14px;
    padding: 10px 0;
  }
  .arrow-img {
    width: 18px;
    height: 18px;
  }
  .top-button-group {
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .center-text {
    margin-top: 0px;
  }
  .tools-360-section {
    width: auto;
  }
  .card-body {
    padding: 5px;
  }
}

/* --- Pricing Plan Card --- */
.subscribe-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f8fafc;
  padding: 48px 0 56px 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 0.5rem;
}

.pricing-header p {
  color: #444;
  font-size: 1.15rem;
  margin-bottom: 0;
}

.pricing-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 32px;
  width: 100%;
}

.plan-card-container {
  flex: 1 1 0;
  display: flex;
  justify-content: center;
  min-width: 320px;
  max-width: 370px;
  margin-bottom: 25px;
}

.plan-modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
}
.plan-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  min-width: 320px;
  max-width: 95vw;
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
  position: relative;
}
.plan-modal-close {
  position: absolute; top: 12px; right: 18px;
  font-size: 2rem; color: #888; cursor: pointer;
}

.modal-period-btn {
  border: none;
  outline: none;
  background: white;
  color: #2563eb; /* blue-600 */
  font-size: 1.2rem;
  font-weight: 500;
  padding: 12px 36px;
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-left: 2px;
  margin-right: 2px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.modal-period-btn.selected {
  background: #2563eb; /* blue-600 */
  color: #fff;
}

.modal-period-btn:first-child {
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.modal-period-btn:last-child {
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}

.modal-period-btn-group {
  display: flex;
  border: 1px solid #2563eb;
  border-radius: 15px;
  overflow: hidden;
  width: fit-content;
  margin: 0 auto 1.5rem auto;
  background: #fff;
  padding: 0;
}

.modal-cancel-btn, .modal-upgrade-btn {
  min-width: 120px;
  padding: 0 32px;
  height: 48px;
  border-radius: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  margin: 0 8px;
  box-shadow: none;
  outline: none;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-cancel-btn {
  color: #444;
  border-color: #666;
}

.modal-cancel-btn:hover, .modal-cancel-btn:focus {
  background: #f8f8f8;
  color: #222;
  border-color: #444;
}

.modal-upgrade-btn {
  color: #1756b3;
  border-color: #1756b3;
}

.modal-upgrade-btn:hover, .modal-upgrade-btn:focus {
  background: #f8f8f8;
  color: #1756b3;
  border-color: #1756b3;
}

#planModalBody h2, .plan-modal-content h2 {
  font-family: 'Playfair Display', serif;
} 

#modalPrice {
  font-family: 'Playfair Display', serif;
}
@media (max-width: 1100px) {
  .pricing-cards {
    gap: 16px;
    max-width: 98vw;
  }
  .plan-card-container {
    min-width: 260px;
    max-width: 98vw;
  }
}

@media (max-width: 900px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .plan-card-container {
    width: 100%;
    max-width: 400px;
  }
}
