:root {
    --hp-bg: #05050a;
    --hp-surface: #0c0c12;
    --hp-surface-elevated: #12121c;
    --hp-text: #f4f4f8;
    --hp-text-muted: #8b8b9e;
    --hp-accent: #6366f1;
    --hp-accent-soft: rgba(99, 102, 241, 0.18);
    --hp-success: #22c55e;
    --hp-border: rgba(255, 255, 255, 0.06);
    --hp-font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --hp-neon-blue: #3b82f6;
    --hp-neon-purple: #8b5cf6;
    --hp-neon-cyan: #06b6d4;
    --hp-gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #1a0a2e 40%, #0a1628 70%, #05050a 100%);
    --hp-glow-purple: rgba(139, 92, 246, 0.4);
    --hp-glow-blue: rgba(59, 130, 246, 0.35);
    --hp-glow-cyan: rgba(6, 182, 212, 0.25);
}

.homepage-wrap {
    font-family: var(--hp-font);
    background: var(--hp-bg);
    color: var(--hp-text);
    overflow-x: hidden;
}

.homepage-wrap main {
    min-height: auto;
}

.hp-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
    --mouse-x: 0;
    --mouse-y: 0;
}

.hp-hero-bg {
    position: absolute;
    inset: -20%;
    background: 
        radial-gradient(ellipse 100% 80% at 50% -20%, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.12) 30%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 45%),
        radial-gradient(ellipse 60% 40% at 15% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
    pointer-events: none;
    transition: transform 0.2s ease-out;
    transform: translate(calc(var(--mouse-x) * 12px), calc(var(--mouse-y) * 12px));
}

.hp-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    margin-top: -300px;
    margin-left: -300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
    pointer-events: none;
    transition: transform 0.25s ease-out;
    transform: translate(calc(var(--mouse-x) * 40px), calc(var(--mouse-y) * 40px));
}

.hp-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    animation: hp-gridMove 25s linear infinite;
    transform: perspective(800px) rotateX(60deg) translateY(0);
    transform-origin: 50% 0%;
}

@keyframes hp-gridMove {
    0% { transform: perspective(800px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(800px) rotateX(60deg) translateY(64px); }
}

.hp-hero-3d {
    position: absolute;
    inset: 0;
    perspective: 1200px;
    perspective-origin: 50% 50%;
    pointer-events: none;
    z-index: 1;
}

.hp-float {
    position: absolute;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: rgba(139, 92, 246, 0.5);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 14px;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.08);
    transition: transform 0.15s ease-out;
}

.hp-hero:hover .hp-float {
    transform: translate3d(calc(var(--mouse-x) * 8px), calc(var(--mouse-y) * 8px), 0);
}

.hp-float i {
    font-size: inherit;
}

.hp-float-1 { top: 12%; left: 8%; animation: hp-float1 14s ease-in-out infinite; }
.hp-float-2 { top: 18%; right: 12%; animation: hp-float2 16s ease-in-out infinite 1s; }
.hp-float-3 { bottom: 25%; left: 10%; animation: hp-float3 12s ease-in-out infinite 0.5s; }
.hp-float-4 { bottom: 15%; right: 15%; animation: hp-float4 15s ease-in-out infinite 2s; }
.hp-float-5 { top: 45%; left: 5%; animation: hp-float5 13s ease-in-out infinite 0.3s; }
.hp-float-6 { top: 35%; right: 8%; animation: hp-float6 17s ease-in-out infinite 1.5s; }
.hp-float-7 { top: 70%; left: 18%; animation: hp-float7 11s ease-in-out infinite; }
.hp-float-8 { top: 8%; right: 28%; animation: hp-float8 18s ease-in-out infinite 0.8s; }
.hp-float-9 { bottom: 35%; right: 6%; animation: hp-float9 14s ease-in-out infinite 2.5s; }

@keyframes hp-float1 {
    0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); }
    50% { transform: translate3d(15px, -20px, 20px) rotateY(8deg); }
}

@keyframes hp-float2 {
    0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); }
    50% { transform: translate3d(-20px, 15px, 15px) rotateY(-6deg); }
}

@keyframes hp-float3 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(10px, -15px, 25px); }
}

@keyframes hp-float4 {
    0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); }
    50% { transform: translate3d(-12px, -18px, 10px) rotateY(5deg); }
}

@keyframes hp-float5 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(18px, 10px, 30px); }
}

@keyframes hp-float6 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-15px, -12px, 20px); }
}

@keyframes hp-float7 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-8px, 20px, 15px); }
}

@keyframes hp-float8 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(12px, 8px, 25px) rotateY(-4deg); }
}

@keyframes hp-float9 {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(-18px, -10px, 18px); }
}

.hp-mini-chart {
    position: absolute;
    width: 56px;
    height: 32px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding: 6px 8px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.06);
}

.hp-mini-chart::before,
.hp-mini-chart::after {
    content: '';
    flex: 1;
    min-width: 8px;
    height: 35%;
    background: linear-gradient(to top, var(--hp-neon-purple), var(--hp-accent));
    border-radius: 4px;
    animation: hp-miniChartBar 2.5s ease-in-out infinite;
}

.hp-mini-chart::after {
    animation-delay: 0.4s;
}

.hp-mini-chart-1 { top: 22%; right: 22%; animation: hp-float1 13s ease-in-out infinite 0.5s; }
.hp-mini-chart-2 { bottom: 30%; left: 22%; animation: hp-float3 14s ease-in-out infinite 1s; }
.hp-mini-chart-3 { top: 55%; right: 25%; animation: hp-float2 15s ease-in-out infinite 1.5s; }

@keyframes hp-miniChartBar {
    0%, 100% { height: 35%; }
    50% { height: 90%; }
}

.hp-hero-content {
    position: relative;
    z-index: 2;
    transition: transform 0.12s ease-out;
}

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.15rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(196, 181, 253, 0.95);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: hp-fadeUp 0.6s ease forwards 0.2s;
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.1);
}

.hp-hero-title {
    font-size: clamp(2.75rem, 6.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: hp-fadeUp 0.7s ease forwards 0.35s;
}

.hp-hero-title .gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #6366f1 35%, #3b82f6 70%, #06b6d4 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hp-gradientShift 6s ease infinite;
}

@keyframes hp-gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hp-hero-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--hp-text);
    max-width: 500px;
    margin-bottom: 0.75rem;
    line-height: 1.45;
    opacity: 0;
    animation: hp-fadeUp 0.6s ease forwards 0.45s;
}

.hp-hero-sub {
    font-size: 1.05rem;
    color: var(--hp-text-muted);
    max-width: 520px;
    margin-bottom: 2rem;
    line-height: 1.65;
    opacity: 0;
    animation: hp-fadeUp 0.7s ease forwards 0.5s;
}

.hp-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--hp-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.hp-scroll-hint:hover {
    color: var(--hp-neon-cyan);
}

.hp-scroll-hint-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--hp-neon-cyan), transparent);
    border-radius: 2px;
    animation: hp-scrollLine 2s ease-in-out infinite;
    box-shadow: 0 0 12px var(--hp-glow-cyan);
}

@keyframes hp-scrollLine {
    0%, 100% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

.hp-pillar-strip {
    padding: 2.75rem 0;
    border-top: 1px solid var(--hp-border);
    border-bottom: 1px solid var(--hp-border);
    background: linear-gradient(180deg, var(--hp-surface) 0%, var(--hp-bg) 100%);
    position: relative;
}

.hp-pillar-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(99, 102, 241, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

.hp-pillar-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.hp-pillar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.4rem;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--hp-text-muted);
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    opacity: 0;
}

.hp-pillar-item.visible {
    animation: hp-fadeUp 0.5s ease forwards;
}

.hp-pillar-item:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
    color: var(--hp-text);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.1);
}

.hp-pillar-item i {
    font-size: 1.25rem;
    color: var(--hp-neon-purple);
}

.hp-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: hp-fadeUp 0.7s ease forwards 0.65s;
}

.hp-hero-cta .btn {
    padding: 0.95rem 1.85rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-hero-cta .btn-primary {
    background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-neon-purple) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.hp-hero-cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.5), 0 0 30px rgba(139, 92, 246, 0.2);
    color: #fff;
}

.hp-hero-cta .btn-outline-light {
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--hp-text);
    background: transparent;
}

.hp-hero-cta .btn-outline-light:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(139, 92, 246, 0.5);
    color: var(--hp-text);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.15);
}

.hp-hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: hp-fadeUp 0.9s ease forwards 0.5s;
}

.hp-dashboard-mock {
    background: rgba(18, 18, 28, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 24px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(99, 102, 241, 0.08);
}

.hp-dashboard-mock-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--hp-border);
}

.hp-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--hp-text-muted);
}

.hp-dot:nth-child(1) { background: #ef4444; }
.hp-dot:nth-child(2) { background: #eab308; }
.hp-dot:nth-child(3) { background: #22c55e; }

.hp-chart-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--hp-neon-purple), var(--hp-accent));
    margin-bottom: 0.5rem;
    animation: hp-chartGrow 2s ease-out forwards;
    transform-origin: left;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

.hp-chart-bar:nth-child(1) { width: 85%; animation-delay: 0.2s; }
.hp-chart-bar:nth-child(2) { width: 70%; animation-delay: 0.4s; }
.hp-chart-bar:nth-child(3) { width: 92%; animation-delay: 0.6s; }
.hp-chart-bar:nth-child(4) { width: 65%; animation-delay: 0.8s; }
.hp-chart-bar:nth-child(5) { width: 78%; animation-delay: 1s; }

@keyframes hp-chartGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes hp-fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hp-section {
    padding: 5.5rem 0;
    position: relative;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hp-section[data-hp-section] {
    opacity: 0.98;
}

.hp-section-title {
    font-size: clamp(1.85rem, 4.2vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 0.75rem;
    position: relative;
    opacity: 0;
}

.hp-section-title.visible {
    animation: hp-fadeUp 0.6s ease forwards;
}

.hp-section-title.visible::after {
    animation: hp-titleLine 0.6s ease forwards 0.2s;
}

.hp-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.35rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--hp-neon-cyan), var(--hp-neon-purple), transparent);
}

@keyframes hp-titleLine {
    to { transform: translateX(-50%) scaleX(1); }
}

.hp-section-sub {
    text-align: center;
    color: var(--hp-text-muted);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 3rem;
    opacity: 0;
}

.hp-section-sub.visible {
    animation: hp-fadeUp 0.6s ease forwards 0.08s;
}

.hp-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.hp-feature-card {
    background: linear-gradient(180deg, var(--hp-surface-elevated) 0%, var(--hp-surface) 100%);
    border: 1px solid var(--hp-border);
    border-radius: 1.25rem;
    padding: 2rem;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.hp-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--hp-neon-purple), var(--hp-neon-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hp-feature-card.visible {
    animation: hp-fadeUp 0.6s ease forwards;
}

.hp-feature-card.visible[data-hp-delay="0"] { animation-delay: 0s; }
.hp-feature-card.visible[data-hp-delay="1"] { animation-delay: 0.08s; }
.hp-feature-card.visible[data-hp-delay="2"] { animation-delay: 0.16s; }
.hp-feature-card.visible[data-hp-delay="3"] { animation-delay: 0.24s; }

.hp-feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 28px 56px rgba(0,0,0,0.3), 0 0 40px rgba(99, 102, 241, 0.12);
}

.hp-feature-card:hover::before {
    opacity: 1;
}

.hp-feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.15) 100%);
    color: var(--hp-neon-purple);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.hp-feature-card:hover .hp-feature-icon {
    transform: scale(1.1);
    box-shadow: 0 0 32px rgba(139, 92, 246, 0.3);
}

.hp-feature-card.visible .hp-feature-icon {
    animation: hp-iconPop 0.5s ease forwards;
}

@keyframes hp-iconPop {
    0% { transform: scale(0.8); opacity: 0.5; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.hp-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hp-feature-card p {
    color: var(--hp-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.hp-demo {
    background: linear-gradient(180deg, var(--hp-surface-elevated) 0%, var(--hp-surface) 100%);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 1.25rem;
    padding: 2.5rem;
    opacity: 0;
    box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}

.hp-demo.visible {
    animation: hp-fadeUp 0.7s ease forwards;
}

.hp-demo-input-wrap {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hp-demo-input {
    flex: 1;
    min-width: 200px;
    padding: 0.9rem 1.25rem;
    background: var(--hp-bg);
    border: 1px solid var(--hp-border);
    border-radius: 0.75rem;
    color: var(--hp-text);
    font-size: 1rem;
}

.hp-demo-input::placeholder {
    color: var(--hp-text-muted);
}

.hp-demo-input:focus {
    outline: none;
    border-color: var(--hp-neon-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.hp-demo-btn {
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-neon-purple) 100%);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hp-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.4);
    color: #fff;
}

.hp-report-preview {
    background: var(--hp-bg);
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid var(--hp-border);
}

.hp-report-score-row {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--hp-border);
    font-size: 0.9rem;
}

.hp-report-score-row:last-child {
    border-bottom: none;
}

.hp-report-score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.hp-report-score-row .label {
    color: var(--hp-text-muted);
}

.hp-report-score-row .value {
    font-weight: 600;
    color: var(--hp-success);
}

.hp-report-score-row .value.warn {
    color: #eab308;
}

.hp-score-suffix {
    color: var(--hp-text-muted);
    font-weight: 500;
}

.hp-score-bar-wrap {
    height: 8px;
    background: var(--hp-surface-elevated);
    border-radius: 4px;
    overflow: hidden;
}

.hp-score-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--hp-neon-purple), var(--hp-accent));
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-demo.visible .hp-score-bar-fill {
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-score-bar-warn {
    background: linear-gradient(90deg, #eab308, #facc15);
}

.hp-seo-error-hidden {
    display: none;
}

.hp-seo-error {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    color: #fca5a5;
    font-size: 0.9rem;
}

.hp-seo-loading-hidden {
    display: none;
}

.hp-seo-loading {
    padding: 2rem;
    margin-bottom: 1rem;
    background: var(--hp-bg);
    border: 1px solid var(--hp-border);
    border-radius: 0.75rem;
    text-align: center;
}

.hp-seo-loading-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    border: 3px solid var(--hp-surface-elevated);
    border-top-color: var(--hp-accent);
    border-radius: 50%;
    animation: hp-seo-spin 0.9s linear infinite;
}

@keyframes hp-seo-spin {
    to { transform: rotate(360deg); }
}

.hp-seo-loading-text {
    color: var(--hp-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.hp-report-preview.hp-results-loading {
    opacity: 0.5;
    pointer-events: none;
}

.hp-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.hp-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.75rem;
    background: linear-gradient(180deg, var(--hp-surface-elevated) 0%, var(--hp-surface) 100%);
    border: 1px solid var(--hp-border);
    border-radius: 1.25rem;
    opacity: 0;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.hp-benefit-item.visible {
    animation: hp-fadeUp 0.5s ease forwards;
}

.hp-benefit-item:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2), 0 0 24px rgba(99, 102, 241, 0.08);
}

.hp-benefit-num {
    width: 44px;
    height: 44px;
    border-radius: 0.6rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: var(--hp-neon-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.hp-benefit-item.visible .hp-benefit-num {
    animation: hp-numPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hp-benefit-item:hover .hp-benefit-num {
    transform: scale(1.1);
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.35);
}

@keyframes hp-numPop {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.hp-benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.hp-benefit-item p {
    color: var(--hp-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.hp-testimonials-wrap {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.hp-testimonials-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 0.5rem 0 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hp-testimonials-track::-webkit-scrollbar {
    display: none;
}

.hp-testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: linear-gradient(180deg, var(--hp-surface-elevated) 0%, var(--hp-surface) 100%);
    border: 1px solid var(--hp-border);
    border-radius: 1.25rem;
    padding: 2rem;
    opacity: 0;
    transition: box-shadow 0.3s ease;
}

.hp-testimonial-card.visible {
    animation: hp-fadeUp 0.5s ease forwards;
}

.hp-testimonial-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.hp-testimonial-card p {
    color: var(--hp-text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.hp-testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hp-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hp-accent), var(--hp-neon-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.hp-testimonial-card .name {
    font-weight: 600;
    font-size: 0.95rem;
}

.hp-testimonial-card .role {
    font-size: 0.85rem;
    color: var(--hp-text-muted);
}

.hp-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hp-testimonial-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--hp-border);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.hp-testimonial-dots button.active {
    background: var(--hp-neon-purple);
    transform: scale(1.25);
}

.hp-cta-block {
    background: linear-gradient(135deg, rgba(18, 18, 28, 0.95) 0%, rgba(12, 12, 20, 0.98) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 1.5rem;
    padding: 4.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hp-cta-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
    pointer-events: none;
}

.hp-cta-block h2 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    position: relative;
    letter-spacing: -0.02em;
}

.hp-cta-block p {
    color: var(--hp-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
}

.hp-cta-block .btn {
    position: relative;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-cta-block .btn-primary {
    background: linear-gradient(135deg, var(--hp-accent) 0%, var(--hp-neon-purple) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.hp-cta-block .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.5), 0 0 36px rgba(139, 92, 246, 0.2);
    color: #fff;
}

.hp-cta-block .btn-outline-light {
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: var(--hp-text);
    background: transparent;
}

.hp-cta-block .btn-outline-light:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.6);
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .hp-hero-bg,
    .hp-hero-glow,
    .hp-float {
        transition: none;
    }
    .hp-hero:hover .hp-float {
        transform: none;
    }
    .hp-hero-grid,
    .hp-float,
    .hp-mini-chart,
    .hp-scroll-hint-line,
    .hp-hero-badge,
    .hp-hero-title,
    .hp-hero-value,
    .hp-hero-sub,
    .hp-hero-cta,
    .hp-hero-title .gradient-text {
        animation: none !important;
    }
    .hp-hero-content { transition: none; }
    .hp-chart-bar { animation: none; }
    .hp-mini-chart::before,
    .hp-mini-chart::after { animation: none; }
}

@media (max-width: 768px) {
    .hp-hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }
    .hp-hero-value {
        font-size: 1.05rem;
    }
    .hp-scroll-hint {
        bottom: 1.5rem;
    }
    .hp-pillar-inner {
        gap: 1rem;
    }
    .hp-pillar-item {
        font-size: 0.875rem;
        padding: 0.6rem 1rem;
    }
    .hp-hero-cta {
        flex-direction: column;
    }
    .hp-hero-cta .btn {
        width: 100%;
    }
    .hp-section {
        padding: 3.5rem 0;
    }
    .hp-demo-input-wrap {
        flex-direction: column;
    }
    .hp-demo-input {
        min-width: 100%;
    }
    .hp-testimonial-card {
        flex: 0 0 92%;
    }
}

@media (max-width: 576px) {
    .hp-dashboard-mock {
        padding: 1rem;
    }
}
