* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --gold-light: #f4e4a6;
    --dark: #0a0a0a;
    --dark-card: #111111;
    --dark-surface: #1a1a1a;
    --text: #e8e8e8;
    --text-muted: #999;
}

body {
    font-family: 'Cormorant Garamond', serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

.bg-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4rem;
    z-index: 1000;
    background: rgba(10,10,10,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212,175,55,0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    font-size: 1.8rem;
    color: var(--gold);
}

.brand-text {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--gold);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: 'Cinzel', serif;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.lang-btn.active {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    font-weight: 700;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(212,175,55,0.03) 0%, transparent 70%);
}

.bagua-container {
    position: absolute;
    width: 500px;
    height: 500px;
    opacity: 0.3;
}

.bagua-rotate {
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

.bagua-svg {
    width: 100%;
    height: 100%;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-chinese {
    display: block;
    font-family: 'Noto Serif SC', serif;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.title-english {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: 4px;
    text-shadow: 0 0 40px rgba(212,175,55,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--gold), #b8960c);
    color: var(--dark);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(212,175,55,0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(212,175,55,0.5);
}

/* Section Common */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    padding: 6rem 4rem;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,0.4);
    box-shadow: 0 20px 60px rgba(212,175,55,0.1);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    border-color: rgba(212,175,55,0.4);
    transform: scale(1.02);
}

.service-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: var(--gold);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.service-card > p:not(.service-price) {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.service-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

.service-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    border-color: rgba(212,175,55,0.3);
    color: var(--text-muted);
}

/* Reading Section */
.reading-section {
    padding: 6rem 4rem;
    position: relative;
    z-index: 1;
    background: var(--dark-surface);
}

.reading-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.reading-left .section-title {
    text-align: left;
}

.reading-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.reading-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rf-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
    font-size: 1.1rem;
}

.rf-item span {
    color: var(--gold);
    font-size: 1.3rem;
}

.reading-form {
    background: var(--dark-card);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    transition: border-color 0.3s;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #1a1a1a inset !important;
    -webkit-text-fill-color: var(--text) !important;
    border: 1px solid rgba(212,175,55,0.2);
    transition: background-color 5000s ease-in-out 0s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212,175,55,0.1);
}

.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: #1a1a1a;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 8px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
    transition: border-color 0.3s;
    appearance: none;
    cursor: pointer;
    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 1rem center;
}

.form-group select option {
    background: #1a1a1a;
    color: var(--text);
    padding: 0.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--gold), #b8960c);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.submit-btn span {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 1px;
}

.submit-btn small {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.6);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

.payment-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-top: 0.5rem;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
}

.payment-amount .amount-label {
    color: #ccc;
    font-size: 0.95rem;
}

.payment-amount .amount-value {
    color: #d4af37;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

#paypal-button-container {
    margin-top: 0.8rem;
}

.payment-status {
    width: 100%;
    padding: 1.2rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1rem;
}

.payment-status.processing {
    background: linear-gradient(135deg, #d4af37, #b8960c);
}

.payment-status.processing span {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
}

.payment-status.processing small {
    font-size: 0.8rem;
    color: rgba(0,0,0,0.6);
}

.payment-status.success {
    background: linear-gradient(135deg, #2d8a4e, #1a5c32);
}

.payment-status.success span {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.payment-status.success small {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

.payment-status.error {
    background: linear-gradient(135deg, #8a2d2d, #5c1a1a);
}

.payment-status.error span {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.payment-status.error small {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 4rem;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--dark-card);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(212,175,55,0.3);
    transform: translateY(-4px);
}

.stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.author-name {
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1rem;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Footer */
.footer {
    padding: 4rem;
    border-top: 1px solid rgba(212,175,55,0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold);
}

.footer-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    color: rgba(255,255,255,0.3);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 968px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    .reading-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .title-english {
        font-size: 2.2rem;
    }
    .navbar {
        padding: 1rem 2rem;
    }
    .nav-links {
        gap: 1.5rem;
    }
    .services, .reading-section, .testimonials, .footer {
        padding: 4rem 2rem;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .title-english {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    .title-chinese {
        font-size: 1.4rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .bagua-container {
        width: 300px;
        height: 300px;
    }
}

/* Particle styles */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float 8s infinite;
}

@keyframes float {
    0% { opacity: 0; transform: translateY(100vh); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-100px); }
}
