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

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: black;
    background: #ffffff;
    font-weight: 400;
    padding-top: 80px;
}

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

/* Headers */
h1, h2, h3, h4, h5, h6,
.hero-title,
.section-title,
.nav-brand h1,
.feature-card h3,
.technique-card h3 {
    font-family: 'Cormorant Garamond', serif;
}

/* List Styling */
ul, ol {
    margin: 1rem 0;
    padding-left: 0.5rem;
    line-height: 1.8;
}

/* Unordered Lists */
ul {
    list-style: none;
    position: relative;
}

ul li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #6f42c1 0%, #fd7e14 100%);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* Nested unordered lists */
ul ul {
    margin: 0.5rem 0 0.5rem 0;
    padding-left: 1.5rem;
}

ul ul li::before {
    width: 6px;
    height: 6px;
    background: #6f42c1;
    opacity: 0.7;
}

ul ul ul li::before {
    width: 4px;
    height: 4px;
    background: #fd7e14;
    opacity: 0.8;
}

/* Ordered Lists */
ol {
    list-style: none;
    counter-reset: ordered-counter;
}

ol li {
    position: relative;
    margin-bottom: 0.75rem;
    padding-left: 2.5rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.8;
    counter-increment: ordered-counter;
}

ol li::before {
    content: counter(ordered-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.75rem;
    height: 1.75rem;
    background: linear-gradient(135deg, #6f42c1 0%, #fd7e14 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: 'Merriweather', serif;
}

/* Nested ordered lists */
ol ol {
    margin: 0.5rem 0 0.5rem 0;
    padding-left: 1.5rem;
    counter-reset: ordered-counter-nested;
}

ol ol li {
    counter-increment: ordered-counter-nested;
}

ol ol li::before {
    content: counter(ordered-counter) "." counter(ordered-counter-nested);
    width: 2rem;
    height: 1.5rem;
    background: #6f42c1;
    font-size: 0.75rem;
}

ol ol ol {
    counter-reset: ordered-counter-nested-deep;
}

ol ol ol li {
    counter-increment: ordered-counter-nested-deep;
}

ol ol ol li::before {
    content: counter(ordered-counter) "." counter(ordered-counter-nested) "." counter(ordered-counter-nested-deep);
    width: 2.25rem;
    height: 1.5rem;
    background: #fd7e14;
    font-size: 0.7rem;
}

/* List Item Content Styling */
li p {
    margin: 0.5rem 0;
    color: #4a5568;
}

li strong {
    color: #6f42c1;
    font-weight: 600;
}

li code {
    background: #f7fafc;
    color: #6f42c1;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
}

/* Special List Variations */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    padding-left: 2rem;
    position: relative;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #faf5ff;
    border-left: 4px solid #6f42c1;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.feature-list li::before {
    display: none;
}

.feature-list li:hover {
    background: #f3e8ff;
    transform: translateX(4px);
}

.highlight-list {
    list-style: none;
    padding-left: 0;
}

.highlight-list li {
    padding-left: 3rem;
    position: relative;
    background: linear-gradient(90deg, transparent 0%, #faf5ff 2rem, #faf5ff 100%);
    margin-bottom: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 8px;
}

.highlight-list li::before {
    content: '▶';
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6f42c1;
    font-size: 1rem;
    font-weight: bold;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
}

.blog-post-section-img {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1rem 0;
    background-color: transparent;
    text-align: center;
}

.blog-post-section-img img {
    width: 100%;
    max-width: 420px;
}

.blog-post-section-img figcaption p {
    margin: 0;    
    padding: 0;
    text-align: center;
    font-style: italic;
    font-size: 1.0rem;
}


/* Blog Post Lists */
.blog-post-section ul,
.blog-post-section ol {
    margin: 1rem 0;
}

.blog-post-section li {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* Compact Lists */
.compact-list li {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.compact-list ul,
.compact-list ol {
    margin: 1rem 0;
}

/* List Spacing in Different Contexts */
.feature-card ul,
.feature-card ol {
    margin: 1rem 0;
}

.feature-card li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Header */
.header {        
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);    
    border-bottom: 1px solid #e2e8f0;
    z-index: 1000;
    transform: translateZ(0);
    will-change: auto;
}

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

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger-line {
    width: 2rem;
    height: 0.25rem;
    background: #6f42c1;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform-origin: 1px;
}

.hamburger-menu:hover .hamburger-line {
    background: #5a2d91;
}

.hamburger-menu.active .hamburger-line:first-child {
    transform: rotate(45deg);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding-top: 6rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-menu.active {
    transform: translateX(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.mobile-nav-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    color: #2d3748;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    max-width: 300px;
}

.mobile-nav-link:hover {
    color: #6f42c1;
    background: #faf5ff;
    transform: translateY(-2px);
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none;
    }
    
    .desktop-nav {
        display: flex;
    }
    
    .mobile-nav-menu {
        display: none;
    }
    
    .mobile-language-switcher {
        display: none !important;
    }
    
    .desktop-language-switcher {
        display: flex;
    }
}

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-brand-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.nav-brand-link:hover {
    transform: scale(1.05);
}

.nav-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.nav-logo:hover {
    filter: drop-shadow(0 2px 8px rgba(111, 66, 193, 0.3));
}

.nav-brand h1 {
    font-size: 2.0rem;
    font-weight: 800;
    color: #6f42c1;
    margin: 0;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.875rem;
    color: #718096;
    font-weight: 500;
    margin-top: -2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;    
    font-weight: 600;
    font-size: 1.25rem;
    color: black;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #6f42c1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fd7e14 0%, #6f42c1 100%);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 2rem 0 4rem 0;
    background: linear-gradient(135deg, #fff5f5 0%, #fef5e7 100%);    
    background-repeat: no-repeat;    
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(111, 66, 193, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 75% 75%, rgba(253, 126, 20, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.logo-image {
    width: 100%;    
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.02);
}

.hero-text {    
    backdrop-filter: blur(10px);    
    z-index: 2;
}

.hero-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;    
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #6f42c1 0%, #fd7e14 100%);    
    -webkit-text-fill-color: transparent;
    background-clip: text;    
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: #4a5568;
    font-weight: 400;
    line-height: 1.7;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {    
    background: linear-gradient(135deg, #6f42c1 0%, #fd7e14 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(111, 66, 193, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a2d91 0%, #e8590c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.35);
}

.btn-outline {
    background: transparent;
    color: #6f42c1;
    border: 2px solid #6f42c1;
}

.btn-outline:hover {
    background: #6f42c1;
    color: white;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.section-title {
    font-size: 3.0rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    text-align: center;
}

/* Features Section */
.features-section {
    padding: 1rem 0;
    background: #faf5ff;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;    
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.feature-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 2rem;
    display: block;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2d3748;
    margin: 0;
    text-align: center;
}

.feature-description {    
    line-height: 1.6;
    font-size: 0.9rem;
    text-align: center;
}

.feature-image {
    width: 200px;
    height: 130px;
    flex-shrink: 0;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Blog Styles */
.section-description {
    text-align: center;
    font-size: 1.1rem;    
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.blog-post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(111, 66, 193, 0.15);
    border-color: #6f42c1;
}

.blog-post-image {
    width: 100%;
    height: 200px;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #a0aec0;
}

.blog-post-content {
    padding: 1.5rem;
}

.blog-post-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-post-excerpt {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #718096;
}

.blog-post-author {
    font-weight: 500;
}

.blog-post-date {
    font-style: italic;
}

.blog-post-link {
    text-decoration: none;
    color: inherit;
}

.blog-post-link:hover .blog-post-title {
    color: #6f42c1;
}

/* Blog Post Page Styles */
.blog-post-header {
    padding: 3rem 0 3rem;
    background: linear-gradient(135deg, #fff5f5 0%, #fef5e7 100%);
    text-align: center;
}

.blog-post-header .blog-post-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-post-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.blog-post-meta-header {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #718096;
}

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

.blog-post-section {
    margin-bottom: 3rem;
}

.blog-post-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #6f42c1;
    padding-bottom: 0.5rem;
}

.blog-post-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.back-to-blog {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.back-link {
    color: #6f42c1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #5a2d91;
}

/* Beta Section */
.beta-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #6f42c1 0%, #fd7e14 100%);
    color: white;
    text-align: center;
    position: relative;
}

.beta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.9) 0%, rgba(253, 126, 20, 0.9) 100%);
    z-index: 1;
}

.beta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.beta-section .section-title {
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.beta-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.beta-slogan {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: #fff5f0;
}

.beta-actions {
    margin-top: 2rem;
    text-align: center;
}

.beta-section .btn-primary {
    background: white;
    color: #6f42c1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.beta-section .btn-primary:hover {
    background: #f8f9fa;
    color: #6f42c1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {    
    padding: 1rem 0 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;    
}

.footer-bottom p {
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: #6f42c1;
    text-decoration: none;
    margin-right: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #5a2d91;
    text-decoration: underline;
}

.footer-bottom a:last-child {
    margin-right: 0;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-bottom a {
        margin-right: 0.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

/* Content Section */
.content-section {
    padding: 3rem 0;
    background: #ffffff;
}

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

.content-section h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 2rem;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1200px) {        
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-logo {
        order: 1;
        justify-self: center;
    }
    
    .logo-image {
        max-width: 350px;
    }
    
    .hero-text {
        order: 2;        
    }
    
    .hero-showcase {
        order: 2;
        justify-self: center;
    }
    
    .hero-showcase img {
        width: 400px;
    }
}

@media (max-width: 968px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        grid-template-columns: 1fr auto;
        gap: 2rem;
    }
    
    .feature-image {
        width: 250px;
        height: 160px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid #e2e8f0;
        transform: translateZ(0);
        will-change: auto;
    }
    
    body {
        padding-top: 80px;
    }
    
    .nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        gap: 1rem;
    }
    
    .nav-brand {
        align-items: center;
        text-align: center;
        flex-shrink: 0;
    }
    
    .nav-logo {
        height: 40px;
    }
    
    /* Show mobile language switcher */
    .mobile-language-switcher {
        display: flex !important;
        flex-shrink: 0;
    }
    
    /* Mobile language switcher styling */
    .mobile-language-switcher .language-link {
        width: 2.25rem;
        height: 2.25rem;
        padding: 0.2rem;
    }
    
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
        flex-shrink: 0;
    }
    
    /* Hide desktop navigation on mobile */
    .desktop-nav {
        display: none;
    }
    
    /* Show mobile navigation menu */
    .mobile-nav-menu {
        display: block;
    }
    
    .hero {
        padding: 2rem 0 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .logo-image {
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .features-section {
        padding: 1rem 0;        
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
    }

    .feature-card {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 2rem;
        text-align: center;
    }
    
    .feature-content {
        text-align: center;
    }

    .feature-header {
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        text-align: center;
    }
    
    .feature-image {
        width: 100%;
        max-width: 300px;
        height: 200px;
        margin: 0 auto;
    }
    
    .hero-showcase img {
        width: 100%;
        max-width: 400px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .blog-post-header .blog-post-title {
        font-size: 2.5rem;
    }
    
    .back-to-blog {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        gap: 1.5rem;
    }
    
    .logo-image {
        max-width: 220px;
    }
    
    .nav-logo {
        height: 35px;
    }
    
    .hamburger-menu {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .hamburger-line {
        width: 1.75rem;
        height: 0.2rem;
    }
    
    .mobile-language-switcher .language-link {
        width: 2rem;
        height: 2rem;
        padding: 0.15rem;
    }
    
    .mobile-nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-header {
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .feature-description {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .feature-image {
        height: 150px;
    }
    
    .hero-showcase img {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-header .blog-post-title {
        font-size: 2rem;
    }
    
    .language-switcher {
        gap: 0.25rem;
    }
    
    .language-link {
        width: 2rem;
        height: 2rem;
        padding: 0.15rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus {
    outline: 2px solid #fd7e14;
    outline-offset: 2px;
}

/* Enhanced typography contrast */
strong {
    color: #6f42c1;
    font-weight: 600;
}

/* Sample panel */
.sample-panel {
    display: block;    
    background-color: #fff5f5;    
    padding: 0.5rem 1rem;
    margin: 1rem 0rem;
    width: 100%;
}

.sample-panel-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sample-panel-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    color: #6f42c1;
}

.sample-panel-text {    
    margin-bottom: 0;
    text-align: center;    
    display: block;
    flex: 1;
}

/* Audio panel */
.audio-panel {
    display: block;
    background-color: #fff5f5;    
    padding: 0.5rem 1rem;
    margin: 1rem 0rem;
    text-align: center;
}

.audio-panel figcaption {
    margin: 0;
    font-size: 0.75rem;
    font-style: italic;
}

.audio-panel audio {
    width: 85%;
}

/* Language Switcher */
.language-switcher,
.mobile-language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.desktop-language-switcher {
    margin-left: 1rem;
}

.mobile-language-switcher {
    display: none;
}

.language-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0.25rem;
}

.language-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.language-link:hover {
    transform: translateY(-2px);
    border-color: #6f42c1;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.25);
    background: rgba(255, 255, 255, 1);
}

.language-link:hover .language-flag {
    transform: scale(1.1);
}

.language-link:active {
    transform: translateY(0);
}