* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #0f0f1a;
    color: #e8e8f0;
}

nav {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 1rem 2rem;
    display: flex;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #a0a0c0;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #ffffff;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* Hero */
.hero {
    padding: 5rem 0 4rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    color: #8888aa;
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto 1rem;
}

.hero-actions {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
button, .btn-primary {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

button:hover, .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}

/* Page headings (non-hero pages like Examples) */
.page > h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #e8e8f0;
    margin: 2.5rem 0 0.5rem;
}

.page > p {
    color: #7878a0;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(99, 102, 241, 0.35);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e8e8f0;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: #7878a0;
    font-size: 0.92rem;
    line-height: 1.65;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.example-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.example-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
}

.image-placeholder {
    background: rgba(255,255,255,0.06);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5555aa;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.example-card h3 {
    padding: 0 1rem 0.4rem;
    color: #e8e8f0;
}

.example-card p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: #7878a0;
    margin: 0;
}
