* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding-top: 64px;
}

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    z-index: 1000;
    height: 64px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
    height: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    transition: margin-left 0.3s ease;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-toggle {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    text-decoration: none;
}

.lang-toggle:hover {
    color: #1a1a1a;
    background-color: #f8f9fa;
}

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

.header-logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.login-btn {
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #333;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.mobile-menu-btn.visible {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

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

.mobile-nav-menu {
    list-style: none;
    padding: 1rem 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f1f3f4;
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background-color: #f8f9fa;
    color: #1a1a1a;
}

.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 200px;
    background-color: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 1rem 0;
    position: fixed;
    top: 64px;
    left: 0;
    height: calc(100vh - 64px);
    overflow-y: auto;
    transition: width 0.3s ease, transform 0.3s ease;
}



.nav-menu {
    list-style: none;
    padding: 0;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background-color: #f1f3f4;
    color: #1a1a1a;
    border-left-color: #ddd;
}

.nav-link.active {
    background-color: #e8f4f8;
    color: #1a1a1a;
    border-left-color: #0ea5e9;
}

.nav-link.back-to-home,
.mobile-nav-link.back-to-home {
    background-color: transparent;
    color: #9ca3af;
    font-weight: 400;
    border-left: 3px solid transparent;
    margin: 0.5rem 0;
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link.back-to-home:hover,
.mobile-nav-link.back-to-home:hover {
    background-color: transparent;
    color: #4b5563;
    transform: translateX(4px);
}

.nav-link.back-to-home:hover::before,
.mobile-nav-link.back-to-home:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #e5e7eb;
    transform: scaleY(1);
}

.nav-link.back-to-home::before,
.mobile-nav-link.back-to-home::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #e5e7eb;
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Submenu styles */
.nav-item-with-submenu,
.mobile-nav-item-with-submenu {
    position: relative;
}

.submenu,
.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f1f3f4;
}

.nav-item-with-submenu.active .submenu,
.mobile-nav-item-with-submenu.active .mobile-submenu {
    max-height: 200px;
}

.nav-sublink,
.mobile-nav-sublink {
    display: block;
    padding: 0.5rem 1rem 0.5rem 2rem;
    text-decoration: none;
    color: #666;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-sublink:hover,
.mobile-nav-sublink:hover {
    background-color: #e8f4f8;
    color: #1a1a1a;
    border-left-color: #0ea5e9;
}

.nav-sublink.active,
.mobile-nav-sublink.active {
    background-color: #e8f4f8;
    color: #1a1a1a;
    border-left-color: #0ea5e9;
    font-weight: 500;
}

.main-content {
    flex: 1;
    margin-left: 200px;
    padding: 3rem 4rem;
    max-width: calc(100% - 200px);
}

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

.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
}

.intro {
    margin: 3rem 0;
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* Section spacing and layout */
.section-home, .section-pricing, .section-get-started, .section-legal, .section-contacts {
    padding-top: calc(64px + 1rem); /* Header height + minimal spacing */
    padding-bottom: 2rem; /* Reduced bottom padding */
    margin: 0;
}

.section-home {
    padding-top: calc(64px + 0.5rem); /* Even less top padding for home */
    padding-bottom: 1rem; /* Minimal bottom padding for home */
}

.features, .integrations {
    padding-top: calc(64px + 1rem);
    padding-bottom: 2rem;
    margin: 0;
}

.use-cases, .pricing, .why-choose, .cta, .pricing-info, .integration-details, .legal-content, .contact-info {
    margin: 3rem 0; /* Reduced from 4rem to 3rem */
}

.features h2, .use-cases h2, .pricing h2, .integrations h2, .cta h2, .section-pricing h2, .section-legal h2, .section-contacts h2, .section-get-started h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.features-grid, .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.features {
    margin-top: 3rem;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.use-case-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.use-case-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.use-case-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.use-case-card p {
    color: #666;
    line-height: 1.6;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 200px));
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

.pricing-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 0.5rem;
}

.pricing-card p {
    color: #666;
    font-size: 0.9rem;
}

.pricing-card .message-count {
    height: 3rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 1rem;
}

.pricing-card h3 {
    margin-bottom: 1rem;
}

.pricing-card .pricing-features {
    margin-top: 0;
}

.pricing-card .pricing-features ul {
    margin: 0;
}

.pricing-card .pricing-features li.per-message-cost {
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: none;
    padding: 0;
}

.pricing-card.featured {
    border: 2px solid #0ea5e9;
    transform: scale(1.02);
}

.pricing-features {
    margin-top: 1.5rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f3f4;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:before {
    content: "✓";
    color: #0ea5e9;
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-features li.per-message-cost:before {
    content: "";
    margin-right: 0;
}

.pricing-validity {
    text-align: center;
    margin-top: 1rem;
}

.pricing-validity p {
    margin: 0;
    font-size: 1rem;
    color: #666;
    font-style: normal;
}

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

.info-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
}

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

.cta-button.secondary {
    background-color: transparent;
    color: #0ea5e9;
    border: 2px solid #0ea5e9;
}

.cta-button.secondary:hover {
    background-color: #0ea5e9;
    color: white;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

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

.legal-links a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #0284c7;
    text-decoration: underline;
}

.external-link {
    display: inline-block;
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #0ea5e9;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.external-link:hover {
    background-color: #0ea5e9;
    color: white;
}

.integrations {
    text-align: center;
}

.integrations p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

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

.integration-card {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    color: #666;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.integrations-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.integration-item {
    background-color: #f8f9fa;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    border: 1px solid #e9ecef;
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.cta {
    text-align: center;
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.cta p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: #0ea5e9;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #0284c7;
}

.contact-info {
    margin-top: 2rem;
}

.contact-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-row:last-child {
    margin-bottom: 0;
}

.contact-row.ai-assistant {
    justify-content: center;
}

.contact-row.personal-contacts {
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .contact-row.personal-contacts {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-row.personal-contacts .contact-card {
        width: 100%;
        max-width: 300px;
    }
}

.contact-card {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

.contact-card a {
    color: #0ea5e9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: #0284c7;
    text-decoration: underline;
}

.contact-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
    font-style: italic;
}

.try-ai-assistant-contacts {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-assistant-button {
    background-color: #f8f9fa !important;
    color: #1a1a1a !important;
    border: 1px solid #e9ecef !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.ai-assistant-button:hover {
    background-color: #e9ecef !important;
    color: #1a1a1a !important;
}

/* Footer styles */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    margin-top: 3rem;
    padding: 1rem 0;
}

.footer-bottom {
    text-align: center;
    padding: 0 2rem;
}

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

.legal-documents {
    margin-top: 2rem;
}

.document-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.document-card-link {
    flex: 1;
    min-width: 300px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.document-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    transition: color 0.3s ease;
}

.document-arrow {
    font-size: 1.5rem;
    color: #9ca3af;
    transition: all 0.2s ease;
    transform: translateX(0);
}

.document-card:hover .document-arrow {
    color: #0ea5e9;
    transform: translateX(4px);
}

.document-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-link {
    display: inline-block;
    background-color: #0ea5e9;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.document-link:hover {
    background-color: #0284c7;
}

.legal-content {
    margin-top: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.legal-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.legal-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section a {
    color: #0ea5e9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-section a:hover {
    color: #0284c7;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .header-left {
        gap: 0.75rem;
    }
    
    .header-right {
        gap: 0.5rem;
    }
    
    .lang-toggle {
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
    
    .login-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        opacity: 1;
        transform: translateX(0);
    }
    
    .mobile-nav {
        display: block;
    }
    
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .features-grid, .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.75rem;
    }
    
    .integration-card {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .integrations-list {
        gap: 0.75rem;
    }
    
    .integration-item {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .cta {
        padding: 2rem 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .document-grid {
        flex-direction: column;
    }
    
    .document-card-link {
        min-width: unset;
    }
    
    .document-card {
        padding: 1.5rem;
    }
    
    .document-card h3 {
        font-size: 1.1rem;
    }
    
    .document-arrow {
        font-size: 1.25rem;
    }
    
    .nav-link.back-to-home,
    .mobile-nav-link.back-to-home {
        margin: 0.25rem 0;
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .footer {
        margin-top: 2rem;
        padding: 0.75rem 0;
    }
    
    .footer-bottom {
        padding: 0 1rem;
    }
}

/* Document page styles */
.document-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.document-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.document-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.document-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.document-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.document-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.document-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.document-link-container {
    text-align: center;
    margin: 2rem 0;
}

.external-document-link {
    display: inline-block;
    background-color: #0ea5e9;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.external-document-link:hover {
    background-color: #0284c7;
}

.language-notice {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.language-notice h3 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.language-notice p {
    color: #856404;
    margin-bottom: 0.5rem;
}

.language-notice p:last-child {
    margin-bottom: 0;
}

.language-notice a {
    color: #0ea5e9;
    text-decoration: none;
}

.language-notice a:hover {
    text-decoration: underline;
}

.contact-info-simple {
    margin-top: 1rem;
}

.contact-info-simple p {
    margin-bottom: 0.5rem;
}

.contact-info-simple a {
    color: #0ea5e9;
    text-decoration: none;
}

.contact-info-simple a:hover {
    text-decoration: underline;
}

.banking-details {
    margin-top: 1.5rem;
}

.banking-section {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.banking-info p {
    margin-bottom: 0.75rem;
    font-family: monospace;
    font-size: 0.95rem;
}

.notice-box {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.notice-box p {
    color: #1565c0;
    margin: 0;
    font-style: italic;
}

/* Markdown content styling */
.markdown-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.markdown-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 2rem 0 1rem 0;
}

.markdown-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1.5rem 0 1rem 0;
}

.markdown-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1.25rem 0 0.75rem 0;
}

.markdown-content p {
    color: #555;
    margin-bottom: 1rem;
}

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

.markdown-content a {
    color: #0ea5e9;
    text-decoration: none;
    transition: color 0.2s ease;
}

.markdown-content a:hover {
    color: #0284c7;
    text-decoration: underline;
}

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

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

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

.loading-message {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
}

.error-message {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.error-message h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.error-message p {
    color: #856404;
    margin-bottom: 0.5rem;
}

.error-message a {
    color: #0ea5e9;
    text-decoration: none;
}

.error-message a:hover {
    text-decoration: underline;
}

/* Last updated styling */
.last-updated {
    margin-bottom: 2rem;
}

.last-updated-text {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
    text-align: right;
}

/* API Documentation Styles */
.no-sidebar {
    display: block;
}

.no-sidebar .main-content.full-width {
    margin-left: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.api-documentation pre {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.api-documentation code {
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

.api-documentation pre code {
    background-color: transparent;
    padding: 0;
}

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

/* Restore list indentation and markers inside API docs (global reset removed them) */
.api-documentation ul,
.api-documentation ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.api-documentation ul li,
.api-documentation ol li {
    margin-bottom: 0.5rem;
}

/* Nested lists: increase indent and use alternate marker styles */
.api-documentation ul ul {
    padding-left: 1.25rem;
    list-style-type: circle;
}

.api-documentation ul ul ul {
    padding-left: 1.25rem;
    list-style-type: square;
}

.api-documentation th,
.api-documentation td {
    border: 1px solid #e0e0e0;
    padding: 0.75rem;
    text-align: left;
}

.api-documentation th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.api-documentation tr:nth-child(even) {
    background-color: #fafafa;
}

.api-documentation h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.api-documentation h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #555;
}

@media (max-width: 768px) {
    .api-documentation table {
        font-size: 0.875rem;
    }
    
    .api-documentation pre {
        padding: 0.75rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 0.75rem;
    }
    
    .header-left {
        gap: 0.5rem;
    }
    
    .header-right {
        gap: 0.4rem;
    }
    
    .header-logo h2 {
        font-size: 1.25rem;
    }
    
    .lang-toggle {
        font-size: 0.75rem;
        padding: 0.15rem 0.3rem;
    }
    
    .login-btn {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .mobile-menu-btn {
        width: 20px;
        height: 15px;
        opacity: 1;
        transform: translateX(0);
    }
    
    .main-content {
        padding: 1.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .intro-text p {
        font-size: 1rem;
    }
    
    .features h2, .use-cases h2, .pricing h2, .integrations h2, .cta h2 {
        font-size: 1.75rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .pricing-card {
        padding: 1rem;
    }
    
    .integrations-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .integration-card {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .cta {
        padding: 2rem 1rem;
    }
    
    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .feature-card,
    .use-case-card,
    .contact-card,
    .legal-section {
        padding: 1.5rem;
    }
    
    .document-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .document-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .document-arrow {
        font-size: 1.1rem;
        transform: rotate(90deg);
    }
    
    .document-card-link:hover .document-arrow {
        transform: rotate(90deg) translateX(4px);
    }
}