/* Responsive Styles */

/* Tablets - Landscape */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }
    
    .founders-grid {
        gap: 20px;
    }
    
    .founder-card {
        padding: 15px;
    }
    
    .card-image {
        height: 200px;
    }
    
    .founder-title {
        font-size: 28px;
    }
    
    .btn-buy {
        padding: 18px 50px;
        font-size: 20px;
    }
    
    .social-sidebar {
        left: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon img {
        width: 22px;
        height: 22px;
    }
}

/* Tablets - Portrait */
@media screen and (max-width: 768px) {
    .header .container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
    
    .founder-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .founder-card.featured {
        transform: scale(1);
    }
    
    .card-image {
        height: 250px;
    }
    
    .founder-title {
        font-size: 32px;
    }
    
    .social-sidebar {
        display: none;
    }
    
    .launch-text {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .buyers-chat {
        margin: 20px;
    }
    
    .btn-buy {
        padding: 16px 40px;
        font-size: 18px;
    }
    
    .deadline {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .coupon {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .modal-content {
        padding: 30px;
        width: 95%;
    }
    
    #modalTitle {
        font-size: 28px;
    }
    
    .main-content {
        padding: 40px 0;
    }
}

/* Mobile - Large */
@media screen and (max-width: 640px) {
    .header {
        padding: 15px 0;
    }
    
    .logo img {
        height: 45px;
    }
    
    .founder-card {
        padding: 20px;
    }
    
    .card-image {
        height: 220px;
    }
    
    .founder-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .destaque-badge {
        font-size: 11px;
        padding: 4px 12px;
    }
    
    .btn-buy {
        width: 90%;
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .btn-buy span {
        display: inline-block;
    }
}

/* Mobile - Medium */
@media screen and (max-width: 480px) {
    body {
        background-attachment: scroll;
    }
    
    .header {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .logo img {
        height: 40px;
    }
    
    .menu-toggle {
        padding: 8px;
    }
    
    .menu-toggle span {
        width: 25px;
        height: 2.5px;
    }
    
    .mobile-menu {
        top: 70px;
        padding: 15px;
    }
    
    .btn-register-mobile, .btn-login-mobile {
        padding: 12px;
        font-size: 14px;
    }
    
    .social-mobile img {
        width: 30px;
        height: 30px;
    }
    
    .founders-grid {
        padding: 0 15px;
        gap: 20px;
    }
    
    .founder-card {
        padding: 15px;
        border-radius: 12px;
    }
    
    .card-image {
        height: 200px;
        margin-bottom: 15px;
    }
    
    .founder-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .founder-subtitle {
        font-size: 12px;
    }
    
    .launch-text {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .buyers-chat {
        height: 80px;
        padding: 10px;
        margin: 15px;
        margin-bottom: 25px;
    }
    
    .chat-message {
        padding: 6px;
    }
    
    .chat-avatar {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .chat-text {
        font-size: 12px;
    }
    
    .btn-buy {
        width: 95%;
        padding: 14px 25px;
        font-size: 14px;
        letter-spacing: 1px;
        border-radius: 30px;
    }
    
    .info-section {
        padding: 0 15px;
    }
    
    .deadline {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
    
    .coupon {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .coupon-code {
        padding: 3px 10px;
        font-size: 13px;
        display: inline-block;
        margin: 5px 2px;
    }
    
    .modal-content {
        padding: 25px;
        width: 90%;
        max-width: 350px;
    }
    
    .close-modal {
        font-size: 28px;
        top: 10px;
        right: 15px;
    }
    
    #modalTitle {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .benefit-item {
        padding: 10px;
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .btn-acquire {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
    
    .main-content {
        padding: 30px 0;
    }
}

/* Mobile - Small */
@media screen and (max-width: 360px) {
    .logo img {
        height: 35px;
    }
    
    .founders-grid {
        padding: 0 10px;
    }
    
    .founder-card {
        padding: 12px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .founder-title {
        font-size: 22px;
    }
    
    .destaque-badge {
        font-size: 10px;
        padding: 3px 10px;
        top: 8px;
        right: 8px;
    }
    
    .launch-text {
        font-size: 13px;
    }
    
    .buyers-chat {
        margin: 10px;
        height: 70px;
    }
    
    .btn-buy {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .deadline {
        font-size: 13px;
    }
    
    .coupon {
        font-size: 12px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    #modalTitle {
        font-size: 22px;
    }
    
    .benefit-item {
        font-size: 13px;
        padding: 8px;
    }
    
    .btn-acquire {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* Animações para Mobile */
@media screen and (max-width: 768px) {
    @keyframes scrollChat {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-50%);
        }
    }
    
    .founder-card:nth-child(1),
    .founder-card:nth-child(2),
    .founder-card:nth-child(3) {
        animation: fadeIn 0.8s ease-out;
    }
}

/* Fix para iOS Safari */
@supports (-webkit-touch-callout: none) {
    .modal-content {
        -webkit-transform: translate(-50%, -50%);
    }
    
    .btn-buy,
    .btn-acquire,
    .btn-register,
    .btn-login {
        -webkit-appearance: none;
    }
}

/* Landscape Mode para Mobile */
@media screen and (max-height: 480px) and (orientation: landscape) {
    .header {
        padding: 10px 0;
    }
    
    .logo img {
        height: 35px;
    }
    
    .founders-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .card-image {
        height: 150px;
    }
    
    .founder-title {
        font-size: 20px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .buyers-chat {
        height: 60px;
    }
    
    .btn-buy {
        padding: 10px 30px;
        font-size: 14px;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header,
    .social-sidebar,
    .scroll-top,
    .menu-toggle,
    .mobile-menu {
        display: none;
    }
    
    .founder-card {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(30, 30, 30, 0.98));
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .founder-card {
        border-width: 3px;
    }
    
    .btn-buy,
    .btn-acquire {
        border: 2px solid #FFD700;
    }
    
    .benefit-item {
        border-left-width: 5px;
    }
}
