/* Global */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #0f111a;
    color: #ffffff;
    scroll-behavior: smooth;
}

a { text-decoration: none; color: inherit; }

button {
    cursor: pointer;
    border: 2px solid #00ffe0;
    border-radius: 10px;
    padding: 12px 25px;
    margin: 10px 5px;
    font-weight: 600;
    background: rgba(0, 255, 224, 0.1);
    color: #00ffe0;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

button:hover {
    background: #00ffe0;
    color: #0f111a;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background: radial-gradient(circle at center, #1f1f2e, #0f111a);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: #00ffe0;
    text-shadow: 0 0 15px #00ffe0;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #a0a0a0;
}

/* Animated background dots */
.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(#00ffe0 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveDots 60s linear infinite;
    opacity: 0.05;
    top: -50%;
    left: -50%;
}

@keyframes moveDots {
    0% { transform: translate(0,0); }
    100% { transform: translate(50px,50px); }
}

/* Sections */
section {
    padding: 80px 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #00ffe0;
    font-size: 2.8rem;
    text-shadow: 0 0 10px #00ffe0;
}

/* Examples */
.examples {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.example-card {
    background: rgba(0, 255, 224, 0.05);
    border: 1px solid #00ffe0;
    border-radius: 15px;
    padding: 25px;
    width: 320px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 224, 0.2);
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px #00ffe0;
}

.example-card h3 {
    color: #00ffe0;
    margin-bottom: 15px;
}

.example-card code {
    display: block;
    font-family: 'Courier New', Courier, monospace;
    background: rgba(0,0,0,0.2);
    padding: 12px;
    border-radius: 8px;
    color: #00ffe0;
    font-size: 0.95rem;
    word-break: break-word;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px;
    background: #0a0a14;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media(max-width: 768px){
    .examples { flex-direction: column; align-items: center; }
    .hero h1 { font-size: 3rem; }
}
