/* Inner Truth Readings - Complete Styles */
:root {
    --bg-dark: #0d0d0f;
    --bg-card: #1a1a1f;
    --bg-card-hover: #222228;
    --gold: #c9a227;
    --gold-light: #e8d48b;
    --gold-dark: #8b6914;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --text-muted: #666;
    --border: #2a2a30;
    --gradient-gold: linear-gradient(135deg, #c9a227 0%, #e8d48b 50%, #c9a227 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.section-title { text-align: center; margin-bottom: 16px; color: var(--gold-light); }
.section-subtitle { text-align: center; color: var(--text-secondary); max-width: 600px; margin: 0 auto 48px; }

/* Navigation */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(13, 13, 15, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); padding: 16px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-primary); }
.logo-symbol { font-size: 28px; color: var(--gold); }
.logo-text { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 500; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gradient-gold); color: var(--bg-dark); padding: 10px 20px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 14px; transition: transform 0.2s, box-shadow 0.2s; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(201, 162, 39, 0.3); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 8px; font-weight: 600; font-size: 16px;
    text-decoration: none; transition: all 0.2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--gradient-gold); color: var(--bg-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201, 162, 39, 0.4); }
.btn-secondary { background: transparent; border: 2px solid var(--gold); color: var(--gold-light); }
.btn-secondary:hover { background: rgba(201, 162, 39, 0.1); }
.btn-large { padding: 18px 36px; font-size: 18px; }
.btn-throw { flex-direction: column; gap: 4px; }
.throw-count { font-size: 12px; opacity: 0.8; }

/* Hero Section */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    padding: 120px 0 80px; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center top, rgba(201, 162, 39, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 40%);
}
.hero .container { position: relative; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201, 162, 39, 0.15); border: 1px solid rgba(201, 162, 39, 0.3); padding: 8px 16px; border-radius: 100px; margin-bottom: 32px; font-size: 14px; color: var(--gold-light); }
.badge-icon { font-size: 18px; }
.hero-title { margin-bottom: 24px; }
.hero-subtitle { color: var(--text-secondary); font-size: 18px; max-width: 600px; margin: 0 auto 40px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.hero-launch { display: inline-flex; align-items: center; gap: 12px; background: rgba(201, 162, 39, 0.1); border: 1px solid var(--border); padding: 12px 24px; border-radius: 8px; }
.launch-badge { background: var(--gold); color: var(--bg-dark); padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.launch-price { font-size: 24px; font-weight: 700; color: var(--gold-light); }
.launch-original { font-size: 16px; color: var(--text-muted); text-decoration: line-through; }
.launch-text { font-size: 14px; color: var(--text-secondary); }

/* Sample Reading */
.sample-reading { padding: 100px 0; background: var(--bg-dark); }
.sample-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 48px; max-width: 800px; margin: 0 auto; }
.sample-header { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.sample-hexagram { flex-shrink: 0; }
.hexagram-lines { display: flex; flex-direction: column; gap: 6px; }
.hex-line { width: 60px; height: 8px; border-radius: 2px; }
.hex-line.solid { background: var(--gold); }
.hex-line.broken { background: transparent; position: relative; }
.hex-line.broken::before, .hex-line.broken::after { content: ''; position: absolute; top: 0; height: 100%; width: 42%; background: var(--gold); border-radius: 2px; }
.hex-line.broken::before { left: 0; }
.hex-line.broken::after { right: 0; }
.sample-hex-info { flex: 1; }
.sample-hex-number { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.sample-hex-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--gold-light); margin: 4px 0; }
.sample-hex-chinese { font-size: 16px; color: var(--text-secondary); }
.sample-question { background: rgba(201, 162, 39, 0.1); border-left: 3px solid var(--gold); padding: 16px 20px; margin-bottom: 32px; font-style: italic; color: var(--text-secondary); }
.sample-interpretation h3 { color: var(--gold-light); margin-bottom: 16px; }
.sample-interpretation p { margin-bottom: 16px; color: var(--text-secondary); }
.sample-interpretation strong { color: var(--text-primary); }
.sample-cta { text-align: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border); }
.sample-cta p { margin-bottom: 20px; color: var(--text-secondary); }

/* Why This Works */
.why-works { padding: 100px 0; background: linear-gradient(180deg, var(--bg-dark) 0%, #12121a 100%); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: transform 0.3s, border-color 0.3s; }
.why-card:hover { transform: translateY(-4px); border-color: var(--gold-dark); }
.why-icon { font-size: 40px; margin-bottom: 20px; }
.why-card h3 { color: var(--gold-light); margin-bottom: 12px; }
.why-card p { color: var(--text-secondary); font-size: 15px; }

/* How It Works */
.how-it-works { padding: 100px 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.step { text-align: center; position: relative; }
.step-number { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--gold); color: var(--bg-dark); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.step-icon { font-size: 48px; margin-bottom: 20px; margin-top: 24px; }
.step h3 { color: var(--gold-light); margin-bottom: 12px; }
.step p { color: var(--text-secondary); }

/* About Section */
.about { padding: 100px 0; background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0c 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: center; }
.about-image { display: flex; align-items: center; justify-content: center; }
.about-symbol { font-size: 180px; color: var(--gold); opacity: 0.3; font-family: serif; }
.about-content h2 { color: var(--gold-light); margin-bottom: 24px; }
.about-opening { font-size: 20px; color: var(--text-primary); margin-bottom: 20px; font-style: italic; }
.about-content p { color: var(--text-secondary); margin-bottom: 16px; }
.about-signature { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.signature-name { display: block; font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--gold-light); font-style: italic; }
.signature-title { color: var(--text-muted); font-size: 14px; }

/* Pricing */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; position: relative; transition: transform 0.3s, border-color 0.3s; }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(201, 162, 39, 0.1) 0%, var(--bg-card) 100%); }
.pricing-badge { position: absolute; top: -12px; left: 24px; background: var(--gold); color: var(--bg-dark); padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.pricing-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--text-primary); margin-bottom: 16px; margin-top: 8px; }
.pricing-price { margin-bottom: 16px; }
.price-current { font-size: 36px; font-weight: 700; color: var(--gold-light); }
.price-original { font-size: 18px; color: var(--text-muted); text-decoration: line-through; margin-left: 8px; }
.price-period { font-size: 16px; color: var(--text-muted); }
.pricing-description { color: var(--text-secondary); margin-bottom: 24px; font-size: 14px; }
.pricing-features { list-style: none; margin-bottom: 32px; }
.pricing-features li { padding: 8px 0; color: var(--text-secondary); font-size: 14px; position: relative; padding-left: 24px; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }
.pricing-card .btn { width: 100%; }

/* Testimonials */
.testimonials { padding: 100px 0; background: var(--bg-card); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.testimonial { background: var(--bg-dark); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.testimonial p { color: var(--text-secondary); font-style: italic; margin-bottom: 24px; line-height: 1.7; }
.testimonial-author { border-top: 1px solid var(--border); padding-top: 16px; }
.author-name { display: block; color: var(--text-primary); font-weight: 600; }
.author-context { color: var(--text-muted); font-size: 14px; }

/* Coin Casting Section */
.cast-section { padding: 100px 0; background: linear-gradient(180deg, #0a0a0c 0%, var(--bg-dark) 100%); }
.cast-container { max-width: 600px; margin: 0 auto; }
.question-input { margin-bottom: 40px; }
.question-input label { display: block; color: var(--text-secondary); margin-bottom: 12px; font-size: 14px; }
.question-input textarea { width: 100%; min-height: 120px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; color: var(--text-primary); font-family: inherit; font-size: 16px; resize: vertical; transition: border-color 0.2s; }
.question-input textarea:focus { outline: none; border-color: var(--gold); }
.question-input textarea::placeholder { color: var(--text-muted); }

/* Coins */
.coin-area { text-align: center; margin-bottom: 40px; }
.coins { display: flex; justify-content: center; gap: 24px; margin-bottom: 32px; perspective: 600px; }
.coin { width: 80px; height: 80px; position: relative; transform-style: preserve-3d; transition: transform 0.6s; }
.coin.flipping { animation: flip 0.6s ease-in-out; }
.coin.heads { transform: rotateY(0deg); }
.coin.tails { transform: rotateY(180deg); }
.coin-face { position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: bold; backface-visibility: hidden; }
.coin-heads { background: var(--gradient-gold); color: var(--bg-dark); border: 3px solid var(--gold-dark); }
.coin-tails { background: linear-gradient(135deg, #444 0%, #666 100%); color: #222; border: 3px solid #333; transform: rotateY(180deg); }
@keyframes flip { 0% { transform: rotateY(0); } 100% { transform: rotateY(720deg); } }

/* Hexagram Display */
.hexagram-display { margin-bottom: 40px; }
.hexagram-building { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 32px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.line-slot { width: 120px; height: 12px; background: var(--border); border-radius: 3px; transition: all 0.3s; position: relative; }
.line-slot.yang { background: var(--gold); }
.line-slot.yin { background: transparent; }
.line-slot.yin::before, .line-slot.yin::after { content: ''; position: absolute; top: 0; height: 100%; width: 42%; background: var(--gold); border-radius: 3px; }
.line-slot.yin::before { left: 0; }
.line-slot.yin::after { right: 0; }
.line-slot.changing { animation: pulse 1s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.hexagram-info { text-align: center; margin-top: 24px; }
.hexagram-number { color: var(--text-muted); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.hexagram-name { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--gold-light); margin: 8px 0; }
.changing-lines { color: var(--text-secondary); font-size: 14px; }

/* Submit Reading */
.submit-reading { text-align: center; background: var(--bg-card); border: 1px solid var(--gold-dark); border-radius: 16px; padding: 40px; }
.reading-summary h3 { color: var(--gold-light); margin-bottom: 12px; }
.reading-summary p { color: var(--text-secondary); margin-bottom: 24px; }
.submit-note { color: var(--text-muted); font-size: 14px; margin-top: 16px; }

/* FAQ */
.faq { padding: 100px 0; }
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; }
.faq-item h3 { color: var(--gold-light); margin-bottom: 12px; font-size: 18px; }
.faq-item p { color: var(--text-secondary); font-size: 15px; }

/* Footer */
.footer { padding: 60px 0 30px; background: #0a0a0c; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand .logo-symbol { font-size: 32px; }
.footer-brand p { color: var(--text-muted); }
.footer-links h4, .footer-contact h4 { color: var(--text-primary); margin-bottom: 16px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links a, .footer-contact a { display: block; color: var(--text-secondary); text-decoration: none; padding: 6px 0; font-size: 14px; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-muted); font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .about-grid { grid-template-columns: 1fr; }
    .about-image { order: -1; }
    .about-symbol { font-size: 100px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .sample-header { flex-direction: column; text-align: center; }
    .hero-cta { flex-direction: column; align-items: center; }
    .hero-launch { flex-wrap: wrap; justify-content: center; }
}
