/* ============================================
   SafeGuard AI - Responsive Styles
   ============================================ */

/* Large Desktop */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .detect-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .demo-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    
    .nav-mobile-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .scanner-layout {
        grid-template-columns: 1fr;
    }
    
    .scanner-side {
        order: -1;
    }
    
    .history-drawer {
        width: 350px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
        height: 60px;
    }
    
    .nav-logo span {
        display: none;
    }
    
    .nav-history-btn span {
        display: none;
    }
    
    .nav-stats {
        display: none;
    }
    
    .mobile-menu {
        top: 60px;
    }
    
    .history-drawer {
        width: 100%;
        max-width: 100%;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .analysis-visual {
        padding: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .detect-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-buttons {
        grid-template-columns: 1fr;
    }
    
    .demo-btn {
        flex-direction: row;
        justify-content: center;
    }
    
    .trust-content h2 {
        font-size: 1.5rem;
    }
    
    .scanner-header h1 {
        font-size: 2rem;
    }
    
    .scanner-main {
        padding: 1.5rem;
    }
    
    .scanner-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .side-card {
        padding: 1.25rem;
    }
    
    .results-header h1 {
        font-size: 2rem;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-number {
        font-size: 2.25rem;
    }
    
    .findings-section,
    .ai-explanation-section,
    .action-section,
    .breakdown-section {
        padding: 1.5rem;
    }
    
    .action-card {
        flex-direction: column;
        text-align: center;
    }
    
    .action-icon {
        margin: 0 auto;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .result-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .learn-hero h1 {
        font-size: 2rem;
    }
    
    .topic-card {
        padding: 1.5rem;
    }
    
    .steps-container {
        gap: 1rem;
    }
    
    .action-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column;
    }
    
    .footer-brand p {
        margin-left: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .detect-card {
        padding: 1.5rem;
    }
    
    .scanner-header h1 {
        font-size: 1.75rem;
    }
    
    .results-header h1 {
        font-size: 1.75rem;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .risk-badge {
        font-size: 1rem;
        padding: 0.375rem 1rem;
    }
    
    .finding-item {
        flex-direction: column;
    }
    
    .finding-icon {
        width: 36px;
        height: 36px;
    }
    
    .topic-card {
        padding: 1.25rem;
    }
    
    .checklist-item {
        padding: 0.875rem;
    }
}
