/* ========== PHILOSOPHY SECTION ========== */

.philosophy-section {
    position: relative;
    z-index: 10;
    padding: 8rem 2rem;
    overflow: hidden;
}

.philosophy-bg-accent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(138, 100, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: philosophyPulse 10s ease-in-out infinite;
}

.philosophy-header {
    text-align: center;
    margin-bottom: 4rem;
}

.philosophy-title {
    position: relative;
    display: inline-block;
}

.philosophy-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Manifesto Card */
.manifesto-card {
    background: linear-gradient(135deg, rgba(138, 100, 255, 0.1), rgba(255, 100, 180, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.manifesto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: manifestoShine 8s ease-in-out infinite;
}

.manifesto-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(138, 100, 255, 0.3), rgba(255, 100, 180, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconFloat 4s ease-in-out infinite;
}

.manifesto-icon svg {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.manifesto-quote {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 600;
    line-height: 1.6;
    background: linear-gradient(135deg, #ffffff, #d0d0ff, #ffb8d9);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: quoteGradient 6s ease-in-out infinite;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.manifesto-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.7);
    max-width: 800px;
    margin: 0 auto;
}

/* Philosophy Grid */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.philosophy-card {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.philosophy-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(138, 100, 255, 0.15), rgba(255, 100, 180, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.philosophy-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(138, 100, 255, 0.15);
}

.philosophy-card:hover .philosophy-card-glow {
    opacity: 1;
}

.philosophy-card:hover .philosophy-icon-bg {
    transform: scale(1.3);
}

.philosophy-card:hover .philosophy-icon {
    transform: scale(1.1);
}

.philosophy-card-content {
    position: relative;
    z-index: 1;
}

.philosophy-icon-wrapper {
    position: relative;
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
}

.philosophy-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(138, 100, 255, 0.25), rgba(255, 100, 180, 0.2));
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.philosophy-icon {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 14px;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.5s ease;
}

.philosophy-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #ffffff, #d0d0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.philosophy-card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* Each card with different accent color on hover */
.philosophy-card[data-philosophy="1"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(100, 200, 255, 0.2);
}

.philosophy-card[data-philosophy="1"]:hover .philosophy-icon-bg {
    background: linear-gradient(135deg, rgba(100, 200, 255, 0.35), rgba(138, 100, 255, 0.25));
}

.philosophy-card[data-philosophy="2"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 200, 100, 0.2);
}

.philosophy-card[data-philosophy="2"]:hover .philosophy-icon-bg {
    background: linear-gradient(135deg, rgba(255, 200, 100, 0.35), rgba(255, 150, 80, 0.25));
}

.philosophy-card[data-philosophy="3"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(180, 100, 255, 0.2);
}

.philosophy-card[data-philosophy="3"]:hover .philosophy-icon-bg {
    background: linear-gradient(135deg, rgba(180, 100, 255, 0.35), rgba(100, 150, 255, 0.25));
}

.philosophy-card[data-philosophy="4"]:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(255, 100, 150, 0.25);
}

.philosophy-card[data-philosophy="4"]:hover .philosophy-icon-bg {
    background: linear-gradient(135deg, rgba(255, 100, 150, 0.4), rgba(255, 80, 120, 0.3));
}

/* Closing Section */
.philosophy-closing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.closing-line {
    flex: 1;
    max-width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 100, 255, 0.5), transparent);
}

.closing-text {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    letter-spacing: 0.02em;
}

.closing-highlight {
    font-weight: 700;
    background: linear-gradient(135deg, #b8b8ff, #ffb8d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}