@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 20px 4rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-stats {
        justify-content: center;
    }

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

    .steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .auth-panels {
        min-height: auto;
    }

    .hero-section-center .auth-panel {
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .nav a {
        margin: 0 0.5rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .cta-content {
        padding: 3rem 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .dashboard {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .auth-panel {
        padding: 1.25rem;
    }

    .auth-tabs {
        margin-bottom: 1rem;
    }

    .auth-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    .auth-tab svg {
        display: none;
    }

    .form-group input {
        font-size: 16px;
    }

    .toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: auto;
    }

    .hero-section-center {
        padding: 1.5rem 15px;
        min-height: calc(100vh - 60px);
        justify-content: flex-start;
        padding-top: 80px;
    }

    .hero-section-center .auth-panel {
        max-width: 100%;
    }

    .auth-form-title {
        font-size: 1.25rem;
    }

    .auth-form-desc {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .forgot-link {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .features-section,
    .howto-section,
    .cta-section {
        padding: 3rem 15px;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .auth-panel {
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .auth-tabs {
        margin-bottom: 0.75rem;
    }

    .auth-tab {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .auth-form-title {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }

    .auth-form-desc {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }

    .form-group {
        margin-bottom: 0.75rem;
    }

    .form-group label {
        font-size: 0.8125rem;
        margin-bottom: 0.25rem;
    }

    .form-group input {
        padding: 0.5rem 0.75rem 0.5rem 2.25rem;
        font-size: 14px;
    }

    .input-icon {
        left: 0.625rem;
        width: 16px;
        height: 16px;
    }

    .toggle-password {
        right: 0.5rem;
    }

    .toggle-password svg {
        width: 16px;
        height: 16px;
    }

    .btn-large {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-icon svg {
        width: 16px;
        height: 16px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
    }

    .social-btn svg {
        width: 18px;
        height: 18px;
    }

    .hero-section-center {
        padding: 1rem 12px;
        padding-top: 70px;
        min-height: calc(100vh - 50px);
    }

    .header {
        padding: 0.75rem 0;
    }

    .header .container {
        padding: 0 12px;
    }

    .nav-right .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.8125rem;
    }

    .auth-divider {
        margin: 0.75rem 0;
    }

    .auth-divider span {
        font-size: 0.75rem;
    }

    .checkbox-label {
        font-size: 0.8125rem;
    }

    .checkbox-label span {
        font-size: 0.8125rem;
    }

    .checkbox-label a {
        font-size: 0.8125rem;
    }

    .footer {
        padding: 1.5rem 0;
    }

    .footer-slogan {
        font-size: 1rem;
    }

    .footer-desc {
        font-size: 0.8125rem;
    }

    .footer-copy {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .auth-panel {
        padding: 0.875rem;
    }

    .auth-tab {
        font-size: 0.6875rem;
    }

    .auth-form-title {
        font-size: 1rem;
    }

    .form-group input {
        padding: 0.5rem 0.625rem 0.5rem 2rem;
    }

    .btn-large {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .hero-section-center {
        padding: 0.75rem 10px;
        padding-top: 65px;
    }
}