/* ═══════════════════════════════════════════════════════
   VETO PROTOCOL — Premium Page Styles
   Design: Top-tier 2026 visual language
   ═══════════════════════════════════════════════════════ */

/* ─── Canvas ─── */
.veto-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.2) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.2) 70%, transparent 100%);
}

/* ═══════════ HERO ═══════════ */
.vp-hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
}

.vp-hero__inner {
    max-width: 820px;
    animation: vpFadeUp 1s ease-out both;
}

.vp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1.1rem;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan-neon, #00F3FF);
    background: rgba(0, 243, 255, 0.06);
    border: 1px solid rgba(0, 243, 255, 0.18);
    margin-bottom: 1.8rem;
    animation: vpBadgePulse 3s ease-in-out infinite;
}

.vp-hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success-neon, #00FF9D);
    box-shadow: 0 0 8px var(--success-neon, #00FF9D);
    animation: vpDotPulse 2s ease-in-out infinite;
}

.vp-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 0.9rem;
    background: linear-gradient(135deg, #fff 0%, rgba(0, 243, 255, 0.85) 50%, rgba(139, 92, 246, 0.75) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vp-hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.vp-hero__intro {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 2.5rem;
}

/* ─── Metrics Strip ─── */
.vp-hero__metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.4rem 2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vp-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.vp-metric__value {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan-neon, #00F3FF);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.vp-metric__label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
}

.vp-metric__divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
}

/* ─── Scroll Indicator ─── */
.vp-hero__scroll {
    margin-top: auto;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--font-mono);
    animation: vpScrollFloat 2.5s ease-in-out infinite;
}

.scroll-dot {
    animation: vpScrollDot 2s ease-in-out infinite;
}


/* ═══════════ SECTIONS (Shared) ═══════════ */
.vp-section {
    position: relative;
    z-index: 1;
    padding: 6rem 1.5rem;
}

.vp-section--alt {
    background: rgba(139, 92, 246, 0.018);
}

.vp-section__container {
    max-width: 1080px;
    margin: 0 auto;
}

.vp-section__badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.vp-section__num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    color: var(--cyan-neon, #00F3FF);
    background: rgba(0, 243, 255, 0.08);
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 243, 255, 0.14);
}

.vp-section__header {
    margin-bottom: 3rem;
    max-width: 700px;
}

.vp-section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vp-section__subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}


/* ═══════════ SECTION 1: CARDS GRID ═══════════ */
.vp-section__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.vp-card {
    padding: 2rem 1.6rem;
    border-radius: 18px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.vp-card:hover {
    transform: translateY(-4px);
}

.vp-card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.2rem;
    opacity: 0.8;
}

.vp-card__icon svg {
    width: 100%;
    height: 100%;
}

/* Card accent variants */
.vp-card--red .vp-card__icon { color: #FF4C6B; }
.vp-card--red:hover { box-shadow: 0 8px 40px rgba(255, 76, 107, 0.08); }

.vp-card--cyan .vp-card__icon { color: var(--cyan-neon, #00F3FF); }
.vp-card--cyan:hover { box-shadow: 0 8px 40px rgba(0, 243, 255, 0.08); }

.vp-card--purple .vp-card__icon { color: var(--purple-neon, #8B5CF6); }
.vp-card--purple:hover { box-shadow: 0 8px 40px rgba(139, 92, 246, 0.08); }

.vp-card--green .vp-card__icon { color: var(--success-neon, #00FF9D); }
.vp-card--green:hover { box-shadow: 0 8px 40px rgba(0, 255, 157, 0.08); }

.vp-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
}


/* ═══════════ SECTION 2: FEATURE LIST ═══════════ */
.vp-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vp-feature {
    display: flex;
    gap: 1.4rem;
    padding: 1.6rem 1.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.35s ease, border-color 0.35s ease;
}

.vp-feature:hover {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(0, 243, 255, 0.12);
}

.vp-feature__bar {
    width: 3px;
    min-height: 100%;
    border-radius: 3px;
    background: linear-gradient(to bottom, var(--cyan-neon, #00F3FF), var(--purple-neon, #8B5CF6));
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.35s ease;
}

.vp-feature:hover .vp-feature__bar { opacity: 1; }

.vp-feature__content h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.4rem;
}

.vp-feature__content p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.45);
}


/* ═══════════ SECTION 3: LEARNING LOOP ═══════════ */
.vp-loop {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp-loop__track {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp-loop__svg {
    width: 85%;
    height: 85%;
    animation: vpLoopRotate 50s linear infinite;
}

.vp-loop__circle {
    opacity: 0.35;
}

.vp-loop__nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.vp-loop__node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 260px;
}

.vp-loop__node--1 { top: 0; left: 50%; transform: translateX(-50%); flex-direction: column; text-align: center; }
.vp-loop__node--2 { top: 50%; right: 0; transform: translateY(-50%); }
.vp-loop__node--3 { bottom: 0; left: 50%; transform: translateX(-50%); flex-direction: column; text-align: center; }
.vp-loop__node--4 { top: 50%; left: 0; transform: translateY(-50%); flex-direction: row-reverse; text-align: right; }

.vp-loop__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cyan-neon, #00F3FF);
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.35);
    flex-shrink: 0;
    animation: vpDotPulse 2.5s ease-in-out infinite;
}

.vp-loop__node--2 .vp-loop__dot { background: var(--purple-neon, #8B5CF6); box-shadow: 0 0 16px rgba(139, 92, 246, 0.35); }
.vp-loop__node--3 .vp-loop__dot { background: var(--success-neon, #00FF9D); box-shadow: 0 0 16px rgba(0, 255, 157, 0.35); }
.vp-loop__node--4 .vp-loop__dot { background: #FF4C6B; box-shadow: 0 0 16px rgba(255, 76, 107, 0.35); }

.vp-loop__label h4 {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.3rem;
}

.vp-loop__label p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.38);
}


/* ═══════════ SECTION 4: PILLARS ═══════════ */
.vp-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
}

.vp-pillar {
    padding: 2rem 1.5rem;
    border-radius: 18px;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.vp-pillar:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 243, 255, 0.05);
}

.vp-pillar__top {
    width: 42px;
    height: 42px;
    margin: 0 auto 1.2rem;
    color: var(--cyan-neon, #00F3FF);
    opacity: 0.7;
}

.vp-pillar__top svg {
    width: 100%;
    height: 100%;
}

.vp-pillar h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.vp-pillar p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.42);
}


/* ═══════════ SECTION 5: TIMELINE ═══════════ */
.vp-timeline {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding-left: 2.5rem;
}

.vp-timeline__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 13px;
    width: 2px;
    background: linear-gradient(to bottom, var(--cyan-neon, #00F3FF), var(--purple-neon, #8B5CF6), var(--success-neon, #00FF9D));
    opacity: 0.15;
    border-radius: 2px;
}

.vp-timeline__step {
    position: relative;
    display: flex;
    gap: 1.2rem;
    padding-bottom: 2.5rem;
}

.vp-timeline__step:last-child { padding-bottom: 0; }

.vp-timeline__dot {
    position: absolute;
    left: -2.5rem;
    top: 0.15rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0, 243, 255, 0.08);
    border: 1.5px solid rgba(0, 243, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan-neon, #00F3FF);
    flex-shrink: 0;
}

.vp-timeline__dot svg {
    width: 14px;
    height: 14px;
}

.vp-timeline__dot--final {
    background: rgba(0, 255, 157, 0.1);
    border-color: rgba(0, 255, 157, 0.3);
    color: var(--success-neon, #00FF9D);
}

.vp-timeline__body h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.35rem;
}

.vp-timeline__body p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.42);
}


/* ═══════════ CONCLUSION ═══════════ */
.vp-conclusion {
    position: relative;
    z-index: 1;
    padding: 7rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.vp-conclusion__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.04) 0%, rgba(139, 92, 246, 0.02) 40%, transparent 70%);
    pointer-events: none;
}

.vp-conclusion__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}

.vp-conclusion__title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, rgba(0, 243, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vp-conclusion__points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem 1.5rem;
    margin-bottom: 2rem;
}

.vp-conclusion__point {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.vp-conclusion__check {
    color: var(--success-neon, #00FF9D);
    font-weight: 600;
    font-size: 0.9rem;
}

.vp-conclusion__text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── CTA Button ─── */
.vp-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    background: rgba(0, 243, 255, 0.08);
    border: 1px solid rgba(0, 243, 255, 0.2);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.vp-cta:hover {
    background: rgba(0, 243, 255, 0.14);
    border-color: rgba(0, 243, 255, 0.35);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    transform: translateY(-2px);
}

.vp-cta svg {
    transition: transform 0.35s ease;
}

.vp-cta:hover svg {
    transform: translateX(3px);
}


/* ═══════════ SCROLL REVEAL ═══════════ */
.vp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.vp-reveal.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.vp-card,
.vp-feature,
.vp-pillar,
.vp-timeline__step,
.vp-loop__node,
.vp-conclusion__point {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.vp-card.stagger-in,
.vp-feature.stagger-in,
.vp-pillar.stagger-in,
.vp-timeline__step.stagger-in,
.vp-loop__node.stagger-in,
.vp-conclusion__point.stagger-in {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════ KEYFRAMES ═══════════ */
@keyframes vpFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes vpBadgePulse {
    0%, 100% { border-color: rgba(0, 243, 255, 0.18); }
    50%      { border-color: rgba(0, 243, 255, 0.35); }
}

@keyframes vpDotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.3); opacity: 0.6; }
}

@keyframes vpScrollFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

@keyframes vpScrollDot {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50%      { transform: translateY(4px); opacity: 0.3; }
}

@keyframes vpLoopRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


/* ═══════════ RTL (FA / AR) ═══════════ */
[dir="rtl"] .vp-feature { flex-direction: row-reverse; }
[dir="rtl"] .vp-timeline { padding-left: 0; padding-right: 2.5rem; }
[dir="rtl"] .vp-timeline__line { left: auto; right: 13px; }
[dir="rtl"] .vp-timeline__dot { left: auto; right: -2.5rem; }
[dir="rtl"] .vp-loop__node--2 { right: auto; left: 0; flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .vp-loop__node--4 { left: auto; right: 0; flex-direction: row; text-align: left; }
[dir="rtl"] .vp-cta svg { transform: scaleX(-1); }
[dir="rtl"] .vp-cta:hover svg { transform: scaleX(-1) translateX(-3px); }


/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
    .vp-hero { padding: 7rem 1rem 3rem; min-height: 90vh; }
    .vp-hero__metrics { gap: 1rem; padding: 1rem; }
    .vp-metric__value { font-size: 1.2rem; }
    .vp-metric__divider { display: none; }
    .vp-section { padding: 4rem 1rem; }
    .vp-section__grid { grid-template-columns: 1fr; }
    .vp-pillars { grid-template-columns: 1fr 1fr; }
    
    /* Loop collapses to vertical */
    .vp-loop { aspect-ratio: auto; flex-direction: column; gap: 1.5rem; padding: 1rem 0; }
    .vp-loop__track { display: none; }
    .vp-loop__nodes { position: static; display: flex; flex-direction: column; gap: 1.5rem; width: 100%; height: auto; }
    .vp-loop__node {
        position: static !important;
        transform: none !important;
        flex-direction: row !important;
        text-align: left !important;
        max-width: 100%;
        gap: 1rem;
        padding: 1rem 1.2rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    [dir="rtl"] .vp-loop__node { text-align: right !important; flex-direction: row-reverse !important; }
}

@media (max-width: 480px) {
    .vp-pillars { grid-template-columns: 1fr; }
    .vp-conclusion__points { flex-direction: column; align-items: center; }
    .vp-hero__metrics { flex-direction: column; gap: 1.2rem; }
}


/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
    .vp-reveal { transition: none; opacity: 1; transform: none; }
    .vp-card, .vp-feature, .vp-pillar, .vp-timeline__step, .vp-loop__node, .vp-conclusion__point { transition: none; opacity: 1; transform: none; }
    .vp-hero__inner { animation: none; }
    .vp-loop__svg { animation: none; }
    .vp-hero__scroll, .vp-hero__badge, .vp-hero__badge-dot, .scroll-dot, .vp-loop__dot { animation: none; }
}
