/* ===========================
   RESPONSIVE DESIGN
   =========================== */

/* Large Tablets & Small Desktops (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    h2 {
        font-size: 2rem;
    }

    .comparison-table {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .step:not(:last-child)::after {
        right: -12px;
    }

    .services-pricing {
        grid-template-columns: 1fr;
    }

    /* Reduce floating shapes size on tablets */
    .hero::before,
    .hero::after,
    .overview::before,
    .overview::after,
    .product-comparison::before,
    .product-comparison::after,
    .product-detail::before,
    .product-detail::after,
    .services::before,
    .services::after,
    .use-cases::before,
    .use-cases::after,
    .why-us::before,
    .why-us::after,
    .pricing::before,
    .pricing::after,
    .contact::before,
    .contact::after,
    .footer::before,
    .footer::after {
        width: 180px;
        height: 180px;
    }
}

/* Tablets (768px) */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-menu ul {
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .overview-card {
        margin-bottom: 15px;
    }

    .comparison-table {
        gap: 20px;
    }

    .comparison-card {
        border-top-width: 4px;
    }

    .card-header {
        padding: 20px;
    }

    .card-content {
        padding: 20px;
    }

    .card-header h3 {
        font-size: 1.5rem;
    }

    .detail-grid {
        gap: 20px;
    }

    .gallery {
        margin-bottom: 30px;
    }

    .applications-list {
        grid-template-columns: 1fr;
    }

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

    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .step:nth-child(odd):not(:last-child)::after {
        right: -12px;
        top: 12px;
    }

    .step:nth-child(even)::after {
        display: none;
    }

    .step h4 {
        font-size: 0.85rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .pricing-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    h3 {
        font-size: 1.3rem;
    }
}

/* Small Tablets & Large Phones (480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Disable all floating shape animations on mobile for better performance */
    .hero::before,
    .hero::after,
    .overview::before,
    .overview::after,
    .product-comparison::before,
    .product-comparison::after,
    .product-detail::before,
    .product-detail::after,
    .services::before,
    .services::after,
    .use-cases::before,
    .use-cases::after,
    .why-us::before,
    .why-us::after,
    .pricing::before,
    .pricing::after,
    .contact::before,
    .contact::after,
    .footer::before,
    .footer::after {
        animation: none !important;
        width: 120px !important;
        height: 120px !important;
        opacity: 0.5;
        will-change: auto;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        display: none;
        flex-direction: column;
        padding: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 998;
        max-height: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
        font-size: 0.95rem;
    }

    .nav-menu a {
        display: block;
        padding: 8px 0;
        color: var(--text-dark) !important;
    }

    .language-toggle {
        gap: 8px;
    }

    .lang-btn {
        padding: 5px 12px;
        font-size: 0.85rem;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .overview-card {
        padding: 20px;
    }

    .card-header {
        padding: 15px;
    }

    .card-header h3 {
        font-size: 1.3rem;
    }

    .card-header .subtitle {
        font-size: 0.85rem;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 15px;
    }

    .card-content h4 {
        font-size: 1.1rem;
    }

    .specs {
        padding: 12px;
        font-size: 0.9rem;
    }

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

    .service-card {
        padding: 20px;
    }

    .service-card .price {
        font-size: 1rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step:not(:last-child)::after {
        display: none;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .step h4 {
        font-size: 0.8rem;
    }

    .usecase-image {
        height: 150px;
    }

    .why-card {
        padding: 20px;
    }

    .pricing-section {
        margin-bottom: 25px;
    }

    .pricing-section h3 {
        font-size: 1.2rem;
    }

    .pricing-section table {
        font-size: 0.9rem;
    }

    .pricing-section table td {
        padding: 10px;
    }

    .services-pricing div {
        flex-direction: column;
        gap: 10px;
        font-size: 0.9rem;
    }

    .contact-info {
        padding: 20px;
    }

    .contact-info-center {
        margin-top: 30px;
        padding: 30px 20px;
    }

    .info-item-large {
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .contact-email,
    .contact-phone {
        font-size: 1.1rem;
        word-break: break-all;
    }

    .contact-name {
        font-size: 1.3rem !important;
    }

    .info-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    section {
        padding: 40px 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .comparison-table {
        gap: 15px;
    }

    .rental-process {
        padding: 20px;
    }
}

/* Extra Small Phones (320px) */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .nav-menu a {
        font-size: 0.8rem;
    }

    .hero-content h2 {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .card-header h3 {
        font-size: 1.2rem;
    }

    .pricing-section table td {
        padding: 8px;
        font-size: 0.85rem;
    }

    .lang-btn {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .language-toggle,
    .cta-button,
    .contact {
        display: none;
    }

    body {
        background: white;
    }

    section {
        page-break-inside: avoid;
    }
}