/* 
  SIPONKIA LANDING PAGE STYLES
  Styles for Hero, Features, and Information sections.
*/

.hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-bg-shapes .shape {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  border-radius: 50%;
}

.shape-1 {
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.15);
}

.shape-2 {
  bottom: 100px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(14, 165, 233, 0.1);
}

.badge {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-main);
}

.hero-content h1 span {
  color: var(--primary);
  position: relative;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}

.stat-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e2e8f0;
}

.hero-image { position: relative; }
.image-wrapper { position: relative; }
.floating-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.15);
  animation: floating 6s ease-in-out infinite;
}

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

.info-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Features */
.features { padding: 80px 0; background: var(--bg-card); }
.info-syarat { padding: 80px 0; background: var(--bg-main); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card {
  padding: 3rem 2rem;
  border-radius: 24px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  transition: all var(--trans);
  opacity: 0;
  transform: translateY(30px);
}
.feature-card.revealed { opacity: 1; transform: translateY(0); }

.icon-box {
  width: 60px; height: 60px; border-radius: 16px; display: flex; 
  align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.5rem;
}
.color-1 { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.color-2 { background: rgba(34, 197, 94, 0.1); color: #22c55e; }
.color-3 { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; }

/* Flyer Modal System */
#flyer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#flyer-overlay.active {
    opacity: 1;
}

#flyer-card {
    background: var(--bg-card);
    max-width: 500px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border);
}

#flyer-overlay.active #flyer-card {
    transform: translateY(0);
    opacity: 1;
}

#flyer-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#flyer-close:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

#flyer-img-container {
    width: 100%;
    line-height: 0;
}

#flyer-img-container img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.flyer-body {
    padding: 30px;
}

.flyer-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    color: var(--text-main);
    text-align: center;
}

.flyer-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: center;
}

.flyer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: var(--primary);
    color: white !important;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 800;
    transition: 0.3s;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
}

.flyer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px var(--primary-glow);
}

@media (max-width: 576px) {
    .flyer-body { padding: 25px 20px; }
    .flyer-title { font-size: 1.4rem; }
    #flyer-card { border-radius: 20px; }
}

.info-content-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.syarat-list { list-style: none; margin: 2rem 0 2.5rem; }
.syarat-list li { display: flex; gap: 15px; margin-bottom: 1.5rem; }
.syarat-list i { color: var(--primary); font-size: 1.5rem; }

.info-visual { 
  position: relative; opacity: 0; transform: translateY(30px); 
  transition: 1s cubic-bezier(0.16, 1, 0.3, 1); 
}
.info-visual.revealed { opacity: 1; transform: translateY(0); }

.blob-bg {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120%; height: 120%; z-index: 1;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.step-card { 
  background: var(--bg-card); 
  padding: 40px; 
  border-radius: 24px; 
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.2); 
  position: relative; 
  z-index: 2; 
  border: 1px solid var(--border);
}
.step-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.step-num { width: 40px; height: 40px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; }

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content h1 { font-size: 2.75rem; margin-bottom: 1.25rem; }
  .hero-content p { font-size: 1.1rem; margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; flex-direction: column; gap: 1rem; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { justify-content: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .info-content-flex { grid-template-columns: 1fr; gap: 4rem; }
}
.theme-toggle {
    background: var(--bg-card);
    color: var(--primary);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px var(--primary-glow) !important;
}

.theme-toggle:hover i {
    transform: rotate(45deg) scale(1.1);
    color: var(--secondary);
}

.mobile-menu-toggle:hover {
    background: var(--bg-main) !important;
    transform: scale(1.05);
}

@media (max-width: 576px) {
  .hero-content h1 { font-size: 2.25rem; }
}
