:root {
    --primary-color: #ffffff;
    --accent-color: #2563eb;
    --secondary-accent: #7c3aed;
    --bg-color: #f8fafc;
    --text-color: #1e293b;
    --card-bg: rgba(255, 255, 255, 0.9);
    --neon-shadow: 0 0 10px rgba(37, 99, 235, 0.3);
    --heading-color: #1e293b;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--bg-color) 0%, #e0e7ff 100%);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}

header {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 2rem;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

nav a:hover::after {
    width: 100%;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 5rem;
}

section {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    margin: 2rem auto;
    max-width: 1000px;
    transform: translateY(0);
    transition: transform 0.3s ease;
    padding: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(20px);
}

section:hover {
    transform: translateY(-5px);
}

#hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #bfdbfe 0%, #e0e7ff 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

#backgroundCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

#hero .container {
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: none;
    animation: none;
}

@keyframes glow {
    from { text-shadow: none; }
    to { text-shadow: none; }
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: translateY(-10px) rotateX(10deg);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--accent-color);
}

.project-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-shadow: none;
}

.project-card a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.2s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card a:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--accent-color);
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.contact-links a {
    padding: 0.8rem 2rem;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 25px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-links a:hover {
    transform: scale(1.1);
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px var(--accent-color);
}

footer {
    text-align: center;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--text-color);
    backdrop-filter: blur(8px);
    margin-top: 4rem;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
}

content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--heading-color);
    text-shadow: none;
}
