.philosophy-page {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    min-height: 100vh;
    color: #fff;
}

.philosophy-container {
    padding-top: 100px;
    padding-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.philosophy-card {
    position: relative;
    height: 250px;
    perspective: 1000px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.5s ease forwards;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 123, 255, 0.3);
    backdrop-filter: blur(5px);
}

.card-inner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.card-inner:hover::before {
    opacity: 1;
}

.card-inner::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(
        135deg,
        rgba(0, 123, 255, 0.5),
        rgba(0, 123, 255, 0.2)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.philosophy-card h2 {
    color: #007bff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.philosophy-card p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.5;
    opacity: 0.9;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.philosophy-card.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .philosophy-container {
        padding: 80px 1rem 2rem;
    }

    .title {
        font-size: 2rem;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .philosophy-card {
        height: auto;
        min-height: 200px;
    }

    .philosophy-card h2 {
        font-size: 1.5rem;
    }

    .philosophy-card p {
        font-size: 1rem;
    }
} 