/* =============================================
   ORACLE NUSANTARA - KECOCOKAN.CSS
   Kecocokan Holistik 4 Dimensi
   ============================================= */

/* ========== CSS VARIABLES ========== */
:root {
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --bg-dark: #0A0A0C;
  --text-muted: #A0A0B0;
  --text-dim: #606070;
  --love: #FF6B8A;
  --success: #64C864;
  --danger: #FF8A8A;
  --warning: #FFB347;
  --info: #4ECDC4;
}

/* ========== RESET & BASE ========== */
* { box-sizing: border-box; }

body {
  background: #0A0A0C;
  background-image: 
    radial-gradient(ellipse at 30% 15%, rgba(255,107,138,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 50%, rgba(212,175,55,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(100,200,100,0.03) 0%, transparent 50%);
  font-family: 'Inter', sans-serif;
  color: #E8E8E8;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.oracle-card { max-width: 1000px; margin: 0 auto; }

/* ========== NAVBAR ========== */
.navbar {
  background: rgba(10,10,12,0.97) !important;
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--gold) !important;
  padding: 14px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

.navbar .logo a {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--gold) !important;
  text-decoration: none !important;
}

.nav-links { display: flex !important; gap: 16px !important; align-items: center !important; flex-wrap: wrap !important; }

.nav-links a {
  color: #E8E8E8 !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  transition: color 0.2s !important;
}

.nav-links a:hover { color: var(--gold) !important; }
.nav-links a.active { color: var(--gold) !important; font-weight: 700 !important; }

/* ========== HERO ========== */
.mystic-header { text-align: center; padding: 40px 20px 20px; }

.mystic-header .header-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 0 30px rgba(255,107,138,0.3));
}

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

.mystic-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.mystic-header .subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  max-width: 550px;
  margin: 0 auto;
}

.header-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 16px 0;
  color: var(--gold); font-size: 0.7rem; opacity: 0.5;
}

.header-divider::before, .header-divider::after {
  content: ''; width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========== FORM ========== */
.couple-form {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-bottom: 32px;
  align-items: start;
}

.person-card {
  background: rgba(15,15,20,0.7);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  padding: 32px 24px;
  border: 1px solid rgba(212,175,55,0.12);
  transition: all 0.3s;
}

.person-card:hover {
  border-color: rgba(212,175,55,0.3);
  box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

.person-card.you { border-left: 4px solid var(--gold); }
.person-card.partner { border-left: 4px solid var(--love); }

.person-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.person-card.you h3 { color: var(--gold); }
.person-card.partner h3 { color: var(--love); }

/* ========== INPUTS ========== */
.input-field { margin-bottom: 18px; }
.input-field:last-child { margin-bottom: 0; }

.input-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
}

.input-field input, .input-field select {
  width: 100%;
  background: rgba(10,10,12,0.8);
  border: 2px solid rgba(212,175,55,0.2);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  color: #E8E8E8;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}

.input-field input:focus, .input-field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212,175,55,0.1);
}

.input-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23D4AF37' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.input-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
  font-style: italic;
}

/* ========== VS BADGE ========== */
.vs-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.vs-circle {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--love));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  box-shadow: 0 8px 30px rgba(212,175,55,0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212,175,55,0.5); }
  70% { box-shadow: 0 0 0 20px rgba(212,175,55,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,175,55,0); }
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--gold), #C9A830);
  border: none;
  color: #0A0A0C;
  padding: 18px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s;
  letter-spacing: 1px;
  box-shadow: 0 8px 30px rgba(212,175,55,0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212,175,55,0.5);
}

.btn-premium {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  color: #0A0A0C;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-premium:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(212,175,55,0.3);
}

.btn-pdf, .btn-share {
  background: transparent;
  border: 2px solid rgba(212,175,55,0.4);
  color: var(--gold-light);
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-pdf:hover, .btn-share:hover {
  background: var(--gold);
  color: #0A0A0C;
  border-color: var(--gold);
}

/* ========== RESULT SECTION ========== */
.result-header { text-align: center; margin: 20px 0; }

.result-names {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.result-names .heart {
  color: var(--love);
  margin: 0 12px;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
}

/* ========== NEPTU SUMMARY ========== */
.neptu-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0;
  background: rgba(15,15,20,0.7);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid rgba(212,175,55,0.15);
}

.neptu-box {
  text-align: center;
  min-width: 100px;
  padding: 16px;
}

.neptu-box .n-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.neptu-box .n-name {
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.neptu-box .n-weton {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.neptu-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
}

.neptu-operator {
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 300;
}

.neptu-result {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border-radius: 20px;
  padding: 16px 24px;
  border: 1px solid rgba(212,175,55,0.3);
}

/* ========== CATEGORY BADGE ========== */
.category-badge {
  background: linear-gradient(145deg, rgba(20,20,25,0.95), rgba(10,10,12,0.95));
  border: 2px solid var(--gold);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}

.category-badge::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
}

.category-name {
  font-size: 2.5rem;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-weight: 700;
}

.category-icon { font-size: 3rem; margin-bottom: 8px; }

/* ========== HOLISTIC SCORE ========== */
.holistic-score-box {
  background: linear-gradient(135deg, rgba(255,107,138,0.1), rgba(212,175,55,0.08));
  border: 2px solid var(--love);
  border-radius: 24px;
  padding: 36px;
  text-align: center;
  margin: 24px 0;
}

.holistic-number {
  font-size: 5rem;
  font-weight: 700;
  font-family: 'Cormorant Garamond', serif;
  background: linear-gradient(135deg, var(--gold), var(--love));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

/* ========== ACCORDION ========== */
.analysis-accordion { margin: 32px 0; }

.accordion-item {
  background: rgba(15,15,20,0.7);
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(212,175,55,0.12);
  overflow: hidden;
  transition: all 0.3s;
}

.accordion-item:hover { border-color: rgba(212,175,55,0.25); }

.accordion-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  font-weight: 600;
  color: var(--gold-light);
}

.accordion-header:hover { background: rgba(20,20,25,0.6); }

.accordion-header .acc-score {
  background: rgba(212,175,55,0.15);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--gold);
}

.accordion-header i { transition: transform 0.3s; color: var(--gold); }
.accordion-header.active i { transform: rotate(180deg); }

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-content.active { max-height: 3000px; padding: 0 24px 24px; }

/* ========== ANALYSIS LABELS ========== */
.analysis-section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed rgba(212,175,55,0.1);
}

.analysis-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.analysis-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.label-strength { background: rgba(100,200,100,0.15); color: var(--success); }
.label-challenge { background: rgba(255,138,138,0.15); color: var(--danger); }
.label-taboo { background: rgba(255,179,71,0.15); color: var(--warning); }
.label-solution { background: rgba(78,205,196,0.15); color: var(--info); }

/* ========== SHARE ========== */
.share-section {
  background: rgba(15,15,20,0.7);
  border-radius: 24px;
  padding: 32px;
  margin: 32px 0;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.15);
}

.share-input {
  width: 100%;
  max-width: 500px;
  background: rgba(10,10,12,0.8);
  border: 2px solid rgba(212,175,55,0.2);
  border-radius: 50px;
  padding: 14px 20px;
  color: #E8E8E8;
  margin: 16px auto;
  text-align: center;
  font-size: 0.85rem;
}

.share-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== TOAST ========== */
.toast-msg {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #0A0A0C;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  z-index: 9999;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { bottom: -60px; opacity: 0; }
  to { bottom: 32px; opacity: 1; }
}

/* ========== TOKEN BADGE ========== */
.token-badge {
  background: rgba(212,175,55,0.15);
  border: 1.5px solid rgba(212,175,55,0.3);
  border-radius: 50px;
  padding: 10px 24px;
  display: inline-block;
  color: var(--gold-light);
  font-weight: 600;
}

/* ========== CROSS-SELL & FOOTER ========== */
.cross-sell {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(212,175,55,0.02));
  border-radius: 24px;
  padding: 32px;
  margin-top: 40px;
  text-align: center;
  border: 1px solid rgba(212,175,55,0.2);
}

.cross-sell h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.cross-sell .btn-link {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 12px;
}

.cross-sell .btn-link:hover { background: var(--gold); color: #0A0A0C; }

.footer {
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 32px 0;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
}

.footer a:hover { color: var(--gold-light); }

/* ========== PREMIUM MESSAGE ========== */
.premium-message { margin-top: 24px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 700px) {
  .couple-form { grid-template-columns: 1fr; gap: 20px; }
  .vs-badge { display: none; }
}

@media (max-width: 600px) {
  .neptu-summary { flex-direction: column; }
  .holistic-number { font-size: 3.5rem; }
  .category-name { font-size: 1.8rem; }
  .result-names { font-size: 1.4rem; }
  .footer { flex-direction: column; text-align: center; }
  .footer a { margin: 0 10px; }
}