/* ============================================================
   INGERMAN.EE — Keeper Page Styles
   Design tokens & base: ../_shared/style.css
   ============================================================ */
@import url('/_shared/style.css');


/* Background Effects */

.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: pulse 8s infinite alternate ease-in-out;
}

.glow-orb--1 {
    top: -10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: rgba(168, 85, 247, 0.15);
}

.glow-orb--2 {
    bottom: -10%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: rgba(249, 115, 22, 0.1);
    animation-delay: -4s;
}

/* Abstract Focus Fire */
.focus-fire-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.focus-fire {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    box-shadow: inset 0 0 20px rgba(249, 115, 22, 0.05),
        0 0 30px rgba(249, 115, 22, 0.15);
}

.fire-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    mix-blend-mode: screen;
    animation: orb-pulse 4s infinite alternate ease-in-out;
}

.fire-orb-1 {
    width: 40px;
    height: 40px;
    background: var(--color-accent-orange);
    opacity: 0.6;
    animation-delay: 0s;
}

.fire-orb-2 {
    width: 50px;
    height: 50px;
    background: var(--color-accent-pink);
    opacity: 0.4;
    animation-delay: -1.5s;
}

.fire-orb-3 {
    width: 30px;
    height: 30px;
    background: var(--color-accent-purple);
    opacity: 0.5;
    animation-delay: -3s;
}

.fire-spark {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px var(--color-accent-orange);
    bottom: 20px;
    opacity: 0;
    animation: spark-fly 2.5s infinite linear;
}

.spark-1 {
    left: 30%;
    animation-delay: 0.2s;
}

.spark-2 {
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 3s;
}

.spark-3 {
    left: 70%;
    animation-delay: 0.8s;
    animation-duration: 2s;
}

@keyframes orb-pulse {
    0% {
        transform: scale(0.8) translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.1) translate(4px, -4px);
        opacity: 0.7;
    }

    100% {
        transform: scale(0.9) translate(-4px, 4px);
        opacity: 0.5;
    }
}

@keyframes spark-fly {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(-60px) scale(0);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-accent-orange);
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 400;
}

.team {
    padding-top: 40px;
    padding-bottom: 120px;
    position: relative;
}

.team__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 24px;
}

.team__grid--bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* Card */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}

.card:hover,
.card.mobile-active {
    transform: translateY(-8px);
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-glow);
}

.card:hover::before,
.card.mobile-active::before {
    opacity: 1;
}

.card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.card__photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.card__info {
    flex: 1;
}

.card__name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff;
}

.card__role {
    font-size: 0.875rem;
    color: var(--color-accent-purple);
    font-weight: 500;
}

.card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-pill);
    color: var(--color-text-secondary);
    font-weight: 500;
}

.card__desc {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    flex-grow: 1;
}

.card__footer {
    margin-top: auto;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.card__price {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card__price-val {
    color: var(--color-text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    outline: none;
}

.btn--primary {
    background: var(--color-text-primary);
    color: var(--color-bg-deep);
}

.btn--primary:hover {
    background: #fff;
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn--outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* CTA Section */
.cta {
    padding: 80px 0 120px;
    text-align: center;
}

.cta__box {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 64px 40px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta__box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: var(--color-accent-gradient-3);
    opacity: 0.5;
}

.cta__title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
}

.cta__desc {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    font-size: 1.125rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta__actions .btn {
    width: auto;
    min-width: 200px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    /* No changes needed for team grid at this breakpoint now */
}

@media (max-width: 768px) {

    .team__grid,
    .team__grid--bottom {
        grid-template-columns: 1fr;
    }

    .cta__box {
        padding: 40px 24px;
    }

    .cta__actions {
        flex-direction: column;
    }

    .cta__actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}