:root {
    --primary-bg: #050505; /* Deep black */
    --secondary-bg: rgba(255, 255, 255, 0.03); /* Glass base */
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;
    --gold-accent: #d4af37;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    --gold-glow: rgba(212, 175, 55, 0.2);
    --glass-border: 1px solid rgba(212, 175, 55, 0.15);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --hover-shadow: 0 12px 40px 0 rgba(212, 175, 55, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--primary-bg);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.04) 0%, transparent 50%);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

header {
    text-align: center;
    padding-top: 5rem;
    padding-bottom: 4rem;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

h1 { 
    margin-bottom: 0.5rem; 
    font-weight: 700; 
    letter-spacing: -0.025em; 
    font-size: 2.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h2 { 
    font-weight: 300; 
    color: var(--text-muted); 
    font-size: 1.2rem; 
    margin-top: 0; 
    letter-spacing: 0.05em;
}
h3 { 
    color: var(--gold-accent); 
    border-bottom: 1px solid rgba(212, 175, 55, 0.2); 
    padding-bottom: 0.75rem; 
    margin-top: 2rem; 
    font-weight: 600; 
    letter-spacing: 0.02em;
}

.intro {
    max-width: 750px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 300;
}

.glass-card, .project-card, .feature-box {
    background: var(--secondary-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before, .project-card::before, .feature-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-card:hover, .project-card:hover, .feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(212, 175, 55, 0.4);
}

.glass-card:hover::before, .project-card:hover::before, .feature-box:hover::before {
    opacity: 1;
}

.glass-card h4, .project-card h4, .feature-box h4 {
    color: var(--text-main);
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.custom-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
        "genai anim cloud"
        "software anim strategic";
}

.card-genai { grid-area: genai; }
.card-cloud { grid-area: cloud; }
.card-software { grid-area: software; }
.card-strategic { grid-area: strategic; }
.animation-box { grid-area: anim; }

@media (max-width: 1000px) {
    .custom-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "anim"
            "genai"
            "cloud"
            "software"
            "strategic";
    }
}

.btn, .btn-primary {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000;
    padding: 0.7rem 1.8rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--gold-glow);
    border: none;
    cursor: pointer;
}

.btn:hover, .btn-primary:hover { 
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    filter: brightness(1.1);
}

.btn-disabled {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 0.7rem 1.8rem;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 1rem;
    cursor: not-allowed;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}

.contact-list {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
}

.contact-list li {
    margin-bottom: 0.8rem;
}

.contact-list strong {
    color: var(--gold-accent);
    margin-right: 0.5rem;
}

.contact-list a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--gold-accent);
    text-decoration: underline;
}

.cta-section { 
    text-align: center; 
    margin-top: 4rem; 
    padding: 4rem 1.5rem; 
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px; 
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 8px 32px 0 rgba(0,0,0,0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.back-link { 
    color: var(--gold-accent); 
    text-decoration: none; 
    display: inline-flex;
    align-items: center;
    margin-bottom: 1.5rem; 
    font-size: 0.95rem; 
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover { 
    color: #fff;
    transform: translateX(-4px);
}

footer { 
    text-align: center; 
    color: var(--text-muted); 
    font-size: 0.85rem; 
    margin-top: 3rem; 
    padding-bottom: 2rem; 
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
}

/* --- Added Styles for Layout & Animations --- */

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.header-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.logo {
    width: 140px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.4);
}

.liquid-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: -1;
    background-image: url('assets/images/liquid_gold.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    opacity: 0.3;
    animation: liquidFlow 30s ease-in-out infinite alternate;
    mask-image: linear-gradient(to right, black 20%, transparent 80%);
    -webkit-mask-image: linear-gradient(to right, black 20%, transparent 80%);
}

@keyframes liquidFlow {
    0% { transform: scale(1) translateY(0); filter: brightness(0.8) hue-rotate(0deg); }
    100% { transform: scale(1.1) translateY(-2%); filter: brightness(1.2) hue-rotate(5deg); }
}

.full-width {
    grid-column: 1 / -1;
}

.animation-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.brain-animation-container {
    width: 100%;
    max-width: 400px;
    margin: 1.5rem auto 1rem;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.brain-img {
    width: 100%;
    height: auto;
    display: block;
    animation: brainPulse 4s infinite alternate ease-in-out;
}

@keyframes brainPulse {
    0% { filter: brightness(0.9) contrast(1.1); transform: scale(1); }
    100% { filter: brightness(1.2) contrast(1.2) drop-shadow(0 0 15px rgba(212, 175, 55, 0.4)); transform: scale(1.02); }
}
