/* FINAL HERO FIX - Making it actually good */

/* Fix washed out navbar */
.navbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: white !important;
    backdrop-filter: none !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    z-index: 9999 !important;
}

/* Override the nav wrapper opacity issue */
.nav-wrapper {
    opacity: 1 !important;
    background: none !important;
    position: relative !important;
    pointer-events: auto !important;
}

/* Ensure nav container is visible and properly contained */
.nav-container {
    background: transparent !important;
    position: relative !important;
    z-index: 10 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 1rem 1.5rem !important;
}

/* Fix nav links to be clickable - Desktop only */
@media (min-width: 769px) {
    .nav-menu {
        position: relative !important;
        z-index: 100 !important;
        pointer-events: auto !important;
    }
}

.nav-link {
    position: relative !important;
    z-index: 100 !important;
    display: inline-block !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.nav-cta {
    position: relative !important;
    z-index: 100 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure all nav elements are clickable */
.navbar * {
    pointer-events: auto !important;
}

/* Better hero with actual visual interest */
.hero {
    min-height: auto;
    padding: 160px 0 50px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #64748b 100%);
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
}

.hero-background {
    display: none; /* Remove the bland background */
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Left-align the main content for better readability */
.hero-main {
    max-width: 100%;
    margin: 0;
    text-align: left;
}

/* Better title treatment */
.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.title-main {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    font-size: 0.5em;
    margin-bottom: 0.1em;
    letter-spacing: 0.02em;
}

.title-gradient {
    display: block;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-transform: none;
    letter-spacing: -0.02em;
    position: relative;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
}

/* Subtitle with better styling */
.hero-subtitle {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.3;
}

/* Description with better layout */
.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 700px;
    font-weight: 400;
}

/* Better button */
.hero-actions .btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #334155;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

.hero-actions .btn-primary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Remove the duplicate feature cards */
.hero-features {
    display: none !important;
}

/* Remove the visual blob - just clean gradient background */
.hero-visual {
    display: none;
}

/* Add interesting angle to philosophy section */
.philosophy {
    position: relative;
    margin-top: 0;
    padding-top: 80px;
    background: white;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    transform: skewY(-2deg);
    transform-origin: top right;
    z-index: -1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    /* Fix mobile nav menu positioning */
    .nav-menu {
        position: fixed !important;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
    }
    
    .hero {
        padding: 140px 0 50px 0;
    }
    
    .hero-main {
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        display: none;
    }
    
    .philosophy::before {
        display: none;
    }
    
    .philosophy {
        margin-top: 0;
        padding-top: 4rem;
    }
}