:root {
    --card-border-radius: 8px;
    --transition-speed: 200ms;
    --primary-color: #000;
    --secondary-color: #f5f5f5;
    --hover-color: rgba(0, 0, 0, 0.05);
    --text-primary: #111;
    --text-secondary: #555;
}

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

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

.font-geist-mono {
    font-family: 'SF Mono', Menlo, Monaco, 'Courier New', monospace;
}

.openai-logo {
    color: black;
}

.feature-card {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--card-border-radius);
    padding: 1.25rem;
    transition: all var(--transition-speed) ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--secondary-color);
    margin-right: 0.75rem;
    transition: all var(--transition-speed) ease-in-out;
}

.feature-card:hover .icon-wrapper {
    background-color: #000;
    color: white;
}

svg.agent-icon,
svg.web-search-icon,
svg.file-search-icon,
svg.computer-use-icon,
svg.sdk-icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2px;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    min-height: 2.625rem;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: auto;
}

.arrow-icon {
    transition: transform var(--transition-speed) ease-in-out;
    color: var(--text-secondary);
}

.feature-card:hover .arrow-icon {
    transform: translateX(2px);
    color: var(--primary-color);
}

.feature-card.expanded .arrow-icon {
    transform: rotate(90deg);
}

.learn-more {
    font-weight: 500;
    transition: color var(--transition-speed) ease-in-out;
}

.feature-card:hover .learn-more {
    color: var(--primary-color);
}

.card-expanded-content {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    color: var(--text-secondary);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out;
}

.feature-card.expanded .card-expanded-content {
    display: block;
    max-height: 500px; /* Arbitrary large value */
    transition: max-height 0.5s ease-in;
}

.code-block {
    background-color: #f8f8f8;
    border-radius: 4px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    overflow-x: auto;
}

pre {
    white-space: pre-wrap;
}

.lucide {
    stroke-width: 1.5;
    width: 1.25rem;
    height: 1.25rem;
}

@media (max-width: 768px) {
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .card-description {
        min-height: auto;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.feature-card.expanded {
    animation: pulse 1.5s;
}
