/* Aufbau Technologies - Design System */

:root {
    --primary-blue: #0088FF;
    --dark-blue: #0000CC;
    --cyan: #00FFFF;
    --accent-green: #99CC00;
    
    --bg-primary: #FFFFFF;
    --bg-highlight: #F4FAFF;
    
    --text-primary: #000000;
    --text-secondary: #555555;
    
    --font-family: Calibri, 'Segoe UI', Arial, sans-serif;
    
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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



/* Typography */
h1 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight {
    color: var(--primary-blue);
}

.bold-highlight {
    font-weight: 700;
    color: var(--primary-blue);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 136, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-logo {
    height: 44px;
    object-fit: contain;
}

.nav-cta {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px; /* Stadium button */
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--primary-blue);
    color: var(--bg-primary);
}

/* Button Component */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* Layout & Containers */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-section {
    padding: 120px 0;
    background-color: var(--bg-primary);
    position: relative;
    z-index: 2; /* To sit on top of the hero */
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-height);
    background-color: var(--bg-primary);
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 650px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 30px;
}

.hero-description {
    margin: 0 0 40px 0;
}

.hero-description p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--text-secondary);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Feature Grid */
.section-title {
    color: var(--primary-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--primary-blue);
    border-radius: 8px; /* Rounded rectangles */
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.feature-card h3 {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    height: 5rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #333333;
}

.feature-card p {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    margin-bottom: 0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 136, 255, 0.1);
    background-color: #F4FAFF;
}

/* CTA Section */
.cta-section {
    background-color: var(--bg-highlight);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--bg-primary);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 30px;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 136, 255, 0.1);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    z-index: 999;
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-cta {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    text-align: center;
}

/* Hamburger animations */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-actions {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .nav-container {
        padding: 0 20px;
    }
    .container {
        padding: 0 20px;
    }
    .hero-layout {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .hero-content {
        padding: 0 20px;
        text-align: center;
    }
    .hero-image {
        display: none;
    }
}
