/* Responsive Styles */

/* Large Desktop */
@media (max-width: 1400px) {
    .container {
        max-width: 1100px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        gap: 40px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 1000px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .mobile-app-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .mobile-app-visual {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        max-width: 750px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .nav-list {
        gap: 25px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    /* Navigation */
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    
    .nav-list.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1002;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    /* Products */
    .products-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-category {
        padding: 20px 15px;
    }
    
    .product-icon {
        width: 50px;
        height: 50px;
    }
    
    .product-name {
        font-size: 0.9rem;
    }
    
    /* Platforms */
    .platforms-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-card {
        padding: 25px 20px;
    }
    
    /* Ad Types */
    .ad-types-grid {
        grid-template-columns: 1fr;
    }
    
    /* About */
    .about-image-main {
        padding: 40px;
    }
    
    .about-experience {
        position: static;
        margin-top: 20px;
    }
    
    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-form {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Legal */
    .legal-content {
        padding: 40px 15px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-table {
        display: block;
        overflow-x: auto;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .products-categories {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .product-icon {
        width: 45px;
        height: 45px;
    }
    
    .product-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .product-name {
        font-size: 0.85rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .ad-type-icon {
        width: 60px;
        height: 60px;
    }
    
    .ad-type-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .platform-card {
        flex-direction: column;
        text-align: center;
    }
    
    .platform-icon {
        margin: 0 auto;
    }
}

/* Landscape Mode on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .nav-link::after {
        display: none;
    }
    
    .service-card:hover,
    .news-card:hover,
    .value-card:hover {
        transform: none;
    }
    
    .service-card:active,
    .news-card:active,
    .value-card:active {
        transform: scale(0.98);
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo svg,
    .service-icon svg,
    .platform-icon svg {
        shape-rendering: geometricPrecision;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .scroll-indicator,
    .mobile-menu-btn,
    .hero-image {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
    }
    
    .section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
    
    .hero {
        min-height: auto;
        padding: 40pt 0;
    }
    
    a {
        text-decoration: underline;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
}

/* Dark Mode Support (if needed) */
@media (prefers-color-scheme: dark) {
    /* Keep light theme for corporate look, but can add dark mode toggle here */
}

/* Accessibility */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000;
        --text-light: #333;
        --bg-light: #fff;
        --bg-white: #fff;
    }
    
    .service-card,
    .news-card,
    .value-card {
        border: 2px solid var(--text-dark);
    }
}
