/* HIPAA Website Security Checker - Main Styles */

/* ================================
   RESET & BASE STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ================================
   TYPOGRAPHY
   ================================ */

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: 2.5rem;
    color: #2c5aa0;
}

h2 {
    font-size: 2rem;
    color: #2c5aa0;
}

h3 {
    font-size: 1.5rem;
    color: #2c5aa0;
}

p {
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    color: #2c5aa0;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e3d6f;
    text-decoration: underline;
}

/* ================================
   HEADER
   ================================ */

header {
    background-color: #2c5aa0;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
}

.logo a {
    display: block;
}

.contact-info {
    text-align: right;
    font-size: 14px;
}

.contact-item {
    margin-bottom: 5px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-weight: 500;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffc107;
    text-decoration: underline;
}

.phone-link, .email-link {
    margin-left: 5px;
}

/* Mobile menu toggle (hidden by default) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3d6f 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* ================================
   SCANNER SECTION
   ================================ */

.scanner-section {
    background: white;
    padding: 60px 0;
    margin-top: -40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
    width: 100%;
}

.scanner-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.scanner-form h2 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.scanner-form > p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1.1em;
}

/* ================================
   FORM STYLES
   ================================ */

.url-input-group {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.url-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 200px;
    max-width: 400px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.url-input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.scan-btn {
    background: linear-gradient(135deg, #2c5aa0, #1e3d6f);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 150px;
}

.scan-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1e3d6f, #2c5aa0);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.scan-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ================================
   CONTEXTUAL LINKS (Replace again - exact field alignment)
   ================================ */

.contextual-links {
    display: flex;
    justify-content: flex-start;
    max-width: 400px;
    margin: 8px auto 20px auto;
    font-size: 14px;
    color: #6c757d;
    padding: 0 15px;
}

.contextual-links a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contextual-links a:hover {
    color: #1e3d6f;

}

.contextual-links .separator {
    margin: 0 8px;
    color: #adb5bd;
    font-weight: normal;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contextual-links {
        font-size: 13px;
        margin: 6px auto 18px auto;
        padding: 0 10px;
        justify-content: center;
    }
    
    .contextual-links .separator {
        margin: 0 6px;
    }
}

@media (max-width: 480px) {
    .contextual-links {
        font-size: 12px;
        line-height: 1.4;
        padding: 0 5px;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .contextual-links .separator {
        margin: 0 4px;
    }
}










/* ================================
   FEATURES SECTION
   ================================ */

.features-section {
    background: #f8f9fa;
    padding: 80px 0;
    width: 100%;
    overflow-x: hidden;
}

.feature-item {
    margin-bottom: 80px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-content.reverse {
    direction: rtl;
}

.feature-content.reverse > * {
    direction: ltr;
}

.feature-text h3 {
    color: #2c5aa0;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
}

.feature-text p {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
    padding-left: 0;
}

.feature-list li {
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-list li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.feature-screenshot {
    background: #e9ecef;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    overflow: hidden;
}

.feature-screenshot:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-screenshot img {
    max-width: 100%;
    height: auto;
    width: 100%;
    object-fit: contain;
}

.screenshot-placeholder {
    background: #6c757d;
    color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 15px;
    width: 80%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
}

.screenshot-caption {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9em;
    max-width: 90%;
    line-height: 1.4;
}

/* ================================
   PROGRESS SECTION
   ================================ */

.progress-section {
    display: none;
    margin: 30px 0;
    text-align: center;
}

.scanning-text {
    color: #2c5aa0;
    font-weight: bold;
    margin: 10px 0;
    font-size: 1.1em;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background-color: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2c5aa0, #1e3d6f);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}


/* ================================
   STEP INDICATORS
   ================================ */
.step-indicators {
    margin: 30px 0;
}

.step-indicator {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #f8f9fa;
    border-left: 4px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.step-indicator.pending {
    border-left-color: #6c757d;
    background: #f8f9fa;
}

.step-indicator.active {
    border-left-color: #2c5aa0;
    background: #e3f2fd;
    animation: pulse 2s infinite;
}

.step-indicator.completed {
    border-left-color: #28a745;
    background: #d4edda;
}

.step-indicator.error {
    border-left-color: #dc3545;
    background: #f8d7da;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(44, 90, 160, 0.3);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(44, 90, 160, 0);
    }
}

.step-icon {
    font-size: 1.5em;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-content {
    flex: 1;
}

.step-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.step-description {
    font-size: 0.85em;
    color: #666;
    line-height: 1.3;
}

.step-status {
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
}

.step-indicator.pending .step-status {
    background: #e9ecef;
    color: #6c757d;
}

.step-indicator.active .step-status {
    background: #2c5aa0;
    color: white;
}

.step-indicator.completed .step-status {
    background: #28a745;
    color: white;
}

.step-indicator.error .step-status {
    background: #dc3545;
    color: white;
}

.step-indicator.active .step-icon {
    transform: scale(1.1);
}

.step-indicator.completed .step-icon {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    80% { transform: translateY(-2px); }
}

/* Mobile Responsive for Step Indicators */
@media (max-width: 768px) {
    .step-indicator {
        padding: 10px 12px;
    }
    
    .step-icon {
        font-size: 1.3em;
        margin-right: 12px;
        min-width: 25px;
    }
    
    .step-name {
        font-size: 0.9em;
    }
    
    .step-description {
        font-size: 0.8em;
    }
    
    .step-status {
        font-size: 0.7em;
        padding: 1px 6px;
    }
}

@media (max-width: 480px) {
    .step-indicator {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .step-icon {
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .step-status {
        margin-left: 0;
        margin-top: 5px;
        align-self: flex-start;
    }
}






@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.scan-details {
    max-width: 600px;
    margin: 20px auto;
    text-align: left;
}

.scan-log {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    margin-bottom: 15px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.log-header {
    font-weight: bold;
    color: #2c5aa0;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 5px;
}

.log-entry {
    margin: 5px 0;
    padding: 3px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-success {
    color: #28a745;
}

.log-warning {
    color: #ffc107;
}

.log-error {
    color: #dc3545;
}

.log-info {
    color: #17a2b8;
}

.current-check {
    background: #e3f2fd;
    padding: 10px;
    border-radius: 5px;
    color: #1565c0;
    text-align: center;
    font-size: 14px;
    border-left: 4px solid #2196f3;
}

.current-check span {
    font-weight: bold;
}

/* ================================
   RESULTS SECTION
   ================================ */

.results-section {
    display: none;
    margin-top: 40px;
}

.compliance-score {
    background: #fff;
    border: 3px solid #dc3545;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.2);
}

.score-badge {
    font-size: 4em;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.score-text {
    font-size: 1.2em;
    color: #2c5aa0;
    font-weight: bold;
    margin-bottom: 15px;
}

.compliance-status {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.1em;
    border-left: 5px solid #dc3545;
}

/* ================================
   ISSUES GRID
   ================================ */

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.issue-card {
    background: white;
    border-left: 5px solid #dc3545;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.issue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.issue-card.medium {
    border-left-color: #ffc107;
}

.issue-card.low {
    border-left-color: #28a745;
}

.issue-title {
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1em;
    flex-wrap: wrap;
}

.issue-card.medium .issue-title {
    color: #856404;
}

.issue-card.low .issue-title {
    color: #155724;
}

.severity-badge {
    background: #dc3545;
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.medium .severity-badge {
    background: #ffc107;
    color: #212529;
}

.low .severity-badge {
    background: #28a745;
}

.issue-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.issue-regulation {
    font-size: 0.9em;
    color: #6c757d;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 8px;
}

/* ================================
   DOWNLOAD SECTION
   ================================ */

.download-section {
    background: #f8f9fa;
    border: 2px solid #2c5aa0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin: 30px 0;
}

.download-section h3 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.download-section > p {
    color: #6c757d;
    margin-bottom: 25px;
}

.download-form {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}

.email-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.email-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 200px;
    max-width: 300px;
    transition: border-color 0.3s ease;
    width: 100%;
}

.email-input:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.download-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.download-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #218838, #1ba085);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.3);
}

.download-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.privacy-note {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9em;
    margin-top: 10px;
}

.download-success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    display: none;
    border-left: 5px solid #28a745;
}

/* ================================
   CTA SECTION
   ================================ */

.cta-section {
    background: #2c5aa0;
    color: white;
    padding: 50px 0;
    text-align: center;
    margin-top: 40px;
    border-radius: 10px;
}

.cta-section h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: white;
    color: #2c5aa0;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: all 0.3s ease;
    font-size: 1.1em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
    color: #1e3d6f;
}

/* ================================
   CONTENT PAGES
   ================================ */

.content-section {
    background: white;
    padding: 60px 0;
}

.content-section h1 {
    margin-bottom: 30px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #6c757d;
    margin-bottom: 40px;
}

.privacy-content, .terms-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.privacy-content h2, .terms-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #2c5aa0;
    border-bottom: 2px solid #2c5aa0;
    padding-bottom: 10px;
}

.privacy-content h3, .terms-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1e3d6f;
}

.privacy-content ul, .terms-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.privacy-content li, .terms-content li {
    margin-bottom: 10px;
}

/* ================================
   FOOTER
   ================================ */

footer {
    background-color: #343a40;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-copyright p {
    margin-bottom: 10px;
}

.footer-tagline {
    color: #adb5bd;
    font-style: italic;
}

.footer-section h4 {
    color: #ffc107;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-link {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.footer-disclaimer {
    font-size: 0.9em;
    color: #adb5bd;
    line-height: 1.5;
}

.footer-security {
    text-align: right;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #495057;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 4px solid #28a745;
}

.security-icon {
    font-size: 1.2em;
}

.security-text {
    font-size: 0.9em;
    line-height: 1.3;
}

.security-text strong {
    color: #28a745;
}

/* ================================
   MESSAGES & ALERTS
   ================================ */

.message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
    border-left: 5px solid;
    font-weight: 500;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

/* ================================
   UTILITIES
   ================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-section {
    animation: fadeIn 0.5s ease-out;
}

.issue-card {
    animation: slideUp 0.3s ease-out;
}

.issue-card:nth-child(2) { animation-delay: 0.1s; }
.issue-card:nth-child(3) { animation-delay: 0.2s; }
.issue-card:nth-child(4) { animation-delay: 0.3s; }
.issue-card:nth-child(5) { animation-delay: 0.4s; }
.issue-card:nth-child(6) { animation-delay: 0.5s; }

/* ================================
   MOBILE RESPONSIVE BREAKPOINTS
   ================================ */

/* Large tablets and small desktops - 1200px and down */
@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .feature-content {
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 2.2em;
    }
}

/* Medium tablets - 992px and down */
@media (max-width: 992px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .feature-content.reverse {
        direction: ltr;
    }
    
    .features-section {
        padding: 60px 0;
    }
    
    .feature-item {
        margin-bottom: 50px;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .footer-copyright {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .footer-security {
        text-align: center;
    }
    
    .security-badge {
        justify-content: center;
    }
}

/* Small tablets - 768px and down */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8em;
    }
    
    .hero p {
        font-size: 1em;
    }
    
    .scanner-section {
        padding: 40px 0;
        margin-top: -20px;
    }
    
    .url-input-group,
    .email-input-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .url-input,
    .email-input {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }
    
    .scan-btn,
    .download-btn {
        width: 100%;
        max-width: 100%;
    }
    
    .features-section {
        padding: 40px 0;
    }
    
    .feature-item {
        margin-bottom: 40px;
    }
    
    .feature-text h3 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    
    .feature-text p {
        font-size: 1em;
        margin-bottom: 15px;
    }
    
    .feature-list {
        text-align: left;
        max-width: 100%;
        margin: 15px 0;
    }
    
    .feature-list li {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    .feature-screenshot {
        margin: 0;
        padding: 15px;
        min-height: 200px;
    }
    
    .screenshot-placeholder {
        width: 100%;
        height: 150px;
        font-size: 0.9em;
        padding: 15px;
    }
    
    .screenshot-caption {
        font-size: 0.8em;
    }
    
    .issues-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .issue-card {
        padding: 15px;
    }
    
    .issue-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .footer-section {
        margin-bottom: 15px;
    }
    
    .cta-section {
        padding: 30px 10px;
    }
    
    .cta-section h3 {
        font-size: 1.4em;
    }
    
    .download-section {
        padding: 20px 10px;
    }
    
    .scanner-form h2 {
        font-size: 1.5em;
    }
    
    .score-badge {
        font-size: 3em;
    }
    
    .security-badge {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}

/* Large phones - 480px and down */
@media (max-width: 480px) {
    .container {
        padding: 0 5px;
    }
    
    .hero h1 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    
    .scanner-form h2 {
        font-size: 1.3em;
    }
    
    .scanner-form > p {
        font-size: 1em;
    }
    
    .feature-text h3 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }
    
    .feature-text p {
        font-size: 0.9em;
        margin-bottom: 12px;
    }
    
    .feature-list li {
        font-size: 0.85em;
        line-height: 1.3;
    }
    
    .feature-screenshot {
        padding: 10px;
        min-height: 180px;
    }
    
    .screenshot-placeholder {
        height: 120px;
        font-size: 0.8em;
        padding: 10px;
    }
    
    .url-input,
    .email-input {
        padding: 12px 10px;
        font-size: 16px;
    }
    
    .scan-btn,
    .download-btn {
        padding: 12px 20px;
        font-size: 16px;
    }
    
    .score-badge {
        font-size: 2.5em;
    }
    
    .compliance-score {
        padding: 20px 10px;
    }
    
    .download-section,
    .cta-section {
        padding: 20px 5px;
    }
    
    .cta-section h3 {
        font-size: 1.2em;
    }
    
    .cta-section p {
        font-size: 0.9em;
    }
    
    .footer-main {
        gap: 15px;
    }
    
    .footer-section h4 {
        font-size: 1em;
    }
    
    .footer-link,
    .footer-disclaimer {
        font-size: 0.8em;
    }
}

/* Small phones - 320px and down */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.4em;
    }
    
    .hero p {
        font-size: 0.85em;
    }
    
    .scanner-form h2 {
        font-size: 1.2em;
    }
    
    .feature-text h3 {
        font-size: 1.1em;
    }
    
    .feature-text p {
        font-size: 0.85em;
    }
    
    .url-input,
    .email-input {
        padding: 10px 8px;
    }
    
    .scan-btn,
    .download-btn {
        padding: 10px 15px;
    }
    
    .score-badge {
        font-size: 2.2em;
    }
    
    .issue-card {
        padding: 12px;
    }
    
    .issue-title {
        font-size: 1em;
    }
    
    .issue-description {
        font-size: 0.85em;
    }
}

/* Landscape orientation fixes */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        padding: 30px 0;
    }
    
    .features-section {
        padding: 30px 0;
    }
    
    .feature-item {
        margin-bottom: 25px;
    }
    
    .scanner-section {
        padding: 30px 0;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
        font-size: 12px;
    }
    
    header, footer, .cta-section, .download-section {
        display: none;
    }
    
    .hero {
        background: none;
        color: black;
        padding: 20px 0;
    }
    
    .scanner-section {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .issue-card {
        border: 1px solid #ddd;
        box-shadow: none;
        break-inside: avoid;
        margin-bottom: 15px;
    }
    
    .progress-section, .scan-details {
        display: none;
    }
}

/* Mobile responsive text helpers */
.mobile-hidden {
    display: inline;
}

.mobile-text {
    display: none;
}

.desktop-text {
    display: inline;
}

@media (max-width: 768px) {
    .mobile-hidden {
        display: none;
    }
    
    .mobile-text {
        display: inline;
    }
    
    .desktop-text {
        display: none;
    }
    
    .footer-disclaimer p {
        font-size: 0.85em;
        line-height: 1.4;
    }
    
    .security-text {
        font-size: 0.8em;
    }
}