/* =====================================================
   Pulsar67 — Marketing Site Styles
   Brand:   #685acc (violet)
   Theme:   Deep-space dark
   ===================================================== */

:root {
    --p67-primary: #685acc;
    --p67-primary-2: #8b80d8;
    --p67-primary-dark: #4f43a8;
    --p67-primary-soft: rgba(104, 90, 204, 0.12);
    --p67-primary-glow: rgba(104, 90, 204, 0.45);

    --p67-bg: #0a0918;
    --p67-bg-2: #0f0d22;
    --p67-bg-3: #15123a;
    --p67-surface: #1a1640;
    --p67-surface-2: #221d4d;
    --p67-border: rgba(139, 128, 216, 0.18);
    --p67-border-strong: rgba(139, 128, 216, 0.35);

    --p67-text: #ece9f8;
    --p67-text-muted: #a3a0c4;
    --p67-text-dim: #6c6a8a;

    --p67-radius: 14px;
    --p67-radius-lg: 22px;
    --p67-shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.35);
    --p67-shadow-glow: 0 12px 40px rgba(104, 90, 204, 0.35);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--p67-bg);
    color: var(--p67-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--p67-text);
}

a { color: var(--p67-primary-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--p67-text); }

::selection { background: var(--p67-primary); color: #fff; }

/* ---------- Buttons ---------- */
.p67-btn-primary {
    background: linear-gradient(135deg, var(--p67-primary) 0%, var(--p67-primary-dark) 100%);
    color: #fff;
    border: 1px solid transparent;
    padding: .75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(104, 90, 204, 0.45), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.p67-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(104, 90, 204, 0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}
.p67-btn-primary:active { transform: translateY(0); }

.p67-btn-ghost {
    background: transparent;
    color: var(--p67-text);
    border: 1px solid var(--p67-border-strong);
    padding: .75rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all .2s ease;
}
.p67-btn-ghost:hover {
    color: #fff;
    background: var(--p67-primary-soft);
    border-color: var(--p67-primary-2);
}

/* ---------- Navbar ---------- */
.p67-navbar {
    background: transparent;
    padding: 1rem 0;
    transition: background .25s ease, padding .25s ease, backdrop-filter .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}
.p67-navbar.p67-navbar-scrolled {
    background: rgba(10, 9, 24, 0.78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom-color: var(--p67-border);
    padding: .55rem 0;
}
.p67-brand img { display: block; }
.p67-navbar .nav-link {
    color: var(--p67-text-muted);
    font-weight: 500;
    padding: .5rem 1rem !important;
    transition: color .2s ease;
}
.p67-navbar .nav-link:hover { color: #fff; }
.p67-toggler {
    border: 1px solid var(--p67-border-strong);
    color: var(--p67-text);
    padding: .45rem .7rem;
    border-radius: 10px;
}
.p67-toggler:focus { box-shadow: 0 0 0 3px var(--p67-primary-soft); }

/* ---------- Hero ---------- */
.p67-hero {
    position: relative;
    min-height: 100vh;
    padding: 9rem 0 6rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(104, 90, 204, 0.22), transparent 60%),
        radial-gradient(ellipse at 10% 90%, rgba(79, 67, 168, 0.18), transparent 55%),
        linear-gradient(180deg, var(--p67-bg) 0%, var(--p67-bg-2) 100%);
}
.p67-hero-row { min-height: calc(100vh - 9rem); }

.p67-hero-glow {
    position: absolute;
    top: 30%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(104, 90, 204, 0.25) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.p67-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem;
    border-radius: 999px;
    background: var(--p67-primary-soft);
    border: 1px solid var(--p67-border);
    color: var(--p67-primary-2);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.p67-eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--p67-primary-2);
    box-shadow: 0 0 8px var(--p67-primary-2);
    animation: p67-dot-pulse 2s ease-in-out infinite;
}

.p67-hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}
.p67-gradient-text {
    background: linear-gradient(120deg, #b0a6e8 0%, var(--p67-primary) 50%, #8b80d8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: p67-gradient-shift 6s ease-in-out infinite;
}
.p67-hero-sub {
    font-size: 1.15rem;
    color: var(--p67-text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}
.p67-hero-cta {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.p67-hero-stats {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.p67-hero-stats > div:not(.p67-hero-stats-divider) {
    display: flex;
    flex-direction: column;
}
.p67-hero-stats strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: #fff;
    line-height: 1;
}
.p67-hero-stats span {
    font-size: .82rem;
    color: var(--p67-text-muted);
    margin-top: .25rem;
}
.p67-hero-stats-divider {
    width: 1px;
    height: 32px;
    background: var(--p67-border);
}

.p67-hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.p67-hero-scroll a {
    width: 26px; height: 42px;
    border: 2px solid var(--p67-border-strong);
    border-radius: 13px;
    display: flex; justify-content: center;
    padding-top: 8px;
}
.p67-hero-scroll span {
    width: 3px; height: 8px;
    background: var(--p67-primary-2);
    border-radius: 2px;
    animation: p67-scroll-dot 2s ease-in-out infinite;
}

/* ---------- Starfield ---------- */
.p67-starfield {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.p67-star {
    --p67-star-scale: 1;
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    opacity: .8;
    transform: scale(var(--p67-star-scale));
    box-shadow: 0 0 4px rgba(255,255,255,0.6);
    animation: p67-twinkle 3s ease-in-out infinite;
}

/* ---------- Pulsar animation ---------- */
.p67-pulsar {
    width: min(100%, 480px);
    aspect-ratio: 1 / 1;
    position: relative;
    filter: drop-shadow(0 0 40px rgba(104, 90, 204, 0.4));
}
.p67-pulsar svg { width: 100%; height: 100%; }

.p67-pulsar-beams {
    transform-origin: 0 0;
    animation: p67-beam-rotate 6s linear infinite;
}
.p67-pulsar-orbits {
    transform-origin: 0 0;
    animation: p67-orbit-rotate 24s linear infinite;
}
.p67-pulsar-orbit-dot {
    transform-origin: 0 0;
    animation: p67-orbit-rotate 8s linear infinite;
}
.p67-pulsar-core {
    transform-origin: 0 0;
    animation: p67-core-pulse 2.2s ease-in-out infinite;
}
.p67-pulsar-core-inner {
    transform-origin: 0 0;
    animation: p67-core-pulse-inner 2.2s ease-in-out infinite;
}

/* ---------- Sections ---------- */
.p67-section {
    padding: 6rem 0;
    position: relative;
}
.p67-section-alt {
    background: linear-gradient(180deg, var(--p67-bg-2) 0%, var(--p67-bg) 100%);
    border-top: 1px solid var(--p67-border);
    border-bottom: 1px solid var(--p67-border);
}
.p67-section-head {
    max-width: 720px;
    margin: 0 auto 4rem;
}
.p67-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin: 1rem 0 1rem;
}
.p67-section-sub {
    font-size: 1.1rem;
    color: var(--p67-text-muted);
}

/* ---------- Features ---------- */
.p67-feature {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    padding: 2rem;
    height: 100%;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}
.p67-feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--p67-primary-2), transparent);
    opacity: 0;
    transition: opacity .25s ease;
}
.p67-feature:hover {
    transform: translateY(-4px);
    border-color: var(--p67-border-strong);
    box-shadow: var(--p67-shadow-glow);
}
.p67-feature:hover::before { opacity: 1; }
.p67-feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--p67-primary) 0%, var(--p67-primary-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 18px rgba(104, 90, 204, 0.4);
}
.p67-feature h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}
.p67-feature p {
    color: var(--p67-text-muted);
    margin: 0;
    font-size: .95rem;
}

/* ---------- Plans ---------- */
.p67-plan {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius-lg);
    padding: 2.25rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .25s ease, border-color .25s ease;
}
.p67-plan:hover {
    transform: translateY(-4px);
    border-color: var(--p67-border-strong);
}
.p67-plan-featured {
    background: linear-gradient(180deg, var(--p67-surface-2) 0%, var(--p67-surface) 100%);
    border-color: var(--p67-primary);
    box-shadow: 0 16px 60px rgba(104, 90, 204, 0.3), 0 0 0 1px rgba(104, 90, 204, 0.4);
    transform: translateY(-8px);
}
.p67-plan-featured:hover { transform: translateY(-12px); }
.p67-plan-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--p67-primary) 0%, var(--p67-primary-dark) 100%);
    color: #fff;
    padding: .3rem 1rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(104, 90, 204, 0.5);
}
.p67-plan-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}
.p67-plan-tagline {
    color: var(--p67-text-muted);
    font-size: .9rem;
    margin-bottom: 1.5rem;
}
.p67-plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
}
.p67-plan-currency {
    color: var(--p67-text-muted);
    font-size: 1.25rem;
    margin-right: .15rem;
}
.p67-plan-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}
.p67-plan-period {
    color: var(--p67-text-muted);
    margin-left: .35rem;
    font-size: 1rem;
}
.p67-plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex-grow: 1;
}
.p67-plan-specs li {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--p67-text);
    padding: .55rem 0;
    border-bottom: 1px solid var(--p67-border);
    font-size: .95rem;
}
.p67-plan-specs li:last-child { border-bottom: 0; }
.p67-plan-specs li i {
    color: var(--p67-primary-2);
    width: 18px;
    text-align: center;
}
.p67-link-arrow {
    color: var(--p67-primary-2);
    font-weight: 600;
}
.p67-link-arrow:hover { color: #fff; }

/* ---------- Locations ---------- */
.p67-location {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.p67-location:hover {
    transform: translateY(-3px);
    border-color: var(--p67-border-strong);
    background: var(--p67-surface-2);
}
.p67-location-flag {
    font-size: 2.4rem;
    margin-bottom: .5rem;
    line-height: 1;
}
.p67-location-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: #fff;
}
.p67-location-meta {
    font-size: .85rem;
    color: var(--p67-text-muted);
    margin-top: .2rem;
}
.p67-location-coming { opacity: .55; }
.p67-location-coming .p67-location-meta { color: var(--p67-primary-2); }

/* ---------- About / Stats ---------- */
.p67-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}
.p67-checklist li {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .55rem 0;
    color: var(--p67-text);
}
.p67-checklist i {
    color: var(--p67-primary-2);
    font-size: 1.1rem;
}
.p67-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.p67-stat-card {
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    border-radius: var(--p67-radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
}
.p67-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(120deg, #fff 0%, var(--p67-primary-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: .5rem;
}
.p67-stat-label {
    font-size: .9rem;
    color: var(--p67-text-muted);
}

/* ---------- CTA section ---------- */
.p67-cta-section {
    padding: 6rem 0;
    background: var(--p67-bg);
}
.p67-cta-card {
    background: linear-gradient(135deg, var(--p67-bg-3) 0%, var(--p67-surface-2) 100%);
    border: 1px solid var(--p67-border-strong);
    border-radius: var(--p67-radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.p67-cta-glow {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--p67-primary-glow) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}
.p67-cta-card h2 {
    position: relative;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1rem;
}
.p67-cta-card p {
    position: relative;
    font-size: 1.15rem;
    color: var(--p67-text-muted);
    max-width: 560px;
    margin: 0 auto 2rem;
}
.p67-cta-buttons {
    position: relative;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.p67-footer {
    background: var(--p67-bg-2);
    border-top: 1px solid var(--p67-border);
    padding: 4rem 0 1.5rem;
    color: var(--p67-text-muted);
}
.p67-footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--p67-border);
}
.p67-footer-brand img { display: block; margin-bottom: 1rem; }
.p67-footer-tagline {
    max-width: 320px;
    font-size: .95rem;
    margin-bottom: 1.5rem;
}
.p67-footer-title {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: .02em;
}
.p67-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.p67-footer-list li { margin-bottom: .65rem; }
.p67-footer-list a {
    color: var(--p67-text-muted);
    font-size: .92rem;
}
.p67-footer-list a:hover { color: #fff; }

.p67-social {
    display: flex;
    gap: .75rem;
}
.p67-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--p67-surface);
    border: 1px solid var(--p67-border);
    color: var(--p67-text-muted);
    font-size: 1rem;
    transition: all .2s ease;
}
.p67-social a:hover {
    color: #fff;
    background: var(--p67-primary);
    border-color: var(--p67-primary);
    transform: translateY(-2px);
}

.p67-footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    font-size: .88rem;
}
.p67-footer-bottom a {
    color: var(--p67-text-muted);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.p67-footer-bottom a:hover { color: #fff; }
.p67-status-dot {
    width: 8px; height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 8px #2ecc71;
    animation: p67-dot-pulse 2s ease-in-out infinite;
}

/* ---------- Animations ---------- */
@keyframes p67-twinkle {
    0%, 100% { opacity: .15; }
    50%      { opacity: 1; }
}
@keyframes p67-beam-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes p67-orbit-rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
}
@keyframes p67-core-pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.9; }
    50%      { transform: scale(1.08); opacity: 1; }
}
@keyframes p67-core-pulse-inner {
    0%, 100% { transform: scale(0.9); opacity: 0.85; }
    50%      { transform: scale(1.15); opacity: 1; }
}
@keyframes p67-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
@keyframes p67-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(1.4); }
}
@keyframes p67-scroll-dot {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .p67-navbar.p67-navbar-scrolled,
    .p67-navbar {
        background: rgba(10, 9, 24, 0.92);
        backdrop-filter: blur(14px);
        border-bottom-color: var(--p67-border);
    }
    .p67-navbar .navbar-collapse {
        padding-top: 1rem;
    }
    .p67-navbar .nav-link { padding: .65rem 0 !important; }
    .p67-hero { padding-top: 7rem; }
    .p67-hero-row { min-height: auto; }
    .p67-pulsar { margin-top: 3rem; max-width: 360px; }
    .p67-hero-scroll { display: none; }
    .p67-section { padding: 4.5rem 0; }
    .p67-cta-section { padding: 4.5rem 0; }
    .p67-plan-featured { transform: none; }
    .p67-plan-featured:hover { transform: translateY(-4px); }
    .p67-footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 575.98px) {
    .p67-hero { padding: 6rem 0 4rem; }
    .p67-hero-stats { gap: .75rem; }
    .p67-hero-stats strong { font-size: 1.3rem; }
    .p67-hero-stats-divider { display: none; }
    .p67-cta-card { padding: 3rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .p67-pulsar-beams,
    .p67-pulsar-orbits,
    .p67-pulsar-orbit-dot,
    .p67-star {
        animation: none !important;
    }
}
