/* ========================================
   ABOUT PAGE - MODERN & AWARD-WINNING DESIGN
   ======================================== */

/* Hero Section */
.about-hero {
    position: relative;
    padding: 80px 40px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(245, 87, 108, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-top: 20px;
}

/* Floating Cards Animation - Modern Morph */
.hero-decorative {
    position: relative;
    height: 400px;
    z-index: 2;
}

.floating-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    animation-duration: 6s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.card-1 {
    top: 0;
    left: 0;
    animation: float-morph-1 6s ease-in-out infinite;
}

.card-2 {
    top: 140px;
    right: 0;
    animation: float-morph-2 7s ease-in-out infinite;
}

.card-3 {
    bottom: 0;
    left: 80px;
    animation: float-morph-3 8s ease-in-out infinite;
}

/* Modern Floating Animations with Morphing */
@keyframes float-morph-1 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-40px) translateX(20px) rotate(15deg) scale(1.05);
    }
    50% {
        transform: translateY(-60px) translateX(-10px) rotate(30deg) scale(1);
    }
    75% {
        transform: translateY(-20px) translateX(30px) rotate(15deg) scale(1.05);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
}

@keyframes float-morph-2 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(30px) translateX(-25px) rotate(-20deg) scale(1.08);
    }
    50% {
        transform: translateY(50px) translateX(15px) rotate(-40deg) scale(1);
    }
    75% {
        transform: translateY(10px) translateX(-35px) rotate(-20deg) scale(1.08);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
}

@keyframes float-morph-3 {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-25px) translateX(-30px) rotate(25deg) scale(1.06);
    }
    50% {
        transform: translateY(-45px) translateX(20px) rotate(50deg) scale(1);
    }
    75% {
        transform: translateY(-10px) translateX(-40px) rotate(25deg) scale(1.06);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    }
}

/* About Content Section */
.about-content {
    margin: 80px 0;
    position: relative;
    z-index: 1;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.intro-highlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.highlight-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #667eea, #764ba2);
    transition: height 0.4s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.highlight-item:hover::before {
    height: 100%;
}

.highlight-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.highlight-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 60px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.3) rotate(12deg);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Credits Section */
.credits-section {
    margin: 80px 0;
    position: relative;
    z-index: 1;
}

.credits-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.credits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.credit-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.credit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.credit-card.primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15), rgba(118, 75, 162, 0.15));
    border-color: rgba(102, 126, 234, 0.3);
}

.credit-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.credit-card:hover::before {
    transform: scaleX(1);
}

.credit-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.credit-card:hover .credit-icon {
    animation: none;
    transform: scale(1.2) rotate(-10deg);
    transition: transform 0.4s ease;
}

.credit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.credit-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 600;
}

.credit-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* AI Assistance Section */
.ai-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 50px 40px;
    margin-top: 60px;
}

.ai-section h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.ai-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    line-height: 1.7;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.ai-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ai-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.ai-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-card:hover .ai-icon {
    transform: scale(1.3) rotate(15deg);
}

.ai-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.ai-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Tech Stack Section */
.tech-stack-section {
    margin: 80px 0;
    position: relative;
    z-index: 1;
}

.tech-stack-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-item::after {
    content: '';
    position: absolute;
    top: -100%;
    right: -100%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.tech-item:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.tech-item:hover::after {
    top: 50%;
    right: 50%;
    width: 300px;
    height: 300px;
}

.tech-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.tech-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.tech-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Philosophy Section */
.philosophy-section {
    margin: 80px 0;
    position: relative;
    z-index: 1;
}

.philosophy-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 28px;
    padding: 60px;
    text-align: center;
}

.philosophy-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
}

.philosophy-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pillar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 30px 25px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 18px 18px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.pillar:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.pillar:hover::before {
    transform: scaleX(1);
}

.pillar-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: block;
}

.pillar h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.pillar p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Final Message Section */
.final-message {
    margin: 80px 0 60px;
    position: relative;
    z-index: 1;
}

.message-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(245, 87, 108, 0.2));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 28px;
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.message-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2), transparent 70%);
    border-radius: 50%;
    animation: float-up 3s ease-in-out infinite;
}

@keyframes float-up {
    0%, 100% {
        top: -100%;
    }
    50% {
        top: 50%;
    }
}

.message-card h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.message-card p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
}

.cta-button:active {
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
    .about-hero {
        grid-template-columns: 1fr;
        padding: 60px 30px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .about-intro {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .philosophy-content {
        padding: 50px 40px;
    }

    .message-card {
        padding: 50px 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-hero {
        padding: 40px 20px;
        margin: 15px 0;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-decorative {
        height: 300px;
    }

    .floating-card {
        width: 100px;
        height: 100px;
        font-size: 2.2rem;
    }

    .intro-text h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .credits-grid {
        grid-template-columns: 1fr;
    }

    .ai-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .philosophy-pillars {
        grid-template-columns: 1fr;
    }

    .philosophy-content {
        padding: 40px 25px;
    }

    .philosophy-content h2 {
        font-size: 2rem;
    }

    .message-card {
        padding: 40px 25px;
    }

    .message-card h2 {
        font-size: 2rem;
    }

    .message-card p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 14px 35px;
        font-size: 1rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .intro-text h2 {
        font-size: 1.5rem;
    }

    .credits-section h2 {
        font-size: 1.8rem;
    }

    .philosophy-content h2 {
        font-size: 1.6rem;
    }

    .message-card h2 {
        font-size: 1.6rem;
    }

    .floating-card {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }
}
