/*
Theme Name: SUPER Theme
Theme URI: https://super.com
Author: SUPER Team
Author URI: https://super.com
Description: Tema WordPress untuk SUPER - Satu Aplikasi, Semua Kebutuhan Kamu. Layout persis seperti website static asli.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: super-theme
Tags: custom, landing-page, responsive
*/

/* --- Reset and Global Styles --- */
:root {
  --white: rgba(255, 255, 255, 1);
  --black: rgba(0, 0, 0, 1);
  --text-black: rgba(64, 64, 64, 1);
  --secondarynormal: rgba(39, 189, 195, 1);
  --accentdark-hover: rgba(138, 138, 138, 1);
  --accentlight: rgba(255, 255, 255, 1);
  --accentdark: rgba(173, 173, 173, 1);
  --accentnormal-active: rgba(184, 184, 184, 1);

  /* Font Variables */
  --font-nunito: "Nunito", Helvetica, sans-serif;
  --font-poppins: "Poppins", Helvetica, sans-serif;
  --font-inter: "Inter", Helvetica, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-nunito);
  background-color: var(--white);
  color: var(--text-black);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
  background: none;
}

/* --- Utility Classes --- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- General Component Styles --- */
.download-button {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.download-button .app-store-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 160px;
  height: 45px;
  border-radius: 6px;
  background-color: var(--white);
  color: var(--black);
  transition: opacity 0.3s ease;
}
.download-button .app-store-btn.dark {
  background-color: var(--black);
  color: var(--white);
}

.download-button .app-store-btn:hover {
  opacity: 0.8;
}

.download-button .app-store-btn img {
  width: 24px;
  height: 24px;
}

.download-button .btn-text {
  text-align: left;
}

.download-button .btn-text span {
  display: block;
  font-size: 9px;
  line-height: 1.2;
}

.download-button .btn-text strong {
  font-size: 16px;
  font-weight: 500;
  font-family: "SF Compact Display", sans-serif;
}

/* --- Main Styles --- */
.landing-page-home {
  position: relative;
  overflow-x: hidden;
  background-color: var(--white);
}

/* Decorative background gradients */
.landing-page-home::before,
.landing-page-home::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(248, 206, 69, 0.38) 0%,
    rgba(39, 189, 195, 0) 100%
  );
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}
.landing-page-home::before {
  width: 1200px;
  height: 1200px;
  top: -300px;
  left: -400px;
}
.landing-page-home::after {
  width: 1400px;
  height: 1400px;
  bottom: 25%;
  right: -500px;
}

/* --- Navbar Section --- */
.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid #f0f0f0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 48px;
  height: 48px;
}

.logo span {
  font-size: 28px;
  font-weight: 800;
  color: var(--secondarynormal);
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--accentnormal-active);
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links .current-menu-item a {
  color: var(--secondarynormal);
  font-weight: 800;
}

/* --- Hero Section --- */
.hero {
  padding-top: 150px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero .headline {
  flex: 1;
  max-width: 450px;
}

.hero .headline h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--secondarynormal);
  line-height: 1.2;
}

.hero .headline .subheadline {
  margin-top: 16px;
  font-size: 20px;
  color: #8a8a8a;
}

.hero .headline .subheadline .super-text {
  font-weight: 800;
  color: var(--secondarynormal);
}

.hero-image-container {
  flex: 1.2;
  position: relative;
  width: 100%;
  max-width: 590px;
  aspect-ratio: 590 / 478;
  margin: auto;
}

.hero-image-container .grid-img {
  position: absolute;
  border-radius: 12px;
  object-fit: cover;
}

.grid-img-1 {
  left: 0;
  top: 9%;
  width: 26.9%;
  height: 85.7%;
}
.grid-img-2 {
  left: 27.4%;
  top: 9%;
  width: 30.5%;
  height: 39.7%;
}
.grid-img-3 {
  left: 58.4%;
  top: 9%;
  width: 41.5%;
  height: 39.7%;
}
.grid-img-4 {
  left: 27.4%;
  top: 50.8%;
  width: 41.5%;
  height: 43.9%;
}
.grid-img-5 {
  left: 69.5%;
  top: 50.8%;
  width: 30.5%;
  height: 43.9%;
}

.hero-image-container .benefit {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background-color: var(--white);
  border-radius: 24px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  font-weight: 800;
  color: var(--secondarynormal);
  white-space: nowrap;
}

.hero-image-container .benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: var(--secondarynormal);
  border-radius: 50%;
}

.hero-image-container .benefit-icon img {
  width: 20px;
  height: 20px;
}

.benefit.driver {
  top: 0;
  left: 20%;
}
.benefit.fast-delivery {
  top: 45%;
  left: 55%;
}
.benefit.anywhere {
  bottom: 0;
  left: 15%;
}

/* --- Services Section --- */
.services-section .headline-2 {
  text-align: center;
  margin-bottom: 40px;
}

.services-section h2 {
  font-size: 62px;
  font-weight: 900;
  color: var(--secondarynormal);
  line-height: 1.1;
}

.services-section .subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--accentdark-hover);
  margin-top: 8px;
}

.services-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.service-card {
  position: relative;
  width: 180px;
  height: 202px;
  margin-top: 26px;
}

.service-card-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 176px;
  background-color: var(--secondarynormal);
  border-radius: 20px;
  padding: 20px;
  color: var(--white);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.service-card p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.service-card-icon {
  position: absolute;
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 88px;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* --- Feature Section 1 (#SuperApp) --- */
.feature-section {
  display: flex;
  align-items: center;
  gap: 60px;
}

.feature-section .feature-image {
  flex: 1;
}

.feature-section .feature-text {
  flex: 1;
}

.feature-text .tagline {
  font-size: 20px;
  color: var(--secondarynormal);
  font-family: var(--font-inter);
}

.feature-text h2 {
  font-size: 62px;
  font-weight: 900;
  color: var(--secondarynormal);
  line-height: 1.1;
  margin: 5px 0 18px;
}

.feature-text p {
  font-size: 20px;
  font-weight: 500;
  color: #8a8a8a;
  line-height: 1.5;
  max-width: 360px;
}

/* --- Feature Section 2 (SUPER Nyaman) --- */
.feature-section-2 {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 700px;
  display: flex;
  align-items: center;
}

.feature-section-2 .background-gradient {
  position: absolute;
  top: 10;
  left: -10;
  width: 120%;
  height: 80%;
  background: linear-gradient(
    73deg,
    rgba(39, 189, 195, 0.25) 0%,
    rgba(248, 206, 69, 0.15) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: blur(60px);
  opacity: 0.8;
  z-index: 0;
  pointer-events: none;
}

.feature-section-2-content {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 1;
}

.feature-section-2 .feature-text {
  flex: 1.5;
}

.feature-section-2 .headline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.feature-section-2 .headline img {
  width: 300px;
  height: auto;
}

.feature-section-2 .headline h2 {
  font-size: 52px;
  font-weight: 900;
  color: var(--secondarynormal);
  line-height: 1.15;
}

.feature-section-2 .subheadline {
  font-size: 20px;
  color: #8a8a8a;
  margin-bottom: 25px;
  max-width: 560px;
}

.feature-section-2 .super-text {
  font-weight: 800;
  color: var(--secondarynormal);
}

.feature-section-2 .feature-image {
  flex: 1;
  text-align: right;
}

.feature-section-2 .feature-image img {
  max-height: 700px;
  width: auto;
  display: inline-block;
}

/* --- Partners Section --- */
.partners-section .headline-3 {
  text-align: center;
  margin-bottom: 40px;
}

.partners-section h2 {
  font-size: 62px;
  font-weight: 900;
  color: var(--secondarynormal);
  line-height: 1.1;
}

.partners-section .subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--accentdark-hover);
  margin-top: 8px;
}

.partners-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.partner-card {
  flex: 1;
  max-width: 340px;
  text-align: left;
}

.partner-card img {
  width: 100%;
  height: 373px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 24px;
}

.partner-card h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--secondarynormal);
  margin-bottom: 4px;
}

.partner-card p {
  font-size: 16px;
  color: var(--accentdark-hover);
  margin-bottom: 20px;
  min-height: 80px;
}

.partner-card .btn-partner {
  display: inline-flex;
  padding: 12px 24px;
  background-color: var(--secondarynormal);
  color: var(--white);
  border-radius: 12px;
  font-size: 20px;
  font-weight: 800;
  transition: opacity 0.3s ease;
}

.partner-card .btn-partner:hover {
  opacity: 0.9;
}

/* --- Testimonial Section --- */
.testimonial-section {
  background-color: var(--secondarynormal);
  color: var(--white);
  padding: 80px 0;
}

.testimonial-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.testimonial-section h2 {
  font-size: 62px;
  font-weight: 900;
  line-height: 1.1;
}

.testimonial-section .subtitle {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 40px;
}

.carousel-viewport {
  overflow: hidden;
}

.testimonial-cards {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-card {
  flex: 0 0 50%;
  min-width: 320px;
  background-color: var(--white);
  color: var(--text-black);
  border-radius: 20px;
  padding: 27px;
  margin-right: 32px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}

.testimonial-profile img {
  width: 61px;
  height: 61px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-profile h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--secondarynormal);
}

.testimonial-profile span {
  font-size: 16px;
  color: var(--accentdark-hover);
}

.testimonial-card .quote {
  font-size: 16px;
  color: var(--accentdark-hover);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.carousel-nav button {
  background-color: var(--white);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.carousel-nav button:hover {
  opacity: 0.8;
}

.carousel-nav img {
  width: 24px;
  height: 24px;
}

/* --- Newsletter Section --- */
.newsletter-section {
  text-align: center;
}

.newsletter-section h2 {
  font-size: 62px;
  font-weight: 900;
  color: var(--secondarynormal);
  line-height: 1.1;
}

.newsletter-section .subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--secondarynormal);
  margin: 8px 0 40px;
}

.newsletter-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  border: 1.5px solid var(--secondarynormal);
  border-radius: 12px;
  padding: 8px;
}

.newsletter-form .input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
}

.newsletter-form img {
  width: 24px;
  height: 24px;
}

.newsletter-form input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: var(--font-nunito);
  color: var(--accentdark);
}

.newsletter-form input::placeholder {
  color: var(--accentdark);
}

.newsletter-form button {
  background-color: var(--secondarynormal);
  color: var(--white);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  padding: 12px 24px;
  transition: opacity 0.3s ease;
}

.newsletter-form button:hover {
  opacity: 0.9;
}

/* --- Footer Section --- */
.main-footer {
  background-color: var(--secondarynormal);
  color: var(--white);
  padding: 60px 0;
}

.footer-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-about {
  flex: 2;
  min-width: 280px;
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about .footer-description {
  font-size: 20px;
  max-width: 330px;
  margin-bottom: 25px;
}

.footer-about .super-text {
  font-weight: 800;
}

.footer-about .social-media img {
  width: 100%;
  max-width: 264px;
}

.footer-links {
  flex: 1;
  min-width: 150px;
}

.footer-links h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 16px;
  font-weight: 500;
  transition: text-decoration 0.3s ease;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copyright {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 20px;
  font-size: 12px;
  font-family: var(--font-poppins);
}

.logo-footer {
  background-color: white;
}

/* --- 404 Page Styles --- */
.error-page {
  position: relative;
  overflow-x: hidden;
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
}

.error-page::before,
.error-page::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(248, 206, 69, 0.38) 0%,
    rgba(39, 189, 195, 0) 100%
  );
  opacity: 0.8;
  z-index: -1;
  pointer-events: none;
}
.error-page::before {
  width: 1200px;
  height: 1200px;
  top: -300px;
  left: -400px;
}
.error-page::after {
  width: 1400px;
  height: 1400px;
  bottom: 25%;
  right: -500px;
}

.error-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.error-number {
  font-size: 180px;
  font-weight: 900;
  color: var(--secondarynormal);
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 4px 4px 0px rgba(39, 189, 195, 0.2);
}

.error-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--secondarynormal);
  margin-bottom: 20px;
}

.error-description {
  font-size: 20px;
  color: var(--accentdark-hover);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  background-color: var(--secondarynormal);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(39, 189, 195, 0.3);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--secondarynormal);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  border: 2px solid var(--secondarynormal);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary:hover {
  background-color: var(--secondarynormal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(39, 189, 195, 0.3);
}

.error-illustration {
  max-width: 500px;
  margin: 0 auto;
}

.error-illustration img {
  width: 100%;
  height: auto;
}

/* --- Media Queries for Responsiveness --- */
@media (max-width: 1024px) {
  .container {
    padding: 60px 0;
  }

  .hero,
  .feature-section,
  .feature-section-2-content {
    flex-direction: column;
    text-align: center;
  }

  .hero .headline {
    max-width: 100%;
    order: 2;
  }

  .hero .hero-image-container {
    order: 1;
  }

  .hero-image-container {
    margin-top: 40px;
    width: 100%;
    max-width: 500px;
  }

  .feature-section {
    gap: 20px;
  }

  .feature-text {
    max-width: 500px;
  }

  .feature-section.image-first {
    flex-direction: column;
  }
  .feature-section.image-first .feature-image {
    order: 1;
  }
  .feature-section.image-first .feature-text {
    order: 2;
  }

  .feature-section-2 .feature-image {
    display: none;
  }

  .feature-section-2-content {
    text-align: left;
  }

  .partners-grid {
    flex-direction: column;
    align-items: center;
  }

  .partner-card p {
    min-height: auto;
  }

  .footer-container {
    justify-content: space-between;
  }

  .footer-about {
    flex-basis: 100%;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }
}

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

  h1,
  h2 {
    font-size: 36px !important;
  }

  .hero {
    padding-top: 120px;
  }

  .services-section h2,
  .feature-text h2,
  .partners-section h2,
  .testimonial-section h2,
  .newsletter-section h2 {
    font-size: 42px !important;
  }

  .feature-section-2 .headline h2 {
    font-size: 38px !important;
  }

  .download-button {
    justify-content: center;
  }

  .hero-image-container .benefit {
    padding: 8px 16px;
    font-size: 14px;
  }

  .hero-image-container .benefit-icon {
    width: 32px;
    height: 32px;
  }

  .benefit.driver {
    top: 5%;
    left: 5%;
  }
  .benefit.fast-delivery {
    top: 45%;
    right: 5%;
    left: auto;
  }
  .benefit.anywhere {
    bottom: 5%;
    left: 10%;
  }

  .carousel-nav {
    display: none;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
    border: none;
  }

  .newsletter-form .input-group {
    border: 1.5px solid var(--secondarynormal);
    border-radius: 12px;
    padding: 12px;
  }
  .logo-app {
    width: 100%;
  }

  .error-number {
    font-size: 120px;
  }

  .error-title {
    font-size: 32px;
  }

  .error-description {
    font-size: 18px;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

