/* ===== Reset ===== */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* ===== Base ===== */
body {
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
line-height: 1.6;
color: #e6e8f0;
background: radial-gradient(
1200px 800px at 20% -10%,
#1b1f3a 0%,
#0b0d14 60%
    );
min-height: 100vh;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 28px;
}
/* ===== Header ===== */
header {
background: linear-gradient(180deg, #121424 0%, #0e101c 100%);
padding: 64px 40px;
border-radius: 12px;
margin-bottom: 56px;
border: 1px solid #23264a;
position: relative;
}
header::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
pointer-events: none;
box-shadow:
inset 0 0 0 1px rgba(255,255,255,0.02),
0 40px 80px rgba(0,0,0,0.7);
}
header h1 {
font-size: 3rem;
font-weight: 700;
letter-spacing: -0.03em;
margin-bottom: 12px;
}
header p {
font-size: 1.2rem;
color: #9aa3ff;
font-weight: 500;
}
/* ===== Navigation ===== */
nav {
display: flex;
justify-content: center;
gap: 12px;
margin-bottom: 56px;
}
nav button {
background: #121424;
border: 1px solid #24275a;
padding: 10px 22px;
color: #cfd3ff;
font-size: 0.95rem;
border-radius: 8px;
cursor: pointer;
transition: all 0.2s ease;
}
nav button:hover {
border-color: #6f7cff;
color: #ffffff;
box-shadow: 0 0 0 1px rgba(111,124,255,0.4);
}
/* ===== Sections ===== */
.section {
display: none;
background: linear-gradient(180deg, #121424, #0f1120);
padding: 56px 48px;
border-radius: 12px;
margin-bottom: 56px;
border: 1px solid #23264a;
}
.section.active {
display: block;
animation: rise 0.45s ease;
}
@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
h2 {
font-size: 2.2rem;
letter-spacing: -0.02em;
margin-bottom: 40px;
}
/* ===== Projects ===== */
.section-intro {
max-width: 600px;
margin-bottom: 2rem;
opacity: 0.8;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 24px;
}
.project-card {
display: block;
padding: 24px;
border-radius: 12px;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.08);
text-decoration: none;
color: inherit;
transition: transform 0.15s ease, border-color 0.15s ease;
}
.project-card:hover {
transform: translateY(-4px);
border-color: rgba(255,255,255,0.25);
}
.project-card h3 {
margin-bottom: 8px;
}
.project-meta {
display: inline-block;
margin-top: 12px;
font-size: 0.8rem;
opacity: 0.7;
}
/* ===== Project Page Specific ===== */
.project-page {
background: linear-gradient(180deg, #121424, #0f1120);
padding: 56px 48px;
border-radius: 12px;
border: 1px solid #23264a;
animation: rise 0.45s ease;
}
.project-title {
font-size: 2.8rem;
font-weight: 700;
letter-spacing: -0.03em;
margin-bottom: 16px;
}
.project-subtitle {
font-size: 1.8rem;
font-weight: 600;
letter-spacing: -0.02em;
margin: 48px 0 24px;
color: #cfd3ff;
}
.project-text {
font-size: 1.1rem;
margin-bottom: 24px;
opacity: 0.9;
line-height: 1.7;
}
.project-list {
padding-left: 32px;
margin-bottom: 32px;
}
.project-list-item {
margin-bottom: 12px;
font-size: 1.1rem;
opacity: 0.9;
}
/* ===== CTA ===== */
.cta-button {
background: linear-gradient(135deg, #7c88ff, #9f6bff);
color: #0b0d14;
padding: 14px 38px;
border-radius: 999px;
font-weight: 600;
text-decoration: none;
display: inline-block;
box-shadow:
0 10px 30px rgba(124,136,255,0.35),
inset 0 0 0 1px rgba(255,255,255,0.2);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-button:hover {
transform: translateY(-2px);
box-shadow:
0 18px 40px rgba(124,136,255,0.45);
}
/* ===== Contact ===== */
.contact-form {
max-width: 700px;
margin: 0 auto;
}
.contact-form input,
.contact-form textarea {
background: #10122a;
border: 1px solid #2a2f66;
border-radius: 8px;
padding: 16px;
color: #e6e8f0;
font-size: 1rem;
width: 100%;
margin-bottom: 18px;
}
.contact-form input:focus,
.contact-form textarea:focus {
outline: none;
border-color: #7c88ff;
box-shadow: 0 0 0 1px rgba(124,136,255,0.5);
}
/* ===== Footer ===== */
footer {
text-align: center;
color: #9aa0ff;
padding: 40px;
font-size: 0.9rem;
}
/* ===== Back Button ===== */
.back-link {
display: inline-block;
margin-bottom: 60px;
color: #9aa3ff;
text-decoration: none;
font-size: 1.1rem;
font-weight: 500;
transition: color 0.2s ease;
}
.back-link:hover {
color: #cfd3ff;
}