:root {
    --clay-bg: #f0f4f8;
    --clay-text: #334155;
    --clay-primary: #6366f1;
    --clay-secondary: #ec4899;
    --clay-accent: #14b8a6;
    --clay-surface: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--clay-bg); color: var(--clay-text);
    font-family: 'Quicksand', 'Segoe UI', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }

.clay-container { max-width: 1100px; margin: 0 auto; padding: 20px; }

/* Claymorphism Mixin */
.clay-box {
    background: var(--clay-surface);
    border-radius: 30px;
    box-shadow: 
        10px 10px 20px rgba(0,0,0,0.05),
        -10px -10px 20px rgba(255,255,255,0.8),
        inset 5px 5px 10px rgba(255,255,255,0.5),
        inset -5px -5px 10px rgba(0,0,0,0.02);
    border: 1px solid rgba(255,255,255,0.5);
}

/* Header */
.clay-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 30px; margin-bottom: 50px;
}
.clay-brand {
    font-size: 28px; font-weight: 900; color: var(--clay-primary);
    text-shadow: 2px 2px 4px rgba(99, 102, 241, 0.2);
}
.clay-nav { display: flex; gap: 20px; }
.clay-nav a {
    font-weight: 700; color: #64748b; padding: 10px 20px;
    border-radius: 20px; transition: all 0.3s;
}
.clay-nav a:hover, .clay-nav a.active {
    color: var(--clay-primary);
    box-shadow: 
        inset 3px 3px 5px rgba(0,0,0,0.05),
        inset -3px -3px 5px rgba(255,255,255,0.8);
}

/* Hero */
.clay-hero {
    display: flex; align-items: center; justify-content: space-between;
    padding: 60px 40px; margin-bottom: 60px;
}
.hero-content { flex: 1; padding-right: 40px;}
.clay-hero h1 { font-size: 48px; font-weight: 900; margin-bottom: 20px; color: var(--clay-text); line-height: 1.2;}
.clay-hero p { font-size: 18px; color: #64748b; margin-bottom: 40px; font-weight: 500;}
.hero-visual {
    flex: 1; display: flex; justify-content: center; align-items: center;
    min-height: 300px; position: relative;
}
.clay-blob {
    width: 250px; height: 250px; background: var(--clay-primary);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    box-shadow: inset 20px 20px 40px rgba(255,255,255,0.4), inset -20px -20px 40px rgba(0,0,0,0.2), 15px 15px 30px rgba(99, 102, 241, 0.3);
    display: flex; align-items: center; justify-content: center; font-size: 80px; color: #fff;
}
@keyframes morph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}
.btn-clay {
    display: inline-block; padding: 15px 35px; font-size: 18px; font-weight: 800;
    color: #fff; background: var(--clay-primary); border-radius: 25px;
    box-shadow: 
        8px 8px 15px rgba(99, 102, 241, 0.3),
        -5px -5px 15px rgba(255,255,255,0.8),
        inset 3px 3px 5px rgba(255,255,255,0.4),
        inset -3px -3px 5px rgba(0,0,0,0.1);
    transition: all 0.2s; margin-right: 15px; cursor: pointer; border: none;
}
.btn-clay:active {
    box-shadow: 
        inset 5px 5px 10px rgba(0,0,0,0.1),
        inset -5px -5px 10px rgba(255,255,255,0.4);
    transform: scale(0.98);
}
.btn-clay-alt {
    display: inline-block; padding: 15px 35px; font-size: 18px; font-weight: 800;
    color: var(--clay-primary); background: var(--clay-surface); border-radius: 25px;
    box-shadow: 
        5px 5px 10px rgba(0,0,0,0.05),
        -5px -5px 10px rgba(255,255,255,0.8);
    transition: all 0.2s; cursor: pointer; border: none;
}
.btn-clay-alt:active {
    box-shadow: 
        inset 3px 3px 8px rgba(0,0,0,0.05),
        inset -3px -3px 8px rgba(255,255,255,0.8);
    transform: scale(0.98);
}

/* Stats */
.clay-stats {
    display: flex; justify-content: space-between; margin-bottom: 60px; gap: 20px;
}
.cs-item {
    flex: 1; padding: 30px; text-align: center;
}
.cs-val { font-size: 36px; font-weight: 900; color: var(--clay-secondary); margin-bottom: 5px; text-shadow: 2px 2px 4px rgba(236, 72, 153, 0.2);}
.cs-lbl { font-size: 14px; font-weight: 700; color: #64748b;}

/* Grid */
.clay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 60px;}
.cg-card { padding: 40px 30px; text-align: center;}
.cg-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    background: var(--clay-surface); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: var(--clay-accent);
    box-shadow: 
        5px 5px 10px rgba(0,0,0,0.05),
        -5px -5px 10px rgba(255,255,255,0.8),
        inset 2px 2px 5px rgba(255,255,255,0.5);
}
.cg-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 15px;}
.cg-card p { font-size: 15px; color: #64748b; font-weight: 500;}

/* Nodes */
.clay-nodes { padding: 40px; margin-bottom: 60px; text-align: center;}
.clay-nodes h2 { font-size: 28px; font-weight: 900; margin-bottom: 30px; color: var(--clay-primary);}
.node-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px;}
.n-tag {
    padding: 12px 25px; font-weight: 700; color: #475569;
    border-radius: 20px; display: flex; align-items: center; gap: 10px;
}
.n-tag span { color: var(--clay-accent); background: rgba(20, 184, 166, 0.1); padding: 2px 8px; border-radius: 10px;}

/* FAQ */
.clay-faq { padding: 40px; margin-bottom: 60px;}
.clay-faq h2 { font-size: 28px; font-weight: 900; margin-bottom: 30px; text-align: center;}
.faq-item { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 2px solid rgba(0,0,0,0.05);}
.faq-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none;}
.fq-q { font-size: 18px; font-weight: 800; color: var(--clay-secondary); margin-bottom: 10px;}
.fq-a { font-size: 15px; color: #64748b; font-weight: 500;}

footer { text-align: center; padding: 30px; font-weight: 700; color: #94a3b8;}

@media (max-width: 900px) {
    .clay-header { flex-direction: column; gap: 15px; padding: 20px;}
    .clay-hero { flex-direction: column; text-align: center; padding: 40px 20px;}
    .hero-content { padding-right: 0; margin-bottom: 40px;}
    .clay-stats { flex-wrap: wrap; }
    .cs-item { min-width: 45%; }
    .clay-grid { grid-template-columns: 1fr; }
    .btn-clay, .btn-clay-alt { display: block; margin: 10px auto; width: 100%;}
}