/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #0B0F19;
    --bg-card: #151B2B;
    --bg-card-hover: #1C2336;
    --border-color: #232C43;
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --primary-blue: #3B82F6;
    --primary-blue-hover: #2563EB;
    --secondary-blue: #1E3A8A;
    --gradient-blue: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    --gradient-text: linear-gradient(to right, #60A5FA, #3B82F6);
    --glow-color: rgba(59, 130, 246, 0.15);

    --container-width: 1200px;
    --section-spacing: 120px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effects */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.glow-1 {
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: rgba(37, 99, 235, 0.15);
}

.glow-2 {
    top: 40%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: rgba(139, 92, 246, 0.1);
}

.glow-3 {
    bottom: 10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.1);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-small {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #6D28D9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 15, 25, 0.8);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(11, 15, 25, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
}

.logo i {
    color: var(--primary-blue);
    font-size: 1.75rem;
}

.logo-container {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1;
    text-decoration: none;
    width: max-content;
}

.logo-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #B4C5FF;
    letter-spacing: -0.02em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.logo-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    margin-top: 2px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    gap: 16px;
}

/* Main Sections Spacing */
section {
    padding: var(--section-spacing) 0;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
    padding-top: 140px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.badge i {
    color: #FBBF24;
}

.hero-title {
    font-size: 2.75rem;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatars {
    display: flex;
}

.avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-main);
    margin-left: -12px;
}

.avatars img:first-child {
    margin-left: 0;
}

.rating-text {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.stars i {
    color: #FBBF24;
}

/* Hero Visual & Code Mockup */
.hero-visual {
    position: relative;
}

.mockup-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 8px;
}

.dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dots span:nth-child(1) {
    background: #FF5F56;
}

.dots span:nth-child(2) {
    background: #FFBD2E;
}

.dots span:nth-child(3) {
    background: #27C93F;
}

.mockup-body {
    padding: 24px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #A6ACCD;
}

.code-line.indent {
    padding-left: 20px;
}

.code-line.indent-2 {
    padding-left: 40px;
}

.keyword {
    color: #89DDFF;
}

.function {
    color: #82AAFF;
}

.variable {
    color: #F07178;
}

.string {
    color: #C3E88D;
}

.number {
    color: #F78C6C;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: rgba(21, 27, 43, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
}

.floating-badge .icon-box {
    background: rgba(59, 130, 246, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-badge .icon-box i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.floating-badge .title {
    font-weight: 700;
    font-size: 1rem;
}

.floating-badge .subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Karya Nyata Siswa */
.karya .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.karya-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.karya-card {
    flex: 0 1 calc(33.333% - 22px);
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
}

.karya-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.karya-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.img-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.bg-gradient-1 {
    background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #141E30, #243B55);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #23074D, #CC5333);
}

.karya-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.karya-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.karya-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.karya-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.karya-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.karya-author span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Portfolio Digital */
.portfolio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin-top: 32px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.check-list i {
    color: var(--primary-blue);
    font-size: 1.25rem;
}

.portfolio-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
}

.portfolio-mockup::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    z-index: -1;
}

.pf-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.pf-header img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.pf-info h4 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.pf-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pf-btn {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
}

.pf-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .val {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat .lbl {
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
}

.pf-projects {
    display: flex;
    gap: 16px;
}

.pf-project-item {
    height: 120px;
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Roadmap */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item.right {
    margin-left: auto;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    top: 0;
    right: -24px;
    width: 48px;
    height: 48px;
    background: var(--bg-main);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.25rem;
    z-index: 2;
}

.timeline-item.right .timeline-dot {
    right: auto;
    left: -24px;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 16px;
    position: relative;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.timeline-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Demo Day */
.demoday-inner {
    background: linear-gradient(135deg, var(--bg-card), rgba(11, 15, 25, 0));
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.globe-mockup {
    width: 100%;
    aspect-ratio: 1;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 10px,
            rgba(59, 130, 246, 0.1) 10px,
            rgba(59, 130, 246, 0.1) 11px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 10px,
            rgba(59, 130, 246, 0.1) 10px,
            rgba(59, 130, 246, 0.1) 11px);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.card-overlay {
    position: absolute;
    bottom: 20%;
    right: 0;
    background: rgba(21, 27, 43, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.card-overlay .icon-box {
    background: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-overlay h4 {
    font-size: 1rem;
}

.card-overlay p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mengapa Ekskul */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: var(--primary-blue);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Trusted By */
.trusted-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 6px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.trusted-logos {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.logo-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.bg-blue {
    background: #3B82F6;
}

.bg-green {
    background: #10B981;
}

.bg-purple {
    background: #8B5CF6;
}

.logo-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.logo-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Testimonials */
.testimoni-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.testimoni-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 20px;
}

.testimoni-card .stars {
    color: #FBBF24;
    margin-bottom: 24px;
    display: flex;
    gap: 4px;
}

.quote {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 32px;
    font-style: italic;
}

.author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.author h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.author p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.link-group a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.social-links a:hover {
    background: var(--primary-blue);
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .hero,
    .portfolio,
    .demoday-inner,
    .trusted-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .karya-card {
        flex: 0 1 calc(50% - 16px);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item,
    .timeline-item.right {
        width: 100%;
        padding-left: 100px;
        padding-right: 0;
    }

    .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 16px;
        right: auto;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .features-grid,
    .testimoni-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .karya-card {
        flex: 0 1 100%;
    }

    .stat-item h3 {
        font-size: 2.2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* Showcase Page Styles */
.showcase-hero {
    padding-top: 140px;
}

.sc-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.sc-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

.sc-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
}

.dot-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #10B981;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.sc-hero-title {
    font-size: 3rem;
    color: #FFFFFF;
    margin-bottom: 16px;
    line-height: 1.2;
}

.sc-hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.sc-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
}

.sc-stat {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 32px;
    border-radius: 16px;
    min-width: 140px;
}

.sc-stat h3 {
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.sc-stat h3.highlight {
    color: #FBBF24;
}

.sc-stat p {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.sc-hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.sc-directory {
    padding-top: 80px;
    padding-bottom: 80px;
}

.sc-dir-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.sc-search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto 32px;
}

.sc-search-bar i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-left: 16px;
    margin-right: 12px;
}

.sc-search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.sc-search-bar input::placeholder {
    color: var(--text-secondary);
}

.sc-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.filter-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.sc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.sc-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sc-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.sc-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(21, 27, 43, 0.8), transparent);
}

.sc-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.cat-scratch { background: rgba(59, 130, 246, 0.2); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.3); }
.cat-mobile { background: rgba(139, 92, 246, 0.2); color: #A78BFA; border: 1px solid rgba(139, 92, 246, 0.3); }
.cat-web { background: rgba(16, 185, 129, 0.2); color: #34D399; border: 1px solid rgba(16, 185, 129, 0.3); }
.cat-ai { background: rgba(245, 158, 11, 0.2); color: #FBBF24; border: 1px solid rgba(245, 158, 11, 0.3); }

.sc-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sc-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #FFFFFF;
}

.sc-author {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.sc-desc {
    font-size: 0.85rem;
    color: #A6ACCD;
    line-height: 1.5;
    margin-bottom: 20px;
    flex: 1;
}

.sc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sc-tags span {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.sc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.page-btn.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.page-dots {
    color: var(--text-secondary);
    padding: 0 4px;
}

/* Responsive updates for Showcase */
@media (max-width: 1024px) {
    .sc-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .sc-grid { grid-template-columns: repeat(2, 1fr); }
    .sc-stats { flex-wrap: wrap; gap: 16px; }
    .sc-stat { flex: 1; min-width: 45%; }
    .sc-hero-title { font-size: 2.2rem; }
    .sc-hero-actions { flex-direction: column; }
}
@media (max-width: 480px) {
    .sc-grid { grid-template-columns: 1fr; }
}

/* Showcase Detail Page Styles */
.detail-hero {
    padding-top: 140px;
    padding-bottom: 80px;
    max-width: 1000px;
}

.detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.detail-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #A78BFA;
    margin-bottom: 16px;
}

.detail-badge i {
    color: #34D399;
}

.detail-title {
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.detail-author {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.dot-separator {
    margin: 0 8px;
    opacity: 0.5;
}

.project-player-card {
    background: #1A1D2D;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.player-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mac-dots {
    display: flex;
    gap: 8px;
}

.mac-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background-color: #FF5F56; }
.dot.yellow { background-color: #FFBD2E; }
.dot.green { background-color: #27C93F; }

.player-actions {
    display: flex;
    gap: 12px;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.icon-btn:hover {
    color: #FFFFFF;
}

.player-screen {
    height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}



.play-overlay-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-overlay-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
}

.player-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.engagement-stats {
    display: flex;
    gap: 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.engagement-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.share-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.2s;
}

.share-btn:hover {
    color: #FFFFFF;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

.info-card h2 {
    font-size: 1.5rem;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.about-card p {
    color: #A6ACCD;
    line-height: 1.7;
    margin-bottom: 32px;
}

.project-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.meta-tag {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag-tool {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.tag-complexity {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #C4B5FD;
}

.tag-date {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.controls-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.control-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.control-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.keys-group {
    display: flex;
    gap: 8px;
}

kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    width: auto;
    padding: 0 10px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #FFFFFF;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

kbd.kbd-space {
    width: auto;
    padding: 0 24px;
    min-width: 100px;
}

/* Responsive */
@media (max-width: 900px) {
    .project-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .player-screen {
        height: 300px;
    }
    
    .detail-title {
        font-size: 2.2rem;
    }
}

/* Back Navigation Styles */
.back-navigation {
    margin-bottom: 24px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.back-link i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.back-link:hover {
    color: #FFFFFF;
}

.back-link:hover i {
    transform: translateX(-4px);
}