/* Reset dan Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Light Theme Colors */
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary-color: #60a5fa;
  --accent-color: #0ea5e9;
  --background-color: #ffffff;
  --surface-color: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0 05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0 1);
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

/* Dark Theme */
[data-theme="dark"] {
  --primary-color: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --secondary-color: #60a5fa;
  --accent-color: #0ea5e9;
  --background-color: #0f172a;
  --surface-color: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-light: #94a3b8;
  --border-color: #334155;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--text-primary);
  line-height: 1 6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0 3s ease;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .header {
  background: rgba(15, 23, 42, 0.95);
}

.navbar {
  padding: 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

logo {
  display: flex;
  align-items: center;
  font-size: 1 5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo i {
  margin-right: 0 5rem;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0 3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.theme-toggle {
  margin-left: 1rem;
}

.theme-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.theme-btn:hover {
  background: var(--surface-color);
  transform: rotate(180deg);
}

/* Mobile Menu Toggle (Hidden by default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0 3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  margin-top: 70px;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-content h1 {
  font-size: 3 5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1 2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0 3s ease;
  box-shadow: var(--shadow-lg);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

/* ===================================
   MOBILE MENU TOGGLE (HAMBURGER)
   =================================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  gap: 5px;
  z-index: 1001;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
  display: block;
}

/* Animasi Hamburger menjadi X saat aktif */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   RESPONSIVE - MOBILE NAVIGATION
   =================================== */
@media (max-width: 767px) {
  /* Tampilkan hamburger menu */
  .menu-toggle {
    display: flex;
    order: 2;
  }

  /* Nav menu hidden by default */
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--background-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1 5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border-top: 1px solid var(--border-color);
  }

  /* Nav menu saat aktif - INI YANG PENTING!  */
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  /* Nav links di mobile */
  .nav-menu li {
    list-style: none;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
  }

  .nav-menu .nav-link:hover {
    background: var(--surface-color);
    color: var(--primary-color);
  }

  /* Theme toggle di mobile */
  .theme-toggle {
    order: 3;
    margin-left: auto;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .nav-container {
    height: 55px;
  }

  .nav-menu {
    top: 55px;
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav-menu .nav-link {
    font-size: 0.95rem;
    padding: 0.6rem 0.8rem;
  }
}

/* ===================================
   FILTER SECTION
   =================================== */
.filter-section {
  background: var(--surface-color);
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.filter-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--background-color);
  border: 2px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: "Poppins", sans-serif;
}

.filter-tab:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-tab.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-md);
}

.filter-tab i {
  font-size: 1.2rem;
}

/* ===================================
   STATUS SECTION
   =================================== */
.status-section {
  background: var(--background-color);
  padding: 2rem 0;
}

.status-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.status-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.status-icon.cerah {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.status-icon.fokus {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
}

.status-icon.gagal {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
}

.status-icon:hover {
  transform: scale(1 1);
}

.status-text {
  font-weight: 600;
  color: var(--text-primary);
}

/* ===================================
   CHALLENGE SECTION
   =================================== */
.challenge-section {
  background: var(--gradient-primary);
  padding: 4rem 2rem;
  text-align: center;
  color: white;
}

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

.challenge-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.challenge-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===================================
   MAIN CONTENT
   =================================== */
.main-content {
  background: var(--background-color);
}

.growth-section,
.tips-section,
.features-section {
  padding: 4rem 2rem;
}

.growth-container,
.tips-container,
.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

/* ===================================
   MOBILE FEATURE WRAPPER
   =================================== */
.mobile-feature-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-feature-wrapper:last-child {
  border-bottom: none;
}

/* Reverse Layout */
.mobile-feature-wrapper.reverse {
  direction: rtl;
}

.mobile-feature-wrapper.reverse > * {
  direction: ltr;
}

.mobile-feature-content {
  padding: 0 2rem;
}

.mobile-feature-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

[data-theme="dark"] .mobile-feature-title {
  color: var(--text-primary);
}

.mobile-feature-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.feature-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.highlight-item i {
  color: #10b981;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===================================
   PHONE MOCKUP
   =================================== */
.phone-mockup-container {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.phone-frame {
  position: relative;
  width: 280px;
  padding: 12px;
  background: linear-gradient(145deg, #1e3a5f 0%, #0f2744 100%);
  border-radius: 40px;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0 25),
    0 30px 60px -30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  z-index: 2;
  transition: transform 0.5s ease;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 25px;
  background: #0f2744;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-frame::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background: #2d4a6a;
  border-radius: 3px;
  z-index: 11;
}

.phone-screenshot {
  width: 100%;
  height: auto;
  border-radius: 28px;
  display: block;
}

.phone-frame:hover {
  transform: scale(1.05) rotate(2deg);
}

/* AI Frame */
.phone-frame.ai-frame {
  background: linear-gradient(145deg, #7c3aed 0%, #4f46e5 50%, #2563eb 100%);
  box-shadow: 0 50px 100px -20px rgba(124, 58, 237, 0 3),
    0 30px 60px -30px rgba(79, 70, 229, 0.4), 0 0 40px rgba(124, 58, 237, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: ai-glow 3s ease-in-out infinite;
}

.phone-frame.ai-frame::before {
  background: #4f46e5;
}

.phone-frame.ai-frame::after {
  background: #8b5cf6;
}

.phone-frame.ai-frame:hover {
  box-shadow: 0 50px 100px -20px rgba(124, 58, 237, 0.4),
    0 30px 60px -30px rgba(79, 70, 229, 0.5), 0 0 60px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ===================================
   DECORATIVE CIRCLES
   =================================== */
.phone-decoration {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.circle-1 {
  width: 180px;
  height: 180px;
  background: linear-gradient(
    135deg,
    rgba(59, 130, 246, 0 15) 0%,
    rgba(14, 165, 233, 0.15) 100%
  );
  top: -20px;
  right: -40px;
  animation: pulse-circle 4s ease-in-out infinite;
}

.circle-2 {
  width: 130px;
  height: 130px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.15) 0%,
    rgba(52, 211, 153, 0.15) 100%
  );
  bottom: 40px;
  left: -20px;
  animation: pulse-circle 4s ease-in-out infinite 1s;
}

.circle-3 {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(244, 63, 94, 0.15) 0%,
    rgba(251, 113, 133, 0.15) 100%
  );
  top: 80px;
  left: 10px;
  animation: pulse-circle 4s ease-in-out infinite 2s;
}

/* Alternative Colors */
.alt-color-1 {
  background: linear-gradient(
    135deg,
    rgba(168, 85, 247, 0.15) 0%,
    rgba(192, 132, 252, 0.15) 100%
  ) !important;
}
.alt-color-2 {
  background: linear-gradient(
    135deg,
    rgba(251, 191, 36, 0.15) 0%,
    rgba(252, 211, 77, 0.15) 100%
  ) !important;
}
.alt-color-3 {
  background: linear-gradient(
    135deg,
    rgba(20, 184, 166, 0.15) 0%,
    rgba(45, 212, 191, 0.15) 100%
  ) !important;
}
.alt-color-4 {
  background: linear-gradient(
    135deg,
    rgba(239, 68, 68, 0.15) 0%,
    rgba(248, 113, 113, 0.15) 100%
  ) !important;
}
.alt-color-5 {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15) 0%,
    rgba(129, 140, 248, 0.15) 100%
  ) !important;
}
.alt-color-6 {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.15) 0%,
    rgba(244, 114, 182, 0.15) 100%
  ) !important;
}

/* AI Colors */
.ai-color-1 {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0 2) 0%,
    rgba(139, 92, 246, 0.2) 100%
  ) !important;
  animation: pulse-circle-ai 3s ease-in-out infinite !important;
}
.ai-color-2 {
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.2) 0%,
    rgba(99, 102, 241, 0.2) 100%
  ) !important;
  animation: pulse-circle-ai 3s ease-in-out infinite 0.5s !important;
}
.ai-color-3 {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.2) 0%,
    rgba(59, 130, 246, 0.2) 100%
  ) !important;
  animation: pulse-circle-ai 3s ease-in-out infinite 1s !important;
}

/* AI Particles */
.ai-particle {
  position: absolute;
  border-radius: 50%;
  z-index: 3;
  opacity: 0.8;
}

.particle-1 {
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  top: 20%;
  right: 10%;
  animation: float-particle 4s ease-in-out infinite;
}

.particle-2 {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  top: 60%;
  right: 5%;
  animation: float-particle 5s ease-in-out infinite 1s;
}

.particle-3 {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  bottom: 30%;
  left: 5%;
  animation: float-particle 4 5s ease-in-out infinite 0.5s;
}

.particle-4 {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #a78bfa, #c4b5fd);
  top: 40%;
  left: 10%;
  animation: float-particle 3 5s ease-in-out infinite 1 5s;
}

/* ===================================
   CHART & STATS
   =================================== */
.chart-container {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.chart-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1 5rem;
}

.stat-item {
  background: var(--surface-color);
  padding: 1 5rem;
  border-radius: 12px;
  text-align: center;
  border-left: 4px solid var(--primary-color);
}

.stat-label {
  display: block;
  color: var(--text-secondary);
  font-size: 0 9rem;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ===================================
   TIPS SECTION
   =================================== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tip-card {
  background: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tip-content {
  padding: 1.5rem;
}

.tip-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0 5rem;
  color: var(--text-primary);
}

.tip-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tip-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.tip-link:hover {
  color: var(--primary-dark);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--surface-color);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0 3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1 5rem;
  color: white;
  font-size: 2rem;
}

.feature-title {
  font-size: 1 3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--surface-color);
  padding: 3rem 2rem 1rem;
  border-top: 1px solid var(--border-color);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0 3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.update-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.update-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 5rem;
}

.update-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

/* User Menu */
.user-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes pulse-circle {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.8;
  }
}

@keyframes pulse-circle-ai {
  0%,
  100% {
    transform: scale(1);
    opacity: 0 4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
}

@keyframes float-phone {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
  }
  75% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes float-phone-reverse {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-12px) rotate(-2deg);
  }
  75% {
    transform: translateY(-6px) rotate(2deg);
  }
}

@keyframes slide-left {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float-particle {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.8;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 1;
  }
  50% {
    transform: translateY(-10px) translateX(-5px);
    opacity: 0.6;
  }
  75% {
    transform: translateY(-25px) translateX(5px);
    opacity: 0.9;
  }
}

@keyframes ai-glow {
  0%,
  100% {
    box-shadow: 0 50px 100px -20px rgba(124, 58, 237, 0 3),
      0 30px 60px -30px rgba(79, 70, 229, 0.4), 0 0 40px rgba(124, 58, 237, 0.2);
  }
  50% {
    box-shadow: 0 50px 100px -20px rgba(124, 58, 237, 0 4),
      0 30px 60px -30px rgba(79, 70, 229, 0.5),
      0 0 60px rgba(124, 58, 237, 0.35);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}
.animate-fade-in-delay {
  animation: fadeIn 0 8s ease-out 0.2s both;
}
.animate-fade-in-delay-2 {
  animation: fadeIn 0.8s ease-out 0.4s both;
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}
.animate-float-phone {
  animation: float-phone 6s ease-in-out infinite;
}
.animate-float-phone-reverse {
  animation: float-phone-reverse 6s ease-in-out infinite;
}
.animate-slide-left {
  animation: slide-left 1s ease-out;
}
.animate-slide-right {
  animation: slide-right 1s ease-out;
}
.animate-hover {
  transition: all 0 3s ease;
}
.animate-hover:hover {
  transform: translateY(-5px);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

/* Focus States */
button:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

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

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .hero-content h1 {
    font-size: 4rem;
  }

  .mobile-feature-title {
    font-size: 3rem;
  }

  .phone-frame {
    width: 320px;
  }
}

/* Laptop / Small Desktop (1200px - 1399px) */
@media (max-width: 1199px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .mobile-feature-wrapper {
    gap: 3rem;
  }

  .mobile-feature-title {
    font-size: 2 2rem;
  }

  .mobile-feature-description {
    font-size: 1.1rem;
  }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1023px) {
  .nav-container {
    padding: 0 1 5rem;
  }

  .nav-menu {
    gap: 1 5rem;
  }

  .hero-container {
    gap: 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .mobile-feature-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
    padding: 3rem 0;
  }

  .mobile-feature-wrapper.reverse {
    direction: ltr;
  }

  .mobile-feature-content {
    padding: 0;
    order: 1;
  }

  .phone-mockup-container {
    order: 0;
  }

  .mobile-feature-title {
    font-size: 2rem;
  }

  .feature-highlights {
    align-items: center;
  }

  .challenge-title {
    font-size: 2rem;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
  .nav-container {
    height: 60px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .logo i {
    font-size: 1 5rem;
  }

  .nav-menu {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .hero {
    padding: 3rem 1 5rem;
    min-height: 70vh;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .phone-frame {
    width: 260px;
  }

  .status-container {
    gap: 3rem;
  }

  .growth-section,
  .tips-section,
  .features-section {
    padding: 3rem 1.5rem;
  }
}

/* Mobile Landscape / Large Mobile (576px - 767px) */
@media (max-width: 767px) {
  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--background-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1 5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
  }

  .theme-toggle {
    margin-left: 0;
  }

  /* Hero */
  .hero {
    margin-top: 60px;
    padding: 2rem 1rem;
    min-height: auto;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  /* Filter */
  .filter-tabs {
    flex-direction: column;
    align-items: center;
  }

  .filter-tab {
    width: 100%;
    max-width: 250px;
    justify-content: center;
    padding: 0.8rem 1.2rem;
  }

  /* Status */
  .status-container {
    gap: 2rem;
  }

  .status-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* Challenge */
  .challenge-section {
    padding: 3rem 1rem;
  }

  .challenge-title {
    font-size: 1.6rem;
  }

  .challenge-subtitle {
    font-size: 1rem;
  }

  /* Mobile Features */
  .mobile-feature-wrapper {
    padding: 2 5rem 0;
  }

  .mobile-feature-title {
    font-size: 1.8rem;
  }

  .mobile-feature-description {
    font-size: 1rem;
  }

  .highlight-item {
    font-size: 1rem;
  }

  .phone-frame {
    width: 240px;
  }

  /* Tips */
  .tips-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tip-image {
    height: 180px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1 5rem;
  }

  .update-buttons {
    align-items: center;
  }

  /* Decorations */
  .circle-1,
  .circle-2,
  .circle-3 {
    display: none;
  }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
    height: 55px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo i {
    font-size: 1.3rem;
    margin-right: 0.3rem;
  }

  .hero {
    margin-top: 55px;
    padding: 1.5rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1 5rem;
  }

  .hero-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  /* Filter */
  .filter-section {
    padding: 1.5rem 0;
  }

  .filter-tab {
    padding: 0.7rem 1rem;
    font-size: 0 9rem;
  }

  /* Status */
  .status-section {
    padding: 1.5rem 0;
  }

  .status-container {
    flex-direction: row;
    gap: 1 5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .status-icon {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .status-text {
    font-size: 0 85rem;
  }

  /* Challenge */
  .challenge-section {
    padding: 2rem 1rem;
  }

  .challenge-title {
    font-size: 1.4rem;
  }

  .challenge-subtitle {
    font-size: 0.9rem;
  }

  /* Mobile Features */
  .growth-section,
  .tips-section,
  .features-section {
    padding: 2rem 1rem;
  }

  .mobile-feature-wrapper {
    padding: 2rem 0;
  }

  .mobile-feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .mobile-feature-description {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .feature-highlights {
    gap: 0.8rem;
  }

  .highlight-item {
    font-size: 0.9rem;
    gap: 0.6rem;
  }

  .highlight-item i {
    font-size: 1rem;
  }

  .phone-frame {
    width: 220px;
    padding: 10px;
    border-radius: 30px;
  }

  .phone-frame::before {
    width: 80px;
    height: 20px;
  }

  .phone-frame::after {
    width: 40px;
    height: 4px;
  }

  .phone-screenshot {
    border-radius: 22px;
  }

  /* Tips */
  .tip-content {
    padding: 1.2rem;
  }

  .tip-title {
    font-size: 1.1rem;
  }

  .tip-description {
    font-size: 0.9rem;
  }

  /* Features */
  .feature-card {
    padding: 1 2rem;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .feature-title {
    font-size: 1.1rem;
  }

  .feature-description {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer-section h4 {
    font-size: 1rem;
  }

  .footer-section p,
  .footer-section ul li a {
    font-size: 0 9rem;
  }

  .update-btn {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }

  .footer-bottom p {
    font-size: 0 85rem;
  }

  /* AI Particles */
  .ai-particle {
    display: none;
  }
}

/* Extra Small Mobile (360px) */
@media (max-width: 360px) {
  .nav-container {
    padding: 0 0.8rem;
  }

  .logo {
    font-size: 1rem;
  }

  .logo i {
    font-size: 1.2rem;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .mobile-feature-title {
    font-size: 1 3rem;
  }

  .phone-frame {
    width: 200px;
  }

  .challenge-title {
    font-size: 1.2rem;
  }

  .filter-tab {
    padding: 0 6rem 0 8rem;
    font-size: 0.85rem;
  }
}

/* Landscape Mode untuk Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 1.5rem;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    transform: none;
    opacity: 1;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }

  .menu-toggle {
    display: none;
  }
}

/* Print Styles */
@media print {
  .header,
  .theme-toggle,
  .hero-btn,
  .update-btn,
  .filter-section,
  .status-section,
  .phone-decoration,
  .ai-particle {
    display: none;
  }

  .hero {
    background: none;
    color: black;
    min-height: auto;
    padding: 2rem;
  }

  .mobile-feature-wrapper {
    page-break-inside: avoid;
  }

  .phone-frame {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  }
}

/* ===================== LOGIN MODAL STYLES ===================== */

/* Overlay Background */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Modal Content Box */
.login-modal-content {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  padding: 40px 50px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0 1);
  transform: scale(0 7) translateY(20px);
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient border */
.login-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

@keyframes slideUp {
  to {
    transform: scale(1) translateY(0);
  }
}

/* Close Button */
.login-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #adb5bd;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-modal-close:hover {
  color: #495057;
  background: #f1f3f5;
  transform: rotate(90deg);
}

/* Icon Container */
.login-modal-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4),
    0 0 0 8px rgba(102, 126, 234, 0.1);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4),
      0 0 0 8px rgba(102, 126, 234, 0.1);
  }
  50% {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6),
      0 0 0 15px rgba(102, 126, 234, 0.05);
  }
}

.login-modal-icon i {
  font-size: 36px;
  color: #ffffff;
}

/* Title */
.login-modal-content h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

/* Description */
.login-modal-content p {
  font-size: 15px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Buttons Container */
.login-modal-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Primary Button - Login */
.btn-login {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0 3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0 5s ease;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:active {
  transform: translateY(-1px);
}

.btn-login i {
  font-size: 18px;
}

/* Secondary Button - Register */
.btn-register {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
  padding: 14px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-register:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
}

.btn-register i {
  font-size: 18px;
}

/* Cancel/Close Text Button */
.btn-cancel {
  background: none;
  border: none;
  color: #adb5bd;
  font-size: 14px;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s ease;
  margin-top: 5px;
}

.btn-cancel:hover {
  color: #6c757d;
}

/* Divider */
.login-modal-divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #adb5bd;
  font-size: 13px;
}

.login-modal-divider::before,
.login-modal-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e9ecef;
}

.login-modal-divider span {
  padding: 0 15px;
}

/* Features/Benefits List */
.login-modal-features {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px;
  text-align: left;
}

.login-modal-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-modal-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #495057;
  font-size: 14px;
}

.login-modal-features li i {
  color: #28a745;
  font-size: 16px;
}

/* ===================== LOCKED CARD STYLES ===================== */

.tip-card-locked {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.tip-image-blur {
  filter: blur(5px);
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  gap: 10px;
}

.lock-overlay i {
  font-size: 40px;
  opacity: 0 9;
}

.lock-overlay p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.tip-link-login {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tip-link-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

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

@media (max-width: 480px) {
  .login-modal-content {
    padding: 30px 25px;
    margin: 20px;
    border-radius: 20px;
  }

  .login-modal-icon {
    width: 70px;
    height: 70px;
  }

  .login-modal-icon i {
    font-size: 28px;
  }

  .login-modal-content h3 {
    font-size: 22px;
  }

  .login-modal-content p {
    font-size: 14px;
  }

  .btn-login,
  .btn-register {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* ===================== DARK MODE (Optional) ===================== */

@media (prefers-color-scheme: dark) {
  .login-modal-content.dark-mode {
    background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  }

  .login-modal-content.dark-mode h3 {
    color: #ffffff;
  }

  .login-modal-content.dark-mode p {
    color: #a0a0a0;
  }

  .login-modal-content.dark-mode .login-modal-features {
    background: #16213e;
  }

  .login-modal-content.dark-mode .login-modal-features li {
    color: #e0e0e0;
  }
}
