.secondary-page {
    background: #f8fafc;
}

.secondary-page .navbar {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 30px rgba(31, 38, 135, 0.08);
}

.secondary-main {
    padding-top: 64px;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 86px;
    background: linear-gradient(135deg, #f5f7ff 0%, #eef2ff 52%, #f8f0ff 100%);
}

.page-hero::before,
.page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.page-hero::before {
    width: 340px;
    height: 340px;
    top: -180px;
    right: 5%;
    background: rgba(102, 126, 234, 0.14);
}

.page-hero::after {
    width: 230px;
    height: 230px;
    bottom: -140px;
    left: 8%;
    background: rgba(240, 147, 251, 0.12);
}

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

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--text-light);
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

.page-title {
    margin-bottom: 22px;
    font-size: clamp(38px, 6vw, 62px);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.page-lead {
    max-width: 720px;
    color: var(--text-medium);
    font-size: 19px;
    line-height: 1.9;
}

.detail-section {
    padding: 88px 0;
    scroll-margin-top: 82px;
}

.detail-section.alt {
    background: #fff;
}

.detail-heading {
    max-width: 720px;
    margin-bottom: 42px;
}

.detail-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.detail-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.3;
}

.detail-heading p,
.detail-copy p {
    color: var(--text-medium);
    font-size: 17px;
    line-height: 1.9;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.detail-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-card {
    padding: 34px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(102, 126, 234, 0.07);
}

.alt .detail-card {
    background: #f8fafc;
}

.detail-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 16px;
    color: #fff;
    font-size: 23px;
    background: var(--primary-gradient);
}

.detail-card h3 {
    margin-bottom: 12px;
    font-size: 23px;
}

.detail-card p {
    color: var(--text-medium);
    line-height: 1.8;
}

.check-list {
    display: grid;
    gap: 11px;
    margin-top: 20px;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 25px;
    color: var(--text-medium);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: 700;
}

.split-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.visual-panel {
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border-radius: 30px;
    background: linear-gradient(145deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 24px 70px rgba(102, 126, 234, 0.28);
}

.visual-panel img {
    max-width: 260px;
    max-height: 270px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(20, 20, 50, 0.25));
}

.number-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.number-item {
    padding: 22px;
    text-align: center;
    border-radius: 18px;
    background: rgba(102, 126, 234, 0.08);
}

.number-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 28px;
}

.number-item span {
    color: var(--text-light);
    font-size: 13px;
}

.timeline {
    position: relative;
    display: grid;
    gap: 26px;
    max-width: 820px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 22px;
    width: 2px;
    background: #dbe2ff;
}

.timeline-item {
    position: relative;
    padding: 26px 30px 26px 72px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
}

.timeline-dot {
    position: absolute;
    top: 28px;
    left: 14px;
    width: 18px;
    height: 18px;
    border: 4px solid #eef2ff;
    border-radius: 50%;
    background: var(--primary-color);
}

.timeline-item strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 18px;
}

.timeline-item p {
    color: var(--text-medium);
}

.quote-card {
    position: relative;
}

.quote-card::before {
    content: '“';
    position: absolute;
    top: 8px;
    right: 24px;
    color: rgba(102, 126, 234, 0.12);
    font: 700 82px Georgia, serif;
}

.quote-card .testimonial-stars {
    margin-bottom: 16px;
}

.story-meta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
}

.faq-list {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: #fff;
}

.faq-item summary {
    padding: 22px 26px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
}

.faq-item p {
    padding: 0 26px 24px;
    color: var(--text-medium);
    line-height: 1.8;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: start;
}

.contact-panel {
    display: grid;
    gap: 18px;
}

.contact-panel .contact-method {
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    background: #fff;
}

.contact-panel .contact-icon {
    color: #fff;
    background: var(--primary-gradient);
}

.contact-panel .contact-label {
    color: var(--text-light);
}

.contact-panel .contact-value {
    color: var(--text-dark);
}

.secondary-form {
    padding: 38px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 18px 50px rgba(102, 126, 234, 0.1);
}

.secondary-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 600;
}

.cta-band {
    margin-bottom: 88px;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 46px 54px;
    border-radius: 28px;
    color: #fff;
    background: var(--primary-gradient);
    box-shadow: 0 20px 55px rgba(102, 126, 234, 0.28);
}

.cta-band h2 {
    margin-bottom: 8px;
    font-size: 30px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.82);
}

.cta-band .btn {
    flex-shrink: 0;
    background: #fff;
    color: var(--primary-color);
}

.secondary-footer {
    padding: 54px 0 28px;
    color: rgba(255, 255, 255, 0.7);
    background: #0d1117;
}

.secondary-footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 34px;
}

.secondary-footer .footer-logo {
    color: #fff;
}

.secondary-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
}

.secondary-footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.secondary-footer-nav a:hover {
    color: #fff;
}

.secondary-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 900px) {
    .detail-grid.three,
    .split-layout,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .visual-panel {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .secondary-page .nav-container {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .secondary-page .nav-menu {
        order: 3;
        display: flex;
        width: 100%;
        gap: 22px;
        padding-top: 8px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        border-top: 1px solid rgba(102, 126, 234, 0.1);
    }

    .secondary-page .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .secondary-page .nav-link {
        padding: 4px 0 7px;
        font-size: 14px;
    }

    .secondary-page .nav-cta {
        display: none;
    }

    .secondary-main {
        padding-top: 106px;
    }

    .page-hero {
        padding: 72px 0 62px;
    }

    .page-lead {
        font-size: 16px;
    }

    .detail-section {
        padding: 64px 0;
        scroll-margin-top: 106px;
    }

    .detail-grid,
    .number-grid {
        grid-template-columns: 1fr;
    }

    .detail-card,
    .secondary-form {
        padding: 26px;
    }

    .cta-band-inner,
    .secondary-footer-main {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-band-inner {
        padding: 34px 28px;
    }
}
