/* Affiliate landing page — icopify.co/affiliate aligned */

.icp-aff-page {
    background: #fff;
    color: #1e293b;
    padding-top: 72px;
}

.icp-aff-hero {
    position: relative;
    padding: 64px 0 48px;
    overflow: hidden;
}

.icp-aff-hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://icopify.co/img/technical-seo.jpeg') center top / cover no-repeat;
}

.icp-aff-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.icp-aff-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.icp-aff-hero h1 {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.icp-aff-hero-sub {
    color: #fff;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 28px;
}

.icp-aff-hero-sub .icp-aff-green {
    color: #22c55e;
    font-weight: 700;
}

.icp-aff-btn-start {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #22c55e;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    transition: background 0.2s, transform 0.2s;
}

.icp-aff-btn-start:hover {
    background: #16a34a;
    color: #fff !important;
    transform: translateY(-1px);
}

.icp-aff-top-table-wrap {
    margin-top: -40px;
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
}

.icp-aff-top-card {
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.icp-aff-top-card-header {
    background: #22c55e;
    padding: 16px 20px;
    text-align: center;
}

.icp-aff-top-card-header h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}

.icp-aff-top-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.icp-aff-top-table thead {
    background: #22c55e;
    color: #0f172a;
}

.icp-aff-top-table th,
.icp-aff-top-table td {
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
}

.icp-aff-top-table th {
    font-weight: 700;
    text-align: left;
}

.icp-aff-top-table th:first-child,
.icp-aff-top-table td:first-child {
    text-align: center;
    width: 64px;
}

.icp-aff-top-table .text-right {
    text-align: right;
}

.icp-aff-top-table tbody tr:nth-child(even) {
    background: #f1f5f9;
}

.icp-aff-medal-gold { color: #ffd700; }
.icp-aff-medal-silver { color: #c0c0c0; }
.icp-aff-medal-bronze { color: #cd7f32; }

.icp-aff-top-card-footer {
    background: #22c55e;
    padding: 16px;
    text-align: center;
}

.icp-aff-top-card-footer a {
    display: inline-block;
    background: #0f172a;
    color: #fff !important;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
}

.icp-aff-top-card-footer a:hover {
    background: #1e293b;
}

.icp-aff-section-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    margin: 48px 0 12px;
    color: #0f172a;
}

.icp-aff-section-sub {
    text-align: center;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #334155;
    margin-bottom: 32px;
    line-height: 1.6;
}

.icp-aff-section-sub .icp-aff-green {
    color: #22c55e;
    font-weight: 700;
}

.icp-aff-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.icp-aff-step-card {
    border: 1px solid #22c55e;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    background: #fff;
}

.icp-aff-step-img {
    background: rgba(34, 197, 94, 0.08);
    text-align: center;
    padding: 16px;
}

.icp-aff-step-img img {
    max-width: 260px;
    width: 100%;
    height: auto;
}

.icp-aff-step-body {
    padding: 20px;
}

.icp-aff-step-body h3 {
    color: #22c55e;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.icp-aff-step-body p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: 0.95rem;
}

.icp-aff-faq-section {
    max-width: 900px;
    margin: 0 auto 64px;
    padding: 0 16px;
}

.icp-aff-faq-heading h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 8px;
}

.icp-aff-faq-heading p {
    text-align: center;
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.icp-aff-faq-list {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.icp-aff-faq-item {
    border-bottom: 1px solid #cbd5e1;
}

.icp-aff-faq-item:last-child {
    border-bottom: none;
}

.icp-aff-faq-item button {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
    padding: 14px 16px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    font-family: inherit;
    line-height: 1.45;
}

.icp-aff-faq-item button .icp-aff-faq-caret {
    color: #64748b;
    font-size: 0.85rem;
    margin-top: 3px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.icp-aff-faq-item.open button .icp-aff-faq-caret {
    transform: rotate(90deg);
}

.icp-aff-faq-body {
    display: none;
    padding: 0 16px 16px 40px;
    color: #64748b;
    font-size: 0.925rem;
    line-height: 1.7;
}

.icp-aff-faq-body p {
    margin: 0 0 8px;
}

.icp-aff-faq-body ul {
    margin: 0;
    padding-left: 20px;
}

.icp-aff-faq-body li {
    margin-bottom: 4px;
}

.icp-aff-faq-item.open .icp-aff-faq-body {
    display: block;
}

@media (max-width: 992px) {
    .icp-aff-steps {
        grid-template-columns: 1fr;
    }

    .icp-aff-top-table-wrap {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .icp-aff-top-table {
        font-size: 0.8rem;
    }

    .icp-aff-top-table th,
    .icp-aff-top-table td {
        padding: 8px 10px;
    }
}
