/* ============================================================
   homepage.css — onlyian.com one-pager homepage
   Scoped to .hp-* classes so it never conflicts with
   the rest of the OnlyIan site styles.
   ============================================================ */

:root {
    --hp-bg:     #0d1b2a;
    --hp-accent: #00c2ff;
    --hp-dim:    rgba(255,255,255,0.35);
    --hp-faint:  rgba(255,255,255,0.08);
    --hp-rule:   rgba(255,255,255,0.07);
}

/* ── Hero ──────────────────────────────────────────────────── */
.hp-hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--hp-bg);
    padding: 5rem 0;
    position: relative;
}

.hp-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.22);
    margin-bottom: 2rem;
}

.hp-title {
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.91;
    color: #fff;
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.hp-title .hp-accent { color: var(--hp-accent); }

.hp-tagline {
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.28);
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.hp-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.38);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    text-decoration: none;
    transition: color 150ms, border-color 150ms;
}
.hp-ghost-btn:hover, .hp-ghost-btn:focus {
    color: #fff;
    border-color: rgba(255,255,255,0.38);
    text-decoration: none;
}

/* Scroll bounce */
.hp-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.1);
    font-size: 0.75rem;
    animation: hp-bounce 2.6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes hp-bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(7px); }
}
@media (prefers-reduced-motion: reduce) { .hp-scroll-hint { animation: none; } }

/* ── Sections ──────────────────────────────────────────────── */
.hp-section {
    padding: 5rem 0;
    background: var(--hp-bg);
    border-top: 1px solid var(--hp-rule);
    scroll-margin-top: 56px; /* existing navbar height */
}

.hp-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hp-accent);
    opacity: 0.75;
    margin-bottom: 1.2rem;
}

.hp-h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 2.5rem;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

.hp-body {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.32);
    line-height: 1.8;
    max-width: 54ch;
    margin: 2rem 0 0;
}

/* ── Service tags ──────────────────────────────────────────── */
.hp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.hp-tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.38);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 0.35em 0.95em;
    letter-spacing: 0.02em;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* ── Brand rows ────────────────────────────────────────────── */
.hp-brand-list { margin-top: 0.5rem; }

.hp-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--hp-rule);
    text-decoration: none;
    color: #fff;
    transition: opacity 200ms;
}
.hp-brand-list > .hp-brand:first-child { border-top: 1px solid var(--hp-rule); }
.hp-brand:hover, .hp-brand:focus { opacity: 0.6; color: #fff; text-decoration: none; }

.hp-brand__name {
    font-size: clamp(1.2rem, 2.5vw, 1.7rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.hp-brand__desc {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.28);
    font-weight: 400;
    margin-left: auto;
}
.hp-brand__arrow {
    color: rgba(255,255,255,0.12);
    font-size: 0.65rem;
    flex-shrink: 0;
    transition: color 150ms, transform 150ms;
}
.hp-brand:hover .hp-brand__arrow { color: var(--hp-accent); transform: translate(2px,-2px); }

/* ── Portal CTA block ──────────────────────────────────────── */
.hp-portal {
    padding: 2.5rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1.25rem;
    background: rgba(0,194,255,0.025);
}
.hp-portal__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--hp-accent);
    background: rgba(0,194,255,0.07);
    border: 1px solid rgba(0,194,255,0.18);
    border-radius: 999px;
    padding: 0.35em 1em;
    margin-bottom: 1.5rem;
}
.hp-portal__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 0.9rem;
    line-height: 1.1;
    font-family: 'Segoe UI', system-ui, sans-serif;
}
.hp-portal__body {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.38);
    line-height: 1.8;
    max-width: 50ch;
    margin: 0 0 2rem;
}
.hp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--hp-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(0,194,255,0.3);
    padding-bottom: 1px;
    transition: border-color 150ms, opacity 150ms;
}
.hp-cta:hover, .hp-cta:focus { color: var(--hp-accent); border-bottom-color: var(--hp-accent); opacity: 0.75; text-decoration: none; }

/* ── Footer ────────────────────────────────────────────────── */
.hp-footer {
    background: var(--hp-bg);
    border-top: 1px solid var(--hp-rule);
    padding: 2rem 0;
}
.hp-footer a { color: rgba(255,255,255,0.2); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; transition: color 150ms; }
.hp-footer a:hover { color: rgba(255,255,255,0.55); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 575.98px) {
    .hp-section { padding: 3.5rem 0; }
    .hp-portal  { padding: 1.75rem 1.5rem; }
    .hp-brand__desc { display: none; }
}
