/* === GENERAL STYLING === */
:root {
  --primary-color: #007DFF;
  --dark-color: #313131;
  --text-color: #555;
  --bg-light: #f9f9f9;
  --white-color: #fff;
  --border-color: #ddd;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

  --theme-item-background: #e6f3ff;
  --fitur-item-background: #f0f8ff;
  --btn-recommended: rgba(0, 125, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style-type: none;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid transparent;
}

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

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

.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.btn-outline-dark {
  border-color: var(--dark-color);
  color: var(--dark-color);
  border-radius: 8px;
}

.btn-outline-dark:hover {
  background-color: var(--dark-color);
  color: var(--white-color);
}

.btn-outline.active {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* === NAVBAR === */
.navbar {
  background-color: var(--white-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
}

.nav-links ul {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-extra {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-icon {
  color: var(--text-color);
  font-size: 1.1rem;
}

.btn-login {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 8px 20px;
  border-radius: 20px;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* === HERO SECTION === */
.hero-section {
  padding: 5rem 0;
}

.hero-section .container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: var(--dark-color);
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.1rem;
  margin: 1.5rem 0;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 350px;
}

/* === CTA SECTION === */
.cta-section {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 2.5rem 0;
  border-radius: 50px;
  margin: 2rem auto;
  max-width: 1100px;
}

.cta-section .container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.cta-content h2 {
  font-size: 1.8rem;
}
.cta-content p {
  opacity: 0.8;
}

/* === FITUR SECTION === */
.fitur-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.fitur-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.fitur-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.fitur-item .icon-bg {
  background-color: var(--fitur-item-background);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.fitur-item h3 {
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

/* === HARGA SECTION === */
.harga-section {
  padding: 5rem 0;
}

.harga-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: top;
}

.harga-card {
  background-color: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.harga-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.harga-card.recommended {
  transform: scale(1.05);
  background: linear-gradient(180deg, #3c3c3c, #1a1a1a);
  color: var(--white-color);
  border-color: var(--primary-color);
}

.harga-card.recommended .btn-primary {
  box-shadow: 0 5px 15px var(--btn-recommended);
}

.harga-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

.harga-card.recommended h3 {
  color: var(--white-color);
}

.harga-card .promo-date {
  font-size: 0.8rem;
  background: #ffc107;
  color: #333;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: 1rem 0;
}

.harga-card.recommended .price {
  color: var(--primary-color);
}

.price .strikethrough {
  font-size: 1rem;
  text-decoration: line-through;
  color: #999;
  font-weight: 400;
  display: block;
}

.harga-card ul {
  margin: 2rem 0;
  text-align: left;
}

.harga-card li {
  margin-bottom: 1rem;
  padding-left: 25px;
  position: relative;
}

.harga-card li::before {
  content: '\f00c'; /* Font Awesome check icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.harga-card .badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* === DOWNLOAD SECTION === */
.download-section {
  padding: 5rem 0;
}

.download-section .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.download-content {
  flex: 1;
}

.download-content h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
}

.download-content p {
  margin: 1.5rem 0;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.download-image {
  flex: 1;
  background-color: var(--primary-color);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}
.download-image img {
  max-width: 300px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* === FOOTER === */
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  text-align: left;
  padding: 1.5rem 0;
}


/* === RESPONSIVE DESIGN === */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .container {
      padding: 0 30px;
  }
  .hamburger {
      display: block;
  }
  .nav-links {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background-color: var(--white-color);
      box-shadow: var(--shadow);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-in-out;
  }
  .nav-links.active {
      max-height: 300px; /* Adjust as needed */
      padding: 1rem 0;
  }
  .nav-links ul {
      flex-direction: column;
      align-items: center;
      gap: 1rem;
  }
  .nav-extra .social-icon {
      display: none;
  }

  .hero-section .container {
      flex-direction: column;
      text-align: center;
  }
  .hero-content h1 { font-size: 2.5rem; }

  .cta-section .container {
      flex-direction: column;
      text-align: center;
      gap: 1.5rem;
  }

  .harga-container {
      grid-template-columns: 1fr;
      max-width: 450px;
      margin: 0 auto;
  }
  .harga-card.recommended {
      transform: scale(1);
  }

  .download-section .container {
      flex-direction: column;
      text-align: center;
  }
  .app-buttons {
      justify-content: center;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .section-title h2 { font-size: 2rem; }

  .hero-content h1 { font-size: 2rem; }
  .hero-image img { max-width: 280px; }

  .cta-section { border-radius: 30px; margin: 0 1rem; }
  .cta-content h2 { font-size: 1.5rem; }
  .cta-button-wrapper {
    text-align: center;
  }

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

  .download-content h2 { font-size: 2rem; }
}
.custom-tab-link.active,
.custom-tab-link:focus {
    background: var(--primary-color) !important;
    color: #fff !important;
}
.custom-tab-link {
    outline: none;
}
@media (max-width: 600px) {
    .custom-tab-list {
        gap: 8px !important;
        font-size: 0.95rem;
    }
    .custom-tab-link {
        padding: 8px 12px !important;
        font-size: 0.97em;
    }
}
.blog-section {
  background: #f7f9fb;
  padding: 40px 0 60px 0;
}
.blog-main-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  width: 100%;
}
.blog-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  min-height: 340px;
}
.blog-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.blog-image {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.blog-content {
  padding: 20px 18px 18px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: 0.95rem;
  color: #8b8b8b;
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.blog-meta .author {
  font-weight: 500;
}
.blog-meta .date {
  font-size: 0.93em;
}
.blog-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.blog-title a {
  color: #2d2d2d;
  text-decoration: none;
  transition: color 0.2s;
}
.blog-title a:hover {
  color: #b8007d;
}
.blog-summary {
  color: #5a5a5a;
  font-size: 0.98rem;
  margin-bottom: 0;
  flex: 1;
}
.pagination-wrapper {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.blog-sidebar {
  min-width: 320px;
  max-width: 340px;
}
@media (max-width: 991px) {
  .blog-main-flex {
      flex-direction: column;
  }
  .blog-sidebar {
      max-width: 100%;
      min-width: 0;
      margin-top: 32px;
  }
  .blog-grid {
      grid-template-columns: 1fr;
  }
}
.blog-main-flex-detail {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.blog-detail-main-content {
  flex: 1;
}
.blog-detail-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
  min-height: 340px;
}
.blog-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.blog-detail-image {
  flex: 0 0 100%;
  overflow: hidden;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-detail-image img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.blog-detail-title-meta {
  flex: 1;
}
.blog-detail-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2d2d2d;
  margin-bottom: 16px;
  line-height: 1.3;
}
.blog-detail-content {
  margin-bottom: 32px;
  line-height: 2;
  color: #444;
  font-size: 1.05rem;
  text-align: justify;
}

.blog-detail-content hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #e3e6ed;
}

.tab-wrap-style {
  justify-content: flex-start;
  gap: 18px 32px !important;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 700px !important;
}
.tab-btn-style {
  transition: background 0.2s, color 0.2s;
}
.custom-tab-link.active.tab-btn-style,
.custom-tab-link.tab-btn-style:focus {
  background: var(--primary-color) !important;
  color: #fff !important;
  border: none !important;
}
@media (max-width: 700px) {
  .tab-wrap-style {
      max-width: 100% !important;
      gap: 12px 10px !important;
  }
  .tab-btn-style {
      padding: 10px 18px !important;
      font-size: 1em !important;
  }
}


/* Animation */
@keyframes floatAndRotate {
  0%, 100% {
      transform: translateY(0) rotate(0deg);
  }
  50% {
      transform: translateY(-15px) rotate(5deg);
  }
}

@keyframes floatAndPulse {
  0%, 100% {
      transform: translateY(0) scale(1);
      opacity: 1;
  }
  50% {
      transform: translateY(-12px) scale(1.1);
      opacity: 0.9;
  }
}

@keyframes floatAndBounce {
  0%, 100% {
      transform: translateY(0);
  }
  25% {
      transform: translateY(-10px);
  }
  50% {
      transform: translateY(5px);
  }
  75% {
      transform: translateY(-5px);
  }
}
