/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-container {
        gap: 3rem;
    }
}

/* Tablet (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-placeholder {
        width: 350px;
        height: 250px;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Reviews Section */
    .reviews-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Buy Section */
    .buy-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Typography */
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
}

/* Mobile Large (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding: 2rem 0;
    }
    
    .hero-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-placeholder {
        width: 280px;
        height: 200px;
        font-size: 1rem;
    }
    
    /* Sections */
    .about, .reviews, .features, .buy, .faq {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* About Section */
    .about-features {
        gap: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    /* Reviews Section */
    .rating-score {
        font-size: 3rem;
    }
    
    .rating-stars {
        font-size: 1.5rem;
    }
    
    .rating-item {
        grid-template-columns: 1fr 1.5fr 40px;
        gap: 0.5rem;
    }
    
    .review-quote {
        padding: 1.5rem;
    }
    
    .review-quote p {
        font-size: 1rem;
    }
    
    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    /* Buy Section */
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .platform-card {
        padding: 1.5rem;
    }
    
    .platform-icon {
        font-size: 2rem;
    }
    
    /* FAQ Section */
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    
    p {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 10px;
    }
    
    /* Hero Section */
    .hero-container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-screenshot {
        max-width: 250px;
        height: auto;
    }
    
    .logo-img {
        height: 30px;
    }
    
    /* Sections */
    .about, .reviews, .features, .buy, .faq {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* About Section */
    .developer-info {
        padding: 1rem;
    }
    
    .developer-info h4 {
        font-size: 1rem;
    }
    
    /* Reviews Section */
    .rating-score {
        font-size: 2.5rem;
    }
    
    .rating-stars {
        font-size: 1.2rem;
    }
    
    .rating-item {
        grid-template-columns: 1fr 1fr 35px;
        font-size: 0.9rem;
    }
    
    .review-quote {
        padding: 1rem;
    }
    
    .review-quote p {
        font-size: 0.9rem;
    }
    
    /* Features Section */
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    /* Buy Section */
    .platform-card {
        padding: 1rem;
    }
    
    .platform-icon {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .buy-benefits li {
        font-size: 1rem;
    }
    
    /* FAQ Section */
    .faq-question {
        padding: 0.8rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-toggle {
        font-size: 1.2rem;
    }
    
    .faq-answer p {
        padding: 0 0.8rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Typography */
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }
    
    p {
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .btn-platform {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-placeholder {
        width: 220px;
        height: 160px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .rating-score {
        font-size: 2rem;
    }
    
    .platform-grid {
        gap: 0.8rem;
    }
    
    .platform-card {
        padding: 0.8rem;
    }
    
    .feature-card {
        padding: 0.8rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-placeholder {
        width: 200px;
        height: 150px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero::before {
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2000 2000"><polygon fill="rgba(255,255,255,0.1)" points="0,2000 2000,0 2000,2000"/></svg>');
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .btn,
    .hamburger {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        background: white !important;
        color: black !important;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
    
    .hero-subtitle,
    .hero-description {
        color: black !important;
    }
    
    .buy {
        background: white !important;
        color: black !important;
    }
    
    .platform-card {
        background: #f8f9fa !important;
        color: black !important;
        border: 1px solid #ddd !important;
    }
    
    .footer {
        background: #f8f9fa !important;
        color: black !important;
    }
    
    .footer-section h3,
    .footer-section h4 {
        color: black !important;
    }
    
    .social-link {
        color: black !important;
        border-color: #ddd !important;
    }
}
