/* ═══════════════════════════════════════════════════════════
   ORDER IMPLEMENTATION — landing page styles
   ═══════════════════════════════════════════════════════════ */

:root {
    --oi-purple: #5f498e;
    --oi-purple-dark: #3d2a63;
    --oi-purple-light: #7b5fbf;
    --oi-purple-bg: rgba(95, 73, 142, .04);
    --oi-purple-border: rgba(95, 73, 142, .12);
    --oi-text: #1a1a2e;
    --oi-muted: #6b7080;
    --oi-bg: #f8f8fa;
    --oi-radius: 12px;
}

.oi-text-purple {
    color: var(--oi-purple);
}

.oi-text-gradient {
    background: linear-gradient(135deg, var(--oi-purple-light), var(--oi-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── HERO ─────────────────────────────────────────────── */
.oi-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--oi-purple-dark) 0%, var(--oi-purple) 45%, var(--oi-purple-light) 100%);
    padding-bottom: 72px;
}

.oi-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .05;
    background-image: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 32px 32px;
}

.oi-hero > * {
    position: relative;
    z-index: 1;
}

.oi-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 95, 191, .35) 0%, transparent 70%);
    top: -120px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
    animation: oi-drift 10s ease-in-out infinite alternate;
}

.oi-hero-glow--2 {
    width: 350px;
    height: 350px;
    top: auto;
    bottom: -80px;
    left: -60px;
    right: auto;
    animation-duration: 8s;
    animation-direction: alternate-reverse;
}

@keyframes oi-drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-25px, 15px) scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .oi-hero-glow {
        animation: none;
    }
}

/* Selektor z .oi-hero > dla specificity (0,2,1) > .oi-hero > * (0,1,1).
   Bez tego nav i content-container są na tym samym z-index:1, późniejszy DOM
   (content) wygrywa i łapie kliki w otwartym dropdownie. */
.oi-hero > .oi-hero-nav {
    padding: 16px 0;
    z-index: 10;
}

.oi-hero-nav .navbar {
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .92) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.oi-hero-content {
    padding-top: 48px;
}

.oi-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .9);
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.oi-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 18px;
}

.oi-hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 28px;
}

.oi-hero-desc strong {
    color: #fff;
}

.oi-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-hero-primary,
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    transition: transform .12s, box-shadow .15s;
}

.btn-hero-primary {
    background: #fff;
    color: var(--oi-purple);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    color: var(--oi-purple);
}

.btn-hero-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .3);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

.oi-hero-trust {
    font-size: .78rem;
    color: rgba(255, 255, 255, .55);
    display: flex;
    align-items: center;
    gap: 6px;
}

.oi-hero-trust i {
    color: rgba(255, 255, 255, .4);
}

/* Hero visual ring decoration */
.oi-hero-visual {
    position: relative;
    width: 220px;
    height: 220px;
}

.oi-hero-visual-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .12);
    animation: oi-ring-spin 20s linear infinite;
}

.oi-hero-visual-ring--1 {
    inset: -20px;
    animation-duration: 25s;
}

.oi-hero-visual-ring--2 {
    inset: -50px;
    border-style: dashed;
    animation-direction: reverse;
    animation-duration: 35s;
}

@keyframes oi-ring-spin {
    to {
        transform: rotate(360deg);
    }
}

.oi-hero-visual-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, .1);
}

.oi-hero-visual-icon i {
    font-size: 4.5rem;
    color: rgba(255, 255, 255, .5);
}

/* ── GENERIC SECTIONS ─────────────────────────────────── */
.oi-section {
    padding: 72px 0;
}

.oi-section-badge {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--oi-purple);
    background: var(--oi-purple-bg);
    border: 1px solid var(--oi-purple-border);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.oi-section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--oi-text);
    letter-spacing: -.02em;
    margin-bottom: 12px;
}

.oi-section-desc {
    font-size: 1rem;
    color: var(--oi-muted);
    max-width: 560px;
    line-height: 1.6;
}

.oi-link-more {
    font-size: .88rem;
    font-weight: 600;
    color: var(--oi-purple);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap .15s;
}

.oi-link-more:hover {
    gap: 10px;
    color: var(--oi-purple-dark);
}

/* ── FEATURE CARDS ────────────────────────────────────── */
.oi-feature-card {
    padding: 28px 24px;
    border: 1px solid var(--oi-purple-border);
    border-radius: var(--oi-radius);
    background: #fff;
    height: 100%;
    transition: transform .15s, box-shadow .2s;
}

.oi-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(95, 73, 142, .1);
}

.oi-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--oi-purple-bg);
    border: 1px solid var(--oi-purple-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.oi-feature-icon i {
    font-size: 1.3rem;
    color: var(--oi-purple);
}

.oi-feature-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--oi-text);
    margin-bottom: 8px;
}

.oi-feature-card p {
    font-size: .88rem;
    color: var(--oi-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── SOCIAL PROOF ─────────────────────────────────────── */
.oi-proof-section {
    background: linear-gradient(135deg, var(--oi-purple-dark), var(--oi-purple));
}

.oi-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
}

.oi-stat-label {
    font-size: .82rem;
    color: rgba(255, 255, 255, .65);
}

.oi-proof-quote {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.oi-proof-quote blockquote p {
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255, 255, 255, .9);
    line-height: 1.6;
    margin-bottom: 12px;
}

.oi-proof-quote blockquote footer {
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
}

/* ── BENEFITS ─────────────────────────────────────────── */
.oi-benefit {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--oi-radius);
    border: 1px solid transparent;
    transition: border-color .15s, background .15s;
}

.oi-benefit:hover {
    border-color: var(--oi-purple-border);
    background: var(--oi-purple-bg);
}

.oi-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--oi-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Lucide podmienia <i data-lucide="..."> na <svg> — targetujemy oba tagi. */
.oi-benefit-icon i,
.oi-benefit-icon svg {
    color: #fff;
    width: 20px;
    height: 20px;
    stroke-width: 1.75;
}

.oi-benefit h5 {
    font-size: .95rem;
    font-weight: 700;
    color: var(--oi-text);
    margin-bottom: 4px;
}

.oi-benefit p {
    font-size: .85rem;
    color: var(--oi-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── PRICING ──────────────────────────────────────────── */
.oi-pricing-section {
    background: var(--oi-bg);
}

.oi-price-card {
    border: 1px solid var(--oi-purple-border);
    border-radius: 16px;
    background: #fff;
    padding: 32px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .15s, box-shadow .2s;
}

.oi-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(95, 73, 142, .1);
}

.oi-price-card--featured {
    border-color: var(--oi-purple);
    border-width: 2px;
}

.oi-price-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--oi-purple);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 4px 16px;
    border-radius: 100px;
    text-transform: uppercase;
}

.oi-price-header h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--oi-text);
    margin-bottom: 8px;
}

.oi-price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--oi-purple);
    margin-bottom: 4px;
}

.oi-price-amount small {
    font-size: .85rem;
    font-weight: 400;
    color: var(--oi-muted);
}

.oi-price-note {
    font-size: .78rem;
    color: var(--oi-muted);
}

.oi-price-features {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    text-align: left;
    flex: 1;
}

.oi-price-features li {
    font-size: .88rem;
    color: var(--oi-text);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.oi-price-features li i {
    color: var(--oi-purple);
    font-size: .75rem;
}

.oi-price-cta {
    display: block;
    padding: 12px;
    border-radius: 10px;
    background: var(--oi-purple);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    text-align: center;
    transition: box-shadow .15s, transform .12s;
}

.oi-price-cta:hover {
    box-shadow: 0 4px 16px rgba(95, 73, 142, .3);
    transform: translateY(-2px);
    color: #fff;
}

/* ── TEAM CARDS ────────────────────────────────────────── */
.oi-person-card {
    text-align: center;
    padding: 28px 20px;
    border: 1px solid var(--oi-purple-border);
    border-radius: var(--oi-radius);
    background: #fff;
    transition: transform .15s, box-shadow .2s;
}

.oi-person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(95, 73, 142, .1);
}

.oi-person-avatar {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--oi-purple-dark), var(--oi-purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}

.oi-person-avatar span {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.oi-person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oi-person-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--oi-text);
    margin-bottom: 2px;
}

.oi-person-role {
    font-size: .78rem;
    color: var(--oi-purple);
    font-weight: 600;
    margin-bottom: 12px;
}

.oi-person-region {
    font-size: .78rem;
    color: var(--oi-muted);
    line-height: 1.5;
}

.oi-person-region i,
.oi-person-region svg {
    color: var(--oi-purple);
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

/* Phone button w karcie ambasadora — mniejsza, wyciszona ikona (fiolet z opacity)
   jak w stopce, żeby numer telefonu dominował nad ikoną. */
.oi-person-card .btn i,
.oi-person-card .btn svg {
    width: 14px;
    height: 14px;
    opacity: 0.7;
    stroke-width: 2;
}

/* ── FORM SECTION ─────────────────────────────────────── */
.oi-form-section {
    background: var(--oi-bg);
}

.oi-form-card {
    background: #fff;
    border: 1px solid var(--oi-purple-border);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.oi-form-alert {
    font-size: .85rem;
    border-radius: 10px;
    border: none;
    margin-bottom: 20px;
}

.oi-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    color: var(--oi-text);
    margin-bottom: 6px;
}

.oi-input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    font-size: .88rem;
    color: var(--oi-text);
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}

.oi-input:focus {
    border-color: var(--oi-purple);
    box-shadow: 0 0 0 3px rgba(95, 73, 142, .1);
}

.oi-input::placeholder {
    color: #adb5bd;
}

select.oi-input {
    cursor: pointer;
}

textarea.oi-input {
    resize: vertical;
    min-height: 80px;
}

.oi-form-hint {
    font-size: .78rem;
    color: var(--oi-muted);
    margin: 0;
}

.oi-form-hint i {
    color: var(--oi-purple);
    margin-right: 4px;
}

.oi-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .82rem;
    color: var(--oi-text);
    cursor: pointer;
}

.oi-checkbox input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--oi-purple);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.oi-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--oi-purple);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow .15s, transform .12s, background .12s;
}

.oi-submit-btn:hover {
    background: var(--oi-purple-dark);
    box-shadow: 0 6px 20px rgba(95, 73, 142, .3);
    transform: translateY(-2px);
}

/* ── SUCCESS STATE ─────────────────────────────────────── */
.oi-success-card {
    padding: 48px 32px;
    background: #fff;
    border: 1px solid var(--oi-purple-border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
}

.oi-success-icon {
    font-size: 3.5rem;
    color: #28a745;
    margin-bottom: 16px;
}

.oi-success-card h3 {
    font-weight: 800;
    color: var(--oi-text);
    margin-bottom: 12px;
}

.oi-success-card p {
    color: var(--oi-muted);
    line-height: 1.6;
}

/* ── MOBILE ────────────────────────────────────────────── */
@media (max-width: 767.98px) {
    .oi-section {
        padding: 48px 0;
    }

    .oi-hero {
        padding-bottom: 48px;
    }

    .oi-hero-content {
        padding-top: 28px;
    }

    .oi-form-card {
        padding: 24px 18px;
    }

    .oi-price-card {
        padding: 24px 20px;
    }
}

/* ── Inline-attribute replacements ─────────────────────── */
.oi-success-cta-link {
    display: inline-flex;
    text-decoration: none;
}
