/*
Theme Name: Magangin Theme
Theme URI: https://magangin.id/
Author: Antigravity AI
Description: Premium landing page theme for Magangin.id. Includes custom post type for Job Listings (Lowongan).
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: magangin
*/

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

body {
  background: #f8fbff;
  color: #1e293b;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 100px 0;
  position: relative;
}

/* ========================= */
/* BLUR BACKGROUND */
/* ========================= */

.blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.4;
}

.blur1 {
  width: 300px;
  height: 300px;
  background: #60a5fa;
  top: 100px;
  left: -100px;
}

.blur2 {
  width: 250px;
  height: 250px;
  background: #3b82f6;
  right: -80px;
  top: 700px;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
}

nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #2563eb;
}

/* ========================= */
/* BUTTON */
/* ========================= */

.btn {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: #2563eb;
  color: white;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #1d4ed8;
}

.btn-secondary {
  background: white;
  color: #1e293b;
  border: 1px solid #dbeafe;
}

.btn-secondary:hover {
  transform: translateY(-3px);
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding-top: 120px;
}

.hero-badge {
  display: inline-block;
  background: #dbeafe;
  color: #2563eb;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 62px;
  line-height: 1.15;
  margin-bottom: 25px;
}

.gradient {
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: #64748b;
  font-size: 18px;
  margin-bottom: 35px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-features div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #475569;
  font-size: 15px;
}

/* ========================= */
/* DASHBOARD */
/* ========================= */

.dashboard {
  background: white;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
}

.search-box {
  background: #f1f5f9;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 25px;
  color: #94a3b8;
}

.job-card {
  background: white;
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eff6ff;
  transition: 0.3s;
}

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

.job-card h3 {
  margin-bottom: 5px;
}

.job-card p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

/* ========================= */
/* PARTNER */
/* ========================= */

.partners {
  background: white;
}

.partner-wrapper {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-item {
  color: #94a3b8;
  font-size: 28px;
  font-weight: 700;
  transition: 0.3s;
}

.partner-item:hover {
  color: #2563eb;
  transform: scale(1.05);
}

/* ========================= */
/* LIVE SECTION */
/* ========================= */

.live-section {
  background: linear-gradient(to bottom, #ffffff, #eef4ff);
}

.live-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.live-card,
.ai-card {
  background: white;
  padding: 35px;
  border-radius: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.live-card:hover,
.ai-card:hover {
  transform: translateY(-8px);
}

.live-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.live-item {
  display: flex;
  gap: 15px;
  padding: 18px;
  border-radius: 18px;
  background: #f8fbff;
  margin-bottom: 15px;
  transition: 0.3s;
}

.live-item:hover {
  background: #dbeafe;
}

.live-item span {
  font-size: 24px;
}

.live-item p {
  color: #475569;
}

.ai-icon {
  width: 80px;
  height: 80px;
  background: #dbeafe;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  font-size: 38px;
  margin-bottom: 20px;
}

.ai-card h3 {
  margin-bottom: 15px;
}

.ai-card p {
  color: #64748b;
  margin-bottom: 25px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tags span {
  background: #eff6ff;
  color: #2563eb;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

/* ========================= */
/* SECTION TITLE */
/* ========================= */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.section-title p {
  color: #64748b;
}

/* ========================= */
/* FEATURES */
/* ========================= */

.features {
  background: linear-gradient(to bottom, #f8fbff, #eef4ff);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 35px;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 65px;
  height: 65px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  font-size: 28px;
  margin-bottom: 25px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: #64748b;
}

/* ========================= */
/* STATS */
/* ========================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.stat-card {
  background: white;
  padding: 35px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-card h2 {
  font-size: 42px;
  color: #2563eb;
  margin-bottom: 10px;
}

.stat-card p {
  color: #64748b;
}

/* ========================= */
/* ACHIEVEMENT */
/* ========================= */

.achievement-section {
  background: #f8fbff;
}

.achievement-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.achievement-card {
  background: white;
  border-radius: 30px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.achievement-card:hover {
  transform: translateY(-10px);
}

.achievement-icon {
  width: 90px;
  height: 90px;
  margin: auto;
  margin-bottom: 25px;
  background: #dbeafe;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 42px;
}

.achievement-card h3 {
  margin-bottom: 15px;
}

.achievement-card p {
  color: #64748b;
}

/* ========================= */
/* STEPS */
/* ========================= */

.steps {
  background: white;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.step-card {
  background: #f8fbff;
  padding: 35px;
  border-radius: 25px;
  text-align: center;
  transition: 0.3s;
}

.step-card:hover {
  transform: translateY(-10px);
}

.step-number {
  width: 60px;
  height: 60px;
  margin: auto;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}

/* ========================= */
/* TESTIMONIAL */
/* ========================= */

.testimonials {
  background: linear-gradient(to bottom, #eef4ff, #f8fbff);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: white;
  padding: 35px;
  border-radius: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.testimonial-card p {
  color: #64748b;
  margin-bottom: 20px;
}

/* ========================= */
/* CTA */
/* ========================= */

.cta-box {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 35px;
  padding: 70px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}

.cta-box h2 {
  font-size: 46px;
  margin-bottom: 20px;
}

.cta-box p {
  margin-bottom: 35px;
  color: #dbeafe;
}

.cta-box .btn {
  background: white;
  color: #2563eb;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
  background: white;
  padding: 60px 0;
  border-top: 1px solid #e2e8f0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-text {
  max-width: 350px;
}

.socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.socials a {
  width: 40px;
  height: 40px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: 0.3s;
}

.socials a:hover {
  background: #2563eb;
  color: white;
}

/* ========================= */
/* CHAT WIDGET */
/* ========================= */

.chat-widget {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 65px;
  height: 65px;
  background: #2563eb;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
  cursor: pointer;
  animation: float 2s ease-in-out infinite;
  z-index: 999;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

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

@media(max-width:900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .live-wrapper {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 44px;
  }
  nav ul {
    display: none;
  }
  .cta-box {
    padding: 50px 30px;
  }
  .cta-box h2 {
    font-size: 34px;
  }
}
