// File: css/basic.css
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
--bg: #0a0a0a;
--secondary: #161616;
--fg: #f5f5f5;
--fg-muted: #a0a0a0;
--accent: #e53935;
--accent-hover: #ff5252;
--accent-glow: rgba(229, 57, 53, 0.2);
--border: #2a2a2a;
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
{
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
font-size: 16px;
}
body {
font-family: 'Inter', sans-serif;
background-color: var(--bg);
color: var(--fg);
line-height: 1.6;
min-height: 100vh;
background-image:
radial-gradient(circle at 0% 0%, var(--accent-glow) 0%, transparent 25%),
radial-gradient(circle at 100% 100%, var(--accent-glow) 0%, transparent 25%);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 1.5rem;
}
.header {
position: sticky;
top: 0;
background: rgba(10, 10, 10, 0.8);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border);
z-index: 1000;
padding: 1rem 0;
code
Code
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    transition: var(--transition);
    &:hover { transform: scale(1.05) rotate(-2deg); }
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;

    .nav-link {
        text-decoration: none;
        color: var(--fg-muted);
        font-weight: 500;
        font-size: 0.95rem;
        transition: var(--transition);
        position: relative;

        &::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent);
            transition: var(--transition);
        }

        &:hover, &.active {
            color: var(--fg);
            &::after { width: 100%; }
        }
    }
}
}
.lang-switcher {
display: flex;
gap: 0.75rem;
padding-left: 1rem;
border-left: 1px solid var(--border);
code
Code
a {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--fg-muted);
    transition: var(--transition);

    &.active, &:hover { color: var(--accent); }
}
}
.btn {
display: inline-block;
padding: 0.8rem 1.8rem;
background: var(--accent);
color: white;
text-decoration: none;
border-radius: 6px;
font-weight: 600;
transition: var(--transition);
border: 1px solid transparent;
code
Code
&:hover {
    background: var(--accent-hover);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
}
}
.card-style {
background: var(--secondary);
border: 1px solid var(--border);
border-radius: 12px;
padding: 2rem;
transition: var(--transition);
code
Code
&:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}
}
.footer {
padding: 4rem 0;
border-top: 1px solid var(--border);
text-align: center;
color: var(--fg-muted);
code
Code
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;

    img {
        width: 24px;
        height: 24px;
        filter: invert(1) opacity(0.6);
        transition: var(--transition);
        &:hover { opacity: 1; transform: scale(1.2); }
    }
}
}
@media (max-width: 768px) {
.nav-list { display: none !important; } /* In production, add a mobile menu hamburger */
}
// File: css/index.css
.main-content {
padding: 4rem 0;
}
.hero {
text-align: center;
margin-bottom: 5rem;
code
Code
h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 0.8s ease-out forwards;
}

p {
    font-size: 1.25rem;
    color: var(--fg-muted);
    max-width: 650px;
    margin: 0 auto;
    animation: fadeInDown 0.8s ease-out 0.2s forwards;
    opacity: 0;
}
}
.grid-layout {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.section {
display: flex;
flex-direction: column;
justify-content: space-between;
opacity: 0;
animation: fadeInUp 0.8s ease-out forwards;
code
Code
&:nth-child(1) { animation-delay: 0.4s; }
&:nth-child(2) { animation-delay: 0.5s; }
&:nth-child(3) { animation-delay: 0.6s; }

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--fg-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}
}
.status-indicator {
display: flex;
align-items: center;
gap: 0.75rem;
font-weight: 600;
code
Code
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;

    &--active {
        background-color: #4caf50;
        box-shadow: 0 0 10px #4caf50;
        &::after {
            content: '';
            position: absolute;
            inset: -4px;
            border: 2px solid #4caf50;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
    }

    &--inactive {
        background-color: #f44336;
    }
}
}
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
0% { transform: scale(1); opacity: 0.8; }
100% { transform: scale(2.5); opacity: 0; }
}