/* ============================================
   SAICOM IV AKHASYUDA 2026 - Main Stylesheet
   Tema: Biru Toska + Emas (sesuai logo)
   ============================================ */

:root {
  --primary: #1e6091;
  --primary-dark: #154360;
  --primary-light: #e3f2fd;
  --gold: #d4a017;
  --gold-light: #f4e4a6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ===== Navbar ===== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  text-decoration: none;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
}

.nav-menu a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: 180px;
  margin: 0 auto 1.5rem;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--gold-light);
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--gold);
  color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.4);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-gold {
  background: var(--gold);
  color: var(--primary-dark);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

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

/* ===== Sections ===== */
section {
  padding: 4rem 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
  font-weight: 800;
}

.section-title .accent {
  color: var(--gold);
}

.section-title p {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Info Cards ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.3s;
}

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

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.info-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Timeline ===== */
.timeline {
  background: var(--white);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.timeline-card {
  background: linear-gradient(135deg, var(--primary-light), var(--white));
  border-left: 4px solid var(--gold);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.timeline-date {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-label {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.timeline-desc {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* ===== Payment Info ===== */
.payment-info {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
}

.payment-info h3 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.payment-detail {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 2.5rem;
  margin: 1rem 0;
}

.payment-detail .label {
  font-size: 0.9rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.payment-detail .value {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

.payment-pricing {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.pricing-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  min-width: 200px;
  border: 2px solid transparent;
}

.pricing-item.featured {
  border-color: var(--gold);
  transform: scale(1.05);
}

.pricing-item .price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
}

.pricing-item .label {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}

/* ===== Form ===== */
.form-section {
  background: var(--white);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-section-title {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group label .required {
  color: var(--danger);
}

.form-group .help {
  display: block;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 96, 145, 0.1);
}

/* File Upload Custom */
.file-upload {
  position: relative;
  display: block;
  padding: 1.25rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.3s;
}

.file-upload:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.file-upload input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  pointer-events: none;
}

.file-upload-icon {
  font-size: 2rem;
  color: var(--primary);
}

.file-upload-text strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

.file-upload-text small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.file-upload.has-file {
  background: #d1fae5;
  border-color: var(--success);
  border-style: solid;
}

/* Form Note */
.form-note {
  background: #fef3c7;
  border-left: 4px solid var(--warning);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #78350f;
}

.form-note strong {
  color: #92400e;
}

/* Progress Bar */
.progress-container {
  display: none;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
}

.progress-container.active {
  display: block;
}

.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  width: 0%;
  transition: width 0.3s;
}

.progress-text {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

/* ===== Alerts ===== */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border-left: 4px solid;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border-color: var(--success);
}

.alert-danger {
  background: #fee2e2;
  color: #991b1b;
  border-color: var(--danger);
}

.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border-color: var(--primary);
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer p {
  margin: 0.25rem 0;
  opacity: 0.9;
}

.footer .accent {
  color: var(--gold);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 1.5rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .payment-pricing {
    flex-direction: column;
    align-items: center;
  }

  .pricing-item.featured {
    transform: scale(1);
  }
}
