* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0f0c1d;
    min-height: 100vh;
}

.bg-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(-45deg, #0f0c1d, #1a1040, #0d1b4b, #1a0533);
    background-size: 400% 400%;
    animation: bgShift 25s ease infinite;
}

@keyframes bgShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.75;
    will-change: transform;
}

.blob-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #667eea, transparent 70%);
    top: -15%;
    left: -10%;
}

.blob-2 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, #9333ea, transparent 70%);
    top: 15%;
    right: -15%;
}

.blob-3 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #ec4899, transparent 70%);
    bottom: 5%;
    left: 15%;
}

.blob-4 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #4facfe, transparent 70%);
    top: 45%;
    left: 38%;
}

.blob-5 {
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, #764ba2, transparent 70%);
    bottom: -10%;
    right: 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    flex: 1;
}

.nav-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                opacity 0.4s ease,
                filter 0.4s ease,
                background 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background: rgba(255,255,255,1);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-card .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.property-card .card-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
}

.personal-card .card-icon {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.redefine-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    padding: 0.5rem 0;
}

.redefine-logo svg {
    width: 160px;
    height: auto;
}

.profile-photo {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto 1.25rem;
    display: block;
    border: 3px solid rgba(67, 233, 123, 0.4);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.card-description {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.card-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card-link {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.card-link:hover::before {
    left: 100%;
}

.card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.property-card .card-link {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.property-card .card-link:hover {
    box-shadow: 0 8px 20px rgba(79, 172, 254, 0.4);
}

.personal-card .card-link {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.personal-card .card-link:hover {
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.4);
}

.footer {
    text-align: center;
    padding: 2rem 0;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: auto;
}

@media (min-width: 769px) {
    .navigation-grid:hover .nav-card {
        transform: scale(0.92);
        opacity: 0.65;
        filter: blur(1.5px);
    }

    .navigation-grid:hover .nav-card:hover {
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
        filter: blur(0);
        z-index: 2;
        box-shadow: 0 28px 55px rgba(0,0,0,0.22);
        background: rgba(255,255,255,1);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .navigation-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .nav-card {
        padding: 2rem;
    }
    
    .hero {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-card {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
}