* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    color: white;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

.main {
    padding: 3rem 0;
}

.url-input-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.input-group {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.url-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.url-input:focus {
    outline: none;
    border-color: #667eea;
}

.test-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.test-btn:hover {
    transform: translateY(-2px);
}

.devices-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.device-container {
    background: transparent;
    padding: 1.5rem;
    text-align: center;
    width: auto;
}

.device-info {
    margin-bottom: 1rem;
}

.device-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.device-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.device-screen {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile .device-screen {
    width: 375px;
    height: 667px;
}

.mobile-landscape .device-screen {
    width: 667px;
    height: 375px;
}

.tablet .device-screen {
    width: 768px;
    height: 1024px;
}

.tablet-landscape .device-screen {
    width: 1024px;
    height: 768px;
}

.laptop .device-screen {
    width: 1366px;
    height: 768px;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .devices-grid {
        gap: 2rem;
    }
    
    .device-container {
        max-width: 95%;
    }
    
    .mobile .device-screen {
        width: 300px;
        height: 533px;
    }
    
    .mobile-landscape .device-screen {
        width: 320px;
        height: 180px;
    }
    
    .tablet .device-screen {
        width: 320px;
        height: 427px;
    }
    
    .tablet-landscape .device-screen {
        width: 320px;
        height: 240px;
    }
    
    .laptop .device-screen {
        width: 320px;
        height: 180px;
    }
}