/* Global style reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}


html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #333;
    background-color: #f5f7fa;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

/* Header styles */
.header {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-title span {
    background: linear-gradient(145deg, #3182ce, #2c5282);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-decoration: none;
}

/* Footer styles */
.footer {
    background: linear-gradient(145deg, #2c3e50, #2c5282);
    color: white;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Container styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    flex: 1 0 auto;
}

/* Heading styles */
h1 {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

h2 {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Calculator grid layout */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Input section styles */
.input-section {
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 8px;
}

.input-group {
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 输入组的单位样式 */
.input-group::after {
    content: attr(data-unit);
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    pointer-events: none;
    z-index: 1;
}

.input-group label {
    flex: 0 0 40%;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9rem;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    padding-right: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background-color: white;
}

.input-group input:focus {
    outline: none;
    border-color: #4299e1;
}

.error-message {
    display: none;
    color: #e53e3e;
    font-size: 0.8rem;
    position: absolute;
    top: 90%;
    left: 32%;
    background-color: #fff;
    padding: 3px 3px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(229, 62, 62, 0.1);
    border: 1px solid #e53e3e;
    margin-top: 4px;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
    white-space: nowrap;
}

/* Add a subtle shake animation for error state */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.input-group input.error {
    border-color: #e53e3e;
    background-color: #fff5f5;
    animation: shake 0.2s ease-in-out;
}

/* Input range hint */
.input-range {
    font-size: 0.75rem;
    color: #718096;
    margin-top: 0.25rem;
    display: block;
}

/* Checkbox group styles */
.checkbox-group {
    margin: 1rem 0;
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #4a5568;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
}

/* Calculate button styles */
.calculate-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(145deg, #3182ce, #2c5282);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
    position: relative;
    overflow: hidden;
}

.calculate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transition: all 0.3s ease;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(49, 130, 206, 0.4);
}

.calculate-btn:hover::before {
    opacity: 0.8;
}

.calculate-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

/* Results section styles */
.results-section {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Monthly payment special styling */
.result-grid .result-item:first-child {
    grid-column: 1 / -1;  /* 让它占据整行 */
    background: linear-gradient(145deg, #3182ce, #2c5282);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

.result-grid .result-item:first-child h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.result-grid .result-item:first-child p {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-item {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.result-item p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c5282;
    margin-top: 0.25rem;
}

/* Add hover effect for monthly payment */
.result-grid .result-item:first-child:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
    transition: all 0.3s ease;
}

/* Tooltip icon and tooltip box styles */
.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #718096;
    color: #718096;
    font-size: 12px;
    margin-left: 0.25rem;
    cursor: help;
    font-weight: bold;
}

.tooltip-icon::after {
    content: "?";
}

.tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(45, 55, 72, 0.95);
    color: white;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;
    width: 280px;
    font-size: 13px;
    line-height: 1.4;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-weight: normal;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(45, 55, 72, 0.95) transparent transparent transparent;
}

.tooltip-container:hover .tooltip {
    visibility: visible;
}

/* Chart container styles */
.chart-container {
    margin: 0;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    height: 250px;
}

/* Amortization section styles */
.amortization-section, .monthly-details-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.schedule-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
    min-height: 400px;
}

/* Table styles */
.table-container {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: white;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #e2e8f0;
}

th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #2d3748;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: #f8fafc;
}

/* Monthly details table specific styles */
#monthlyDetailsTable {
    width: 100%;
}

.monthly-details-section .table-container {
    max-height: none;
    overflow-y: visible;
}

/* 设置表格列宽 */
#monthlyDetailsTable th:nth-child(1),
#monthlyDetailsTable td:nth-child(1) {
    width: 12%;
    text-align: center;
    padding: 0.75rem 0.25rem;
}

#monthlyDetailsTable th:nth-child(2),
#monthlyDetailsTable td:nth-child(2) {
    width: 22%;
    text-align: right;
}

#monthlyDetailsTable th:nth-child(3),
#monthlyDetailsTable td:nth-child(3),
#monthlyDetailsTable th:nth-child(4),
#monthlyDetailsTable td:nth-child(4),
#monthlyDetailsTable th:nth-child(5),
#monthlyDetailsTable td:nth-child(5) {
    width: 22%;
    text-align: right;
}

#monthlyDetailsTable th,
#monthlyDetailsTable td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* 固定表头 */
#monthlyDetailsTable thead {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 移动端表格优化 */
@media (max-width: 768px) {
    .monthly-details-section .table-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
        max-height: 350px;
    }

    #monthlyDetailsTable th,
    #monthlyDetailsTable td {
        padding: 0.625rem 0.25rem;
        font-size: 0.7rem;
    }

    /* 移动端列宽调整 */
    #monthlyDetailsTable th:nth-child(1),
    #monthlyDetailsTable td:nth-child(1) {
        width: 10%;
        padding: 0.625rem 0.125rem;
    }

    #monthlyDetailsTable th:nth-child(2),
    #monthlyDetailsTable td:nth-child(2),
    #monthlyDetailsTable th:nth-child(3),
    #monthlyDetailsTable td:nth-child(3),
    #monthlyDetailsTable th:nth-child(4),
    #monthlyDetailsTable td:nth-child(4),
    #monthlyDetailsTable th:nth-child(5),
    #monthlyDetailsTable td:nth-child(5) {
        width: 22.5%;
    }

    /* 优化数字显示 */
    #monthlyDetailsTable td {
        font-variant-numeric: tabular-nums;
        font-feature-settings: "tnum";
    }

    /* 优化表头显示 */
    #monthlyDetailsTable th {
        font-size: 0.7rem;
        line-height: 1.2;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        background: white;
    }

    /* 确保滚动条美观 */
    .monthly-details-section .table-container::-webkit-scrollbar {
        width: 4px;
    }

    .monthly-details-section .table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .monthly-details-section .table-container::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 2px;
    }
}

/* 特小屏幕优化 */
@media (max-width: 360px) {
    .monthly-details-section .table-container {
        max-height: 300px;
    }

    #monthlyDetailsTable th,
    #monthlyDetailsTable td {
        padding: 0.5rem 0.125rem;
        font-size: 0.65rem;
    }

    #monthlyDetailsTable th:nth-child(1),
    #monthlyDetailsTable td:nth-child(1) {
        width: 8%;
    }

    #monthlyDetailsTable th {
        font-size: 0.65rem;
    }
}

/* 确保表格内容不会被截断 */
.monthly-details-section {
    overflow: visible;
}

/* 优化表格行交替颜色 */
#monthlyDetailsTable tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

/* 移动端响应式优化 */
@media (max-width: 768px) {
    body {
        height: auto;
        min-height: 100%;
    }

    .container {
        padding: 0.75rem;
        width: 100%;
        overflow: visible;
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        margin: 0.5rem 0;
        overflow: visible;
    }

    .input-section {
        padding: 1rem;
        overflow: visible;
    }

    .input-group {
        margin-bottom: 1.25rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .input-group label {
        width: 100%;
        margin-bottom: 0.25rem;
        font-size: 0.95rem;
    }

    .input-group input {
        height: 44px;
        font-size: 16px;
        padding-right: 35px;
    }

    .input-group::after {
        top: auto;
        bottom: 12px;
        right: 12px;
        font-size: 14px;
        color: #64748b;
    }

    /* 结果区域优化 */
    .results-section {
        padding: 1rem;
        overflow: visible;
    }

    .result-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .result-item {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    /* 图表容器优化 */
    .chart-container {
        height: 300px;
        margin: 1rem 0;
        padding: 0.75rem;
    }

    /* 表格区域优化 */
    .table-container {
        margin: 0.5rem -0.75rem;
        padding: 0;
        width: calc(100% + 1.5rem);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Footer优化 */
    .footer {
        margin-top: 1rem;
        padding: 1.5rem 0;
        position: relative;
        width: 100%;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .schedule-container {
        grid-template-columns: 1fr;
    }

    .table-container {
        margin: 0 -0.5rem;
        width: calc(100% + 1rem);
        overflow-x: auto;
    }

    #monthlyDetailsTable {
        min-width: 500px;
    }

    #monthlyDetailsTable th,
    #monthlyDetailsTable td {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }

    .monthly-details-section {
        margin: 1rem -0.75rem;
        width: calc(100% + 1.5rem);
    }

    .monthly-details-section .table-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

/* 针对更小屏幕的优化 */
@media (max-width: 360px) {
    .container {
        padding: 0.5rem;
    }

    .calculator-grid {
        padding: 0.75rem;
    }

    .input-section {
        padding: 0.75rem;
    }

    .input-group input {
        height: 40px;
        font-size: 14px;
    }

    .input-group::after {
        font-size: 12px;
        bottom: 11px;
    }

    #monthlyDetailsTable th,
    #monthlyDetailsTable td {
        padding: 0.5rem 0.625rem;
        font-size: 0.8125rem;
    }

    .result-item {
        padding: 0.75rem;
    }

    .chart-container {
        height: 250px;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    table {
        background: #1a202c;
        border-color: #2d3748;
    }
    
    th {
        background-color: #2d3748;
        color: #e2e8f0;
    }
    
    td {
        color: #e2e8f0;
        border-color: #2d3748;
    }
    
    tr:hover {
        background-color: #2d3748;
    }
    
    #monthlyDetailsTable tr:nth-child(even) {
        background-color: #1a202c;
    }
    
    #monthlyDetailsTable tr:hover {
        background-color: #2d3748;
    }
    
    .table-container::after {
        background: linear-gradient(to right, rgba(26,32,44,0), rgba(0,0,0,0.2));
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .container {
        margin: 0.5rem auto;
    }
    
    .result-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .schedule-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .table-container,
    .trend-chart-container {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .result-grid {
        grid-template-columns: 1fr;
    }
    
    .input-section, .results-section {
        padding: 1rem;
    }
    
    .amortization-section {
        padding: 1rem;
    }
}

/* Animation effects */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-item {
    animation: fadeIn 0.3s ease-out;
}

/* Payment method selection styles */
.payment-method-group {
    margin: 1.5rem 0;
}

.section-label {
    display: none;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    color: #4a5568;
    padding: 0.5rem 0;
    position: relative;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

/* Tooltip styles */
.tooltip-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.tooltip-icon {
    font-size: 14px;
    color: #718096;
    margin-left: 0.25rem;
    cursor: help;
}

.tooltip {
    visibility: hidden;
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(45, 55, 72, 0.95);
    color: white;
    text-align: left;
    padding: 8px 12px;
    border-radius: 6px;
    width: 280px;
    font-size: 13px;
    line-height: 1.4;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    white-space: normal;
}

.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(45, 55, 72, 0.95) transparent transparent transparent;
}

.radio-label:hover .tooltip,
.tooltip-container:hover .tooltip {
    visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .radio-group {
        gap: 1rem;
    }

    .radio-label {
        font-size: 0.95rem;
    }

    .tooltip {
        width: 220px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .checkbox-group,
    .payment-method-group {
        background: rgba(45, 55, 72, 0.7);
        border-color: rgba(74, 85, 104, 0.6);
    }

    .checkbox-label,
    .section-label {
        color: #f7fafc;
    }

    .radio-label {
        background: linear-gradient(145deg, #2d3748, #1a202c);
        border-color: rgba(74, 85, 104, 0.6);
        color: #e2e8f0;
    }

    .radio-label:hover,
    .checkbox-group:hover {
        border-color: #4299e1;
        background: linear-gradient(145deg, #1a202c, #2d3748);
    }

    .radio-label input[type="radio"],
    .checkbox-label input[type="checkbox"] {
        background-color: #2d3748;
        border-color: #4a5568;
    }

    .radio-label input[type="radio"]:checked,
    .checkbox-label input[type="checkbox"]:checked {
        background-color: #4299e1;
        border-color: #4299e1;
    }

    .tooltip-icon {
        background: #2d3748;
        border-color: #4a5568;
        color: #a0aec0;
    }

    .radio-label:hover .tooltip-icon {
        color: #4299e1;
        border-color: #4299e1;
    }

    .error-message {
        background-color: #2d3748;
        color: #feb2b2;
        border-color: #e53e3e;
    }

    .input-group input.error {
        background-color: rgba(229, 62, 62, 0.1);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    table {
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 0.5rem 0.4rem;
    }
}

/* 针对较大屏幕的优化 */
@media (min-width: 1024px) {
    .table-container {
        max-height: 400px;
    }
    
    th, td {
        padding: 0.75rem 1rem;
    }
}

/* 优化数字显示 */
td:not(:first-child) {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    font-family: 'Segoe UI', Tahoma, monospace;
}

/* 优化表格内数字的显示 */
#amortizationTable td:nth-child(2),
#amortizationTable td:nth-child(3),
#amortizationTable td:nth-child(4) {
    min-width: 100px;
}

/* SEO Content Section Styles */
.seo-content {
    margin: 1.5rem 0;
}

.seo-content .container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.seo-content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.seo-content h3 {
    color: #34495e;
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

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

.seo-content ul, 
.seo-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: #4a5568;
}

.seo-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.seo-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Dark mode support for SEO content */
@media (prefers-color-scheme: dark) {
    .seo-content .container {
        background: #1a202c;
    }
    
    .seo-content h2,
    .seo-content h3 {
        color: #e2e8f0;
    }
    
    .seo-content p,
    .seo-content li {
        color: #cbd5e0;
    }
    
    .seo-content strong {
        color: #e2e8f0;
    }
} 
} 