@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --ink: #16302B;
  --signal-amber: #E08A3E;
  --clay-rust: #B5502E;
  --sage-growth: #6F8F6B;
  --warm-paper: #F7F1E6;
  --slate-text: #45413A;
  
  /* Backgrounds */
  --bg-main: var(--warm-paper);
  --bg-card: #FFFFFF;
  
  /* Text */
  --text-main: var(--slate-text);
  --text-heading: var(--ink);
  
  /* Effects */
  --shadow-soft: 0 4px 20px rgba(22, 48, 43, 0.08);
  --shadow-hover: 0 10px 30px rgba(22, 48, 43, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lora', serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, .nav-links a, .btn-primary, .tag, .logo {
  font-family: 'Poppins', sans-serif;
}

h1, h2, h3 {
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

/* Layout - Mobile First */
.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

/* Navbar */
nav {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: none; /* Hidden on mobile */
}

/* Nav CTA Floating on Mobile (WhatsApp Icon) */
nav .btn-primary {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(224, 138, 62, 0.4);
  background-color: var(--signal-amber);
  color: var(--warm-paper);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

nav .cta-text {
  display: none; /* Hide text on mobile */
}

nav .cta-icon {
  display: block; /* Show icon on mobile */
  width: 30px;
  height: 30px;
}

.btn-primary {
  background-color: var(--ink);
  color: var(--warm-paper);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  display: inline-block;
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Hero Section */
.hero {
  padding: 60px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.text-accent {
  color: var(--signal-amber);
}

.hero p {
  font-size: 1.1rem;
  color: var(--slate-text);
  margin: 0 auto 30px;
}

/* Features/Value Prop */
.features {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.glass-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--sage-growth);
}

.glass-card:nth-child(2) {
  border-top-color: var(--signal-amber);
}

.glass-card:nth-child(3) {
  border-top-color: var(--clay-rust);
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.glass-card p {
  font-size: 1rem;
}

/* Customer Profile Section */
.profile-section {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.profile-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.profile-text p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  background: var(--warm-paper);
  color: var(--ink);
  border: 1px solid rgba(22, 48, 43, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.profile-visual {
  width: 100%;
}

/* Harga Section */
.harga-section {
  padding: 60px 0;
  background-color: var(--bg-card);
}

.harga-section h2 {
  font-size: 2rem;
}

/* Mobile Friendly Table Alternative */
.harga-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.harga-item {
  border-bottom: 1px solid rgba(22, 48, 43, 0.1);
  padding-bottom: 16px;
}

.harga-item:last-child {
  border-bottom: none;
}

.harga-item .title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.harga-item .desc {
  color: var(--slate-text);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.harga-item .price {
  font-family: 'DejaVu Sans Mono', monospace, 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--signal-amber);
  font-size: 1.1rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   DESKTOP / TABLET UP (min-width: 768px)
   ========================================== */
@media (min-width: 768px) {
  .container {
    max-width: 1200px;
    padding: 0 40px;
  }
  
  .logo {
    font-size: 1.75rem;
  }
  
  .logo svg {
    width: 40px;
    height: 40px;
  }

  .nav-links {
    display: block; /* Show on desktop */
  }

  .nav-links a {
    color: var(--slate-text);
    text-decoration: none;
    margin-left: 32px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
  }

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

  /* Reset Nav CTA from floating back to normal */
  nav .btn-primary {
    position: static;
    box-shadow: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    width: auto;
    height: auto;
    background-color: var(--ink);
    color: var(--warm-paper);
    display: inline-block;
  }
  
  nav .cta-text {
    display: inline; /* Show text on desktop */
  }

  nav .cta-icon {
    display: none; /* Hide icon on desktop */
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
  
  .btn-primary:hover {
    background-color: var(--signal-amber);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(224, 138, 62, 0.3);
  }

  .hero {
    padding: 100px 0 80px;
  }

  .hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
  }

  .hero p {
    font-size: 1.25rem;
    max-width: 650px;
    margin-bottom: 40px;
  }

  .features {
    padding: 80px 0;
    flex-direction: row;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  .glass-card {
    padding: 40px 32px;
  }
  
  .glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
  }

  .profile-section {
    padding: 80px 0;
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .profile-text {
    flex: 1;
  }
  
  .profile-text h2 {
    font-size: 2.5rem;
  }
  
  .profile-tags {
    gap: 12px;
  }
  
  .tag {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .profile-visual {
    flex: 1;
  }
  
  .harga-section {
    padding: 100px 0;
  }
  
  .harga-section h2 {
    font-size: 2.5rem;
  }
  
  /* Transform stacked list to table row layout for desktop */
  .harga-list {
    margin: 60px auto 0;
    max-width: 800px;
  }
  
  .harga-item {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    padding: 20px;
    gap: 16px;
  }
  
  .harga-item .title {
    margin-bottom: 0;
  }
  
  .harga-item .desc {
    margin-bottom: 0;
  }
  
  .harga-item .price {
    text-align: right;
    color: var(--ink);
  }
}
