@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");

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

body {
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 29px;
  color: #161c2d;
  background-color: #fdfdff;
}

html {
  scroll-behavior: smooth;
}

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

.background-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://static.codia.ai/image/2026-01-13/AjHiL1eH9i.png");
  background-size: cover;
  background-position: center;
  opacity: 0.02;
  z-index: -1;
}

/* Header */
.header {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  height: 33px;
  width: auto;
}

.auth-btn {
  display: flex;
  gap: 12px;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: #161c2d;
  font-weight: 700;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: -0.1px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0c29e7;
}

.nav-link.active {
  color: #0c29e7;
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background-color: #0c29e7;
  border-radius: 2px;
  opacity: 0.9;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #161c2d;
  cursor: pointer;
}

/* Buttons */
.btn {
  border: none;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.login-btn {
  color: #0c29e7;
  background-color: transparent;
  padding: 8px 24px;
  font-size: 15px;
  line-height: 23px;
  letter-spacing: -0.5px;
  border: 1px solid #0c29e7;
}

.btn-primary {
  background-color: #0c29e7;
  color: #ffffff;
  padding: 8px 24px;
  font-size: 15px;
  line-height: 23px;
  letter-spacing: -0.5px;
}

.btn-primary:hover {
  background-color: #0a23c7;
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 32px;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: -0.6px;
}

.btn-full {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 150px 0 220px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  color: #f64b4b;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 1.63px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 65px;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #161c2d;
}

.hero-description {
  font-size: 19px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: #161c2d;
  opacity: 0.7;
  margin-bottom: 40px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-image {
  width: 463px;
  height: 463px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 3;
  border: 5px solid #e7e9ed;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
}

.circle-1 {
  width: 133px;
  height: 133px;
  background-color: #68d585;
  bottom: 20px;
  left: -40px;
  z-index: 1;
}

.circle-2 {
  width: 101px;
  height: 101px;
  background-color: #161c2d;
  bottom: 10px;
  left: -10px;
  z-index: 2;
}

.floating-waves {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 60px;
  height: 120px;
  background: repeating-linear-gradient(
    0deg,
    #f64b4b 0px,
    #f64b4b 5px,
    transparent 5px,
    transparent 20px
  );
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-subtitle {
  color: #f64b4b;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 1.63px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-weight: 700;
  font-size: 36px;
  line-height: 48px;
  letter-spacing: -1.2px;
  color: #161c2d;
  max-width: 600px;
  margin: 0 auto;
}

.section-description {
  font-size: 19px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: #161c2d;
  opacity: 0.7;
  margin-top: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card-green {
  background-color: #68d585;
}

.service-card-blue {
  background-color: #473bf0;
  box-shadow: 0px 32px 54px rgba(22, 28, 45, 0.16);
}

.service-card-red {
  background-color: #f64b4b;
}

.service-icon {
  width: 140px;
  height: 140px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.service-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #ecf2f7;
}

.service-description {
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
  opacity: 0.65;
  margin-bottom: 30px;
}

.service-link {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: -0.6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-link:hover {
  opacity: 0.8;
}

/* Testimonial Section */
.testimonial {
  padding: 80px 0 0;
  background-color: #ffffff;
}

.testimonial-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 80px;
  border-bottom: 1px solid #e7e9ed;
}

.testimonial-avatar {
  width: 164px;
  height: 164px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.star {
  color: #fcad38;
  font-size: 20px;
}

.testimonial-quote {
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.5px;
  color: #161c2d;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  gap: 16px;
  align-items: center;
}

.author-name {
  font-weight: 700;
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
  color: #161c2d;
}

.author-title {
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
  color: #161c2d;
  opacity: 0.7;
}

/* Content Section */
.content-section {
  padding: 160px 0;
  background-color: #ffffff;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
}

.content-images {
  position: relative;
}

.main-content-image {
  width: 248px;
  height: 249px;
  border-radius: 10px;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.floating-images {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.floating-img {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0px 22px 64px rgba(22, 28, 45, 0.19);
}

.img-1 {
  width: 71px;
  height: 71px;
  top: -50px;
  left: 0px;
}

.img-2 {
  width: 80px;
  height: 80px;
  top: -40px;
  right: 0px;
}

.img-3 {
  width: 88px;
  height: 88px;
  top: -80px;
  left: 40%;
  transform: translateX(-50%);
}

.img-4 {
  width: 95px;
  height: 95px;
  bottom: -40px;
  left: 60px;
}

.img-5 {
  width: 69px;
  height: 69px;
  bottom: 20px;
  right: 40px;
}

.img-6 {
  width: 71px;
  height: 71px;
  bottom: 70px;
  right: -20px;
}

.img-7 {
  width: 80px;
  height: 80px;
  bottom: -60px;
  left: 55%;
  transform: translateX(-50%);
}

.content-title {
  font-weight: 700;
  font-size: 48px;
  line-height: 58px;
  letter-spacing: -1.8px;
  color: #161c2d;
  margin-bottom: 24px;
}

.content-description {
  font-size: 19px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: #161c2d;
  opacity: 0.7;
  margin-bottom: 40px;
}

.content-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature {
  padding-bottom: 32px;
  border-bottom: 1px solid #e7e9ed;
}

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

.feature-title {
  font-weight: 700;
  font-size: 21px;
  line-height: 32px;
  letter-spacing: -0.5px;
  color: #161c2d;
  margin-bottom: 12px;
}

.feature-description {
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
  color: #161c2d;
  opacity: 0.7;
}

/* Features Section */
.features {
  padding: 118px 0;
  background-color: #f4f7fa;
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: 167px;
  left: 0;
  width: 120px;
  height: 120px;
  background: url("./img/dots.png") no-repeat;
}

.features .section-title {
  text-align: center;
  margin-bottom: 40px !important;
}

.features-grid {
  margin: 98px auto 112px;
  width: 85% !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
}

.feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  opacity: 1;
}

.feature-icon {
  width: 79px;
  height: 79px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-purple {
  background-color: #473bf0;
  color: #ffffff;
}

.feature-icon-red {
  background-color: #f64b4b;
  color: #ffffff;
}

.feature-icon-green {
  background-color: #68d585;
  color: #ffffff;
}

.feature-icon-dark {
  background-color: #161c2d;
  color: #ffffff;
}

.feature-item .feature-title {
  font-weight: 700;
  font-size: 21px;
  line-height: 32px;
  letter-spacing: -0.5px;
  color: #161c2d;
  margin-bottom: 12px;
}

.feature-item .feature-description {
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
  color: #161c2d;
  opacity: 0.7;
}

.cta-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 60px;
  border-top: 1px solid #e7e9ed;
}

.cta-content {
  flex: 1;
  max-width: 800px;
}

.cta-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 44px;
  letter-spacing: -1.2px;
  color: #161c2d;
  margin-bottom: 16px;
}

.cta-description {
  font-size: 19px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: #161c2d;
  opacity: 0.7;
}

/* Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: #ffffff;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  position: relative;
}

.toggle-label {
  font-size: 19px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: #161c2d;
}

.toggle-switch {
  width: 72px;
  height: 33px;
  background-color: #161c2d;
  border-radius: 16.5px;
  position: relative;
  cursor: pointer;
}

.toggle-switch-active .toggle-slider {
  transform: translateX(39px);
}

.toggle-switch-active {
  background-color: #473bf0;
}

.toggle-slider {
  width: 21px;
  height: 21px;
  background-color: #ecf2f7;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 6px;
  transition: transform 0.3s ease;
}

.relative {
  position: relative;
}

.toggle-badge {
  position: absolute;
  top: -10px;
  right: -110px;
  background-color: #473bf0;
  color: #f4f7fa;
  padding: 6px 16px;
  border-radius: 14.5px;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 1.63px;
  text-transform: uppercase;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 80px;
}

.pricing-card {
  background-color: #ecf2f7;
  border: 1px solid #e7e9ed;
  border-radius: 10px;
  padding: 40px 30px;
  max-width: 360px;
  width: 100%;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0px 20px 40px rgba(22, 28, 45, 0.1);
}

.pricing-header {
  margin-bottom: 40px;
}

.plan-name {
  color: #473bf0;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 1.63px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.price {
  font-weight: 700;
  font-size: 48px;
  line-height: 65px;
  letter-spacing: -0.8px;
  color: #161c2d;
}

.period {
  font-family: "Rubik", sans-serif;
  font-size: 19px;
  line-height: 29px;
  letter-spacing: -0.09px;
  color: #161c2d;
}

.plan-billing {
  font-size: 15px;
  line-height: 26px;
  letter-spacing: -0.1px;
  color: #161c2d;
  opacity: 0.7;
}

.plan-features {
  list-style: none;
  margin-bottom: 40px;
}

.plan-features .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
  color: #161c2d;
}

.plan-features .feature-item.disabled {
  opacity: 0.7;
}

.check-icon {
  color: #68d585;
  font-weight: bold;
}

.plan-note {
  text-align: center;
  font-size: 15px;
  line-height: 26px;
  letter-spacing: -0.1px;
  color: #161c2d;
  opacity: 0.7;
  margin-top: 16px;
}

.testimonials-section {
  margin: 160px auto 80px;
}

.testimonial-item {
  position: relative;
}

.quote-mark {
  font-family: "Gilroy", sans-serif;
  font-weight: 600;
  font-size: 104px;
  line-height: 103px;
  letter-spacing: -1.44px;
  color: #0c29e7;
  position: absolute;
  top: -40px;
  left: -20px;
}

.testimonial-item blockquote {
  font-weight: 700;
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -0.5px;
  color: #161c2d;
  margin-bottom: 24px;
  padding-left: 40px;
}

.testimonial-item .testimonial-author {
  padding-left: 40px;
  position: absolute;
  bottom: -40px;
  left: 0;
}

/* Footer CTA */
.footer-cta {
  padding: 80px 0;
  background-color: #161c2d;
  color: #ffffff;
}

.footer-cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 80px;
  border-bottom: 1px solid #272b39;
}

.footer-cta .cta-title {
  color: #ffffff;
}

.footer-cta .cta-description {
  color: #ffffff;
  opacity: 0.65;
}

/* Footer */
.footer {
  background-color: #161c2d;
  color: #ffffff;
  padding: 40px 0 100px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

.footer-logos {
  display: flex;
  gap: 24px;
  align-items: center;
}

.logo-c3 {
  width: auto;
  height: 35px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 56px;
  height: 56px;
}

.footer-logo-text {
  width: 95px;
  height: auto;
}

.footer-description {
  font-size: 15px;
  line-height: 26px;
  letter-spacing: -0.1px;
  color: #ffffff;
  opacity: 0.65;
  max-width: 274px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-title {
  font-size: 15px;
  line-height: 26px;
  letter-spacing: -0.1px;
  color: #ffffff;
  opacity: 0.65;
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  line-height: 40px;
  letter-spacing: -0.2px;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.7;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #0c29e7;
  color: #ffffff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
  75% {
    transform: translateY(-15px) rotate(0.5deg);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1500px) {
  .hero {
    padding: 100px 0 120px;
  }
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-section {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-cta .container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 870px) {
  .header {
    flex-wrap: wrap;
  }

  .logo {
    order: 1;
  }

  .auth-btn {
    order: 2;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
    row-gap: 5px;
  }

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

  .hero-title {
    font-size: 36px;
    line-height: 48px;
  }

  .content-title {
    font-size: 36px;
    line-height: 48px;
  }

  .section-title {
    font-size: 28px;
    line-height: 36px;
  }

  .testimonial-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .hero-title {
    font-size: 28px;
    line-height: 36px;
  }

  .main-image {
    width: 300px;
    height: 300px;
  }

  .floating-img {
    display: none;
  }

  .services,
  .features,
  .pricing,
  .content-section {
    padding: 60px 0;
  }

  .service-card {
    padding: 30px 20px;
  }

  .pricing-card {
    padding: 30px 20px;
  }
}

.hide {
  display: none !important;
}

.auth-btn {
  display: flex;
  align-items: center;
  gap: 10px;
}
