@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

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

body {
  font-family: "Poppins", serif;
  background-color: #1f2734;
  overflow-x: hidden;
}

/* ===== SECTION SPACING UTILITIES ===== */
.section-spacing {
  padding: 80px 0;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-content {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== GLOBAL SPACING IMPROVEMENTS ===== */
.grid-body > * {
  margin-bottom: 0;
}

.grid-body > *:last-child {
  margin-bottom: 0;
}

/* ===== CONTAINER CLASS (used in hero-section) ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== HERO SECTION ===== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: url("./assets/Background pattern decorative.svg") no-repeat;
  background-size: cover;
  color: white;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  padding-top: 80px; /* Space for future header */
  padding-bottom: 60px; /* Space for button at bottom */
}

.section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  gap: 4rem;
  flex-wrap: nowrap;
  z-index: 1;
  position: relative;
}

.content {
  flex: 1 1 500px;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-img {
  flex: 1 1 400px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  max-width: 100%;
  height: auto;
  /* width: 350px; */
  transition: width 0.3s;
}

/* Headline Styling */
.content h1 {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

/* Paragraph Styling */
.content p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

/* Keyword Highlight Colors */
.content p b {
  color: #fff;
  font-weight: 600;
}

.content p b:nth-of-type(1) {
  color: #1aac87;
} /* ChatGPT */
.content p b:nth-of-type(2) {
  color: #92bfff;
} /* Gemini */
.content p b:nth-of-type(3) {
  color: #fff;
} /* Google’s AI Overviews */
.content p b:nth-of-type(4) {
  color: #fff;
} /* Tesseract */

.side-glow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  background: linear-gradient(
    to right,
    rgba(58, 115, 255, 0.5),
    rgba(30, 30, 48, 0)
  );
  z-index: 0;
}
.side-glow:first-of-type {
  left: 0;
  background-color: #2e93fa;
  filter: blur(138.1999969482422px);
}

.side-glow:last-of-type {
  right: 0;
  background-color: #2e93fa;
  filter: blur(138.1999969482422px);
}
.star {
  position: absolute;
  background-image: url("./assets/star.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Style for arrows */
.arrow {
  position: absolute;
  background-image: url("./assets/arrow\ up.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
  /* transform: rotate(45deg); */
}

/* Specific positions and sizes for each star */
.star-1 {
  top: 10%;
  left: 20%;
  width: 25px;
  height: 100%;
}

.star-2 {
  top: 10%;
  left: 80%;
  width: 25px;
  height: 100%;
}

.star-3 {
  top: 50%;
  right: 10%;
  width: 15px;
  height: 15px;
}

.star-4 {
  bottom: 25%;
  left: 5%;
  width: 18px;
  height: 18px;
}

.star-5 {
  bottom: 10%;
  right: 20%;
  width: 22px;
  height: 22px;
}

/* Specific positions and sizes for each arrow */
.arrow-1 {
  top: 15%;
  right: 0;
  width: 300px;
  height: 200px;
}

.arrow-2 {
  top: 40%;
  left: 20%;
  width: 35px;
  height: 35px;
}

.arrow-3 {
  bottom: 30%;
  right: 25%;
  width: 40px;
  height: 40px;
}

.arrow-4 {
  bottom: 15%;
  left: 35%;
  width: 45px;
  height: 45px;
}

.arrow-5 {
  top: 5%;
  left: 50%;
  width: 38px;
  height: 38px;
}
/* ===== GRID BACKGROUND ===== */
.grid-body {
  background-image: url(./assets/grid-bg.svg);
}

/* ===== SECOND SECTION ===== */
.second-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
  padding: 80px 20px;
}

.second-section h2 {
  color: #ffaa6d;
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}
.second-section p {
  color: #e0e0ef;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

/* ===== THIRD SECTION ===== */
.third-section {
  color: white;
  padding: 80px 0;
}

.third-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 4rem;
  flex-wrap: wrap;
}

.third-content {
  flex: 1;
  max-width: 650px;
}

.third-content h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  color: #f68c47;
  margin-bottom: 30px;
}

.third-content p {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.third-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.third-images img {
  width: 100%;
}

/* ===== KEYWORD SECTION ===== */
.keyword-section {
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 80px 30px;
  box-sizing: border-box;
}

.keyword-wrap {
  opacity: 0;
  max-width: 1350px;
  border-radius: 16px;
  border: 2px solid #383d46;
  background: radial-gradient(
    106.68% 102.9% at 32.2% 20.83%,
    rgba(83, 98, 123, 0.8) 0%,
    rgba(6, 14, 28, 0.8) 100%
  );
  backdrop-filter: blur(2px);
  display: flex;
  padding: 32px;
  align-items: center;
  gap: 3rem;
  align-self: stretch;
  margin: 0 auto;
  flex-wrap: wrap;
  box-sizing: border-box;
}

.keyword-images {
  flex: 1.5;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 550px;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
}

.image-placeholder img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
  max-width: 600px;
}

.keyword-content {
  flex: 1.5;
  width: 100%;
  max-width: 700px;
}

.keyword-content h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 120%;
  margin-bottom: 20px;
}

.keyword-content p {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 25px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-list span {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
}

.feature-item {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  opacity: 0;
}

.feature-item .icon {
  display: inline-flex;
  margin-right: 12px;
}

.icon {
  margin-right: 15px;
  font-size: 1.2rem;
}

.icon i {
  color: #e76100;
}

/* ===== VIDEO SECTION ===== */
.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 80px 40px;
}

.video-wrap {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./assets/section-baackgrnd.png");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.video-wrap {
  max-width: 1350px;
  margin: 0 auto;
  width: 100%;
}

.video-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 16px;
  width: 90%;
  margin: 0 auto;
  border: 4px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: border-box;
  background-image: linear-gradient(#fff, #fff),
    linear-gradient(90deg, #08e9fc, #f02475, #dd4c4c);
  background-size: 300% 300%, 300% 300%;
  overflow: hidden;
}

.video-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
}

.video-header img {
  width: 24px;
  height: 24px;
}

.video-header span {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 49.6%; /* 1310x650 ratio */
  height: 0;
  overflow: hidden;
}

.video-placeholder iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  border: none;
  display: block;
}

.frame {
  border-radius: 12px;
}

/* ===== WHY CHOOSE SECTION ===== */
.why-choose-section {
  background: transparent;
  text-align: center;
  padding: 80px 20px;
}

.why-choose-wrap {
  max-width: 1350px;
  margin: 0 auto;
}

.why-choose-wrap h2 {
  color: #ffaa6d;
  font-size: 48px;
  font-weight: 600;
  line-height: 120%;
  margin-bottom: 16px;
}

.why-choose-wrap p {
  color: #e0e0ef;
  font-size: 18px;
  font-weight: 400;
  line-height: 140%;
  max-width: 800px;
  margin: 0 auto 40px;
}

.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 20px;
  justify-items: center;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

/* Center last row if only 2 cards (5 total) in 3-column grid */
.why-card:nth-child(5) {
  grid-column: 2 / 3 !important;
  justify-self: center !important;
}

.why-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(
      0deg,
      rgba(42, 172, 229, 0) 0%,
      rgba(42, 172, 229, 0.04) 36.5%,
      rgba(42, 172, 229, 0.2) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0) 100%
    );
  box-shadow: -8px -8px 24px rgba(0, 0, 0, 0.25) inset,
    4px 4px 24px rgba(255, 255, 255, 0.2) inset;
  backdrop-filter: blur(4px);
  padding: 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 130%;
  text-align: left;
  width: 100%;
  max-width: 260px;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Utility for consistent vertical spacing between sections */
/* .section-spacing {
  margin-top: 80px;
  margin-bottom: 80px;
} */
/* ===== FAQ SECTION ===== */
.faq-section {
  display: flex;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 80px 30px;
  box-sizing: border-box;
}

.left-section {
  flex: 1;
  top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Sticky heading for desktop */
  position: sticky;
  align-self: flex-start;
  top: 20px;
  z-index: 2;
}

.right-section {
  flex: 1;
}

.faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid #fff;
  overflow: hidden;
  transition: background-color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 18px;
}
.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item.active {
  background-color: white;
}

.faq-question {
  padding: 1.5rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question h3 {
  color: #fff;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.072px;
}

.faq-answer ul {
  padding: 20px;
}

.faq-item.active .faq-question h3 {
  color: #f97316;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active .faq-question:hover {
  background-color: rgba(249, 115, 22, 0.1);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: bold;
}

.faq-item.active .faq-question::after {
  content: "-";
  color: #f97316;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease, opacity 0.3s;
  padding: 0 1.5rem;
  color: #373737;
  opacity: 0;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.064px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
  color: #1f2937;
  opacity: 1;
  padding-top: 0;
}

.left-section h2 {
  color: #ff8e3d;
  font-size: 62px;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -1.86px;
}

/* Keyword Card Table Styles */
.keyword-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 24px 24px 18px 24px;
  max-width: 370px;
  min-width: 270px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-left: auto;
}
.keyword-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 10px;
}
.keyword-title {
  font-size: 20px;
  font-weight: 600;
  color: #22223b;
}
.keyword-icons i {
  font-size: 18px;
  color: #6ca9ff;
  margin-left: 10px;
}
.keyword-icons i.fa-star {
  color: #ffaa6d;
}
.keyword-icons i.fa-bug {
  color: #1aac87;
}
.keyword-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.keyword-row {
  display: flex;
  align-items: center;
  background: #f6f8fa;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #22223b;
  gap: 12px;
}
.keyword-label {
  flex: 1 1 120px;
  color: #22223b;
}
.keyword-status {
  width: 32px;
  text-align: center;
  color: #1aac87;
  font-size: 18px;
}
.keyword-status i.fa-check {
  color: #1aac87;
}
.keyword-status:empty {
  color: #bbb;
}

/* Center the start-growing-link button */
.start-growing-link {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 350px;
  /* margin: 0 auto; */
  /* margin-top: 0px; */
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.start-growing-link img {
  width: 100%;
}

/* Decorative elements: prevent overflow */
.side-glow,
.star,
.arrow {
  pointer-events: none;
  user-select: none;
  max-width: 100vw;
  max-height: 100vh;
}
