:root {
    --primary: #000;
    --secondary: #666;
    --background: #fff;
    --surface: #f8f8f8;
    --border: #e5e5e5;
    --text: #333;
    --text-light: #666;
    --accent: #007aff;
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Navigation */
.nav-primary {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-primary .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand a {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--accent);
}

/* Language Selector - Improved Design */
.lang-selector {
    position: relative;
}

#langSelect {
    border: 2px solid var(--border);
    padding: 8px 32px 8px 14px;
    border-radius: 8px;
    background: var(--background);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 18px;
    min-width: 80px;
    color: var(--text);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

#langSelect:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 8px rgba(0, 122, 255, 0.15);
    transform: translateY(-1px);
}

#langSelect:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

#langSelect option {
    padding: 8px;
    background: var(--background);
    color: var(--text);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
}

.search-box input {
    flex: 1;
    padding: 16px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.search-box button {
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-box button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
}

.categories-section h2 {
    font-size: 36px;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.5px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.category-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.category-count {
    font-size: 12px;
    color: var(--secondary);
    background: var(--surface);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Featured Calculators */
.featured-calculators {
    padding: 80px 0;
    background: var(--surface);
}

.featured-calculators h2 {
    font-size: 36px;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.5px;
}

.calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.calc-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.calc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.calc-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.calc-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* Blog Section */
.recent-posts {
    padding: 80px 0;
}

.recent-posts h2 {
    font-size: 36px;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: -0.5px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.blog-card h3 {
    margin-bottom: 12px;
}

.blog-card h3 a {
    color: var(--primary);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-card h3 a:hover {
    color: var(--accent);
}

.blog-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.blog-card time {
    color: var(--secondary);
    font-size: 12px;
}

.blog-cta {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    background: var(--background);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

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

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    margin-top: 80px;
}

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

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

/* Calculator Page Styles */
.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: calc(100vh - 140px);
}

.calculator-header {
    text-align: center;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.calculator-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.05) 0%, 
        rgba(88, 86, 214, 0.05) 50%, 
        rgba(255, 45, 85, 0.05) 100%);
    border-radius: 0 0 50px 50px;
    z-index: -1;
}

.calculator-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.calculator-header p {
    font-size: 20px;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.calculator-box {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 60px;
}

.calculator-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, 
        rgba(0, 122, 255, 0.1) 0%, 
        rgba(88, 86, 214, 0.1) 50%, 
        rgba(255, 45, 85, 0.1) 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calculator-box:hover::before {
    opacity: 1;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--background);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.08);
    transform: translateY(-1px);
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

.btn-calculate {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 12px;
}

.btn-calculate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-calculate:hover::before {
    left: 100%;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 122, 255, 0.25);
}

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

.result-box {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 122, 255, 0.02) 100%);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 122, 255, 0.1);
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-value {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.result-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box button {
        width: 100%;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Calculator Mobile Styles */
    .calculator-header {
        padding: 60px 0 40px;
    }
    
    .calculator-header h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }
    
    .calculator-header p {
        font-size: 18px;
    }
    
    .calculator-box {
        padding: 32px 24px;
        border-radius: 16px;
    }
    
    .result-value {
        font-size: 40px;
    }
    
    .result-box {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    /* Breadcrumb Mobile */
    .breadcrumb {
        padding: 12px 0;
        margin-bottom: 32px;
    }
    
    .breadcrumb ol {
        gap: 6px;
    }
    
    .breadcrumb a, .breadcrumb li[aria-current="page"] {
        font-size: 13px;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    margin-bottom: 40px;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    color: var(--text-light);
    margin-left: 8px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

/* Astrology & Zodiac Styles */
.calc-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.calc-tag {
    background: linear-gradient(135deg, var(--accent), #5856d6);
    color: white;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 12px;
    display: inline-block;
}

.calc-card.featured {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    border: 2px solid var(--accent);
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.zodiac-item {
    text-align: center;
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.zodiac-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.zodiac-symbol {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.zodiac-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.zodiac-item p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.zodiac-item small {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.fundamentals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.fundamental-card {
    padding: 24px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.fundamental-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.fundamental-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.fundamental-card p {
    color: var(--text);
    line-height: 1.6;
}

.category-guide {
    background: var(--surface);
    padding: 60px 0;
    margin-top: 60px;
}

.guide-content {
    max-width: 1000px;
    margin: 0 auto;
}

.astrology-basics {
    margin-top: 60px;
}

.category-info {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    padding: 40px;
    border-radius: var(--radius);
    margin: 40px 0;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.category-info h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--primary);
}

.category-info p {
    font-size: 18px;
    color: var(--text);
    line-height: 1.6;
}

/* Zodiac Calculator Styles */
.zodiac-result-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    border-radius: var(--radius);
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.result-symbol {
    font-size: 72px;
    text-align: center;
    min-width: 80px;
}

.result-info h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--primary);
}

.result-dates {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.result-element {
    font-size: 14px;
    color: var(--text-light);
}

.zodiac-description {
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
}

.zodiac-details {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.zodiac-detail-section h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.traits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trait-tag {
    background: var(--accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.compatibility-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compatibility-tag {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.zodiac-detail-section ul {
    list-style: none;
    padding: 0;
}

.zodiac-detail-section li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 20px;
}

.zodiac-detail-section li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.zodiac-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.extra-info {
    padding: 16px;
    background: var(--surface);
    border-radius: var(--radius);
    font-size: 14px;
}

.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.zodiac-card.highlighted {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.1));
    border: 2px solid var(--accent);
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.zodiac-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.zodiac-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.zodiac-card .zodiac-symbol {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.zodiac-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--primary);
}

.zodiac-dates {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 4px;
}

.zodiac-element {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.zodiac-traits {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
}

.error-message {
    text-align: center;
    padding: 24px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: var(--radius);
    color: #c33;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .zodiac-result-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .result-info h2 {
        font-size: 24px;
    }
    
    .zodiac-extras {
        grid-template-columns: 1fr;
    }
    
    .result-actions {
        flex-direction: column;
    }
}

/* Zodiac Compatibility Calculator Styles */
.compatibility-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 32px;
}

.person-input {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.person-input h3 {
    margin-bottom: 20px;
    color: var(--primary);
    text-align: center;
    font-size: 18px;
}

.compatibility-heart {
    font-size: 48px;
    text-align: center;
    align-self: center;
    animation: heartbeat 2s ease-in-out infinite;
}

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

.compatibility-result-header {
    margin-bottom: 32px;
}

.compatibility-signs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 24px;
}

.sign-display {
    text-align: center;
}

.sign-symbol {
    font-size: 64px;
    margin-bottom: 8px;
}

.sign-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.sign-element {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.compatibility-score {
    text-align: center;
}

.score-circle {
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #5856d6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
}

.score-number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.score-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.compatibility-description {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

.compatibility-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.compatibility-strengths,
.compatibility-challenges {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.compatibility-strengths h3,
.compatibility-challenges h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.compatibility-strengths {
    border-left: 4px solid #10b981;
}

.compatibility-challenges {
    border-left: 4px solid #f59e0b;
}

.compatibility-advice {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    border-left: 4px solid var(--accent);
}

.compatibility-advice h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.compatibility-matrix {
    background: var(--surface);
    padding: 60px 0;
    margin-top: 60px;
}

.compatibility-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.compatibility-table th,
.compatibility-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border);
}

.compatibility-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.compatibility-cell {
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 12px;
}

.compatibility-cell:hover {
    transform: scale(1.1);
    z-index: 1;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.score-excellent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.score-good {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.score-moderate {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.score-challenging {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.compatibility-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.factor-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.factor-card h4 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 18px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .compatibility-inputs {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .compatibility-heart {
        font-size: 32px;
        order: 2;
    }
    
    .compatibility-signs {
        flex-direction: column;
        gap: 16px;
    }
    
    .sign-symbol {
        font-size: 48px;
    }
    
    .compatibility-details {
        grid-template-columns: 1fr;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-number {
        font-size: 24px;
    }
    
    .compatibility-table {
        font-size: 10px;
    }
    
    .compatibility-table th,
    .compatibility-table td {
        padding: 6px 4px;
    }
    
    .compatibility-factors {
        grid-template-columns: 1fr;
    }
}

/* Chinese Zodiac Calculator Styles */
.chinese-animals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.animal-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.animal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.animal-card.highlighted {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.1));
    border: 2px solid var(--accent);
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.animal-emoji {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.animal-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--primary);
}

.animal-years {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.animal-traits {
    font-size: 13px;
    color: var(--text);
    line-height: 1.4;
}

.chinese-zodiac-result-header {
    margin-bottom: 32px;
}

.animal-result-display {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    border-radius: var(--radius);
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.result-animal-emoji {
    font-size: 72px;
    text-align: center;
    min-width: 80px;
}

.result-animal-info h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--primary);
}

.result-year {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.result-element {
    font-size: 14px;
    color: var(--text-light);
}

.chinese-zodiac-description {
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
}

.chinese-zodiac-details {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.incompatibility-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.incompatibility-tag {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.chinese-zodiac-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.chinese-zodiac-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.info-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.info-card h4 {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 18px;
}

/* Mobile Styles for Chinese Zodiac */
@media (max-width: 768px) {
    .chinese-animals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .animal-result-display {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .result-animal-emoji {
        font-size: 48px;
    }
    
    .result-animal-info h2 {
        font-size: 24px;
    }
    
    .chinese-zodiac-extras {
        grid-template-columns: 1fr;
    }
    
    .chinese-zodiac-info {
        grid-template-columns: 1fr;
    }
}

/* Numerology Calculator Styles */
.numerology-numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.number-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.number-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.number-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 18px;
}

.life-path-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.path-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.path-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.path-card.highlighted {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(88, 86, 214, 0.1));
    border: 2px solid var(--accent);
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.path-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), #5856d6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    margin: 0 auto 16px;
}

.path-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--primary);
}

.numerology-result-header {
    margin-bottom: 32px;
}

.primary-number-display {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05), rgba(88, 86, 214, 0.05));
    border-radius: var(--radius);
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.result-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent), #5856d6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: bold;
    min-width: 100px;
}

.result-number-info h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: var(--primary);
}

.result-title {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}

.result-birth-date {
    font-size: 14px;
    color: var(--text-light);
}

.numerology-description {
    margin-bottom: 32px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text);
}

.numerology-details {
    display: grid;
    gap: 24px;
    margin-bottom: 32px;
}

.numerology-detail-section {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.numerology-detail-section h3 {
    margin-bottom: 16px;
    color: var(--primary);
}

.career-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.career-tag {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.compatibility-numbers {
    display: flex;
    gap: 12px;
}

.number-tag {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.other-numbers {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius);
    margin-bottom: 32px;
}

.other-numbers h3 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 24px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.number-result {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.number-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 12px;
}

.number-info h4 {
    margin-bottom: 8px;
    color: var(--primary);
}

.number-info p {
    font-size: 14px;
    color: var(--text-light);
}

.name-prompt {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid #10b981;
    margin-bottom: 32px;
}

.name-prompt p {
    margin: 0;
    color: var(--text);
}

/* Mobile Styles for Numerology */
@media (max-width: 768px) {
    .life-path-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .primary-number-display {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .result-number {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .result-number-info h2 {
        font-size: 24px;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr;
    }
    
    .numerology-numbers-grid {
        grid-template-columns: 1fr;
    }
    
    .path-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Category Pages Styles */
.category-container {
    min-height: 100vh;
    padding: 20px 0 60px;
}

.category-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 60px;
}

.category-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-icon-large {
    font-size: 80px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    border-radius: 24px;
    flex-shrink: 0;
}

.category-content {
    flex: 1;
}

.category-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    letter-spacing: -1px;
}

.category-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.5;
}

.category-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.category-stats .stat {
    padding: 8px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

/* Calculators Grid Section */
.calculators-grid-section {
    padding: 40px 0;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.calculator-card {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.calculator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.calculator-card.featured {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
    border-color: rgba(0, 122, 255, 0.2);
}

.calculator-card .calc-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.calculator-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.calculator-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 20px;
    flex: 1;
}

.calc-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.calc-features span {
    font-size: 12px;
    padding: 4px 8px;
    background: var(--surface);
    border-radius: 4px;
    color: var(--text-light);
}

.calc-cta {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    display: flex;
    align-items: center;
    transition: all 0.2s;
}

.calculator-card:hover .calc-cta {
    transform: translateX(4px);
}

/* Category Info Section */
.category-info {
    padding: 60px 0;
    background: var(--surface);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.info-card {
    background: var(--background);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--primary);
}

.info-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
}

/* Guide Sections */
.guide-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.guide-section {
    background: var(--background);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.guide-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary);
}

.guide-section p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 12px;
}

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

.guide-section li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

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

.guide-section strong {
    color: var(--primary);
    font-weight: 600;
}

/* Mobile Responsive for Category Pages */
@media (max-width: 768px) {
    .category-hero {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .category-content h1 {
        font-size: 32px;
    }
    
    .category-subtitle {
        font-size: 16px;
    }
    
    .category-stats {
        justify-content: center;
    }
    
    .calculators-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .guide-sections {
        grid-template-columns: 1fr;
    }
}

/* Calculator Pages Styles */
.calculator-container {
    min-height: 100vh;
    padding: 20px 0 60px;
}

.calculator-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.calculator-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-icon {
    font-size: 64px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    border-radius: 16px;
    flex-shrink: 0;
}

.calculator-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.calculator-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Calculator Layout */
.calculator-section {
    padding: 40px 0;
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-form-section {
    background: var(--background);
}

.calculator-result-section {
    background: var(--surface);
    padding: 32px;
    border-radius: var(--radius);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.calculator-box {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.calculator-box h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--primary);
}

/* Form Styles */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--background);
    color: var(--text);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.input-with-currency,
.input-with-unit {
    position: relative;
}

.currency,
.unit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    pointer-events: none;
}

.input-with-unit {
    display: flex;
    gap: 8px;
}

.input-with-unit input {
    flex: 2;
}

.input-with-unit select {
    flex: 1;
    min-width: 100px;
}

.btn-calculate {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), #0056b3);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 122, 255, 0.3);
}

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

/* Result Styles */
.result-box {
    background: var(--background);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    transition: opacity 0.3s ease;
}

.result-header h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.result-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--surface);
    border-radius: 8px;
}

.result-item.featured {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    border: 1px solid rgba(0, 122, 255, 0.2);
}

.result-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.result-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.result-value.positive {
    color: #10b981;
}

.result-value.negative {
    color: #ef4444;
}

.result-breakdown {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.result-breakdown h4 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--primary);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.breakdown-item.total {
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
}

.result-interpretation {
    margin-top: 24px;
}

.interpretation-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.interpretation-card.success {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.interpretation-card.warning {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}

.interpretation-icon {
    font-size: 24px;
}

.interpretation-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.interpretation-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-light);
}

/* Calculator Tips */
.calculator-tips {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.calculator-tips h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary);
}

.calculator-tips ul {
    list-style: none;
    padding: 0;
}

.calculator-tips li {
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.calculator-tips li:last-child {
    border-bottom: none;
}

.calculator-tips strong {
    color: var(--primary);
    font-weight: 600;
}

/* Calculator Info Section */
.calculator-info {
    padding: 60px 0;
    background: var(--surface);
}

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

.info-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary);
}

.info-content > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

/* Related Calculators */
.related-calculators {
    padding: 60px 0;
}

.related-calculators h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--primary);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.related-calc {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.related-calc:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.related-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.related-calc h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.related-calc p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* Mobile Responsive for Calculator Pages */
@media (max-width: 968px) {
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .calculator-result-section {
        position: static;
        order: 2;
    }
    
    .calculator-form-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .calculator-hero {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .calculator-content h1 {
        font-size: 28px;
    }
    
    .calculator-box {
        padding: 24px;
    }
    
    .calculator-result-section {
        padding: 24px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .input-with-unit {
        flex-direction: column;
    }
    
    .input-with-unit input,
    .input-with-unit select {
        width: 100%;
    }
}