/* Design Tokens */
:root {
    --bg: #f0f0f0;
    --bg-alt: #e8e0da;
    --shadow: #bebebe;
    --highlight: #ffffff;
    --text: #1a1a1a;
    --muted: #636363;
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

a:focus {
    outline: 2px solid var(--text);
    outline-offset: 2px;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: auto; /* Align to the right */
    margin-right: 0;
    order: 3; /* Ensure it's always last in the nav container */
    z-index: 1001; /* Higher z-index to stay above other elements */
}

.language-switcher button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--highlight);
    border: 2px solid var(--text);
    border-radius: var(--radius);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s ease;
}

.language-switcher button:hover {
    background: var(--bg);
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -2px -2px 4px rgba(255, 255, 255, 0.9);
}

.language-switcher .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--highlight);
    border: 2px solid var(--text);
    border-radius: var(--radius);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.15),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-switcher.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switcher .dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.language-switcher .dropdown li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.language-switcher .dropdown li:last-child {
    border-bottom: none;
}

.language-switcher .dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.language-switcher .dropdown a:hover {
    background: var(--bg);
}

.language-switcher .dropdown a.active {
    background: rgba(139, 69, 19, 0.1);
    font-weight: 600;
}

.language-switcher .dropdown a.active:hover {
    background: rgba(139, 69, 19, 0.2);
}

/* RTL support */
[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .language-arrow {
    transform: rotate(180deg);
}

[dir="rtl"] .language-toggle[aria-expanded="true"] .language-arrow {
    transform: rotate(0deg);
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--highlight);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: var(--bg);
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -2px -2px 4px rgba(255, 255, 255, 0.9);
}

.language-arrow {
    transition: transform 0.3s ease;
}

.language-toggle[aria-expanded="true"] .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--highlight);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    box-shadow: 
        4px 4px 12px rgba(0, 0, 0, 0.15),
        -4px -4px 12px rgba(255, 255, 255, 0.9);
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.language-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

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

.lang-name {
    font-weight: 500;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.lang-native {
    font-size: 0.875rem;
    color: var(--muted);
}

/* RTL Support */
.rtl {
    direction: rtl;
}

.rtl .language-selector {
    margin-left: 0;
    margin-right: 1rem;
}

.rtl .language-dropdown {
    right: auto;
    left: 0;
}

.rtl .language-option {
    align-items: flex-end;
    text-align: right;
}

.rtl .nav-menu {
    flex-direction: row-reverse;
}

.rtl .nav-link::after {
    left: auto;
    right: 0;
}

.rtl .hero-container {
    direction: rtl;
}

.rtl .features-grid,
.rtl .steps-grid,
.rtl .characters-grid,
.rtl .faq-grid {
    direction: rtl;
}

.rtl .step-details-list li,
.rtl .benefit-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}

.rtl .step-details-list li::before,
.rtl .benefit-list li::before {
    left: auto;
    right: 0;
}

.rtl .footer-nav ul {
    flex-direction: row-reverse;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;      /* оставляем элементы в строку */
        justify-content: space-between;
        align-items: center;
    }

    .nav-menu-wrapper {
        order: 1;
        flex: 1;
    }

    .language-switcher {
        order: 2;
        width: auto;              /* убираем 100% */
        margin-right: 1%;         /* 1% от правого края */
        margin-left: auto;        /* прижать вправо */
        position: absolute;       /* фиксируем */
        top: 50%;                 /* по центру по вертикали */
        right: 1%;                /* смещение от края */
        transform: translateY(-50%); /* выравнивание по центру */
    }
}

    
    .language-switcher button {
        width: auto;
        justify-content: flex-start;
    }
    
    .language-switcher .dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 0.5rem;
        left: auto;
        min-width: 200px;
        z-index: 1001;
    }
    
    .rtl .language-switcher {
        margin-left: 0;
        margin-right: 0;
        justify-content: flex-start;
    }
    
    .rtl .language-dropdown {
        right: auto;
        left: 0;
    }

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

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

/* Container */
.container {
    max-width: min(1400px, 92vw);
    margin: 0 auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

.container-80 {
    max-width: 80%;
    margin: 0 auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

.container-full {
    width: 100%;
    padding-inline: clamp(16px, 4vw, 32px);
}

/* Background Alternation */
.container-80 .characters-grid {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
}

.container-full .cta-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.step-fragment {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.container .characters-grid {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
}

.container .character-details {
    background-color: #e8e0da;
    padding: 2rem;
    border-radius: var(--radius);
}

.story-content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
}

.container .timeline-items {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
}

.container .pricing-grid {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
}

.container .contact-form-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
}

.container-80 .faq-grid {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
}

/* Header and Navigation */
.header {
    background: var(--highlight);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: min(1400px, 92vw);
    margin: 0 auto;
    padding: 1rem clamp(16px, 4vw, 32px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.brand {
    font-family: 'Manrope', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.brand-name {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-icon {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Neumorphic Cards */
.neumorphic-card {
    background: var(--highlight);
    border-radius: var(--radius);
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.1),
        -6px -6px 12px rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neumorphic-card img {
    border-radius: var(--radius);
}

.neumorphic-card:hover {
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.2),
        -6px -6px 12px rgba(255, 255, 255, 1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: var(--highlight);
    box-shadow: 
        4px 4px 8px rgba(139, 69, 19, 0.3),
        -4px -4px 8px rgba(210, 105, 30, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 12px rgba(139, 69, 19, 0.4),
        -6px -6px 12px rgba(210, 105, 30, 0.2);
}

.btn-secondary {
    background: var(--highlight);
    color: var(--text);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 12px rgba(0, 0, 0, 0.15),
        -6px -6px 12px rgba(255, 255, 255, 0.95);
}

/* Page Header */
.page-header {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(210, 105, 30, 0.1));
}

.page-title {
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.125rem;
    color: var(--muted);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.hero-content {
    text-align: center;
}

.hero-title {
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

/* Trust Badges */
.trust-badges {
    padding: 2rem 0;
    background: var(--highlight);
}

.trust-badges-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    padding: 0.5rem 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.1),
        -2px -2px 4px rgba(255, 255, 255, 0.9);
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.2),
        -4px -4px 8px rgba(255, 255, 255, 1);
}

.feature-title {
    margin-bottom: 1rem;
    color: var(--text);
}

.feature-description {
    color: var(--muted);
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(210, 105, 30, 0.05));
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title {
    margin-bottom: 1rem;
}

/* Characters */
.characters-teaser {
    padding: 4rem 0;
}

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

.character-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    text-align: center;
    transition: transform 0.3s ease;
}

.character-card:hover {
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.2),
        -4px -4px 8px rgba(255, 255, 255, 1);
}

.character-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.character-name {
    margin-bottom: 0.5rem;
}

.character-role {
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.character-bio {
    color: var(--muted);
    margin-bottom: 1rem;
}

.character-link {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
}

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

/* FAQ */
.faq {
    padding: 4rem 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.faq-item {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.faq-question {
    margin-bottom: 1rem;
    color: var(--text);
}

.faq-answer {
    color: var(--muted);
}

/* CTA */
.cta {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.1), rgba(210, 105, 30, 0.1));
}

.cta-title {
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
}

.language-switcher button {
    background: var(--highlight);
    border: 2px solid var(--text);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switcher button:hover {
    background: var(--bg);
    transform: translateY(-1px);
}

.language-switcher .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--highlight);
    border: 2px solid var(--text);
    border-radius: var(--radius);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.language-switcher.active .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switcher .dropdown ul {
    list-style: none;
    padding: 0.5rem;
    margin: 0;
}

.language-switcher .dropdown li {
    padding: 0;
}

.language-switcher .dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text);
    text-decoration: none;
    border-radius: calc(var(--radius) - 4px);
    transition: background-color 0.3s ease;
    font-weight: 500;
}

.language-switcher .dropdown a:hover {
    background: var(--bg);
}

.language-switcher .dropdown a.active {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: var(--highlight);
}

.language-switcher .dropdown a.active:hover {
    background: linear-gradient(45deg, #8B4513, #D2691E);
}

/* RTL Support */
[dir="rtl"] .language-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .language-switcher .dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-container {
    direction: rtl;
}

[dir="rtl"] .step-details-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .step-details-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .benefit-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .benefit-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .comparison-list li {
    padding-left: 0;
    padding-right: 0.75rem;
}

[dir="rtl"] .footer-nav ul {
    flex-direction: row-reverse;
}

/* Footer */
.footer {
    background: #f8f8f8;
    color: var(--text);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-brand {
    text-align: center;
}

.footer-tagline {
    color: var(--muted);
    margin-top: 0.5rem;
}

.footer-nav {
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text);
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--muted);
}

/* Features Page */
.benefits {
    padding: 4rem 0;
}

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

.benefit-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.benefit-title {
    margin-bottom: 1rem;
    color: var(--text);
}

.benefit-description {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

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

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

.benefit-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: 700;
}

.vs-pain-points {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(210, 105, 30, 0.05));
}

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

.comparison-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.comparison-card.highlight {
    border: 2px solid #8B4513;
}

.comparison-title {
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.comparison-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.cta-links {
    padding: 4rem 0;
}

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

.cta-link-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    text-align: center;
}

.cta-link-title {
    margin-bottom: 1rem;
}

.cta-link-description {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* How It Works Page */
.steps-detailed {
    padding: 4rem 0;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.step-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.step-number-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: var(--highlight);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-title-large {
    margin-bottom: 1rem;
    text-align: center;
}

.step-description-large {
    color: var(--muted);
    text-align: center;
    margin-bottom: 2rem;
}

.step-image {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step-details {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.step-details-title {
    margin-bottom: 1rem;
    color: var(--text);
}

.step-details-list {
    list-style: none;
}

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

.step-details-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: 700;
}

.step-fragment {
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.what-you-get {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(210, 105, 30, 0.05));
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-item {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.benefit-item-title {
    margin-bottom: 1rem;
    color: var(--text);
}

.benefit-item-description {
    color: var(--muted);
}

/* Characters Page */
.characters-grid-section {
    padding: 4rem 0;
}

.character-details {
    padding: 4rem 0;
}

.character-detail {
    margin-bottom: 4rem;
}

.character-detail-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.character-detail-image {
    display: flex;
    justify-content: center;
}

.character-detail-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

.character-detail-name {
    margin-bottom: 0.5rem;
}

.character-detail-role {
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.character-detail-bio {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.character-quote {
    font-style: italic;
    border-left: 4px solid #8B4513;
    padding-left: 1rem;
    margin: 1.5rem 0;
    color: var(--text);
}

/* Story Page */
.why-we-exist {
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text {
    order: 2;
}

.story-image {
    order: 1;
    display: flex;
    justify-content: center;
}

.story-title {
    margin-bottom: 1.5rem;
}

.story-paragraph {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.cozy-locations {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(210, 105, 30, 0.05));
}

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

.location-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.location-name {
    margin-bottom: 0.5rem;
}

.location-address {
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.location-description {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.location-image {
    margin-top: 1.5rem;
}

.location-card.center-align {
    text-align: center;
}

.location-card.center-align .location-name,
.location-card.center-align .location-address,
.location-card.center-align .location-description {
    text-align: center;
}

.timeline {
    padding: 4rem 0;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
    align-items: start;
}

.timeline-date {
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: var(--highlight);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
}

.timeline-content {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.timeline-title {
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--muted);
}

.updated-info {
    padding: 2rem 0;
    text-align: center;
}

.updated-text {
    color: var(--muted);
    font-style: italic;
}

/* Pricing Page */
.pricing-plans {
    padding: 4rem 0;
}

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

.pricing-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.2),
        -4px -4px 8px rgba(255, 255, 255, 1);
}

.pricing-card.featured {
    border: 2px solid #8B4513;
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #8B4513, #D2691E);
    color: var(--highlight);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-title {
    margin-bottom: 1rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}

.price-period {
    color: var(--muted);
    font-size: 1rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-feature-list {
    list-style: none;
    text-align: left;
}

.pricing-feature {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.pricing-feature::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: 700;
}

.pricing-action {
    margin-top: auto;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
}

.note-text {
    color: var(--muted);
    font-style: italic;
}

.pricing-comparison {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(210, 105, 30, 0.05));
}

.comparison-table {
    background: var(--highlight);
    border-radius: var(--radius);
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.comparison-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    background: var(--text);
    color: var(--highlight);
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.comparison-feature {
    text-align: left;
}

.comparison-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-feature {
    text-align: left;
    font-weight: 500;
}

.check-icon {
    color: #8B4513;
    font-weight: 700;
}

.cross-icon {
    color: var(--muted);
    font-weight: 700;
}

.pricing-faq {
    padding: 4rem 0;
}

/* Blog */
.blog-posts {
    padding: 4rem 0;
}

.blog-post-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

.blog-post-title a {
    color: var(--text);
}

.blog-post-title a:hover {
    opacity: 0.8;
}

.blog-post-meta {
    color: var(--muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-post-excerpt {
    color: var(--muted);
    margin-bottom: 1rem;
}

.blog-post-link {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
}

.blog-categories {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(210, 105, 30, 0.05));
}

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

.category-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    text-align: center;
}

.category-name {
    margin-bottom: 1rem;
}

.category-description {
    color: var(--muted);
}

.blog-cta {
    padding: 4rem 0;
    text-align: center;
}

.blog-cta-title {
    margin-bottom: 1rem;
}

.blog-cta-description {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

/* Blog Post */
.blog-post {
    padding: 4rem 0;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.blog-post-paragraph {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-post-subtitle {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-post-nav-prev,
.blog-post-nav-next {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.nav-label {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.nav-link {
    color: var(--text);
    font-weight: 600;
}

.nav-link.disabled {
    color: var(--muted);
    pointer-events: none;
}

/* Contact */
.contact-form-section {
    padding: 4rem 0;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input,
.form-textarea {
    padding: 0.75rem;
    border: 2px solid transparent;
    border-radius: var(--radius);
    background: var(--highlight);
    box-shadow: 
        inset 2px 2px 4px rgba(0, 0, 0, 0.1),
        inset -2px -2px 4px rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #8B4513;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.noscript-fallback {
    text-align: center;
    padding: 2rem;
    background: var(--bg);
    border-radius: var(--radius);
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 2rem;
    background: #d4edda;
    color: #155724;
    border-radius: var(--radius);
    margin-top: 1rem;
}

.contact-info {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(210, 105, 30, 0.05));
}

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

.contact-info-card {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
}

.contact-info-title {
    margin-bottom: 1rem;
}

.contact-info-description {
    color: var(--muted);
    margin-bottom: 1rem;
}

.contact-info-link {
    color: #8B4513;
    font-weight: 600;
    text-decoration: underline;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    padding: 0.25rem 0;
    color: var(--muted);
}

.contact-faq {
    padding: 4rem 0;
}

/* Terms, Cookie, Changelog */
.terms-content,
.cookie-content,
.changelog-content {
    padding: 4rem 0;
}

.terms-text,
.cookie-text {
    max-width: 800px;
    margin: 0 auto;
}

.terms-section-title,
.cookie-section-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-paragraph,
.cookie-paragraph {
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.terms-list,
.cookie-list {
    list-style: none;
    margin: 1rem 0;
}

.terms-list li,
.cookie-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.terms-list li::before,
.cookie-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: 700;
}

.terms-update,
.cookie-update {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.terms-update-text,
.cookie-update-text {
    color: var(--muted);
    font-style: italic;
}

.changelog-entries {
    max-width: 800px;
    margin: 0 auto;
}

.changelog-entry {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.changelog-date {
    color: #8B4513;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.changelog-version {
    color: var(--muted);
    font-weight: 500;
    margin-bottom: 1rem;
}

.changelog-title {
    margin-bottom: 1rem;
}

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

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

.changelog-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #8B4513;
    font-weight: 700;
}

.changelog-future {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.changelog-future-title {
    text-align: center;
    margin-bottom: 3rem;
}

.changelog-future-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.future-item {
    background: var(--highlight);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.9);
    text-align: center;
}

.future-item-title {
    margin-bottom: 1rem;
}

.future-item-description {
    color: var(--muted);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Technical Features (Built for you) */
.technical-features {
    padding: 4rem 0;
}

.technical-features .features-grid {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.technical-features .feature-card {
    flex: 1;
    text-align: center;
}

/* CTA Links Grid (Ready to see how it works?, Choose your plan) */
.cta-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Blog Categories (Topics we write about) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Contact Info (Other ways to reach us) */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Contact FAQ (Common questions) */
.contact-faq .faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Full Width Background Sections */
.hero,
.page-header,
.trust-badges,
.how-it-works,
.characters-teaser,
.faq,
.cta,
.vs-pain-points,
.cta-links,
.steps-detailed,
.what-you-get,
.characters-grid-section,
.character-details,
.why-we-exist,
.cozy-locations,
.timeline,
.pricing-plans,
.pricing-comparison,
.pricing-faq,
.blog-posts,
.blog-categories,
.blog-cta,
.contact-form-section,
.contact-info,
.contact-faq,
.terms-content,
.cookie-content,
.changelog-content {
    position: relative;
}

.hero::before,
.page-header::before,
.trust-badges::before,
.how-it-works::before,
.characters-teaser::before,
.faq::before,
.cta::before,
.vs-pain-points::before,
.cta-links::before,
.steps-detailed::before,
.what-you-get::before,
.characters-grid-section::before,
.character-details::before,
.why-we-exist::before,
.cozy-locations::before,
.timeline::before,
.pricing-plans::before,
.pricing-comparison::before,
.pricing-faq::before,
.blog-posts::before,
.blog-categories::before,
.blog-cta::before,
.contact-form-section::before,
.contact-info::before,
.contact-faq::before,
.terms-content::before,
.cookie-content::before,
.changelog-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

/* Specific Full Width Sections */
.page-header,
.how-it-works,
.characters-teaser,
.faq,
.cta,
.steps-detailed,
.what-you-get,
.characters-grid-section,
.why-we-exist,
.cozy-locations,
.timeline,
.pricing-plans,
.pricing-comparison,
.blog-posts,
.blog-categories,
.contact-form-section,
.contact-info,
.contact-faq {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05), rgba(210, 105, 30, 0.05));
}

/* Cozy Locations - 5 in a row */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--highlight);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 1rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .features-grid,
    .steps-grid,
    .characters-grid,
    .faq-grid,
    .categories-grid,
    .contact-info-grid,
    .contact-faq .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .technical-features .features-grid {
        flex-direction: column;
    }
    
    .cta-links-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 480px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .story-text {
        order: 1;
    }
    
    .story-image {
        order: 2;
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex !important;
        position: static;
        background: transparent;
        flex-direction: row;
        padding: 0;
        box-shadow: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-links-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .step-item {
        grid-template-columns: auto 1fr;
        gap: 3rem;
    }
    
    .step-number-large {
        margin: 0;
    }
    
    .step-title-large {
        text-align: left;
    }
    
    .step-description-large {
        text-align: left;
    }
    
    .character-detail-content {
        grid-template-columns: 200px 1fr;
        gap: 3rem;
    }
    
    .timeline-item {
        grid-template-columns: 150px 1fr;
    }
    
    .blog-post-navigation {
        grid-template-columns: 1fr 1fr;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .features-grid,
    .steps-grid,
    .characters-grid,
    .faq-grid,
    .categories-grid,
    .contact-info-grid,
    .contact-faq .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .technical-features .features-grid {
        display: flex;
        gap: 2rem;
        justify-content: space-between;
    }
    
    .technical-features .feature-card {
        flex: 1;
    }
    
    .locations-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        text-align: left;
    }
    
    .footer-nav {
        text-align: right;
    }
    
    .footer-nav ul {
        justify-content: flex-end;
    }
    
    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .changelog-future-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: min(1400px, 92vw);
    }
    
    body {
        font-size: clamp(1rem, 1.1vw, 1.125rem);
    }
}

/* Enhanced Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--background);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-image-link {
    text-decoration: none;
    display: block;
}

.blog-card-image-link:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image-link:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 16px;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--muted);
    transition: all 0.3s ease;
}

.blog-card-image .neumorphic-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    background: var(--background);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-card-image:hover .neumorphic-card {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 16px;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.blog-date {
    font-weight: 500;
}

.blog-author {
    font-style: italic;
}

.blog-read-more {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.blog-post-lead {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

.blog-post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.blog-post-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
    font-weight: 600;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

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

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
}

.tag {
    background: var(--muted);
    color: var(--muted-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

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

.related-post {
    padding: 1.5rem;
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.related-post:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.related-post-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-post-title a {
    color: var(--foreground);
    text-decoration: none;
}

.related-post-title a:hover {
    color: var(--primary);
}

.related-post-excerpt {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.related-post-date {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    font-weight: 500;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    .blog-title {
        font-size: 1.125rem;
    }
    
    .blog-post-lead {
        font-size: 1.125rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.25rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Post Banner Styles */
.blog-post-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-post-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.categories-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .blog-post-banner {
        height: 300px;
        margin-bottom: 2rem;
    }
    
    .categories-grid-2x2 {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1.5rem;
    }
}
