:root {
    --bg-color: #0f0f0f;
    --card-bg: #1a1a1a;
    --text-main: #eaeaea;
    --text-muted: #a0a0a0;
    --accent: #00e5ff;
    --accent-glow: rgba(0, 229, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(-45deg, #0f0f0f, #151515, #0a1f25, #0f0f0f);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

header {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
    text-shadow: 0 0 10px var(--accent-glow);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    object-fit: cover;
    margin-bottom: 25px;
    transition: transform 0.3s;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 35px;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--accent);
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
    display: inline-block;
}

.btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-3px);
}

.btn-outline {
    border-color: var(--text-muted);
    color: var(--text-muted);
}

.btn-outline:hover {
    background: var(--text-muted);
    color: #000;
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
    border-color: var(--text-muted);
}

.section-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--accent);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px -10px rgba(0, 229, 255, 0.2);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: var(--card-bg);
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 16px;
    transition: 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid #222;
    color: var(--text-muted);
    font-size: 14px;
    margin-top: auto;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    color: var(--text-muted);
    margin: 0 12px;
    font-size: 22px;
    transition: 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--accent);
    transform: translateY(-3px);
    text-shadow: 0 0 10px var(--accent-glow);
}

@media (max-width: 768px) {
    header { 
        padding: 15px 20px; 
        flex-direction: column; 
        gap: 15px; 
    }
    
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    nav a { 
        margin: 0; 
        font-size: 16px;
        display: block;
        width: 100%;
        text-align: center;
        padding: 5px;
    }

    .hero h1 { font-size: 36px; }
    
    .btn-container {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
}