/* ============================================
   INDONESIA GOLDEN VISAS - $10M PREMIUM CSS v2
   Full-width layout fix + mobile-first + premium
   ============================================ */

/* --- RESET: Override theme container constraint --- */
.igv-page-content.igv-fullwidth {
  padding: 0 !important;
  max-width: 100% !important;
  overflow-x: hidden;
}
.igv-page-content.igv-fullwidth > .igv-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* --- BASE --- */
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* --- CONTAINER (inside sections) --- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
  width: 100%;
}

/* --- SECTION BASE --- */
.section {
  padding: 4.5rem 0;
  color: #2d2d3a;
  background: #fff;
}
.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.875rem;
}
.section h2::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: linear-gradient(90deg, #D4AF37, #C5963A);
  border-radius: 2px;
}
.section h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  color: #1a1a2e;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4a4a5a;
  margin-bottom: 1rem;
}
.section-alt {
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f1f3 100%) !important;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  padding: calc(100px + 3rem) 1.25rem 4rem;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,175,55,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(15,52,96,0.4) 0%, transparent 50%);
  z-index: 1;
}
.hero > .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 50px;
  color: #D4AF37;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease-out;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: #fff;
  animation: fadeInUp 0.9s ease-out 0.2s both;
}
.hero-subtitle, .hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  animation: fadeInUp 0.9s ease-out 0.4s both;
}
.hero-inner { padding-top: calc(80px + 2.5rem); min-height: 340px; }

/* ========== KEYFRAMES ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== FEATURE CARDS ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.feature-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37, #C5963A, #D4AF37);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
  border-color: rgba(212,175,55,0.2);
}
.feature-card h3 {
  font-size: 1.2rem;
  color: #1a1a2e;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0;
}
.feature-card p { font-size: 0.95rem; color: #5a5a6a; margin-bottom: 0; }
.section-alt .feature-card { background: #fff; }/* ========== STEP CARDS & PROCESS ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.step-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.step-number {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #D4AF37, #C5963A);
  color: #fff;
  font-size: 1.4rem; font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
  transition: transform 0.3s ease;
}
.step-card:hover .step-number { transform: scale(1.1) rotate(5deg); }

/* ========== BUTTONS ========== */
.btn { text-decoration: none; display: inline-block; cursor: pointer; transition: all 0.3s ease; }
.btn-primary {
  background: linear-gradient(135deg, #D4AF37, #C5963A);
  color: #fff !important;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,175,55,0.4);
  background: linear-gradient(135deg, #C5963A, #D4AF37);
  color: #fff !important;
}
.btn-lg { padding: 1.1rem 3rem; font-size: 1.1rem; }

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
  color: #fff !important;
  padding: 5rem 0;
  text-align: center;
}
.cta-section h2 { color: #fff !important; }
.cta-section h2::after { left: 50%; transform: translateX(-50%); }
.cta-section p { color: rgba(255,255,255,0.85) !important; font-size: 1.15rem; max-width: 600px; margin: 0 auto 2rem; }

/* ========== COMPARISON TABLE ========== */
.comparison-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 2rem 0; border-radius: 12px; }
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  min-width: 600px;
}
.comparison-table thead { background: linear-gradient(135deg, #1a1a2e, #16213e); }
.comparison-table th {
  color: #fff; padding: 1rem 1.25rem;
  font-weight: 600; font-size: 0.88rem;
  text-align: left; letter-spacing: 0.03em;
  white-space: nowrap;
}
.comparison-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
  color: #4a4a5a;
}
.comparison-table tbody tr { transition: background 0.2s ease; }
.comparison-table tbody tr:hover { background: rgba(212,175,55,0.04); }
.comparison-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.015); }

/* ========== FAQ ACCORDION ========== */
.faq-section { max-width: 800px; margin: 1.5rem auto 0; }
.faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s ease;
  background: #fff;
}
.faq-item:hover { border-color: rgba(212,175,55,0.3); }
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  list-style: none;
  font-size: 1.02rem;
  color: #1a1a2e;
  transition: background 0.2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem; font-weight: 300;
  color: #D4AF37;
  transition: transform 0.3s ease;
  flex-shrink: 0; margin-left: 1rem;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: rgba(212,175,55,0.05); }
.faq-item > p, .faq-item > div { padding: 0 1.5rem 1.25rem; line-height: 1.75; color: #5a5a6a; }

/* ========== STATS BAR ========== */
.stats-bar {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
  padding: 2.5rem 2rem; margin: 2rem 0;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 16px;
  color: #fff;
}
.stat-item { text-align: center; min-width: 130px; }
.stat-number {
  font-size: 2.5rem; font-weight: 800;
  background: linear-gradient(135deg, #D4AF37, #F4D03F);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: 0.82rem; opacity: 0.8; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 0.75rem; left: 1.5rem;
  font-size: 4rem; color: rgba(212,175,55,0.15);
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.06); }

/* ========== TWO COLUMN GRID ========== */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ========== FORMS ========== */
.form-card { background: #f8f9fa; padding: 2rem; border-radius: 16px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; margin-bottom: 0.4rem;
  font-weight: 600; font-size: 0.88rem;
  color: #1a1a2e;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
  color: #2d2d3a;
  box-sizing: border-box;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.15);
}

/* ========== LINKS & ACCENTS ========== */
.igv-page-content a { color: #B8860B; transition: color 0.2s ease; }
.igv-page-content a:hover { color: #D4AF37; }
.igv-page-content strong { color: #1a1a2e; }
::selection { background: rgba(212,175,55,0.2); color: #1a1a2e; }

/* ========================================
   MOBILE RESPONSIVE - $10M MOBILE FIRST
   ======================================== */
@media (max-width: 768px) {
  .hero {
    padding: calc(80px + 2rem) 1rem 3rem;
    min-height: 320px;
  }
  .hero-inner { padding-top: calc(70px + 1.5rem); min-height: 280px; }
  .hero h1 { font-size: 1.65rem; }
  .hero-subtitle, .hero p { font-size: 0.95rem; }
  .hero-badge { font-size: 0.72rem; padding: 0.4rem 1rem; }

  .section { padding: 3rem 0; }
  .section h2 { font-size: 1.5rem; }
  .section h3 { font-size: 1.1rem; }
  .section p { font-size: 0.95rem; }
  .container { padding-inline: 1rem; }

  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .process-steps { grid-template-columns: 1fr; gap: 1rem; }
  .two-col-grid { grid-template-columns: 1fr; gap: 2rem; }

  .feature-card, .step-card { padding: 1.5rem; }

  .stats-bar {
    flex-direction: column;
    gap: 1.25rem;
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }
  .stat-number { font-size: 2rem; }

  .comparison-table th, .comparison-table td { padding: 0.6rem 0.75rem; font-size: 0.82rem; }

  .btn-primary { padding: 0.875rem 2rem; font-size: 0.95rem; }
  .btn-lg { padding: 0.95rem 2.25rem; font-size: 1rem; }

  .cta-section { padding: 3.5rem 0; }
  .cta-section p { font-size: 1rem; }

  .faq-item summary { padding: 1rem 1.25rem; font-size: 0.95rem; }
  .faq-item > p, .faq-item > div { padding: 0 1.25rem 1rem; }

  .form-card { padding: 1.5rem; }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero { padding: calc(70px + 1.5rem) 0.75rem 2.5rem; }
  .hero h1 { font-size: 1.4rem; }
  .container { padding-inline: 0.75rem; }
  .section { padding: 2.5rem 0; }
  .feature-card { padding: 1.25rem; }
  .comparison-table { min-width: 500px; }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== HEADER Z-INDEX FIX ========== */
.igv-header { z-index: 1000; }

/* ========== PRINT STYLES ========== */
@media print {
  .hero { background: #1a1a2e !important; -webkit-print-color-adjust: exact; }
  .cta-section { background: #1a1a2e !important; -webkit-print-color-adjust: exact; }
  .btn-primary { background: #D4AF37 !important; -webkit-print-color-adjust: exact; }
}