/* CSS Custom Properties - Grayscale Design System */
:root {
    --color-darkest: #484848;    /* Headlines, primary elements */
    --color-dark: #6e6e6e;       /* Primary text, navigation */
    --color-medium: #939393;     /* Secondary text, labels */
    --color-light: #999999;      /* Tertiary text, subtle elements */
    --color-lighter: #cccccc;    /* Borders, dividers */
    --color-lightest: #f0f0f0;   /* Background areas, cards */
    --color-white: #ffffff;      /* Main background */
    
    /* Typography variables */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    
    /* Transition variables */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: var(--font-weight-light);
    line-height: 1.6;
    color: var(--color-medium);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    padding: 40px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
}

.logo-container {
    display: inline-block;
    margin-bottom: 0;
}

.logo {
    height: 200px;
    width: auto;
    max-width: 100%;
}

/* Navigation */
.main-navigation {
    margin-bottom: 0;
}

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

.nav-item {
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: var(--font-weight-normal);
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 0;
    transition: var(--transition-normal);
    position: relative;
}

.nav-link:hover {
    color: var(--color-darkest);
    background-color: var(--color-lightest);
    transform: translateY(-1px);
}

.nav-link:focus {
    outline: 2px solid var(--color-dark);
    outline-offset: 2px;
    background-color: var(--color-lightest);
}

.nav-link.active {
    color: var(--color-darkest);
    font-weight: var(--font-weight-medium);
    border-bottom: 2px solid var(--color-dark);
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 3px 0;
}

/* Text Section */
.text-section {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    margin-bottom: 100px;
}

.text-content {
    max-width: 100%;
}

.text-content p {
    font-size: 16px;
    font-weight: var(--font-weight-light);
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--color-medium);
    width: 100%;
}

.text-content p:last-child {
    margin-bottom: 10px;
}

/* Hero Value Proposition */
.hero-value-prop {
    background: var(--color-lightest);
    border-radius: 0;
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    border: 1px solid var(--color-lighter);
}

.hero-value-prop h2 {
    font-size: 32px;
    font-weight: var(--font-weight-semibold);
    color: var(--color-darkest);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-value-prop p {
    font-size: 18px;
    font-weight: var(--font-weight-normal);
    color: var(--color-medium);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* A4A Logo Section */
.a4a-logo-section {
    text-align: left;
    padding: 0px 0;
    margin-top: 0px;
}

.a4a-logo {
    height: 50px;
    width: auto;
    max-width: 100%;
}

/* Animation Section */
.animation-section {
    width: 100%;
    margin-top: 0px;
}

.animation-container {
    width: 100%;
    height: 700px;
    min-width: 100%;
    min-height: 600px;
    border-radius: 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

/* Footer */
.footer {
    padding: 40px 0 30px 0;
    border-top: 1px solid var(--color-lighter);
    margin-top: 0px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 15px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 14px;
    font-weight: var(--font-weight-light);
    color: var(--color-dark);
    line-height: 1.4;
}

.social-links .contact-value {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: var(--color-dark);
    text-decoration: none;
    font-weight: var(--font-weight-normal);
    padding: 8px 16px;
    border: 2px solid var(--color-dark);
    border-radius: 0;
    transition: var(--transition-normal);
}

.social-link:hover {
    background-color: var(--color-darkest);
    color: var(--color-white);
    border-color: var(--color-darkest);
    transform: translateY(-1px);
    text-decoration: none;
}

.social-link:focus {
    outline: 2px solid var(--color-dark);
    outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        gap: 3px;
        padding: 3px 0;
    }
    
    .animation-container {
        height: 500px;
        min-height: 400px;
    }
    
    .text-content p {
        font-size: 15px;
    }
    
    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px 10px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .logo {
        height: 160px;
    }
    
    .a4a-logo {
        height: 250px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 15px;
        padding: 8px 16px;
    }
    
    .hero-value-prop {
        padding: 30px 20px;
        margin: 30px 0;
    }
    
    .hero-value-prop h2 {
        font-size: 26px;
    }
    
    .hero-value-prop p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 20px 0 0px 0;
    }
    
    .main-content {
        padding: 12px 0;
        gap: 10px;
    }
    
    .animation-container {
        height: 400px;
        min-height: 300px;
    }
    
    .text-content p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .footer {
        padding: 30px 0 20px 0;
        margin-top: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .logo {
        height: 140px;
    }
    
    .a4a-logo {
        height: 200px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .hero-value-prop {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .hero-value-prop h2 {
        font-size: 22px;
    }
    
    .hero-value-prop p {
        font-size: 15px;
    }
}

/* Animation specific styles */
#connected-points-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#connected-points-container canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
} 