/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 100vh;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    color: #4a5568;
    margin-bottom: 1rem;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    color: #4a5568;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo a:hover {
    color: #5a67d8;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

/* Search Styles */
.search-container {
    position: relative;
    display: block; /* 确保在桌面端显示 */
}

.search-form {
    display: flex;
    align-items: center;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.25rem;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.search-input {
    border: none;
    background: transparent;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #4a5568;
    width: 200px;
    outline: none;
}

.search-input::placeholder {
    color: #a0aec0;
}

.search-btn {
    background: #667eea;
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #5a67d8;
    transform: translateY(-1px);
}

.search-btn svg {
    width: 14px;
    height: 14px;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f7fafc;
    color: #667eea;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
}

.language-dropdown {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 32px;
}

.language-dropdown:hover {
    border-color: #667eea;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.1);
}

.language-dropdown:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.language-dropdown option {
    padding: 8px;
    font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    transition: all 0.3s ease;
}

/* Main Content */
.main {
    padding: 2rem 0;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-bottom: 3rem;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Information Section */
.info-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-content h2 {
    color: #2d3748;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-size: 1.8rem;
}

.info-content h2:first-child {
    margin-top: 0;
}

.info-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Calculator Form */
.calculator-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #2d3748;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.calculate-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(240, 147, 251, 0.3);
}

.calculate-btn:active {
    transform: translateY(0);
}

/* Button Group for Compatibility Page */
.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.button-group .calculate-btn {
    flex: 1;
    margin-top: 0;
}

.button-group .reset-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: none;
    min-width: 140px;
}

.button-group .reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.button-group .reset-btn:active {
    transform: translateY(0);
}

/* Results Section */
.results-section {
    padding: 3rem 0;
}

.result-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.calculation-process {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #667eea;
}

.calculation-process h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

.calculation-steps {
    font-family: 'Courier New', monospace;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.result-number {
    font-size: 4rem;
    font-weight: 700;
    color: #667eea;
    text-align: center;
    margin: 2rem 0;
    text-shadow: 2px 2px 4px rgba(102, 126, 234, 0.2);
}

.result-title {
    font-size: 1.8rem;
    color: #2d3748;
    text-align: center;
    margin-bottom: 1.5rem;
}

.result-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.keyword {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.monthly-guidance {
    margin-bottom: 2rem;
}

.monthly-guidance h3 {
    color: #667eea;
    margin-bottom: 1rem;
}

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

.month-card {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #667eea;
}

.month-card h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.advice-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.do-list, .avoid-list {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 10px;
}

.do-list h4 {
    color: #38a169;
    margin-bottom: 1rem;
}

.avoid-list h4 {
    color: #e53e3e;
    margin-bottom: 1rem;
}

.advice-list {
    list-style: none;
}

.advice-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.advice-list li:last-child {
    border-bottom: none;
}

.next-year-preview {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

.summary-advice {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    text-align: center;
}

/* Compatibility Prompt */
.compatibility-prompt {
    margin-top: 3rem;
}

.prompt-card {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.prompt-card h3 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.prompt-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.prompt-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.prompt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Ad Containers */
.ad-container {
    margin: 2rem 0;
    text-align: center;
}

.ad-placeholder {
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    padding: 2rem;
    border-radius: 10px;
    color: #718096;
    font-weight: 500;
}

/* FAQs Section */
.faqs-section {
    background: white;
    padding: 4rem 0;
    margin-top: 3rem;
}

.faqs-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faqs-list .faq-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #667eea;
}

.faq-item {
    padding: 1.5rem;
    border-left: 4px solid #667eea;
}

.faq-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Content Pages */
.content-section {
    padding: 3rem 0;
}

.content-section h1 {
    font-size: 3rem;
    color: #4a5568;
    margin-bottom: 1rem;
    text-align: center;
}

.content-section h2 {
    color: #4a5568;
    margin: 2rem 0 1rem 0;
    font-size: 2.5rem;
    text-align: center;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 1rem;
}

.content-section h4 {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.content-section p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #4a5568;
}

.content-section ul {
    margin: 1rem 0 1.5rem 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e2e8f0;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
    color: #a0aec0;
}

/* Error Messages */
.error {
    background: #fed7d7;
    color: #c53030;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #feb2b2;
}

/* Calculation Process */
.calculation-process {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.calculation-process h3 {
    color: #4c51bf;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.calculation-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.step strong {
    color: #667eea;
    display: block;
    margin-bottom: 8px;
}

/* Yearly Trend Chart */
.yearly-trend {
    background: linear-gradient(135deg, #fff5f5 0%, #fef7ff 100%);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 40px;
    border-left: 6px solid #f56565;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.yearly-trend h3 {
    color: #c53030;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.trend-chart {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chart-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid #e2e8f0;
    margin: 20px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-explanation {
    background: white;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #e2e8f0;
}

.trend-explanation p {
    margin: 0;
    color: #4a5568;
    font-style: italic;
}

/* Monthly Guidance Improvements */
.monthly-guidance h3 {
    color: #4c51bf;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.month-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.month-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.month-card h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.month-number {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.month-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.month-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.month-calculation {
    margin-bottom: 12px;
}

.month-calculation small {
    color: #718096;
    font-style: italic;
}

.month-card p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.print-btn {
    background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
    color: white;
}

.print-btn:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5aa0 100%);
    transform: translateY(-1px);
}

.share-btn {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.share-btn:hover {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    transform: translateY(-1px);
}

.export-btn {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: white;
}

.export-btn:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .calculation-steps {
        gap: 12px;
    }
    
    .step {
        padding: 12px;
    }
    
    .trend-chart {
        gap: 15px;
    }
    
    .chart-container {
        padding: 15px;
    }
    
    .month-card {
        padding: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .language-dropdown {
        min-width: 120px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .search-container {
        display: none;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .calculator-form {
        padding: 1.5rem;
    }
    
    .advice-section {
        grid-template-columns: 1fr;
    }
    
    .months-grid {
        grid-template-columns: 1fr;
    }
    
    .result-number {
        font-size: 3rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .calculator-form {
        padding: 1rem;
    }
    
    .result-card {
        padding: 1.5rem;
    }
    
    .faqs-grid {
        grid-template-columns: 1fr;
    }
}

/* Additional Styles for Footer Pages */

.content-section ol {
    margin: 1rem 0 1.5rem 2rem;
}

.content-section ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Contact Methods Styles */
.contact-methods {
    margin: 30px 0;
}

.contact-methods h3 {
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.5rem;
}

.contact-methods p {
    color: #4a5568;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Simple FAQ Section */
.faq-section {
    margin: 40px 0;
}

.faq-section h3 {
    margin-bottom: 25px;
    color: #2d3748;
    font-size: 1.5rem;
}

.faq-section .faq-item {
    margin-bottom: 25px;
}

.faq-section .faq-item h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faq-section .faq-item p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.email-link {
    text-align: center;
    margin: 20px 0;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}



/* Number Meanings Styles */
.number-meanings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.number-item {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.number-item h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.number-item p {
    margin: 0;
    color: #4a5568;
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
}

.cta-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.cta-section .calculate-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-section .calculate-btn:hover {
    background: #f7fafc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Styles */
.blog-categories {
    margin-bottom: 3rem;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1rem;
}

.category-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.blog-posts {
    margin-bottom: 3rem;
}

.blog-post {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #718096;
}

.post-date {
    color: #4a5568;
}

.post-category {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 4px 12px;
    border-radius: 12px;
    color: #4a5568;
}

.blog-post h4 {
    margin-bottom: 1rem;
}

.blog-post h4 a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post h4 a:hover {
    color: #667eea;
}

.blog-post p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #4c51bf;
    text-decoration: underline;
}

.featured-content {
    margin-bottom: 3rem;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.resource-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.resource-card h4 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.resource-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.resource-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ===== COMPATIBILITY PAGE STYLES ===== */

/* Form Row for side-by-side inputs */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Calculator form in hero */
.hero .calculator-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    backdrop-filter: blur(10px);
}

.hero .calculator-form .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

/* Ensure form labels and text are visible */
.hero .calculator-form .form-label {
    color: #2d3748 !important;
    font-weight: 500;
}

.hero .calculator-form .form-select {
    color: #2d3748 !important;
    background-color: white !important;
}

.hero .calculator-form .form-select option {
    color: #2d3748 !important;
    background-color: white !important;
}

/* Basic Results */
.basic-results {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.person-result {
    text-align: center;
}

.person-result h3 {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.personal-year-display {
    margin-bottom: 1rem;
}

.year-number {
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.year-details {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.year-keywords {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-style: italic;
    text-align: center;
}

.year-description {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
    margin: 0;
}

/* Enhanced compatibility styling */
.match-level {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    width: 100%;
}

.match-stars {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.match-level-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.excellent-match {
    color: #38a169;
}

.moderate-match {
    color: #d69e2e;
}

.conflict-match {
    color: #e53e3e;
}

.compatibility-advice {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    width: 100%;
}

.compatibility-advice h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-size: 1.5rem;
}

.compatibility-advice-text {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
    margin: 0;
    text-justify: inter-word;
    display: block;
    width: 100%;
}

.compatibility-advice-text.excellent-match {
    background: rgba(56, 161, 105, 0.1);
    border-left-color: #38a169;
}

.compatibility-advice-text.moderate-match {
    background: rgba(214, 158, 46, 0.1);
    border-left-color: #d69e2e;
}

.compatibility-advice-text.conflict-match {
    background: rgba(229, 62, 62, 0.1);
    border-left-color: #e53e3e;
}

.compatibility-symbol {
    font-size: 3rem;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Match Level */
.match-level {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.match-level h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.match-stars {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.match-level-text {
    color: #4a5568;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

/* Compatibility Advice */
.compatibility-advice {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.compatibility-advice h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.compatibility-advice p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Share Section */
.share-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    width: 100%;
}

.share-section h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.share-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-btn.whatsapp {
    background: #25D366;
    color: white;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.pinterest {
    background: #E60023;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    width: 100%;
}

.cta-section h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-section p {
    color: #4a5568;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive adjustments for compatibility page */
@media (max-width: 768px) {
    .hero .calculator-form {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .button-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .button-group .reset-btn {
        min-width: auto;
    }
    
    .basic-results {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .compatibility-symbol {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .year-details {
        text-align: center;
    }
    
    .year-keywords {
        font-size: 0.8rem;
    }
    
    .year-description {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .match-level {
        padding: 1.5rem;
    }
    
    .compatibility-advice {
        padding: 1.5rem;
    }
    
    .compatibility-advice-text {
        font-size: 1rem;
        padding: 1rem;
        text-align: justify;
        text-justify: inter-word;
        width: 100%;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 200px;
        justify-content: center;
    }
}

/* Content Section Styles for Compatibility Page */
.content-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.content-text h2 {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-family: 'Lora', serif;
}

.content-text h3 {
    font-size: 1.5rem;
    color: #4a5568;
    margin: 2rem 0 1rem 0;
    font-family: 'Lora', serif;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.content-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-family: 'Lora', serif;
}

.feature-card p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.benefits-section {
    margin-top: 3rem;
}

.benefits-section h2 {
    font-size: 2.5rem;
    color: #2d3748;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Lora', serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.benefit-item h4 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 1rem;
    font-family: 'Lora', serif;
}

.benefit-item p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Responsive adjustments for content section */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-text h2 {
        font-size: 2rem;
    }
    
    .benefits-section h2 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .benefit-item {
        padding: 1.5rem;
    }
}

/* ===== PERSONAL MONTH CALCULATOR STYLES ===== */

/* Month Result Display */
.month-result {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
    margin-bottom: 2rem;
    width: 100%;
    display: block;
}

.month-result h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.month-number-display {
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
}

/* Personal Month Calculator specific styles */
.month-calculator .month-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
    margin: 0 auto;
    padding: 0;
}

.month-details {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.month-keywords {
    color: #667eea;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
    text-align: center;
}

.month-description {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* Monthly Guidance */
.monthly-guidance {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.monthly-guidance h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.guidance-content {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: justify;
}

/* Action Items */
.action-items {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
}

.action-items h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.action-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.action-section h4 {
    color: #2d3748;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.action-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.action-section li {
    color: #4a5568;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.5;
}

.action-section li:last-child {
    border-bottom: none;
}

/* Responsive adjustments for month calculator */
@media (max-width: 768px) {
    .action-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .month-result {
        padding: 1.5rem;
    }
    
    .month-calculator .month-number {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .monthly-guidance,
    .action-items {
        padding: 1.5rem;
    }
    
    .guidance-content {
        font-size: 1rem;
    }
}

/* Next Month Preview - matching Next Year Preview style */
.next-month-preview {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
}

.next-month-preview h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.next-month-preview p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Fix alignment for guidance content */
.guidance-content {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6;
    margin: 1rem 0;
    display: block;
    width: 100%;
}

/* Action items - matching homepage advice-section style */
.action-items {
    margin: 2rem 0;
}

.action-items h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-size: 1.5rem;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.action-section {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 10px;
}

.action-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.action-section:first-child h4 {
    color: #38a169;
}

.action-section:last-child h4 {
    color: #e53e3e;
}

.action-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.action-section li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    line-height: 1.5;
}

.action-section li:last-child {
    border-bottom: none;
}

/* Personal Month Calculator specific styles */
.month-calculator .basic-results {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.1);
} 