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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #e8e9f3 0px, #f2f3ff 150px, #ffffff 300px), #ffffff;
    color: #1a1a1a;
    font-size: 17px;
    line-height: 1.6;
    min-height: 100vh;
}

/* Base Heading Styles - Desktop */
h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 24px 0;
}

h2 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 6px 0 6px 0;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 24px 0 12px 0;
}

h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 20px 0 10px 0;
}

h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 16px 0 8px 0;
}

h6 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin: 16px 0 8px 0;
}

/* Header Navigation - liquid glass style */
.header {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px) saturate(180%);
    padding: 2px;
    position: fixed;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 1000;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(241, 242, 254, 0.15);
    border: 1px solid rgba(241, 242, 254, 0.15);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: calc(100% - 48px);
    margin: 0 24px;
    height: 52px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 22px;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 28px;
    width: auto;
}

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

.nav-item {
    color: rgba(26, 26, 26, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.nav-item:hover {
    color: rgba(26, 26, 26, 0.9);
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-primary {
    background: #8837ea;
    color: white;
    border: none;
    padding: 5px 20px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #7c2de6;
}

.btn-secondary {
    background: transparent;
    color: #4a5568;
    border: 1px solid #e5e5e5;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

/* Main Container */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 24px;
    margin-top: 96px;
}

/* Breadcrumb */
.breadcrumb {
    color: #999;
    font-size: 14px;
    margin-bottom: 2px;
}

.breadcrumb a {
    color: #6366f1;
    text-decoration: none;
}

/* Page Header */
.page-header {
    margin-bottom: 48px;
    text-align: left;
}

.page-title {
    margin-bottom: 32px;
}

.page-subtitle {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Article Header */
.article-header {
    margin-bottom: 48px;
}

.article-title {
    font-size: 48px;
    margin-bottom: 16px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #4a5568;
    font-size: 14px;
    margin-bottom: 40px;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
}

.article-date::before {
    content: "📅";
    font-size: 16px;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
}

.reading-time::before {
    content: "⏱️";
    font-size: 16px;
}

/* Article Content */
.article-content {
    background: white;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    margin: 40px 0 16px 0;
}

.article-content h3 {
    margin: 32px 0 14px 0;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.5;
    color: #1a1a1a;
}

.article-content ul, .article-content ol {
    margin: 20px 0 20px 24px;
}

.article-content li {
    font-size: 18px;
    line-height: 1.5;
    color: #1a1a1a;
}

.article-content li {
    margin-bottom: 8px;
}

/* Highlight Boxes */
.highlight-box {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.highlight-box h4 {
    color: #6366f1;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* Tables */
.calculation-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.calculation-table th,
.calculation-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.calculation-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

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

/* CTA Section */
.cta-section {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e5e5e5;
    margin-top: 48px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 48px;
}

.cta-title {
    font-size: 24px;
    margin-bottom: 16px;
}

.cta-description {
    color: #4a5568;
    margin-bottom: 24px;
}

/* Articles Grid */
.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 40px;
}

.article-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    cursor: pointer;
}

.article-card:hover .article-card-title {
    color: #8837ea;
}

/* Alternative vertical layout */
.article-card.vertical {
    flex-direction: column;
    gap: 16px;
}

.article-circles {
    display: flex;
    align-items: center;
    gap: -8px;
    flex-shrink: 0;
}

.article-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
    position: relative;
    z-index: 1;
}

.article-circle:nth-child(2) {
    margin-left: -16px;
    z-index: 2;
}

.article-circle:nth-child(3) {
    margin-left: -16px;
    z-index: 3;
}

.article-circle.yellow {
    background: #f59e0b;
}

.article-circle.white {
    background: white;
    color: #1a1a1a;
    border: 3px solid #333;
}

.article-circle.red {
    background: #ef4444;
}

.article-circle.blue {
    background: #3b82f6;
}

.article-circle.green {
    background: #10b981;
}

.article-circle.purple {
    background: #8b5cf6;
}

.article-circle.orange {
    background: #f97316;
}

.article-circle.teal {
    background: #14b8a6;
}

.article-card-content {
    flex: 1;
    padding-top: 8px;
}

/* Vertical layout content styles */
.article-card.vertical .article-circles {
    justify-content: flex-start;
}

.article-card.vertical .article-card-content {
    padding-top: 0;
}

.article-card.vertical .article-card-title {
    font-size: 30px;
    margin-bottom: 12px;
}

.article-card.vertical .article-card-description {
    font-size: 15px;
    line-height: 1.6;
}

.article-card-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.article-card-description {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 4px;
}

.article-card-date {
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Color variants for article icons */
.article-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.article-icon.red {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: white;
}

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

.article-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.article-icon.orange {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
}

.article-icon.teal {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    color: white;
}

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
}

.hero-container {
    max-width: 600px;
    width: 100%;
}

.hero-logo {
    margin-bottom: 48px;
}

.logo-large {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-large img {
    height: 48px;
    width: auto;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 48px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Pension Calculator Form */
.pension-calculator {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calculator-field {
    margin-bottom: 24px;
}

.field-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    text-align: left;
}

.date-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s;
    background: white;
}

.date-input:focus {
    outline: none;
    border-color: #8837ea;
}

.date-input.error {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}

.field-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    text-align: left;
}

.field-error.show {
    display: block;
}

.calculate-btn {
    width: 100%;
    background: #8837ea;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calculate-btn:hover {
    background: #7c2de6;
    transform: translateY(-1px);
}

/* Consent Checkbox */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 0;
    text-align: left;
}

.consent-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-checkmark {
    width: 18px;
    height: 18px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.consent-checkbox input[type="checkbox"]:checked + .checkbox-checkmark {
    background: #8837ea;
    border-color: #8837ea;
}

.consent-checkbox input[type="checkbox"]:checked + .checkbox-checkmark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-text {
    flex: 1;
}

.consent-text a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s;
}

.consent-text a:hover {
    color: #1d4ed8;
    border-bottom-color: #1d4ed8;
}

/* Form Steps */
.step-1, .step-2, .step-3 {
    transition: all 0.3s ease;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 24px 0;
}

.success-icon {
    margin-bottom: 16px;
}

.success-title {
    font-size: 24px;
    margin-bottom: 8px;
}

.success-text {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
}

/* Esoteric Divider */
.esoteric-divider {
    padding: 40px 0;
    background: white;
}

.divider-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 0 24px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(153, 153, 153, 0.2) 20%, 
        rgba(153, 153, 153, 0.4) 50%, 
        rgba(153, 153, 153, 0.2) 80%, 
        transparent 100%
    );
}

.esoteric-icons {
    display: flex;
    gap: 24px;
    align-items: center;
}

.esoteric-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    background: rgba(153, 153, 153, 0.05);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
}

.esoteric-icon.number-icon {
    font-family: 'Inter', serif;
    font-weight: 400;
    font-size: 16px;
}

/* Features Grid Section */
.features-grid-section {
    padding: 40px 24px;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    margin-bottom: 32px;
}

.section-subtitle {
    font-size: 18px;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

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

.feature-card {
    text-align: left;
    padding: 32px;
    background: white;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
}

.feature-card:nth-child(1) {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #d1fae5;
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, #fef3c7 0%, #fef7e0 100%);
    border-color: #fde68a;
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, #ede9fe 0%, #f5f3ff 100%);
    border-color: #ddd6fe;
}

.feature-card:nth-child(4) {
    background: linear-gradient(135deg, #fce7f3 0%, #fdf2f8 100%);
    border-color: #fbcfe8;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.feature-card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card-description {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding: 40px 24px;
    background: white;
}

.about-image {
    margin-bottom: 40px;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Tools Section */
.tools-section {
    padding: 40px 24px;
    background: white;
}

.tools-image {
    margin-bottom: 40px;
}

.tools-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.tools-content {
    margin-bottom: 48px;
}

.tools-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.tool-card {
    background: #f8fafc;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 24px;
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tool-title {
    font-size: 20px;
    margin: 0;
}

.tool-check-icon {
    color: #10b981;
    flex-shrink: 0;
}

.tool-description {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.5;
}

.tool-preview {
    border-top: 1px solid #e5e5e5;
    padding-top: 16px;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-label {
    font-size: 14px;
    color: #4a5568;
    font-weight: 500;
}

.preview-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 500;
}

.preview-status.active {
    background: #dcfce7;
    color: #16a34a;
}

.preview-progress {
    font-size: 14px;
    color: #6366f1;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 40px 24px;
    background: white;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: #4a5568;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    padding: 0 24px 24px 24px;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* CTA Section */
.cta-section {
    padding: 40px 24px;
    background: white;
    text-align: center;
}

.cta-button {
    background: #8837ea;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
}

/* Footer */
.footer {
    background: white;
    padding: 40px 24px;
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    height: 18px;
    width: auto;
}

.footer-text {
    margin-bottom: 24px;
}

.footer-text p {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
}

.footer-text a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.2s ease;
}

.footer-text a:hover {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    text-decoration: none;
}

.footer-copyright p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* CTA Section */
.cta-section-home {
    padding: 40px 24px;
    background: #f8fafc;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-container .cta-title {
    margin-bottom: 16px;
}

.cta-container .cta-description {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.btn-secondary.large {
    background: white;
    color: #6366f1;
    border: 2px solid #6366f1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-secondary.large:hover {
    background: #6366f1;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Heading Styles */
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 17px;
    }

    h6 {
        font-size: 16px;
    }

    .header {
        top: 8px;
        left: 8px;
        right: 8px;
        padding: 2px;
        border-radius: 20px;
    }

    .header-content {
        margin: 0 8px;
        max-width: calc(100% - 16px);
        height: 48px;
        border-radius: 18px;
    }

    .nav-menu {
        display: none;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 120px 16px 60px;
    }

    /* Esoteric Divider Mobile */
    .esoteric-divider {
        padding: 32px 0;
    }

    .divider-container {
        gap: 16px;
        padding: 0 16px;
    }

    .esoteric-icons {
        gap: 16px;
    }

    .esoteric-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .esoteric-icon.number-icon {
        font-size: 14px;
    }

    .hero-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    /* Section Titles Mobile */
    .section-title {
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .page-title,
    .article-title {
        font-size: 24px;
    }

    .main-container {
        padding: 24px 20px;
        margin-top: 80px;
    }
    
    body {
        font-size: 16px;
    }

    .article-content {
        padding: 0;
    }


    .article-card {
        gap: 16px;
    }
    
    .article-circles {
        gap: -4px;
    }
    
    .article-circle {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    
    .article-circle:nth-child(2) {
        margin-left: -12px;
    }
    
    .article-circle:nth-child(3) {
        margin-left: -12px;
    }

    .main-feature-title {
        font-size: 32px;
    }

    .feature-block-title {
        font-size: 24px;
    }

    .phone-image {
        width: 250px;
    }

    .features-grid-section,
    .about-section,
    .tools-section,
    .faq-section {
        padding: 32px 16px;
    }

    .features-grid-4 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Feature Cards Mobile */
    .feature-card {
        padding: 24px;
    }

    .feature-card-title {
        font-size: 18px;
    }

    .feature-card-description {
        font-size: 14px;
    }

    /* Form Mobile */
    .pension-calculator {
        padding: 24px;
    }

    .success-title {
        font-size: 20px;
    }

    .success-text {
        font-size: 14px;
    }

    /* FAQ Mobile */
    .faq-question {
        font-size: 16px;
        padding: 20px;
    }

    .faq-answer {
        font-size: 14px;
        padding: 0 20px 20px 20px;
    }

    /* Tools Mobile */
    .tool-title {
        font-size: 18px;
    }

    .tool-description {
        font-size: 14px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        gap: 24px;
    }

    /* Additional Mobile Typography */
    .article-content p {
        font-size: 16px;
        line-height: 1.6;
    }


    .field-label {
        font-size: 13px;
    }

    .date-input {
        font-size: 15px;
        padding: 14px 16px;
    }

    .calculate-btn {
        font-size: 15px;
        padding: 14px 20px;
    }

    .about-content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .tools-content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .btn-primary {
        font-size: 14px;
        padding: 8px 12px;
    }

    .nav-item {
        font-size: 14px;
    }

    .logo {
        font-size: 16px;
    }
}

/* Form Steps */
.step-2, .step-3 {
    display: none;
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.flash-success {
    background: #10b981;
}

.flash-error {
    background: #ef4444;
}

/* Tools Image */
.tools-image {
    margin: 24px 0;
    text-align: center;
}

.tools-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Categories Section */
.categories-section {
    margin-bottom: 78px;
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    align-items: center;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 24px;
    padding: 5px 10px;
    text-decoration: none;
    color: #4a5568;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.category-item:hover,
.category-item.active {
    background: #f0f4ff;
    border-color: #3b82f6;
    color: #3b82f6;
    text-decoration: none;
}

.category-name {
    font-weight: 500;
}

.category-count {
    background: #f3f4f6;
    color: #4a5568;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

.category-item:hover .category-count,
.category-item.active .category-count {
    background: #dbeafe;
    color: #3b82f6;
}

/* Tails Grid */
.tails-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 40px;
}

.tail-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.tail-card:hover .tail-card-title {
    color: #8837ea;
    text-decoration: none;
}

.tail-circles {
    display: flex;
    align-items: center;
    gap: -8px;
    justify-content: flex-start;
    flex-shrink: 0;
}

.tail-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: white;
    position: relative;
    z-index: 1;
}

.tail-circle:nth-child(2) {
    margin-left: -12px;
    z-index: 2;
}

.tail-circle:nth-child(3) {
    margin-left: -12px;
    z-index: 3;
}

.tail-circle.yellow { background: #f59e0b; }
.tail-circle.white { background: white; color: #1a1a1a; border: 3px solid #333; }
.tail-circle.red { background: #ef4444; }
.tail-circle.blue { background: #3b82f6; }
.tail-circle.green { background: #10b981; }
.tail-circle.purple { background: #8b5cf6; }
.tail-circle.orange { background: #f97316; }
.tail-circle.teal { background: #14b8a6; }

.tail-card-content {
    flex: 1;
    padding-top: 0;
}

.tail-card-title {
    font-size: 24px;
    margin-bottom: 12px;
}

.tail-card-description {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 4px;
}

/* Pagination */
.pagination-section {
    margin-top: 60px;
}

.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 12px 20px;
    background: white;
    font-size: 14px;
    color: #4a5568;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.pagination-btn:hover {
    background: #f0f4ff;
    color: #3b82f6;
    border-color: #3b82f6;
    text-decoration: none;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.pagination-btn.disabled:hover {
    background: white;
    color: #4a5568;
    border-color: #e5e7eb;
    transform: none;
}

.pagination-info {
    color: #4a5568;
    font-size: 14px;
    margin: 0 8px;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-weight: 500;
}

/* Mobile styles for tails */
@media (max-width: 768px) {
    .categories-list {
        gap: 8px;
    }
    
    .category-item {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    .tail-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .tail-circle:nth-child(2) {
        margin-left: -10px;
    }
    
    .tail-circle:nth-child(3) {
        margin-left: -10px;
    }
    
    .tail-card-title {
        font-size: 24px;
    }
    
    .tail-card-description {
        font-size: 14px;
    }

    /* Mobile pagination styles */
    .pagination-btn {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 36px;
    }
    
    .pagination-info {
        padding: 8px 12px;
        font-size: 14px;
        margin: 0 4px;
    }
    
    .pagination-nav {
        gap: 8px;
    }
}

/* Tail Show Page Specific Styles */
.tail-circles {
    margin: 0 0 8px 0 !important;
}

.tail-title {
    margin-bottom: 24px;
}

.tail-content {
    font-size: 17px;
    line-height: 1.7;
    color: #1a1a1a;
    max-width: 720px;
}

.tail-content h1 {
    margin: 40px 0 20px 0;
    text-decoration: none;
    border-bottom: none;
}

.tail-content h2 {
    margin: 32px 0 16px 0;
    text-decoration: none;
    border-bottom: none;
}

.tail-content h3 {
    margin: 24px 0 12px 0;
}

.tail-content p {
    margin-bottom: 20px;
}

.tail-content ul {
    margin: 24px 0;
    padding-left: 28px;
}

.tail-content li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.tail-content blockquote {
    background: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: #4a5568;
}

.tail-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.tail-content em {
    font-style: italic;
    color: #4a5568;
}

.tail-content a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: all 0.2s;
}

.tail-content a:hover {
    color: #1d4ed8;
    text-decoration-thickness: 2px;
}

.tail-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9em;
}

.tail-content pre {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    overflow-x: auto;
}

.tail-content pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

.tail-content hr {
    border: none;
    height: 1px;
    background: #e2e8f0;
    margin: 32px 0;
}

.tail-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tail-content th {
    background: #f8fafc;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.tail-content td {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
}

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

.tail-content .highlight {
    background: #fef3c7;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

.tail-content img {
    max-width: 720px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.tail-content ol {
    margin: 24px 0;
    padding-left: 28px;
}

.tail-content ol li {
    margin-bottom: 12px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    
    
    .tail-content h1 {
        margin: 32px 0 16px 0;
    }
    
    .tail-content h2 {
        margin: 28px 0 14px 0;
    }
    
    .tail-content h3 {
        margin: 20px 0 10px 0;
    }
    
    .tail-content img {
        max-width: 100%;
        margin: 16px 0;
    }
}

@media (max-width: 480px) {
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    color: #718096;
    margin-bottom: 24px;
}

/* Article Meta */
.article-meta {
    font-size: 14px;
    color: #718096;
    margin-bottom: 24px;
}