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

/* Large Desktop */
@media screen and (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Desktop */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

/* Tablet Landscape */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
    
    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0.5rem;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Sections */
    section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1.1rem;
    }
    
    /* Products */
    .product-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .product-number {
        font-size: 2.5rem;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Data Scenarios */
    .scenarios-progression {
        flex-direction: column;
        gap: 2rem;
    }
    
    .scenario-arrow {
        transform: rotate(90deg);
    }
    
    .scenario-step {
        max-width: 100%;
    }
    
    /* Specs */
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Demo */
    .demo-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Tablet Portrait */
@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* Typography */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.7rem; }
    h4 { font-size: 1.3rem; }
    
    p {
        font-size: 1rem;
    }
    
    /* Hero */
    .hero {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Products */
    .product-content {
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-subtitle {
        font-size: 1rem;
    }
    
    .interface-features {
        gap: 0.5rem;
    }
    
    .interface-feature {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Applications */
    .application-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    /* Founders */
    .founders-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* Mobile */
@media screen and (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .nav-actions .btn {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .nav-actions .btn:not(.btn-primary) {
        display: none;
    }
    
    /* Hero */
    .hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-highlight {
        padding: 1rem;
        margin: 1.5rem auto;
    }
    
    .hero-highlight h3 {
        font-size: 1.1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Points & Features */
    .overview-points {
        grid-template-columns: 1fr;
    }
    
    .point {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .point-icon {
        margin: 0 auto 1rem auto;
    }
    
    /* Products */
    .product-card {
        margin-bottom: 2rem;
    }
    
    .product-header {
        padding: 1.5rem;
    }
    
    .product-content {
        padding: 1.5rem;
    }
    
    .product-number {
        font-size: 2rem;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-subtitle {
        font-size: 0.9rem;
    }
    
    .product-challenge,
    .product-solution {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-category {
        padding: 1rem;
    }
    
    .model-category {
        padding: 1rem;
    }
    
    .empowerment-note {
        padding: 1rem;
    }
    
    .note-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    /* Data Scenarios */
    .scenario-step {
        padding: 1.5rem;
        min-width: auto;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Why CarVach */
    .winning-ways {
        grid-template-columns: 1fr;
    }
    
    .way {
        padding: 1.5rem;
    }
    
    .way-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .differentiator-grid {
        grid-template-columns: 1fr;
    }
    
    .differentiator {
        padding: 2rem;
    }
    
    .diff-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Applications */
    .application-card {
        padding: 1.5rem;
    }
    
    .app-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Technical Specs */
    .spec-category {
        padding: 2rem;
    }
    
    .metric {
        padding: 1rem;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    /* Leadership */
    .founder-image {
        height: 200px;
    }
    
    .founder-info {
        padding: 1.5rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-highlight {
        padding: 1rem;
    }
    
    /* Demo */
    .demo-form {
        padding: 2rem;
    }
    
    /* Contact */
    .contact-info {
        gap: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .contact-cta {
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}

/* Extra Small Mobile */
@media screen and (max-width: 400px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .hero-actions .btn,
    .cta-actions .btn {
        width: 100%;
    }
    
    .product-header {
        padding: 1rem;
    }
    
    .product-content {
        padding: 1rem;
    }
    
    .demo-form,
    .contact-form {
        padding: 1.5rem;
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .founder-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-elements {
        display: none;
    }
    
    .hero-animation {
        display: none;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .back-to-top,
    .floating-elements,
    .hero-animation {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        background: white !important;
        color: black !important;
    }
    
    .hero-content {
        color: black !important;
    }
    
    .btn {
        border: 1px solid black !important;
        background: white !important;
        color: black !important;
    }
    
    .section-title,
    .text-gradient {
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
    
    .product-card,
    .contact-form,
    .demo-form {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}
