:root {
    --bg-color: #0b0f19;
    --text-color: #e2e8f0;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --accent-color: #8b5cf6;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.header-logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.4));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

header h1 {
    margin: 0;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

header h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: color 0.2s;
    display: inline-block;
}

nav a:hover, nav a:focus {
    color: #fff;
    outline: none;
}

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

nav a:hover::after, nav a:focus::after, nav a[aria-current="page"]::after {
    width: 100%;
}

nav a[aria-current="page"] {
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    flex-grow: 1;
}

.hero-section {
    text-align: center;
    padding: 60px 0;
}

.greeting-text {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    cursor: pointer;
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.btn:hover, .btn:focus {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.secondary-btn {
    background: var(--glass-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.secondary-btn:hover, .secondary-btn:focus {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: none;
    color: #fff;
}

.projects-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

.card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #fff;
}

.card h3 a {
    color: #fff;
    text-decoration: none;
}

.card h3 a:hover, .card h3 a:focus {
    color: var(--primary-color);
}

.card p {
    color: #94a3b8;
    margin-bottom: 25px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 15px;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
}

footer {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    padding: 30px 20px;
    color: #94a3b8;
    margin-top: auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-transition {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}