/* ================================================
   IPSOO Landing & Public Pages CSS
   Shared styles for phone/browser mockups,
   animations, and reusable components.
   ================================================ */

/* --- Checklist with checkmarks --- */
.ck li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #57534e;
    line-height: 1.7;
}
.ck li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 4px;
    color: #15ab92;
    font-size: 11px;
}

/* --- Phone Mockup --- */
.phone-frame {
    width: 260px;
    border-radius: 32px;
    border: 8px solid #1c1917;
    background: #1c1917;
    box-shadow: 0 25px 60px -12px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
    overflow: hidden;
    position: relative;
}
.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #1c1917;
    border-radius: 0 0 14px 14px;
    z-index: 10;
}
.phone-screen {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

/* --- Browser Mockup --- */
.browser-frame {
    border-radius: 12px;
    border: 1px solid #e7e5e4;
    background: #fff;
    box-shadow: 0 20px 50px -12px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.03);
    overflow: hidden;
}
.browser-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #fafaf9;
    border-bottom: 1px solid #e7e5e4;
}
.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.browser-dot-red { background: #fca5a5; }
.browser-dot-yellow { background: #fde68a; }
.browser-dot-green { background: #86efac; }
.browser-url {
    flex: 1;
    margin-left: 8px;
    padding: 4px 12px;
    background: #f5f5f4;
    border-radius: 6px;
    font-size: 11px;
    color: #a8a29e;
    font-family: 'Inter', system-ui, sans-serif;
}
.browser-body {
    padding: 0;
    min-height: 200px;
}

/* --- Float Animations --- */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
}
@keyframes floatMed {
    0%, 100% { transform: translateY(0) rotate(1deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}
@keyframes floatFast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.anim-float-1 { animation: floatSlow 6s ease-in-out infinite; }
.anim-float-2 { animation: floatMed 5s ease-in-out infinite 0.5s; }
.anim-float-3 { animation: floatFast 4s ease-in-out infinite 1s; }

/* --- Floating cards --- */
.float-card {
    transition: transform 0.4s cubic-bezier(.16,1,.3,1);
}
.float-card:hover {
    transform: translateY(-4px) !important;
}

/* --- Step connector line --- */
.step-connector {
    position: relative;
}
.step-connector::after {
    content: '';
    position: absolute;
    top: 24px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 2px;
    background: #e7e5e4;
}
.step-connector:last-child::after {
    display: none;
}

/* --- Showcase mockup inner styles --- */
.showcase-service-card {
    padding: 12px 16px;
    background: #fafaf9;
    border-radius: 8px;
    border: 1px solid #f5f5f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Editor Mockup Animations --- */
@keyframes editorShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes editorBreathe {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    .anim-float-1,
    .anim-float-2,
    .anim-float-3 {
        animation: none !important;
    }
    .float-card {
        transition: none !important;
    }
    [style*="editorShimmer"],
    [style*="editorBreathe"] {
        animation: none !important;
    }
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
    .phone-frame { width: 220px; }
    .step-connector::after { display: none; }
}
