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

:root {
    --primary-color: #3B82F6;
    --primary-dark: #2563EB;
    --primary-light: #60A5FA;
    --secondary-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --bg-color: #F9FAFB;
    --card-bg: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

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

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

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) 0;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-button:hover {
    background: white;
    border-color: var(--primary-color);
}

.globe-icon {
    color: var(--text-secondary);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s;
}

.lang-option:hover {
    background: var(--bg-color);
}

.lang-option.active {
    background: var(--primary-light);
    color: white;
}

.lang-flag {
    font-size: 1.25rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Quick Calculators */
.quick-calculators {
    padding: 2rem 0;
}

.calc-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.calc-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.3s;
}

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

.calc-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.calc-inline-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.calc-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.calc-input-inline {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: border-color 0.2s;
}

.calc-input-inline:focus {
    outline: none;
    border-color: var(--primary-color);
}

.calc-select-inline {
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    background: white;
    cursor: pointer;
}

.calc-btn-inline {
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.calc-btn-inline:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.calc-result-inline {
    flex-basis: 100%;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--primary-color);
    display: none;
}

.calc-result-inline.show {
    display: block;
}

.calc-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #EBF5FF;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* Advanced Calculator Section */
.advanced-calculator-section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.calculator-tabs-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.calc-tabs {
    display: flex;
    overflow-x: auto;
    border-bottom: 2px solid var(--border-color);
    background: var(--bg-color);
}

.calc-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    position: relative;
}

.calc-tab:hover {
    color: var(--primary-color);
}

.calc-tab.active {
    color: var(--primary-color);
}

.calc-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.calc-content {
    padding: 2rem;
}

.calc-form {
    display: none;
}

.calc-form.active {
    display: block;
}

.calc-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.calc-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.calc-inputs-advanced {
    max-width: 500px;
}

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

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.calc-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.calc-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.currency-symbol {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-weight: 500;
}

.input-with-currency .calc-input {
    padding-left: 2rem;
}

.input-suffix {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-weight: 500;
}

.calc-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.calc-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.result-box-advanced {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-light);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.result-row:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.result-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.result-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.result-value.primary {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.result-value.success {
    color: var(--secondary-color);
}

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

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

.content-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.content-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.formula-box {
    background: var(--bg-color);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin: 1rem 0;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    color: var(--primary-dark);
}

.example-box {
    background: #F0F9FF;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-color);
    margin-top: 1rem;
}

.example-box h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.use-case {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.use-case:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.use-case-list {
    list-style: none;
    padding: 0;
}

.use-case-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.use-case-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* SEO Content */
.seo-content-section {
    padding: 3rem 0;
    background: white;
    border-top: 1px solid var(--border-color);
}

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

.seo-article h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.seo-article h4 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--primary-color);
}

.seo-article p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-list {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-list li {
    margin: 0.5rem 0;
}

.daily-life-examples {
    margin-top: 1.5rem;
}

.example-category {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.example-category h4 {
    margin-top: 0;
}

/* Conversion Table */
.conversion-section {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

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

.conversion-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.conversion-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

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

.conversion-table tr:hover {
    background: var(--bg-color);
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
    background: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-color);
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer > div {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1200px;
}

/* Tips Section */
.tips-section {
    padding: 3rem 0;
}

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

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.tip-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
    opacity: 0.1;
}

.tip-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.tip-card p {
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

/* History Section */
.history-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #EBF5FF 100%);
}

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

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
}

.timeline-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

/* Mistakes Section */
.mistakes-section {
    padding: 3rem 0;

}

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

.mistake-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid #FCA5A5;
}

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

.mistake-card h3 {
    font-size: 1.25rem;
    color: var(--danger-color);
    margin-bottom: 0.75rem;
}

.correct-way {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #F0FDF4;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--secondary-color);
}

.correct-way strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #D1D5DB;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.social-links a:hover {
    background: var(--primary-color);
}

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

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

.footer-links a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s;
}

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

.footer-languages {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.footer-languages a {
    color: #D1D5DB;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-languages a:hover,
.footer-languages a.active {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #9CA3AF;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .calc-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .calc-inline-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .calc-input-inline {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .content-grid,
    .use-cases-grid,
    .seo-content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .language-selector,
    .ad-container,
    .social-links,
    .footer {
        display: none;
    }
    
    .calc-button,
    .calc-btn-inline {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
    }
}

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

.calc-result-inline.show {
    animation: fadeIn 0.3s ease-out;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
}

.legal-content section {
    margin-bottom: 2rem;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.last-updated {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
}

.cookie-table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.cookie-table th {
    background: var(--bg-color);
    font-weight: 600;
}
/* Complete Guide Section Improvements */
.seo-content-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.seo-article {
    background: white;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.seo-article h3 {
    color: #1f2937;
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seo-article h3::before {
    content: '';
    width: 4px;
    height: 2rem;
    background: #3b82f6;
    border-radius: 2px;
}

.seo-article h4 {
    color: #374151;
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    line-height: 1.8;
}

.content-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1.125rem;
}

/* Step by Step Guides Improvements */
.guides-section {
    margin-top: 3rem;
}

.guide-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.guide-card h4 {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.guide-card h4::before {
    content: '📋';
    font-size: 1.5rem;
}

.guide-steps {
    counter-reset: step-counter;
    padding-left: 0;
    margin: 0;
}

.guide-steps li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #4b5563;
    counter-increment: step-counter;
}

.guide-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: #3b82f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.guide-example {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    border-left: 4px solid #3b82f6;
}

.guide-example strong {
    color: #1f2937;
    display: block;
    margin-bottom: 0.5rem;
}

/* Common Mistakes Section Improvements */

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

.mistake-card {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.mistake-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    filter: grayscale(0.2);
}

.mistake-card h3 {
    color: #991b1b;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.mistake-card p {
    color: #7f1d1d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.correct-way {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.correct-way strong {
    color: #14532d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.correct-way strong::before {
    content: '✓';
    color: #16a34a;
    font-size: 1.25rem;
}

.correct-way p {
    color: #166534;
    margin: 0;
}

.faq-answer {
    line-height: 1.8;
    color: var(--text-secondary);
}

.faq-answer p {
    margin: 0.75rem 0;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-subtitle {
    color: var(--text-primary);
    font-size: 1rem;
    margin: 1.5rem 0 0.75rem !important;
}

.faq-subtitle:first-child {
    margin-top: 0 !important;
}

.faq-list {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.faq-list li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

.faq-answer br + br {
    display: none; /* Убираем двойные переносы */
}