/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body - Default for all pages */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Homepage specific - body with background image */
body.homepage {
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url('../frontpage.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Security test page specific - gradient background */
body.security-test {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

/* Fallback background for homepage */
.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff44ff 0%, #ff5500 100%);
    z-index: -1;
}

/* Main Container */
.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* Homepage container - transparent */
.container.homepage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
    background: transparent;
    box-shadow: none;
}

/* Logo Container */
.logo-container {
    margin-top: 5.24vh;
    width: 80%;
    max-width: 800px;
    margin-bottom: 60px;
}

.logo {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 1;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

/* Text Boxes with semi-transparent background */
.text-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 40px 50px;
    margin: 20px 0;
    width: 80%;
    max-width: 900px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Main Heading */
.main-heading {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Company Info Box */
.company-info {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.company-info h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.company-info p {
    margin: 10px 0;
}

.company-info a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: border-color 0.3s ease;
}

.company-info a:hover {
    border-bottom-color: #ffffff;
}

/* Security Test Page Styles */
header {
    background: #2c3e50;
    color: white;
    padding: 30px;
    text-align: center;
}

header h1 {
    font-size: 2em;
    margin-bottom: 10px;
}

header p {
    opacity: 0.9;
    font-size: 1.1em;
}

.content {
    padding: 40px;
}

.test-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    border-radius: 5px;
}

.test-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.test-section p {
    margin-bottom: 10px;
    color: #555;
}

.test-section ul {
    margin-left: 20px;
    color: #555;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    margin: 5px 5px 5px 0;
}

.status.pass {
    background: #d4edda;
    color: #155724;
}

.status.info {
    background: #d1ecf1;
    color: #0c5460;
}

.test-links {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;