@media (max-width: 479px) {

    .header-container,
    .footer-container {
        padding: 0 8px;
    }

    .logo {
        font-size: 0.9rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.7rem;
    }

    .content {
        padding: 12px !important;
    }

    h1 {
        font-size: 1.8em;
    }

    .demo-slider {
        min-height: 180px;
        min-width: 180px;
    }

    table {
        font-size: 0.65em;
    }

    th,
    td {
        padding: 6px 3px;
    }

    body.index-page .hero-overlay .hero-title {
        font-size: 1.8em;
    }

    body.index-page .hero-overlay .hero-subtitle {
        font-size: 0.9em;
    }

    .hero-button {
        padding: 12px 20px;
        font-size: 1em;
        width: 180px;
    }
}

@media (max-width: 991px) {
    nav ul {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .header-container {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block !important;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
        transition: color 0.3s ease;
    }

    nav {
        display: none;
    }

    .mobile-menu-toggle:hover {
        color: #E94560;
    }

    nav {
        display: block;
    }

    nav ul {
        flex-direction: column;
        flex-wrap: nowrap;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #1A1A2E;
        padding: 15px 0;
        display: none;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        max-height: 60vh;
        overflow-y: auto;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: background-color 0.3s ease;
    }

    nav ul li:last-child a {
        border-bottom: none;
    }

    nav ul li a:hover,
    nav ul li a.active {
        background-color: rgba(233, 69, 96, 0.1);
        color: #E94560;
    }

    nav ul li.mobile-only:first-of-type {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 15px;
        padding-top: 10px;
    }

    nav ul li.mobile-only:first-of-type a {
        border-top: none;
    }
}

@media (min-width: 768px) {
    nav ul li.mobile-only {
        display: none;
    }
}

@media (max-width: 767px) {
    .footer-links {
        display: none;
    }

    .footer-container {
        justify-content: center;
    }

    .copyright {
        font-size: 0.7rem;
    }
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

body {
    font-size: 0.9em;
}



@media (max-width: 767px) {
    .content h2 {
        font-size: 1.6em;
    }

    .content h3 {
        font-size: 1.2em;
    }

    .content {
        font-size: 1em;
    }
}

@media (max-width: 479px) {
    .content h2 {
        font-size: 1.4em;
    }

    .content h3 {
        font-size: 1.1em;
    }

    .content {
        font-size: 0.95em;
    }
}

.currency-selector-box {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 1em 0;
    text-align: center;
}

.currency-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.currency-label {
    font-weight: 500;
    font-size: 1.1em;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.faq-item {
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 20px;
    display: none;
    border-top: 1px solid #ddd;
}

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

.status-indicator {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
}

.status-working {
    background: #d4edda;
    color: #155724;
}

.status-issue {
    background: #f8d7da;
    color: #721c24;
}

.status-resolved {
    background: #d1ecf1;
    color: #0c5460;
}

.code-block {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #007cba;
    margin: 10px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
}

.note-item .get-plan-btn {
    margin-top: auto !important;
}

.error-hero {
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 0;
    text-align: center;
}

.error-hero h2 {
    margin-top: 0;
}

.error-hero p.intro-text {
    font-size: 1.1em;
}

.error-hero p.signature {
    text-align: center;
    font-style: italic;
    margin-top: 1.5em;
    color: #666;
}

.error-what-happened {
    margin-top: -30px !important;
    margin-bottom: 0.8em !important;
}

.error-info h3 {
    margin-top: 0;
}

.error-info ul {
    text-align: left;
    margin: 1em 0;
    padding-left: 1.2em;
}

.error-support-center {
    text-align: center;
    margin-top: 1em;
}

.sns-icons-section {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    padding: 0 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.sns-icons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.sns-icon {
    width: 25px;
    height: 25px;
    object-fit: contain;
    display: block;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sns-icon:hover {
    opacity: 1;
    transform: translateY(-5px) scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
    .sns-icons-section {
        bottom: 70px;
        padding: 0 10px;
    }

    .sns-icons-container {
        gap: 15px;
    }

    .sns-icon {
        width: 20px;
        height: 20px;
    }
}

.download-link {
    display: inline-block;
    color: #0366d6 !important;
    text-decoration: none !important;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid #0366d6;
    border-radius: 6px;
    margin: 5px 0;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.download-link:hover {
    background: #0366d6;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(3, 102, 214, 0.3);
}

.content h4+ul {
    margin-top: 1em !important;
}

.content h4 {
    margin-bottom: 0.8em !important;
}