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

html {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 15px;
    color: #314e73;
    background-color: #eef3fa;
    background-image: radial-gradient(circle at 60% 20%, #ffffff 0%, #eef3fa 60%);
    background-attachment: fixed;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.hc-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255, 245, 236, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(49, 78, 115, 0.1);
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hc-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #314e73;
    text-decoration: none;
}

.hc-nav-logo img {
    width: 32px;
    height: 32px;
}

.hc-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.hc-nav-links a {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #314e73;
    transition: background 0.15s, color 0.15s;
}

.hc-nav-links a:hover {
    background: rgba(49, 78, 115, 0.08);
}

.hc-nav-links a.hc-nav-active {
    color: #e87722;
    font-weight: 700;
}

.hc-nav-install {
    padding: 7px 16px !important;
    background: #314e73 !important;
    color: #eef3fa !important;
    border-radius: 999px !important;
}

.hc-nav-install:hover {
    background: #e87722 !important;
}

.hc-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}

.hc-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #314e73;
    border-radius: 2px;
}

/* ── Hero ── */
.hc-hero {
    padding: 80px 24px 40px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.hc-hero-text h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #314e73;
}

.hc-hero-text h1 span {
    color: #e87722;
}

.hc-hero-text p {
    font-size: 16px;
    line-height: 1.65;
    color: #4a6385;
    margin-bottom: 28px;
}

.hc-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #314e73;
    color: #eef3fa;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 12px rgba(49, 78, 115, 0.25);
    text-decoration: none;
}

.hc-btn-primary:hover {
    background: #e87722;
    box-shadow: 0 6px 16px rgba(232, 119, 34, 0.35);
}

.hc-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(232, 119, 34, 0.08);
    color: #314e73;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), inset 0 -1px 2px rgba(255,255,255,0.8);
    margin-left: 12px;
}

.hc-btn-secondary:hover {
    background: rgba(232, 119, 34, 0.16);
    color: #e87722;
}

.hc-hero-video {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(49, 78, 115, 0.18);
    aspect-ratio: 16/9;
}

.hc-hero-video iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* ── Steps ── */
.hc-steps {
    background: white;
    padding: 40px 24px;
}

.hc-steps-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hc-section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e87722;
    margin-bottom: 8px;
}

.hc-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #314e73;
    margin-bottom: 24px;
}

.hc-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hc-steps-grid {
    align-items: stretch;
}

.hc-step-wrap {
    position: relative;
    display: flex;
}

.hc-step-number {
    position: absolute;
    left: -16px;
    top: 16px;
    z-index: 0;
    background: #314e73;
    color: #eef3fa;
    font-weight: 800;
    font-size: 15px;
    width: 36px;
    height: 80px;
    border-radius: 8px 0 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-step-card {
    position: relative;
    z-index: 1;
    background: #eef3fa;
    border-radius: 20px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 2px 12px rgba(49, 78, 115, 0.08);
    flex: 1;
    margin-left: 20px;
}

.hc-step-card img {
    width: 48px;
    height: 48px;
    filter: invert(52%) sepia(61%) saturate(1200%) hue-rotate(2deg) brightness(98%) contrast(93%);
}

.hc-step-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #314e73;
}

.hc-step-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a6385;
}

/* ── Features ── */
.hc-features {
    padding: 40px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.hc-features-card {
    background: white;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 2px 10px rgba(49, 78, 115, 0.07);
}

.hc-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.hc-feature-item {
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border-bottom: 1px solid rgba(49, 78, 115, 0.07);
}

.hc-feature-item:nth-child(odd) {
    border-right: 1px solid rgba(49, 78, 115, 0.07);
}

.hc-feature-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.hc-feature-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hc-feature-item h4 {
    font-size: 14px;
    font-weight: 700;
    color: #314e73;
    margin-bottom: 4px;
}

.hc-feature-item p {
    font-size: 13px;
    color: #4a6385;
    line-height: 1.55;
}

/* ── CTA ── */
.hc-cta {
    background: #314e73;
    padding: 40px 24px;
    text-align: center;
}

.hc-cta h2 {
    font-size: 30px;
    font-weight: 800;
    color: #eef3fa;
    margin-bottom: 12px;
}

.hc-cta p {
    color: rgba(255, 245, 236, 0.75);
    font-size: 15px;
    margin-bottom: 28px;
}

.hc-cta .hc-btn-primary {
    background: #e87722;
    color: white;
    box-shadow: 0 4px 16px rgba(232, 119, 34, 0.4);
}

.hc-cta .hc-btn-primary:hover {
    background: #cf6a1d;
}

/* ── Scroll to top ── */
#scrollTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #314e73;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(49, 78, 115, 0.3);
}

#scrollTop.visible {
    opacity: 1;
    pointer-events: auto;
}

#scrollTop:hover {
    background: #e87722;
}

#scrollTop::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2.5px solid #eef3fa;
    border-top: 2.5px solid #eef3fa;
    transform: rotate(45deg) translate(2px, 2px);
}

/* ── Footer ── */
.hc-footer {
    background: #eef3fa;
    border-top: 1px solid rgba(49, 78, 115, 0.1);
    padding: 14px 24px;
    text-align: center;
    font-size: 13px;
    color: #4a6385;
    margin-top: auto;
}

.hc-footer a {
    color: #4a6385;
    text-decoration: underline;
}

.hc-ad-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 160px;
    z-index: 50;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hc-nav-links { display: none; }
    .hc-hamburger { display: flex; }

    .hc-hero {
        grid-template-columns: 1fr;
        padding-top: 70px;
        gap: 32px;
    }

    .hc-hero-text h1 { font-size: 28px; }

    .hc-steps-grid,
    .hc-features-grid {
        grid-template-columns: 1fr;
    }

    .hc-feature-item:nth-child(odd) {
        border-right: none;
    }

    .hc-feature-item:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(49, 78, 115, 0.07);
    }

    .hc-feature-item:last-child {
        border-bottom: none;
    }
}
