@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
/* =========================
   JANGAN RUBAH NAMA KELAS
========================= */

/* =========================
   Hero Section
========================= */
.hero-section {
  background-color: #101241;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 8rem;
    box-shadow: 0 8px 20px rgb(155 155 155 / 43%);
    margin-bottom: 5rem;
}

.hero-container {
  text-align: center;
  max-width: 1200px;
}

/* Title & Description */
.hero-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-container p {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* =========================
   Switch Buttons
========================= */
.switch-buttons {
  display: inline-flex;
  background: #ffffff;
  border-radius: 40px;
  padding: 0.3rem;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.switch-btn {
  border: none;
  background: transparent;
  color: #0f172a;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.3s ease-in-out;
}

.switch-btn i {
  font-size: 1.1rem;
}

.switch-btn.active {
  background: #ff5003;
  color: #ffffff;
}

.switch-btn:hover {
  background-color: #e44400;
  color: #ffffff;
}

/* =========================
   Card Sections
========================= */
.card-section {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.card-section.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  position: absolute;
  width: 100%;
}
.hidden {
  display: none;
}

/* === Shortlink Card === */
.shortlink-card {
  background-color: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 650px;
  text-align: left;
}

.shortlink-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.shortlink-card p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1rem;
}

.shortlink-card label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.shortlink-card input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: 0.2s;
}

.shortlink-card input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.cta-btn {
  display: inline-block;
  background: #ff5003;
  color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.8rem;
  cursor: pointer;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #1e40af;
}

/* === QR Code Card === */
.qrcode-card {
  background-color: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.qrcode-left {
  flex: 1;
  text-align: left;
}

.qrcode-left h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.qrcode-left p {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 1rem;
}

.qrcode-left label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.qrcode-left input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 1rem;
  transition: 0.2s;
}

.qrcode-left input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.qrcode-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f1f5f9;
  border-radius: 16px;
  padding: 1rem;
}

.qrcode-right img {
  max-width: 220px;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* =========================
   Plan Info
========================= */
.plan-info {
  text-align: center;
  color: #ffffff;
  margin-top: 3rem;
}

.plan-info p {
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.plan-info ul {
  list-style: none;
  padding: 0;
  font-weight: 500;
}

.plan-info li {
  margin: 0.4rem 0;
}

.plan-info .check {
  color: #22c55e;
  font-weight: 700;
  margin-right: 0.3rem;
}

.plan-info .orange {
  color: #f97316;
}

.plan-info .red {
  color: #ef4444;
}

/* =========================
   Partner Logos
========================= */
.partner-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  opacity: 0.9;
}

.partner-logos img {
  height: 28px;
  opacity: 0.7;
  transition: 0.3s ease;
}

.partner-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}


/* =========================
   Connections Section
========================= */

.connections-section {
  background-color: #ffffff;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  /* padding: 4rem 2rem; */
}

/* Subtitle */
.connections-subtitle {
  color: #8c8c8c;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

/* Title */
.connections-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #101241;
  margin-bottom: 1rem;
}

/* Description */
.connections-desc {
  color: #3b3b3b;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* Buttons */
.connections-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn-primary,
.btn-outline {
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.9rem 1.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary {
  background-color: #ff5003;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background-color: #0040c8;
}

.btn-outline {
  background-color: transparent;
  color: #000000;
  border: 2px solid #ff5003;
}

.btn-outline:hover {
  background-color: #e9f0ff;
}

/* Cards Layout */
.connections-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card */
.card {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Card Content */
.card-content {
  background-color: #fff;
  border-top: 1px solid #eee;
  border-radius: 0 0 20px 20px;
  padding: 1.5rem;
  text-align: left;
}

/* Header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.card-header h3 {
  font-size: 1.1rem;
  color: #001f3f;
  font-weight: 700;
  margin: 0;
  flex-grow: 1;
  text-align: center;
}

/* Icons */
.card-header i {
  color: #001f3f;
  font-size: 1.1rem;
}

/* Paragraph */
.card-content p {
  color: #3b3b3b;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* === Card Expandable (Slide Up Overlay) === */
.card-expandable {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.card-expandable img {
  width: 100%;
  display: block;
  border-radius: 20px;
  height: 380px;
}

/* Konten berada di bawah gambar dan akan naik saat hover */
.card-expandable .card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(10%);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  z-index: 2;
}

/* Saat hover, naik ke atas menutupi sebagian gambar */
.card-expandable:hover .card-content {
  transform: translateY(0);
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.15);
}

/* Card body dan extra content */
.card-expandable .card-body {
  overflow: hidden;
  transition: all 0.4s ease;
}

.card-expandable .card-extra {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
}

/* Saat hover, tampilkan isi tambahan */
.card-expandable:hover .card-extra {
  opacity: 1;
  max-height: 300px;
  margin-top: 1rem;
}

.card-extra h4 {
  font-size: 0.95rem;
  color: #001f3f;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.card-extra ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.card-extra li {
  font-size: 0.9rem;
  color: #3b3b3b;
  margin: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-extra li i {
  color: #ff6600;
  font-size: 0.9rem;
}

/* Tombol di dalam card */
.extra-buttons {
  display: flex;
  gap: 0.7rem;
}

.extra-buttons .btn-primary,
.extra-buttons .btn-outline {
  flex: 1;
  font-size: 0.9rem;
  padding: 0.6rem;
  border-radius: 25px;
  font-weight: 600;
}

/* Ikon arah berputar saat hover */
.card-expandable .card-header i.fa-arrow-down {
  transition: transform 0.3s ease;
}

.card-expandable:hover .card-header i.fa-arrow-down {
  transform: rotate(-180deg);
}


/* Responsif */
@media (max-width: 768px) {
    .hero-container h1 {
    font-size: 2rem;
  }

  .shortlink-card {
    padding: 2rem 1.5rem;
  }
  .connections-title {
    font-size: 2rem;
  }
  .connections-cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
  }
}

