/*
Theme Name: RetentionLab
Theme URI: https://retentionlab.lt
Author: Mindaugas
Description: Mantine-inspired white onepager tema email marketingo paslaugoms. Su kainų skaičiuokle ir kontaktų forma.
Version: 1.8
License: GPLv2 or later
Text Domain: retentionlab
*/

/* ================================
   Reset & Base
================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #212529;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: #228be6; text-decoration: none; transition: color 0.15s; }
a:hover { color: #1c7ed6; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-weight: 700;
    color: #1a1b1e;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 1rem; }
p { margin: 0 0 1rem; color: #495057; }

/* ================================
   Layout
================================ */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 96px 0; }
.section-alt { background: #f8f9fa; }
.section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-head p { font-size: 1.0625rem; }
.eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #228be6;
    margin-bottom: 12px;
}

/* ================================
   Header
================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1a1b1e;
    font-weight: 700;
    font-size: 1.0625rem;
}
.brand-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-logo svg,
.brand-logo img {
    width: 100%;
    height: 100%;
    display: block;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.main-nav a {
    color: #495057;
    font-size: 0.9375rem;
    font-weight: 500;
}
.main-nav a:hover { color: #1a1b1e; }
.main-nav a.btn { color: #fff; }
.main-nav a.btn:hover { color: #fff; }
.mobile-toggle {
    display: none;
    background: none;
    border: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a1b1e;
    border-radius: 2px;
}

/* ================================
   Buttons
================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 0.875rem; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary {
    background: #228be6;
    color: #fff;
    box-shadow: 0 1px 3px rgba(34, 139, 230, 0.2);
}
.btn-primary:hover {
    background: #1c7ed6;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 139, 230, 0.25);
}
.btn-secondary {
    background: #fff;
    color: #212529;
    border-color: #dee2e6;
}
.btn-secondary:hover {
    background: #f8f9fa;
    color: #212529;
    border-color: #ced4da;
}

/* ================================
   Hero
================================ */
.hero {
    padding: 96px 0 80px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 139, 230, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 0%, rgba(21, 170, 191, 0.06) 0%, transparent 50%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-text { text-align: left; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 24px;
}
.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #40c057;
    box-shadow: 0 0 0 0 rgba(64, 192, 87, 0.6);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(64, 192, 87, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(64, 192, 87, 0); }
}
.hero-subtitle {
    font-size: 1.1875rem;
    color: #495057;
    margin: 16px 0 32px;
    line-height: 1.55;
}
.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-stats-inline {
    display: flex;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid #e9ecef;
}
.hero-stats-inline > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-stats-inline strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1b1e;
    line-height: 1;
}
.hero-stats-inline span {
    font-size: 0.8125rem;
    color: #868e96;
}

/* ================================
   Inbox Mockup
================================ */
.inbox-wrap {
    position: relative;
}
.inbox-mockup {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    z-index: 2;
}
.inbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}
.inbox-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1a1b1e;
}
.inbox-title-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #228be6;
    box-shadow: 0 0 0 0 rgba(34, 139, 230, 0.5);
    animation: pulseDot 2s ease-in-out infinite;
}
.inbox-dots {
    display: flex;
    gap: 6px;
}
.inbox-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.inbox-dots span:nth-child(1) { background: #ff6b6b; }
.inbox-dots span:nth-child(2) { background: #ffd43b; }
.inbox-dots span:nth-child(3) { background: #51cf66; }

.inbox-list {
    padding: 8px;
}
.inbox-email {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    align-items: center;
    transition: background 0.2s;
    opacity: 0;
    animation: emailDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.inbox-email:hover { background: #f8f9fa; }
.inbox-email:nth-child(1) { animation-delay: 0.3s; }
.inbox-email:nth-child(2) { animation-delay: 0.6s; }
.inbox-email:nth-child(3) { animation-delay: 0.9s; }
.inbox-email:nth-child(4) { animation-delay: 1.2s; }

@keyframes emailDrop {
    0% { opacity: 0; transform: translateY(-24px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.email-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    flex-shrink: 0;
}
.email-avatar.av-blue { background: linear-gradient(135deg, #228be6 0%, #1c7ed6 100%); }
.email-avatar.av-violet { background: linear-gradient(135deg, #7950f2 0%, #5f3dc4 100%); }
.email-avatar.av-teal { background: linear-gradient(135deg, #15aabf 0%, #0c8599 100%); }
.email-avatar.av-orange { background: linear-gradient(135deg, #fd7e14 0%, #e8590c 100%); }

.email-content { min-width: 0; }
.email-from {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1b1e;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.email-subject {
    font-size: 0.8125rem;
    color: #495057;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.email-meta {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}
.email-time {
    font-size: 0.6875rem;
    color: #868e96;
}
.email-rate {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: #d3f9d8;
    color: #2b8a3e;
    white-space: nowrap;
}
.email-rate.med { background: #fff3bf; color: #946800; }

/* Floating notification card */
.inbox-notif {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    opacity: 0;
    animation: notifIn 0.6s 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes notifIn {
    0% { opacity: 0; transform: translate(20px, 8px) scale(0.9); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); }
}
.inbox-notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #40c057 0%, #2f9e44 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}
.inbox-notif-text { line-height: 1.3; }
.inbox-notif-text strong {
    display: block;
    font-size: 0.8125rem;
    color: #1a1b1e;
    margin-bottom: 1px;
}
.inbox-notif-text span {
    font-size: 0.75rem;
    color: #868e96;
}

/* Floating decorative shape behind inbox */
.inbox-decor {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #228be6 0%, #15aabf 100%);
    border-radius: 20px;
    opacity: 0.12;
    z-index: 1;
}

/* ================================
   Cards
================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.card {
    padding: 28px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.2s,
                box-shadow 0.25s;
}
.card:hover {
    transform: translateY(-6px);
    border-color: #228be6;
    box-shadow: 0 16px 32px rgba(34, 139, 230, 0.12);
}
.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e7f5ff;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 16px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-color 0.25s;
}
.card:hover .card-icon {
    transform: scale(1.15) rotate(-8deg);
    background: linear-gradient(135deg, #228be6 0%, #15aabf 100%);
}
.card h3 { margin-bottom: 8px; transition: color 0.2s; }
.card:hover h3 { color: #1971c2; }
.card p { margin: 0; font-size: 0.9375rem; }

/* ================================
   (Skaičiuoklė pašalinta - liko tik dalykai, kuriuos naudoja kitos sekcijos)
================================ */

/* Tooltip - naudojamas planuose ir kt. */

/* Tooltip ant addon mygtukų */
.calc-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1a1b1e;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    padding: 10px 14px;
    border-radius: 8px;
    width: max-content;
    max-width: 260px;
    text-align: left;
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s;
    z-index: 50;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    letter-spacing: 0;
}
.calc-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a1b1e;
}
.calc-options button:hover .calc-tooltip,
.calc-options button:focus-visible .calc-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.15s, transform 0.15s, visibility 0s;
}
/* Mobile - tooltip pasirodo apačioje vietoj viršuje, kad netilptų ekrane */
@media (max-width: 720px) {
    .calc-tooltip {
        bottom: auto;
        top: calc(100% + 8px);
        max-width: 220px;
    }
    .calc-tooltip::after {
        top: auto;
        bottom: 100%;
        border-top-color: transparent;
        border-bottom-color: #1a1b1e;
    }
}

/* Magnetic buttons */
.magnetic {
    will-change: transform;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.magnetic.is-magnetic {
    transition: transform 0.08s linear;
}

/* Confetti */
.confetti-piece {
    position: fixed;
    width: 10px;
    height: 14px;
    pointer-events: none;
    z-index: 9999;
    border-radius: 2px;
    will-change: transform, opacity;
}
@keyframes confettiFly {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate(var(--dx), calc(var(--dy) + 280px)) rotate(var(--rot)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .inbox-email, .inbox-notif, .inbox-decor, .badge::before { animation: none !important; }
    .magnetic { transition: none; }
}

/* Subtle scroll reveal for cards */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   Portfolio
================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.portfolio-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.2s,
                box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: #228be6;
    box-shadow: 0 16px 40px rgba(34, 139, 230, 0.1);
}
.portfolio-card.portfolio-soon {
    cursor: default;
    border-style: dashed;
    background: transparent;
}
.portfolio-card.portfolio-soon:hover {
    transform: none;
    border-color: #228be6;
    box-shadow: none;
}
.portfolio-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.portfolio-thumb-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover .portfolio-thumb-inner {
    transform: scale(1.04);
}
.portfolio-thumb-letter {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    letter-spacing: -0.04em;
}
.portfolio-soon-bg {
    background: #f8f9fa !important;
    border: 1px dashed #ced4da;
    border-radius: 0;
}
.portfolio-soon-icon {
    font-size: 3rem;
    color: #adb5bd;
    font-weight: 300;
    line-height: 1;
}
.portfolio-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    letter-spacing: 0.02em;
}
.portfolio-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.portfolio-body h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}
.portfolio-body p {
    font-size: 0.9375rem;
    margin: 0;
    color: #495057;
    line-height: 1.55;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.portfolio-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.portfolio-modal[hidden] { display: none; }
.portfolio-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 27, 30, 0.55);
    cursor: pointer;
}
.portfolio-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.portfolio-modal.is-open .portfolio-modal-dialog {
    transform: translateY(0) scale(1);
}
.portfolio-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #495057;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    z-index: 2;
}
.portfolio-modal-close:hover {
    background: #fff;
    color: #1a1b1e;
    transform: scale(1.05);
}
.portfolio-modal-body { display: block; }
.pm-hero {
    aspect-ratio: 16 / 8;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px 16px 0 0;
}
.pm-hero-letter {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
    letter-spacing: -0.04em;
}
.pm-content {
    padding: 32px 36px 36px;
}
.pm-tag {
    display: inline-block;
    background: #e7f5ff;
    color: #1971c2;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.pm-content h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}
.pm-content p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 14px;
}
.pm-content p:last-child { margin-bottom: 0; }

/* Lock body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* ================================
   Pricing Plans (Dual-track: Setup + Retainer)
================================ */

/* Toggle Setup vs Retainer */
.plans-toggle {
    display: inline-flex;
    background: #f1f3f5;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 6px;
    gap: 6px;
    margin: 0 auto 40px;
    width: fit-content;
    display: flex;
    justify-content: center;
}
.plans-toggle-btn {
    background: transparent;
    border: 0;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 160px;
}
.plans-toggle-btn .toggle-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #495057;
    line-height: 1.2;
}
.plans-toggle-btn .toggle-sub {
    font-size: 0.75rem;
    color: #868e96;
    line-height: 1.2;
}
.plans-toggle-btn:hover {
    background: #fff;
}
.plans-toggle-btn.active {
    background: #fff;
    box-shadow: 0 2px 8px rgba(34, 139, 230, 0.12);
    border: 1px solid rgba(34, 139, 230, 0.2);
}
.plans-toggle-btn.active .toggle-title {
    color: #228be6;
}
.plans-toggle-btn.active .toggle-sub {
    color: #1971c2;
}

/* Tracks - Setup ir Retainer view'ai */
.plans-track {
    animation: trackIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes trackIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.plans-track[hidden] { display: none; }

/* Setup components - kas įeina */
.plans-components-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
}
.plans-components {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.component-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: border-color 0.15s, transform 0.15s;
}
.component-item:hover {
    border-color: #228be6;
    transform: translateY(-1px);
}
.component-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1a1b1e;
    line-height: 1.3;
}
.component-meta {
    font-size: 0.8125rem;
    color: #868e96;
    margin-top: 2px;
}
.component-price {
    font-size: 1rem;
    font-weight: 700;
    color: #228be6;
    flex-shrink: 0;
    font-feature-settings: 'tnum';
}

/* Plans grid variantai */
.plans-grid {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}
.plans-grid-2 { grid-template-columns: repeat(2, 1fr); }
.plans-grid-3 { grid-template-columns: repeat(3, 1fr); }
.plans-grid-1 {
    grid-template-columns: minmax(0, 520px);
    justify-content: center;
}

/* Plan label "Min. 3 mėn. sutartis" arba "Platforma + Welcome..." */
.plan-includes-label {
    font-size: 0.8125rem;
    color: #868e96;
    margin: -16px 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

/* Bonus juosta apačioje */
.plans-bonus {
    background: linear-gradient(135deg, #e7f5ff 0%, #c5f6fa 100%);
    border: 1px solid #a5d8ff;
    border-radius: 12px;
    padding: 18px 24px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.plans-bonus-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #228be6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}
.plans-bonus-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1864ab;
    line-height: 1.3;
}
.plans-bonus-text {
    font-size: 0.875rem;
    color: #1971c2;
    margin-top: 2px;
    line-height: 1.4;
}


.plan-card {
    position: relative;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.2s,
                box-shadow 0.25s;
}
.plan-card:hover {
    transform: translateY(-4px);
    border-color: #228be6;
    box-shadow: 0 16px 40px rgba(34, 139, 230, 0.1);
}
.plan-featured {
    border-color: #228be6;
    background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
    box-shadow: 0 8px 24px rgba(34, 139, 230, 0.1);
}
.plan-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(34, 139, 230, 0.18);
}
.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #228be6 0%, #15aabf 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(34, 139, 230, 0.25);
    white-space: nowrap;
}
.plan-head h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.plan-desc {
    font-size: 0.875rem;
    color: #868e96;
    margin-bottom: 24px;
    line-height: 1.5;
    min-height: 3.6em;
}
.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 24px;
}
.plan-from {
    font-size: 0.875rem;
    font-weight: 500;
    color: #868e96;
    margin-right: 4px;
}
.plan-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1b1e;
    letter-spacing: -0.02em;
    line-height: 1;
}
.plan-period {
    font-size: 0.9375rem;
    color: #868e96;
    font-weight: 500;
}
.plan-flex {
    text-align: center;
    font-size: 0.8125rem;
    color: #228be6;
    font-weight: 500;
    margin: 0 0 16px;
    padding: 8px;
    background: #e7f5ff;
    border-radius: 8px;
}
.plan-featured .plan-flex {
    background: rgba(34, 139, 230, 0.12);
}
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.plan-features li {
    font-size: 0.9375rem;
    color: #495057;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}
.plan-features li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e7f5ff;
    color: #228be6;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
}
.plan-featured .plan-features li::before {
    background: #228be6;
    color: #fff;
}
.plans-note {
    text-align: center;
    color: #868e96;
    font-size: 0.9375rem;
    margin-top: 8px;
}
.plans-note a {
    font-weight: 500;
}

/* ================================
   Process
================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.process-item {
    padding: 28px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.2s;
}
.process-item:hover {
    border-color: #228be6;
    box-shadow: 0 8px 24px rgba(34, 139, 230, 0.06);
}
.process-num {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #228be6;
    background: #e7f5ff;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}
.process-item h3 { margin-bottom: 8px; }
.process-item p { margin: 0; font-size: 0.9375rem; }

/* ================================
   FAQ
================================ */
.faq {
    max-width: 760px;
    margin: 0 auto;
}
.faq-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.15s;
}
.faq-item[open] {
    border-color: #228be6;
    box-shadow: 0 4px 12px rgba(34, 139, 230, 0.06);
}
.faq-item summary {
    padding: 18px 22px;
    font-weight: 600;
    color: #1a1b1e;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: #868e96;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: #228be6;
}
.faq-item p {
    padding: 0 22px 18px;
    margin: 0;
    color: #495057;
    font-size: 0.9375rem;
}

/* ================================
   Contact
================================ */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info h2 { margin-top: 8px; }
.contact-list {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item { display: flex; flex-direction: column; gap: 2px; }
.contact-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #868e96;
}
.contact-item a { color: #1a1b1e; font-weight: 500; }
.contact-item a:hover { color: #228be6; }
.contact-form {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #212529;
    font-family: inherit;
    transition: all 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
    outline: 0;
    border-color: #228be6;
    box-shadow: 0 0 0 3px rgba(34, 139, 230, 0.15);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-status {
    margin-top: 12px;
    font-size: 0.875rem;
    text-align: center;
    min-height: 20px;
}
.form-status.success { color: #2f9e44; }
.form-status.error { color: #e03131; }

/* Form summary - calculator pasirinkimų preview formos viršuje */
.form-summary {
    background: linear-gradient(135deg, #e7f5ff 0%, #c5f6fa 100%);
    border: 1px solid #a5d8ff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 24px;
    animation: summaryIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes summaryIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.form-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.form-summary-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1971c2;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.form-summary-edit {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1971c2;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.form-summary-edit:hover {
    color: #1864ab;
}
.form-summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-summary-list li {
    font-size: 0.875rem;
    color: #1864ab;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-summary-list li::before {
    content: '✓';
    width: 16px;
    height: 16px;
    background: #228be6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 700;
    flex-shrink: 0;
}
.form-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(34, 139, 230, 0.2);
    font-size: 0.875rem;
    color: #1864ab;
}
.form-summary-total strong {
    font-size: 1.0625rem;
    color: #0c4a87;
    font-weight: 700;
}

/* Honeypot - paslėptas anti-bot laukas */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* GDPR consent checkbox */
.form-consent {
    margin: 16px 0 20px;
}
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.8125rem;
    color: #495057;
    line-height: 1.5;
}
.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: #228be6;
    flex-shrink: 0;
    cursor: pointer;
}
.form-checkbox span {
    flex: 1;
}

/* Field error states */
.form-field.has-error input,
.form-field.has-error textarea {
    border-color: #e03131;
    background: #fff5f5;
}
.form-field-error {
    display: block;
    margin-top: 4px;
    font-size: 0.75rem;
    color: #e03131;
    font-weight: 500;
}

/* Success state - rodomas vietoj formos po siuntimo */
.form-success {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    animation: successIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes successIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}
.form-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    animation: successIconPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
.form-success-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
@keyframes successIconPop {
    from { transform: scale(0); }
    to { transform: scale(1); }
}
.form-success h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #1a1b1e;
}
.form-success p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 0.9375rem;
}
.form-success-meta {
    margin-top: 16px !important;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    font-size: 0.875rem !important;
    color: #868e96 !important;
}
.form-success-meta a {
    color: #228be6;
    font-weight: 500;
}

/* ================================
   Footer
================================ */
.site-footer {
    background: #1a1b1e;
    color: #adb5bd;
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer .brand-name { color: #fff; }
.footer-text { color: #adb5bd; max-width: 280px; margin: 0; }
.site-footer h4 {
    color: #fff;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 4px 0; font-size: 0.9375rem; }
.site-footer a { color: #adb5bd; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #2c2e33;
    font-size: 0.875rem;
}
.footer-bottom p { margin: 0; color: #868e96; }

/* ================================
   Responsive
================================ */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-text { text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-stats-inline { justify-content: center; }
    .inbox-notif { right: 0; bottom: -20px; }
    .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .plans-grid-1,
    .plans-grid-2,
    .plans-grid-3 { grid-template-columns: 1fr; gap: 16px; max-width: 520px; margin-left: auto; margin-right: auto; }
    .plan-desc { min-height: 0; }
    .plan-featured { order: -1; }
    .plans-components { grid-template-columns: 1fr; gap: 10px; max-width: 520px; margin-left: auto; margin-right: auto; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .portfolio-thumb-letter { font-size: 4rem; }
    .pm-hero-letter { font-size: 5rem; }
    .pm-content { padding: 24px 24px 28px; }
    .pm-content h2 { font-size: 1.5rem; }
}
@media (max-width: 720px) {
    .section { padding: 64px 0; }
    .hero { padding: 56px 0 64px; }
    .main-nav { display: none; }
    .mobile-toggle { display: flex; }
    .main-nav.open {
        display: flex;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid #e9ecef;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats-inline { gap: 20px; }
    .hero-stats-inline strong { font-size: 1.25rem; }
    .contact-form { padding: 24px; }
    .inbox-decor { display: none; }
    .magnetic { transform: none !important; }
    .plans-toggle-btn { padding: 10px 18px; min-width: 130px; }
    .plans-toggle-btn .toggle-title { font-size: 0.875rem; }
    .plans-toggle-btn .toggle-sub { font-size: 0.6875rem; }
    .plans-bonus { padding: 14px 18px; gap: 12px; }
    .plans-bonus-icon { width: 36px; height: 36px; font-size: 1rem; }
}
