/* Developer hub — plugins & SDKs */

.dev-hero {
    position: relative;
    padding: 8.5rem 0 4rem;
    overflow: hidden;
}

.dev-hero-glow {
    position: absolute;
    inset: -20% 20% auto;
    height: 420px;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(13, 148, 136, 0.28), transparent 55%),
        radial-gradient(ellipse at 70% 20%, rgba(30, 58, 95, 0.45), transparent 50%);
    pointer-events: none;
    filter: blur(8px);
}

.dev-hero .container {
    position: relative;
    z-index: 1;
    max-width: 820px;
}

.dev-eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ik-teal-bright);
}

.dev-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.dev-lead {
    margin: 0 0 1.75rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--ik-muted);
    max-width: 38rem;
}

.dev-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.dev-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .dev-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .dev-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.dev-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem 1.3rem 1.25rem;
    border-radius: var(--ik-radius-lg);
    border: 1px solid var(--ik-border);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dev-card.is-live:hover {
    border-color: rgba(20, 184, 166, 0.45);
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.dev-card.is-soon {
    opacity: 0.88;
}

.dev-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.dev-logo {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.dev-logo svg {
    display: block;
}

.dev-logo-wp {
    color: #fff;
    background: linear-gradient(145deg, #21759b 0%, #135e86 100%);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 20px rgba(33, 117, 155, 0.35);
}

.dev-logo-php {
    color: #c4b5fd;
    background: linear-gradient(145deg, rgba(99, 102, 241, 0.35), rgba(15, 23, 42, 0.6));
    border-color: rgba(167, 139, 250, 0.25);
}

.dev-logo-magento {
    color: #f97316;
    background: linear-gradient(145deg, rgba(249, 115, 22, 0.25), rgba(15, 23, 42, 0.65));
    border-color: rgba(249, 115, 22, 0.3);
}

.dev-logo-shopify {
    color: #34d399;
    background: linear-gradient(145deg, rgba(52, 211, 153, 0.22), rgba(15, 23, 42, 0.65));
    border-color: rgba(52, 211, 153, 0.28);
}

.dev-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
}

.dev-badge.available {
    color: #042f2e;
    background: var(--ik-mint);
}

.dev-badge.soon {
    color: rgba(248, 250, 252, 0.75);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--ik-border);
}

.dev-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dev-card > p {
    margin: 0 0 1rem;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ik-muted);
}

.dev-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.1rem;
}

.dev-card-meta span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ik-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ik-border);
    border-radius: 999px;
    padding: 0.22rem 0.5rem;
}

.dev-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.7rem 0.9rem;
    border-radius: 0.65rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    color: #042f2e;
    background: var(--ik-teal-bright);
    transition: background 0.15s ease, transform 0.15s ease;
}

.dev-card-cta:hover {
    color: #042f2e;
    background: var(--ik-mint);
    transform: translateY(-1px);
}

.dev-card-cta.is-disabled {
    cursor: default;
    color: var(--ik-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--ik-border);
    transform: none;
}

.dev-api-row {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .dev-api-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dev-api-card {
    padding: 1.35rem 1.25rem;
    border-radius: var(--ik-radius);
    border: 1px solid var(--ik-border);
    background: var(--ik-surface);
}

.dev-api-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.dev-api-card > code {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-family: var(--ik-mono);
    font-size: 0.78rem;
    color: var(--ik-mint);
    background: rgba(0, 0, 0, 0.25);
    padding: 0.25rem 0.5rem;
    border-radius: 0.35rem;
}

.dev-api-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ik-muted);
    line-height: 1.5;
}

.dev-api-card p code {
    font-family: var(--ik-mono);
    font-size: 0.8em;
    color: var(--ik-text);
}

@media (prefers-reduced-motion: reduce) {
    .dev-card,
    .dev-card-cta {
        transition: none;
    }

    .dev-card.is-live:hover,
    .dev-card-cta:hover {
        transform: none;
    }
}
