/* ===== Responsive Design ===== */

/* Tablet (768px - 1024px) */
@media screen and (max-width: 1024px) {
    .section__title {
        font-size: 2.5rem;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    /* Test Page Tablet */
    .test-hero__title {
        font-size: 2.8rem;
    }
    
    .test-question-card {
        padding: 2rem;
    }
    
    .about__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about__image {
        position: relative;
        top: 0;
    }
    
    .about__image-wrapper {
        min-height: 300px;
    }
    
    .about__image-main {
        height: auto;
        min-height: 300px;
    }
    
    .process__step {
        flex-direction: column;
        text-align: center;
    }
    
    .process__step:not(:last-child)::after {
        display: none;
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    /* Hide splash cursor on mobile */
    body {
        cursor: auto;
    }
    
    #splash-cursor-container {
        display: none !important;
    }
    
    /* Splash screen adjustments */
    .splash-title {
        font-size: 2rem;
    }
    
    .splash-subtitle {
        font-size: 1rem;
    }
    
    .splash-logo {
        width: 150px;
        height: 150px;
    }
    
    /* Navigation */
    .nav__logo {
        padding-left: 0;
        margin-left: -10px;
    }
    
    .nav.container {
        padding-left: 0.5rem;
    }
    
    .nav__menu {
        margin-left: 1rem;
    }
    
    .nav__logo-text {
        font-size: 1.2rem;
    }
    
    .nav__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav__menu.active {
        left: 0;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Hero */
    .hero__wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero__content {
        text-align: center;
    }
    
    .hero__title {
        font-size: 2rem;
    }
    
    .hero__subtitle {
        font-size: 1.2rem;
    }
    
    .hero__description {
        font-size: 1rem;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }
    
    .hero__cta .btn {
        width: 100%;
    }
    
    .hero__images {
        height: 400px;
    }
    
    .hero__orbital {
        width: 350px;
        height: 350px;
    }
    
    .hero__orbital-item {
        width: 150px;
        height: 150px;
    }
    
    .hero__orbital-item--1 {
        transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg);
    }
    
    .hero__orbital-item--2 {
        transform: translate(-50%, -50%) rotate(120deg) translateX(100px) rotate(-120deg);
    }
    
    .hero__orbital-item--3 {
        transform: translate(-50%, -50%) rotate(240deg) translateX(100px) rotate(-240deg);
    }
    
    @keyframes orbital-rotate-1 {
        0% {
            transform: translate(-50%, -50%) rotate(0deg) translateX(100px) rotate(0deg);
        }
        100% {
            transform: translate(-50%, -50%) rotate(360deg) translateX(100px) rotate(-360deg);
        }
    }
    
    @keyframes orbital-rotate-2 {
        0% {
            transform: translate(-50%, -50%) rotate(120deg) translateX(100px) rotate(-120deg);
        }
        100% {
            transform: translate(-50%, -50%) rotate(480deg) translateX(100px) rotate(-480deg);
        }
    }
    
    @keyframes orbital-rotate-3 {
        0% {
            transform: translate(-50%, -50%) rotate(240deg) translateX(100px) rotate(-240deg);
        }
        100% {
            transform: translate(-50%, -50%) rotate(600deg) translateX(100px) rotate(-600deg);
        }
    }
    
    /* Typography */
    .section__title {
        font-size: 2rem;
    }
    
    .section__subtitle {
        font-size: 1.1rem;
    }
    
    /* Grids */
    .why-me__grid,
    .services__grid,
    .target-audience__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .why-me__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .audience-card {
        padding: 1.5rem;
    }
    
    /* Process */
    .process__step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process__content {
        padding: 1.5rem;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 2rem 1.5rem;
    }
    
    .testimonial__text {
        font-size: 1rem;
    }
    
    /* About */
    .about__image-wrapper {
        min-height: 250px;
    }
    
    .about__image-main {
        min-height: 250px;
    }
    
    .about__certificates {
        flex-direction: column;
    }
    
    .certificate-badge {
        width: 100%;
        justify-content: center;
    }
    
    /* CTA */
    .cta__title {
        font-size: 1.75rem;
    }
    
    .cta__text {
        font-size: 1rem;
    }
    
    .cta__buttons {
        flex-direction: column;
    }
    
    .cta__buttons .btn {
        width: 100%;
    }
    
    /* Contact */
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact__cubes {
        height: 400px;
        order: 2;
    }
    
    .contact__info {
        order: 1;
    }
    
    .contact__item {
        flex-direction: column;
        text-align: center;
    }
    
    .cubes-wrapper {
        max-width: 100%;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Small Mobile (max-width: 480px) */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero__title {
        font-size: 1.75rem;
    }
    
    .hero__images {
        height: 300px;
    }
    
    .hero__orbital {
        width: 280px;
        height: 280px;
    }
    
    .hero__orbital-item {
        width: 120px;
        height: 120px;
    }
    
    .hero__orbital-item--1 {
        transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg);
    }
    
    .hero__orbital-item--2 {
        transform: translate(-50%, -50%) rotate(120deg) translateX(80px) rotate(-120deg);
    }
    
    .hero__orbital-item--3 {
        transform: translate(-50%, -50%) rotate(240deg) translateX(80px) rotate(-240deg);
    }
    
    @keyframes orbital-rotate-1 {
        0% {
            transform: translate(-50%, -50%) rotate(0deg) translateX(80px) rotate(0deg);
        }
        100% {
            transform: translate(-50%, -50%) rotate(360deg) translateX(80px) rotate(-360deg);
        }
    }
    
    @keyframes orbital-rotate-2 {
        0% {
            transform: translate(-50%, -50%) rotate(120deg) translateX(80px) rotate(-120deg);
        }
        100% {
            transform: translate(-50%, -50%) rotate(480deg) translateX(80px) rotate(-480deg);
        }
    }
    
    @keyframes orbital-rotate-3 {
        0% {
            transform: translate(-50%, -50%) rotate(240deg) translateX(80px) rotate(-240deg);
        }
        100% {
            transform: translate(-50%, -50%) rotate(600deg) translateX(80px) rotate(-600deg);
        }
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .section__intro {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .btn--large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .why-me__stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-card__badges {
        flex-direction: column;
    }
    
    .badge {
        width: 100%;
        text-align: center;
    }
    
    .contact__cubes {
        height: 300px;
    }
    
    .cubes-scene {
        column-gap: 3%;
        row-gap: 3%;
    }
    
    /* Packages Responsive */
    .packages__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .package-card--popular {
        transform: scale(1);
    }
    
    .package-card--popular:hover {
        transform: translateY(-10px);
    }
    
    .package-card__price-new {
        font-size: 2rem;
    }
    
    /* Test Page Responsive */
    .test-hero__title {
        font-size: 2rem;
    }
    
    .test-hero__subtitle {
        font-size: 1.2rem;
    }
    
    .test-hero__description {
        font-size: 1rem;
    }
    
    .test-question-card {
        padding: 1.5rem;
    }
    
    .test-question-card__question {
        font-size: 1.2rem;
    }
    
    .test-question-card__header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .test-question-card__footer {
        flex-direction: column;
    }
    
    .test-question-card__footer .btn {
        width: 100%;
    }
    
    .test-results__badge {
        width: 120px;
        height: 120px;
    }
    
    .test-results__level {
        font-size: 2.5rem;
    }
    
    .test-results__title {
        font-size: 2rem;
    }
    
    .test-results__actions {
        flex-direction: column;
    }
    
    .test-results__actions .btn {
        width: 100%;
    }
    
    /* Test Warning Mobile */
    .test-warning__content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
    }
    
    .test-warning__icon {
        font-size: 1.5rem;
    }
    
    .test-warning__text {
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__brand {
        align-items: center;
    }
    
    .footer__contact {
        align-items: center;
    }
    
    .footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Landscape Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero__content {
        padding: 40px 20px;
    }
    
    .nav__logo-text {
        font-size: 1rem;
    }
}
