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

html {
    height: 100%;
    overflow: hidden;
}

:root {
    --bg-color: #314329;
    --text-color: #ffffff;
    --primary-color: #314329;
    --primary-hover: #253520;
    --accent-color: #ffffff;
    --accent-hover: #f0f0f0;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --border-color: rgba(255, 255, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
}

/* Logo Header */
.logo-header {
    position: relative;
    padding: 2rem;
    z-index: 100;
    background-color: rgba(49, 67, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    transition: border-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    flex-shrink: 0;
    height: auto;
}

#header-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.logo-header .logo {
    position: relative;
    z-index: 1;
}

.logo {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #ffffff;
    letter-spacing: 0.05em;
    font-weight: 900;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 0;
    height: auto;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
    animation: fadeIn 0.6s ease-out;
    overflow: hidden;
}

/* Footer */
.site-footer {
    flex-shrink: 0;
    padding: 0.75rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(0, 0, 0, 0.1);
}

.footer-text {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: var(--text-secondary);
    margin: 0;
}

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

/* Left Side - Information Section */
.info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.headline {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

.trust-line {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* Right Side - Action Section */
.action-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 600;
    color: var(--primary-color);
    background-color: var(--accent-color);
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 56px;
    min-width: 200px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50%;
    background-color: transparent;
}

.social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .social-link:hover {
        transform: none;
    }
}

.social-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 50%;
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design - Tablet */
@media (max-width: 968px) {
    .container {
        gap: 3rem;
        padding: 1.5rem;
    }
    
    .headline {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
}

/* Email Message */
.email-message {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .logo-header {
        padding: 1.25rem 1.5rem;
        border-bottom-width: 1.5px;
    }
    
    .logo {
        font-size: clamp(1.75rem, 5vw, 2rem);
        letter-spacing: 0.08em;
    }
    
    .container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.25rem 1.5rem;
        height: calc(100vh - var(--header-height-mobile, 75px));
        justify-content: center;
        overflow: hidden;
    }
    
    .info-section {
        text-align: center;
        align-items: center;
        max-width: 100%;
        gap: 1.25rem;
        width: 100%;
        flex-shrink: 0;
    }
    
    .headline {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        line-height: 1.2;
        margin-bottom: 0.5rem;
        letter-spacing: -0.01em;
    }
    
    .description {
        max-width: 100%;
        font-size: clamp(0.9375rem, 2.5vw, 1.0625rem);
        line-height: 1.6;
        padding: 0;
    }
    
    .trust-line {
        font-size: clamp(0.8125rem, 2vw, 0.9375rem);
        margin-top: 0;
        padding: 0.625rem 1rem;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 0.5rem;
        display: inline-block;
    }
    
    .action-section {
        width: 100%;
        gap: 1.75rem;
        padding-top: 0;
        flex-shrink: 0;
    }
    
    .email-message {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        line-height: 1.6;
        max-width: 100%;
        margin: 0 auto 1.5rem;
        padding: 1rem 1.25rem;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .social-links {
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
        padding: 0;
    }
    
    .social-link {
        width: 52px;
        height: 52px;
        background-color: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .social-link:active {
        transform: scale(0.95);
        background-color: rgba(255, 255, 255, 0.15);
    }
    
    .social-link svg {
        width: 26px;
        height: 26px;
    }
    
    .site-footer {
        padding: 0.625rem 1.5rem;
    }
    
    .footer-text {
        font-size: 0.75rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .logo-header {
        padding: 1rem 1.25rem;
    }
    
    .logo {
        font-size: clamp(1.5rem, 6vw, 1.75rem);
    }
    
    .container {
        padding: 1.25rem 1rem;
        height: calc(100vh - var(--header-height-small, 65px));
        gap: 1.75rem;
    }
    
    .info-section {
        gap: 1.125rem;
    }
    
    .headline {
        font-size: clamp(1.5rem, 7vw, 1.875rem);
        line-height: 1.2;
        margin-bottom: 0.375rem;
    }
    
    .description {
        font-size: clamp(0.875rem, 3vw, 1rem);
        line-height: 1.6;
        padding: 0;
    }
    
    .trust-line {
        font-size: clamp(0.75rem, 2vw, 0.875rem);
        padding: 0.5rem 0.875rem;
        margin-top: 0;
    }
    
    .action-section {
        gap: 1.5rem;
        padding-top: 0;
    }
    
    .email-message {
        font-size: clamp(0.8125rem, 3vw, 0.9375rem);
        padding: 0.875rem 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.55;
    }
    
    .social-links {
        gap: 1.25rem;
        padding: 0;
    }
    
    .social-link {
        width: 48px;
        height: 48px;
    }
    
    .social-link svg {
        width: 24px;
        height: 24px;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .logo-header {
        padding: 0.875rem 1rem;
    }
    
    .container {
        padding: 1rem 0.875rem;
        height: calc(100vh - var(--header-height-xs, 60px));
        gap: 1.5rem;
    }
    
    .info-section {
        gap: 1rem;
    }
    
    .headline {
        font-size: 1.375rem;
        margin-bottom: 0.25rem;
    }
    
    .description {
        font-size: 0.875rem;
    }
    
    .trust-line {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .action-section {
        gap: 1.25rem;
    }
    
    .email-message {
        padding: 0.75rem;
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
}

/* 404 Page Styles */
.info-section a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.info-section a:hover {
    opacity: 0.8;
}

/* Print Styles */
@media print {
    body {
        overflow: visible;
        height: auto;
    }
    
    .container {
        height: auto;
        page-break-inside: avoid;
    }
}
