/* Integrations Page Specific Styles */

.int-hero {
    padding: 10rem 4rem 5.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, rgba(67, 56, 203, 0.04) 100%);
}

.int-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 80%;
    height: 140%;
    background: radial-gradient(ellipse at center, rgba(67, 56, 203, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.int-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.int-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.75rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.int-hero-badge svg {
    color: var(--secondary);
}

.int-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.int-hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.int-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 2.25rem;
    line-height: 1.75;
}

.int-hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Grids */
.int-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.int-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* Integration Cards */
.int-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 2.25rem;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.int-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(67, 56, 203, 0.09);
    border-color: rgba(67, 56, 203, 0.25);
}

.int-section-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: rgba(67, 56, 203, 0.07);
    border: 1px solid rgba(67, 56, 203, 0.14);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.int-section-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary);
}

.int-card-title-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.int-card-title-row h3 {
    margin-bottom: 0;
}

.int-brand-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(30, 27, 75, 0.04);
}

.int-brand-icon img {
    display: block;
    object-fit: contain;
}

.int-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.int-card-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.int-card-lead:last-child {
    margin-bottom: 0;
}

.int-feature-list {
    list-style: none;
    margin-top: auto;
}

.int-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
    color: var(--text);
    line-height: 1.55;
}

.int-feature-list li:last-child {
    margin-bottom: 0;
}

.int-feature-list li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--secondary);
    margin-top: 0.2rem;
}

.int-feature-list code,
.api-card code {
    font-size: 0.88em;
    padding: 0.1rem 0.35rem;
    border-radius: 5px;
    background: var(--gray-100);
    color: var(--ink);
}

.api-card code {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.int-inline-link {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

/* Safeguards strip */
.int-safeguards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 2rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
}

.int-safeguard-item strong {
    display: block;
    color: var(--ink);
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.int-safeguard-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* API dark cards */
.api-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.api-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.api-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.api-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.api-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--secondary-light);
}

.api-card h3 {
    color: white;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.api-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.7;
}

/* Distributor Banner */
.int-channels-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    background: linear-gradient(135deg, rgba(67, 56, 203, 0.04), rgba(60, 202, 71, 0.05));
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 3rem;
}

.int-channels-banner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0.4rem 0 0.9rem;
}

.int-channels-banner p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 820px;
}

.int-channels-banner .btn-secondary {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .int-hero { padding: 8rem 2rem 4rem; }
    .int-grid-2,
    .int-grid-3,
    .api-grid,
    .int-safeguards {
        grid-template-columns: 1fr;
    }
    .int-channels-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }
}

@media (max-width: 640px) {
    .int-hero { padding: 7rem 1.5rem 3.5rem; }
    .int-card { padding: 1.75rem; }
}
