/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Font declarations */
@font-face {
    font-family: 'Clash Grotesk';
    src: url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Extralight.woff2') format('woff2'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Extralight.woff') format('woff'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Light.woff2') format('woff2'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Light.woff') format('woff'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Regular.woff2') format('woff2'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Regular.woff') format('woff'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Medium.woff2') format('woff2'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Medium.woff') format('woff'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Semibold.woff2') format('woff2'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Semibold.woff') format('woff'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Bold.woff2') format('woff2'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Bold.woff') format('woff'),
         url('./fonts/ClashGrotesk_Complete/Fonts/WEB/fonts/ClashGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Clash Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header styles */
.header {
    background-color: transparent;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-container {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 1rem);
    max-width: 1400px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 4vw;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .logo-image {
        height: 2rem;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 1.8rem;
    }
}

/* Keep old text-based logo styles for backward compatibility if needed */
.logo-compound {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #000000;
}

.logo-life {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #000000;
    position: relative;
    top: -0.2rem;
}

/* Main content styles */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
    display: block;
}

.hero-section {
    border-radius: 1rem;
    margin: 0.2rem auto;
    width: calc(100% - 1rem);
    max-width: 1400px;
    padding: 0;
    overflow: hidden;
    min-height: calc(100vh - 100px);
}

.hero-container {
    background-image: url('assets/herobg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: inherit;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container::before {
    content: none;
}

@keyframes waterDrops {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.4rem;
    margin-bottom: 3.5rem;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.02em;
    min-width: 140px;
}

.cta-primary, .cta-secondary {
    background-color: #AFFB00;
    color: #000000;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(175, 251, 0, 0.3);
}

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

.cta-button:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-container {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.8rem;
        height: auto;
        min-height: 3.5rem;
    }
    
    .navigation {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
        border-radius: 0.4rem;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    
    .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    .logo-compound {
        font-size: 1.5rem;
    }
    
    .logo-life {
        font-size: 1rem;
    }
    
    .hero-section {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 3rem 2rem;
        border-radius: 1.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 1.2rem 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.5rem 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: transparent;
    }
    
    .header-container {
        padding: 0.8rem 1rem;
        gap: 0;
        min-height: auto;
        background: #ffffff;
        border-radius: 50px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        justify-content: center;
        align-items: center;
        width: calc(100% - 1rem);
        margin: 0 auto;
    }
    
    .navigation {
        display: none;
    }
    
    .logo {
        justify-content: center;
        width: 100%;
    }
    
    .logo-compound {
        font-size: 1.8rem;
        color: #000000;
        font-weight: 700;
    }
    
    .logo-life {
        font-size: 1rem;
        color: #000000;
        background: transparent;
        padding: 0;
        border-radius: 0;
        border: none;
        margin-left: 0.3rem;
        font-weight: 400;
    }
    
    .main-content {
        padding-top: 80px;
    }
    
    .hero-section {
        min-height: 100vh;
        margin: 0;
        width: 100%;
        border-radius: 0;
    }
    
    .hero-container {
        padding: 4rem 1.5rem;
        border-radius: 0;
        min-height: 100vh;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        text-align: left;
        line-height: 1.4;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .cta-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .cta-button {
        border: 2px solid #000000;
    }
    
    .hero-container {
        border: 2px solid #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-container::before {
        animation: none;
    }
    
    .cta-button {
        transition: none;
    }
}

/* Focus visible for keyboard navigation */
.cta-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}
