/* 
* Integrity Solutions - Main Stylesheet
* Single source of truth for ALL styles
*/

/* ==========================================================================
   CSS Variables - Consistent theming across all pages
   ========================================================================== */
:root {
    /* Color palette */
    --primary-color: #4A90E2;
    --secondary-color: #2C5AA0;
    --dark-blue: #1B3B73;
    --light-blue: #87CEEB;
    --accent-color: #FFA500;
    --white: #ffffff;
    --off-white: #f0f0f0;
    --text-color: #333333;
    
    /* Transitions and effects */
    --transition-speed: 0.3s;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-family: 'Outfit', sans-serif;
    
    /* Spacing */
    --nav-height: 60px;
}

/* ==========================================================================
   Base Reset and Global Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    overflow: hidden;
    height: 100vh;
    background-color: var(--primary-color);
}

/* ==========================================================================
   Scroll Container - Main layout structure
   ========================================================================== */
.scroll-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--off-white);
}

.scroll-container::-webkit-scrollbar {
    width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
    background: var(--off-white);
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 4px;
}

/* ==========================================================================
   Navigation - Fixed header
   ========================================================================== */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 90, 160, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    transition: all var(--transition-speed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 20px;
}

.nav-logo {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    transition: color var(--transition-speed);
}

.nav-logo:hover,
.nav-logo:focus {
    color: var(--light-blue);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
    position: relative;
    padding: 5px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--white);
    transition: width var(--transition-speed);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
    width: 100%;
}

.nav-menu .active {
    color: var(--light-blue);
    font-weight: 700;
}

.nav-cta {
    padding: 10px 20px !important;
    background-color: var(--accent-color);
    color: var(--white) !important;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--accent-color);
}

.nav-cta:hover,
.nav-cta:focus {
    background-color: var(--white);
    color: var(--secondary-color) !important;
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* CSS-only mobile menu using checkbox hack */
#mobile-menu-checkbox {
    display: none;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 3px;
    left: 0;
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

/* When checkbox is checked, show menu and animate hamburger */
#mobile-menu-checkbox:checked ~ .nav-container .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: rgba(44, 90, 160, 0.95);
    padding: 20px;
    backdrop-filter: blur(5px);
    animation: slideDown 0.3s ease;
}

#mobile-menu-checkbox:checked ~ .nav-container .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

#mobile-menu-checkbox:checked ~ .nav-container .hamburger span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-checkbox:checked ~ .nav-container .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Sections - General layout
   ========================================================================== */
section {
    min-height: 100vh;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    position: relative;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Section colors */
.section-blue {
    background: var(--primary-color);
    color: var(--white);
}

.section-dark {
    background: var(--secondary-color);
    color: var(--white);
}

/* Alternating backgrounds for visual distinction */
section:nth-child(even) {
    background-color: var(--secondary-color);
}

section:nth-child(odd) {
    background-color: var(--primary-color);
}

/* ==========================================================================
   Hero Section - Universal styling
   ========================================================================== */
.hero,
#hero,
#scanner-hero {
    background: linear-gradient(135deg, #4A90E2 0%, #2C5AA0 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    padding: 0;
    text-align: center;
}

/* Universal hero headings - LARGER SIZES FOR INDEX */
.hero h1,
.hero-content h1,
#hero h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.contact-container h2,
.thank-you-container h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.hero h2,
.hero-content h2,
#hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.hero p,
.hero-content p,
#hero p {
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    color: var(--white);
}

/* Particle canvas */
#particles,
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================================================
   Section Content with Hover Effects
   ========================================================================== */
.section-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.section-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-speed) ease;
}

.section-icon svg {
    width: 60px;
    height: 60px;
    color: var(--light-blue);
    transition: all var(--transition-speed) ease;
}

.section-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--light-blue);
    transform: scale(1.05);
}

.section-icon:hover svg {
    color: var(--white);
    transform: scale(1.1);
}

.section-content {
    flex: 1;
}

.section-content h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
    color: var(--white);
}

.section-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.section-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--white);
}

/* Show content on hover */
section:hover .section-content h3 {
    opacity: 0.3;
    transform: translateY(-10px);
}

section:hover .section-text {
    opacity: 1;
    transform: translateY(0);
}

/* Exception for contact section - always visible */
#contact h2,
#contact .contact-form,
#contact .contact-container,
.contact-section h2,
.contact-section .contact-form {
    opacity: 1 !important;
    transform: none !important;
}

/* ==========================================================================
   Buttons - Consistent across all pages
   ========================================================================== */
.btn,
.cta-button,
.details-link,
.compliance-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    text-align: center;
}

.btn:hover,
.cta-button:hover,
.details-link:hover,
.compliance-cta:hover {
    background: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.cta-button-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.cta-button-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ==========================================================================
   Forms - Contact and other forms
   ========================================================================== */
.contact-section,
#contact {
    min-height: 100vh;
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4A90E2 0%, #2C5AA0 100%);
    color: var(--white);
}

.contact-container,
.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    width: 90%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--white);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-family);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    font-size: 1.1rem;
    border: 2px solid var(--accent-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--white);
    color: var(--secondary-color);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

/* Consent checkbox */
.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.consent-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
}

.consent-checkbox label {
    display: inline;
    font-size: 0.95rem;
}

/* Honeypot field */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    visibility: hidden;
}

/* ==========================================================================
   Compliance Grid (NIS2 & DORA) - Enhanced Design
   ========================================================================== */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.compliance-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid rgba(255, 165, 0, 0.3);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.compliance-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--light-blue));
}

.compliance-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
    border-color: var(--accent-color);
}

.compliance-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-blue);
    font-weight: 600;
}

/* ==========================================================================
   Privacy Banner & Modal
   ========================================================================== */
#privacy-banner {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(44, 90, 160, 0.95);
    color: var(--white);
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.privacy-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#privacy-banner p {
    margin: 0;
    line-height: 1.5;
    font-size: 1rem;
    flex: 0 1 auto;  /* Allow text to grow but not push button away */
}

.privacy-link {
    color: var(--accent-color);
    text-decoration: underline;
    cursor: pointer;
    transition: color var(--transition-speed) ease;
    display: inline;
}

.privacy-link:hover,
.privacy-link:focus {
    color: var(--light-blue);
}

.privacy-btn {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
    margin-left: 0px;
}

.privacy-btn:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* CSS-only privacy system */
#privacy-accept:checked ~ #privacy-banner {
    display: none;
}

#modal-toggle:checked ~ .privacy-modal {
    display: flex;
}

/* Privacy modal */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: var(--text-color);
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: var(--secondary-color);
}

.modal-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.modal-content h4 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.5rem;
}

/* ==========================================================================
   Copyright Footer
   ========================================================================== */
.copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 90, 160, 0.8);
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    z-index: 9998;
}

/* ==========================================================================
   Scanner Page Specific Styles
   ========================================================================== */
/* Scanner hero - match index page sizing */
#scanner-hero h1 {
    font-size: 4rem !important;
}

#scanner-hero h2 {
    font-size: 2.5rem !important;
}

#scanner-hero p {
    font-size: 1.5rem !important;
}

/* Scanner sections - Keep fade-in hover effect like index page */
#scanner-features,
#scanner-process,
#scanner-cta {
    padding: 5rem 2rem;
}

#scanner-features .section-content,
#scanner-process .section-content,
#scanner-cta .section-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Section headings with hover effect - SAME AS INDEX */
#scanner-features h3,
#scanner-process h3,
#scanner-cta h3 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
    color: var(--white);
}

/* Section text - hidden by default like index */
#scanner-features .section-text,
#scanner-process .section-text,
#scanner-cta .section-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
    margin-top: 0;
}

/* Show content on hover - SAME AS INDEX */
#scanner-features:hover h3,
#scanner-process:hover h3,
#scanner-cta:hover h3 {
    opacity: 0.3;
    transform: translateY(-10px);
}

#scanner-features:hover .section-text,
#scanner-process:hover .section-text,
#scanner-cta:hover .section-text {
    opacity: 1;
    transform: translateY(0);
}

/* Section text paragraphs */
#scanner-features .section-text > p:first-child,
#scanner-process .section-text > p:first-child,
#scanner-cta .section-text > p:first-child {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scanner-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    margin: 2rem 0;
    padding: 0 20px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    text-align: left;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255, 165, 0, 0.2);
    border-radius: 8px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
}

.feature-card h4 {
    position: relative;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
}

.feature-card h4::after {
    display: none; /* Remove the underline for cleaner look */
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    flex-grow: 1;
}

/* Process timeline - Grid layout like features */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    width: 100%;
    margin: 2rem 0;
    padding: 0 20px;
}

.process-step {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-step:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
}

.step-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    flex-grow: 1;
}

/* Statistics cards - Better layout */
.security-stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 3rem auto 2rem;
    max-width: 900px;
    padding: 0 20px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--light-blue));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-desc {
    font-size: 1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA buttons large - Better centered */
.cta-buttons-large {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 2rem auto;
    padding: 0 20px;
}

.cta-button-large {
    padding: 18px 35px;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

/* Thank you page specific */
.thank-you-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 60px);
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 20px;
}

.thank-you-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.thank-you-container p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Main content wrapper for standalone pages */
.main-content-wrapper {
    padding-top: 60px;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 8px;
    z-index: 10001;
    transition: top var(--transition-speed);
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero h1,
    .hero-content h1,
    #hero h1 {
        font-size: 4rem;
    }
    
    .contact-container h2,
    .thank-you-container h1 {
        font-size: 3.5rem;
    }
    
    .hero h2,
    .hero-content h2,
    #hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p,
    .hero-content p,
    #hero p {
        font-size: 1.5rem;
    }
    
    .section-content h3 {
        font-size: 2.7rem;
    }
    
    .section-text p {
        font-size: 1.1rem;
    }
}

/* Responsive adjustments for scanner page */
@media (max-width: 1024px) {
    #scanner-hero h1 {
        font-size: 3.5rem !important;
    }
    
    #scanner-hero h2 {
        font-size: 2.2rem !important;
    }
    
    #scanner-hero p {
        font-size: 1.3rem !important;
    }
    
    #scanner-features h3,
    #scanner-process h3,
    #scanner-cta h3 {
        font-size: 2.7rem;
    }
    
    .scanner-features {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .security-stat-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    #scanner-hero h1 {
        font-size: 3rem !important;
    }
    
    #scanner-hero h2 {
        font-size: 2rem !important;
    }
    
    #scanner-hero p {
        font-size: 1.2rem !important;
    }
    
    #scanner-features h3,
    #scanner-process h3,
    #scanner-cta h3 {
        font-size: 2.5rem;
    }
    
    .scanner-features,
    .process-timeline {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .process-step {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .step-content {
        text-align: left;
    }
    
    .security-stat-cards {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-buttons-large {
        padding: 0 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1002;
    }
    
    .mobile-menu-checkbox {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    #mobile-menu-checkbox:checked ~ .nav-container .nav-menu {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(44, 90, 160, 0.98);
        padding: 20px;
        backdrop-filter: blur(5px);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 10px;
    }
    
    #mobile-menu-checkbox:checked ~ .nav-container .nav-menu a {
        padding: 12px;
        width: 100%;
        text-align: center;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }
    
    #mobile-menu-checkbox:checked ~ .nav-container .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .hero h1,
    .hero-content h1,
    #hero h1 {
        font-size: 3.5rem;
    }
    
    .contact-container h2,
    .thank-you-container h1 {
        font-size: 3rem;
    }
    
    .hero h2,
    .hero-content h2,
    #hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p,
    .hero-content p,
    #hero p {
        font-size: 1.3rem;
    }
    
    .section-content h3 {
        font-size: 2.5rem;
    }
    
    .section-layout {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-container {
        padding: 30px 20px;
        margin: 20px;
        width: calc(100% - 40px);
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .security-stat-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero h1,
    .hero-content h1,
    #hero h1 {
        font-size: 3rem;
    }
    
    .contact-container h2,
    .thank-you-container h1 {
        font-size: 2.5rem;
    }
    
    .hero h2,
    .hero-content h2,
    #hero h2 {
        font-size: 2rem;
    }
    
    .hero p,
    .hero-content p,
    #hero p {
        font-size: 1.2rem;
    }
    
    .section-content h3 {
        font-size: 2rem;
    }
    
    #scanner-hero h1 {
        font-size: 2.5rem !important;
    }
    
    #scanner-hero h2 {
        font-size: 1.8rem !important;
    }
    
    #scanner-hero p {
        font-size: 1.1rem !important;
    }
    
    #scanner-features h3,
    #scanner-process h3,
    #scanner-cta h3 {
        font-size: 2rem;
    }
    
    .btn,
    .cta-button {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button-large {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .process-timeline {
        gap: 40px;
    }
}

/* Print styles */
@media print {
    .scroll-container {
        height: auto;
        overflow: visible;
        scroll-snap-type: none;
    }
    
    section {
        height: auto;
        page-break-inside: avoid;
        background-color: white !important;
        color: black !important;
        margin-bottom: 20px;
    }
    
    #privacy-banner,
    .copyright,
    .hero-buttons,
    .contact-form button,
    .main-nav {
        display: none !important;
    }
    
    .section-text,
    .feature-card,
    .process-step,
    .stat-card {
        opacity: 1;
        position: relative;
        transform: none;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8rem;
    }
}