/* ===================================================
   CAHAYA IMAN - PROMOTIONAL LANDING PAGE STYLES
   Ultra-Premium Islamic SaaS Dark Theme
   =================================================== */

:root {
  --bg-deep: #060b13;
  --bg-surface: #0b1523;
  --bg-card: rgba(15, 23, 42, 0.75);
  --primary-emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.35);
  --gold-accent: #f59e0b;
  --gold-light: #fde68a;
  --gold-glow: rgba(245, 158, 11, 0.35);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.3);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Amiri', serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* Ambient glow container - prevents horizontal scrolling */
.ambient-glows-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Ambient glow orbs */
.landing-glow-1 {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.landing-glow-2 {
  position: absolute;
  top: 400px;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

.landing-glow-3 {
  position: absolute;
  top: 1500px;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(100px);
  z-index: 1;
}

/* Layout container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* Header & Nav */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 19, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.2));
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, #fde68a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-text span {
  font-size: 0.72rem;
  color: var(--primary-emerald);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: #fde68a;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.65rem 1.3rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.85rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #060b13;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.08);
  color: #fde68a;
  border: 1px solid var(--border-gold);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-emerald);
  box-shadow: 0 0 10px var(--primary-emerald);
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-guarantee span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Phone Mockup Frame */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 290px;
  height: 560px;
  background: #000000;
  border-radius: 40px;
  border: 7px solid #1e293b;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.phone-camera-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 20px;
  background: #1e293b;
  border-radius: 20px;
  z-index: 30;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-overlay-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 20;
}

.badge-float-1 {
  top: 15%;
  left: -20px;
  border-color: rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

.badge-float-2 {
  bottom: 20%;
  right: -25px;
  border-color: rgba(245, 158, 11, 0.4);
  color: #fde68a;
}

/* Metrics Bar */
.metrics-bar {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0 5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.metric-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 0.25rem;
}

.metric-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Problem vs Solution */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.1);
  color: #fde68a;
  border: 1px solid var(--border-gold);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.compare-card {
  padding: 2.25rem;
  border-radius: 20px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}

.compare-card.bad {
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05), rgba(15, 23, 42, 0.7));
}

.compare-card.good {
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(15, 23, 42, 0.8));
  box-shadow: 0 10px 40px -10px rgba(16, 185, 129, 0.15);
}

.compare-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.compare-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.compare-list li strong {
  color: #ffffff;
}

.compare-icon-bad {
  color: #f87171;
  font-weight: 700;
}

.compare-icon-good {
  color: #34d399;
  font-weight: 700;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.25rem 1.75rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #f59e0b);
  color: #060b13;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: #f59e0b;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12), rgba(15, 23, 42, 0.95));
  box-shadow: 0 10px 40px -10px rgba(245, 158, 11, 0.3);
  transform: scale(1.03);
  z-index: 20;
}

.pricing-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.pricing-badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #060b13;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-plan-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.pricing-plan-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  min-height: 40px;
}

.pricing-price-box {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-price-num {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
}

.pricing-price-period {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-features-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.pricing-features-list li.check {
  color: #e2e8f0;
}

.pricing-features-list li.check span {
  color: var(--primary-emerald);
  font-weight: 700;
}

.pricing-features-list li.cross {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features-list li.cross span {
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.2rem;
  color: #fde68a;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Footer Section */
.cta-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.15));
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  margin: 4rem 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* Footer */
.landing-footer {
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Universal Hidden Utility */
.hidden {
  display: none !important;
}

/* Auth Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: opacity 0.25s ease;
}

.modal-overlay.hidden {
  display: none !important;
}

.modal-card {
  background: linear-gradient(180deg, #131d36 0%, #0d1527 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 24px;
  padding: 2.2rem;
  width: 100%;
  max-width: 460px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.08);
}

/* Segmented Auth Tabs */
.auth-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px;
  gap: 6px;
  margin-bottom: 1.6rem;
}

.auth-tab-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.auth-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.auth-tab-btn:hover:not(.active) {
  color: #fde68a;
  background: rgba(255, 255, 255, 0.04);
}

.auth-form-animated {
  animation: authFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes authFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

.form-group {
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-guarantee {
    justify-content: center;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .nav-container {
    padding: 0.75rem 0;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  .logo-text h1 {
    font-size: 1.05rem;
  }
  .logo-text span {
    display: none;
  }
  .nav-actions {
    gap: 0.4rem;
  }
  .nav-actions .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
  }
  .nav-links {
    display: none;
  }
  .hero-section {
    padding: 2.5rem 0 2rem;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .btn-lg {
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }
  .hero-guarantee {
    justify-content: center;
  }
  .metrics-bar {
    padding: 1.25rem 0.85rem;
    margin: 2rem 0;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .metric-item h3 {
    font-size: 1.6rem;
  }
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .compare-card {
    padding: 1.4rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pricing-card.featured {
    transform: none;
  }
  .phone-mockup {
    width: 250px;
    height: 480px;
    border-width: 5px;
  }
  .badge-float-1 {
    left: -5px;
    font-size: 0.72rem;
  }
  .badge-float-2 {
    right: -5px;
    font-size: 0.72rem;
  }
  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.65rem;
  }
  .section-desc {
    font-size: 0.88rem;
  }
  .cta-banner {
    padding: 2.25rem 1.25rem;
    margin: 2.5rem 0;
    border-radius: 16px;
  }
  .cta-banner h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.55rem;
  }
  .nav-actions .btn-outline {
    display: none;
  }
  .meta-pills-bar {
    justify-content: center;
    border-radius: 12px;
  }
}

/* ===================================================
   META ECOSYSTEM 3-IN-1 STYLES
   =================================================== */
.meta-pills-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.meta-pill-fb {
  background: rgba(24, 119, 242, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(24, 119, 242, 0.35);
}

.meta-pill-ig {
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.15), rgba(188, 24, 136, 0.15));
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.35);
}

.meta-pill-threads {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.meta-ecosystem-section {
  padding: 4.5rem 0;
  position: relative;
  background: linear-gradient(180deg, rgba(11, 21, 35, 0.6) 0%, rgba(6, 11, 19, 0.8) 100%);
}

.ecosystem-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.ecosystem-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.ecosystem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.ecosystem-card.fb-card {
  border-color: rgba(59, 130, 246, 0.3);
}
.ecosystem-card.fb-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.ecosystem-card.ig-card {
  border-color: rgba(236, 72, 153, 0.3);
}
.ecosystem-card.ig-card:hover {
  border-color: #ec4899;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.15);
}

.ecosystem-card.threads-card {
  border-color: rgba(255, 255, 255, 0.2);
}
.ecosystem-card.threads-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.08);
}

.ecosystem-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ecosystem-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.ecosystem-icon-fb {
  background: rgba(24, 119, 242, 0.15);
  border: 1px solid rgba(24, 119, 242, 0.35);
  color: #3b82f6;
}

.ecosystem-icon-ig {
  background: linear-gradient(135deg, rgba(240, 148, 51, 0.2), rgba(188, 24, 136, 0.2));
  border: 1px solid rgba(236, 72, 153, 0.35);
  color: #f472b6;
}

.ecosystem-icon-threads {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.ecosystem-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.ecosystem-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.ecosystem-features-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
}

.ecosystem-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.ecosystem-check {
  color: #10b981;
  font-weight: 700;
}

@media (max-width: 900px) {
  .ecosystem-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================
   PWA INSTALL BUTTON & MODAL
   =================================================== */
.btn-pwa-install {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(245, 158, 11, 0.22));
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 999px;
  padding: 0.46rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.18);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-pwa-install:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.38), rgba(245, 158, 11, 0.38));
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 0 24px rgba(52, 211, 153, 0.4);
  transform: translateY(-1.5px);
}

.btn-pwa-install .install-icon {
  font-size: 1.05rem;
  display: inline-block;
  animation: pwa-bounce 2s infinite ease-in-out;
}

@keyframes pwa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Modal Panduan Install */
.pwa-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: pwaFadeIn 0.25s ease-out;
}

.pwa-modal-box {
  background: linear-gradient(165deg, #0e1814, #08100d);
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  position: relative;
  color: #f8fafc;
}

.pwa-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.pwa-modal-close:hover {
  color: #ffffff;
}

.pwa-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pwa-modal-icon {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));
}

.pwa-modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.pwa-modal-header p {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
}

.pwa-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.pwa-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.pwa-step-num {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pwa-step-item strong {
  display: block;
  font-size: 0.9rem;
  color: #f1f5f9;
  margin-bottom: 0.2rem;
}

.pwa-step-item p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.35;
  margin: 0;
}

.pwa-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

@keyframes pwaFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}
