* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #e38b10;
    --blue: #1E3A8A;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --gray: #F9F9F9;
    --light-gray: #E8E8E8;
    --shadow: rgba(0, 0, 0, 0.08);
    --archived: #4A4A4A;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #fef5e7 0%, #fff9f0 50%, #fef0e1 100%);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.bubble {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.bubble-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at 30% 30%, rgba(227, 139, 16, 0.25), rgba(227, 139, 16, 0.05));
    top: -200px;
    right: -150px;
    animation: float1 25s ease-in-out infinite;
}

.bubble-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle at 60% 40%, rgba(30, 58, 138, 0.25), rgba(30, 58, 138, 0.05));
    bottom: -100px;
    left: -100px;
    animation: float2 30s ease-in-out infinite;
}

.bubble-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle at 50% 50%, rgba(227, 139, 16, 0.2), rgba(227, 139, 16, 0.03));
    top: 40%;
    right: 5%;
    animation: float3 20s ease-in-out infinite;
}

.bubble-4 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle at 40% 60%, rgba(30, 58, 138, 0.2), rgba(30, 58, 138, 0.03));
    top: 20%;
    left: 10%;
    animation: float1 28s ease-in-out infinite reverse;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(40px, -40px) scale(1.05);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.95);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(50px, -50px) rotate(180deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, 40px);
    }
    50% {
        transform: translate(-20px, -30px);
    }
    75% {
        transform: translate(40px, -20px);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--orange);
    background: #ffe8b8;
    margin: 0 -20px;
    padding: 0 20px;
}

.logo-container {
    height: 120px;
    display: flex;
    align-items: center;
}

.logo {
    height: 100%;
    width: auto;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 15px;
}

nav a:hover {
    color: var(--white);
    background: var(--orange);
}

nav a.active {
    color: var(--white);
    background: var(--blue);
}

.hero {
    text-align: center;
    padding: 80px 0 40px;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--blue);
    line-height: 1.1;
}

.hero p {
    font-size: 20px;
    color: var(--black);
    font-weight: 300;
    line-height: 1.7;
}

.category-section {
    padding: 60px 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.category-marker {
    width: 8px;
    height: 56px;
    border-radius: 4px;
    flex-shrink: 0;
}

.live-marker {
    background: var(--orange);
}

.beta-marker {
    background: var(--blue);
}

.archived-marker {
    background: var(--archived);
}

.category-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
}

.category-header p {
    font-size: 16px;
    color: #666;
    font-weight: 300;
    margin-left: auto;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.tool-card {
    background: var(--white);
    border: 3px solid var(--light-gray);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scaleX(0);
    transform-origin: left;
}

.tool-card.live::after {
    background: var(--orange);
}

.tool-card.beta::after {
    background: var(--blue);
}

.tool-card.archived::after {
    background: var(--archived);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}

.tool-card.live:hover {
    border-color: var(--orange);
}

.tool-card.beta:hover {
    border-color: var(--blue);
}

.tool-card.archived:hover {
    border-color: var(--archived);
}

.tool-card:hover::after {
    transform: scaleX(1);
}

.tool-visual {
    width: 100%;
    padding: 20px 20px 0;
}

.tool-screenshot {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tool-card:hover .tool-screenshot {
    transform: scale(1.02);
}

.screenshot-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.project-type {
    font-size: 24px;
    font-weight: 700;
    color: var(--card-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    transition: all 0.4s;
}

.tool-card:hover .project-type {
    opacity: 0.8;
    transform: scale(1.1);
}

.tool-content {
    padding: 24px 32px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.platform-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-gray);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.tool-card h3 {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--black);
    line-height: 1.3;
}

.tool-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

.tool-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.tool-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: block;
}

.status-live {
    background: var(--orange);
    color: var(--white);
}

.status-live::before {
    background: var(--white);
}

.status-beta {
    background: var(--blue);
    color: var(--white);
}

.status-beta::before {
    background: var(--white);
}

.status-archived {
    background: var(--archived);
    color: var(--white);
}

.status-archived::before {
    background: var(--white);
}

footer {
    text-align: center;
    padding: 40px 0;
    border-top: 2px solid var(--blue);
    color: var(--black);
    background: var(--white);
    margin: 60px -20px 0;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-accent {
    width: 100px;
    height: 4px;
    background: var(--orange);
    margin: 0 auto 20px;
    border-radius: 2px;
}

footer p {
    font-size: 14px;
    font-weight: 300;
}

@media (max-width: 768px) {
    .logo {
        height: 50px;
    }

    header {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 18px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .category-header p {
        margin-left: 0;
    }

    .category-header h2 {
        font-size: 28px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tool-content {
        padding: 20px 24px 24px;
    }

    .tool-screenshot {
        height: 140px;
    }

    .project-type {
        font-size: 18px;
    }

    .bubble {
        opacity: 0.6;
    }
}